chore: sync OpenAPI from backend

This commit is contained in:
AliSaZa 2026-09-13 23:17:54 +00:00 committed by github-actions[bot]
parent 9959379c6a
commit 6c7981cb3e

View File

@ -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.",