From 6c7981cb3e187c7b9ea2d93fe48fec2b879496b8 Mon Sep 17 00:00:00 2001 From: AliSaZa <+AliSaZa@users.noreply.github.com> Date: Sun, 13 Sep 2026 23:17:54 +0000 Subject: [PATCH] chore: sync OpenAPI from backend --- openapi.json | 115 --------------------------------------------------- 1 file changed, 115 deletions(-) diff --git a/openapi.json b/openapi.json index dbffebb..42f649d 100644 --- a/openapi.json +++ b/openapi.json @@ -19133,109 +19133,6 @@ ] } }, - "/api/v1/uploads/identity": { - "post": { - "operationId": "UploadsController_uploadIdentity", - "parameters": [], - "requestBody": { - "required": true, - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "required": [ - "file" - ], - "properties": { - "file": { - "type": "string", - "format": "binary" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UploadFileResponseDto" - } - } - } - } - }, - "security": [ - { - "JWT-auth": [] - } - ], - "summary": "Upload a private identity document image", - "tags": [ - "Uploads" - ] - } - }, - "/api/v1/uploads/identity/{ownerId}/{filename}": { - "get": { - "operationId": "UploadsController_readIdentity", - "parameters": [ - { - "name": "ownerId", - "required": true, - "in": "path", - "schema": { - "type": "string" - } - }, - { - "name": "filename", - "required": true, - "in": "path", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Private identity image bytes.", - "content": { - "image/jpeg": { - "schema": { - "type": "string", - "format": "binary" - } - }, - "image/png": { - "schema": { - "type": "string", - "format": "binary" - } - }, - "image/webp": { - "schema": { - "type": "string", - "format": "binary" - } - } - } - } - }, - "security": [ - { - "JWT-auth": [] - } - ], - "summary": "Read an authorized private identity document", - "tags": [ - "Uploads" - ] - } - }, "/api/v1/uploads/internal": { "post": { "description": "Used by local/dev Nest to store files on the VPS. Requires X-Ghabilee-Upload-Secret.", @@ -22536,12 +22433,6 @@ "example": "1990-05-20", "format": "date" }, - "idCardImageUrl": { - "type": "string", - "description": "Authenticated API URL of the private national ID card image. Legacy submissions only — current host flow no longer collects an ID image.", - "example": "https://ghabilee.ir/api/v1/uploads/identity/6f6d7d3a-90f2-4ad7-8d52-994a9676c5e1/16e33f70-d3cc-492c-a8fa-e2317fbfb37b.jpg", - "format": "uri" - }, "contractVersion": { "type": "string", "description": "Host cooperation contract version accepted at submission.", @@ -22682,12 +22573,6 @@ "example": "1990-05-20", "format": "date" }, - "idCardImageUrl": { - "type": "string", - "description": "Authenticated API URL of the private national ID card image. Legacy submissions only — current host flow no longer collects an ID image.", - "example": "https://ghabilee.ir/api/v1/uploads/identity/6f6d7d3a-90f2-4ad7-8d52-994a9676c5e1/16e33f70-d3cc-492c-a8fa-e2317fbfb37b.jpg", - "format": "uri" - }, "contractVersion": { "type": "string", "description": "Host cooperation contract version accepted at submission.",