{
    "openapi": "3.0.0",
    "info": {
        "title": "Файно Маркет Documentation",
        "version": "1.1"
    },
    "servers": [
        {
            "url": "http://localhost/",
            "description": "Local Server"
        },
        {
            "url": "https://onix-systems-fayno-market-public-sentinel.dev.onix.team/",
            "description": "Staging Server"
        },
        {
            "url": "https://fayno.market/",
            "description": "Prod Server"
        }
    ],
    "paths": {
        "/api/application-forms": {
            "get": {
                "tags": [
                    "Application Form"
                ],
                "description": "Retrieves a list of all application forms",
                "operationId": "f350d5bc1d21c9c8eec6b12a42459188",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Pagination_Page"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_PerPage"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_Order"
                    },
                    {
                        "$ref": "#/components/parameters/ApplicationForm_Status"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ApplicationFormResource"
                                            }
                                        },
                                        "pagination": {
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "to": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "total": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "per_page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "order": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "status": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/application-forms/{id}": {
            "get": {
                "tags": [
                    "Application Form"
                ],
                "description": "Retrieves an application form",
                "operationId": "f69e0d275454efa9ff7d2945b0affc8b",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ApplicationFormResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            },
            "put": {
                "tags": [
                    "Application Form"
                ],
                "description": "Updates the details of a application form",
                "operationId": "77418f66218a864e700b6df269c5199b",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateApplicationFormRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ApplicationFormResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "status": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/application-forms/by-token/{application_form_token}": {
            "get": {
                "tags": [
                    "Application Form"
                ],
                "description": "Retrieves an application form by its unique token",
                "operationId": "0c5c43b3198722da4dd959e1265547d9",
                "parameters": [
                    {
                        "name": "application_form_token",
                        "in": "path",
                        "description": "Unique token of the application form",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/ApplicationFormResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/application-forms/invalidate-token/{application_form_token}": {
            "delete": {
                "tags": [
                    "Application Form"
                ],
                "description": "Invalidates the token of an application form",
                "operationId": "7bc6c0f22c5a3aa8a8593355a8872e11",
                "parameters": [
                    {
                        "name": "application_form_token",
                        "in": "path",
                        "description": "Unique token of the application form",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Token invalidated successfully",
                        "content": {
                            "application/json": {
                                "schema": {}
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/commercial-proposals": {
            "get": {
                "tags": [
                    "Commercial Proposal"
                ],
                "description": "Retrieves a list of all commercial proposals",
                "operationId": "1718a3c31837ae7f50510777e2906b48",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Pagination_Page"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_PerPage"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_Order"
                    },
                    {
                        "$ref": "#/components/parameters/CommercialProposal_Status"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/CommercialProposalResource"
                                            }
                                        },
                                        "pagination": {
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "to": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "total": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "per_page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "order": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "status": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/commercial-proposals/{id}": {
            "get": {
                "tags": [
                    "Commercial Proposal"
                ],
                "description": "Retrieves an commercial proposal",
                "operationId": "72ce19d772bebf4da127150a8f5dd9b5",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/CommercialProposalResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            },
            "put": {
                "tags": [
                    "Commercial Proposal"
                ],
                "description": "Updates the details of a commercial proposal",
                "operationId": "69b32d5f3403922b8b9ce90e1e0ae85c",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateCommercialProposalRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/CommercialProposalResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "status": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/loyalty/bonus": {
            "get": {
                "tags": [
                    "Loyalty"
                ],
                "summary": "Get bonus loyalty program",
                "operationId": "loyaltyBonus",
                "responses": {
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/loyalty/pension": {
            "get": {
                "tags": [
                    "Loyalty"
                ],
                "summary": "Get pension loyalty program",
                "operationId": "loyaltyPension",
                "responses": {
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/loyalty/employee": {
            "get": {
                "tags": [
                    "Loyalty"
                ],
                "summary": "Get employee loyalty program",
                "operationId": "loyaltyEmployee",
                "responses": {
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/news": {
            "get": {
                "tags": [
                    "News"
                ],
                "summary": "Get list of news paginated",
                "operationId": "listNews",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Pagination_Page"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_PerPage"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_Order"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/NewsResource"
                                            }
                                        },
                                        "pagination": {
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "to": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "total": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/news/{id}": {
            "get": {
                "tags": [
                    "News"
                ],
                "summary": "Get single a single news",
                "operationId": "getNews",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/NewsResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/partner-requests": {
            "get": {
                "tags": [
                    "Partner Requests"
                ],
                "description": "Retrieves a list of all partner requests",
                "operationId": "d32c2eb48afdccfafb28574c36bed0e4",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Pagination_Page"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_PerPage"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_Order"
                    },
                    {
                        "$ref": "#/components/parameters/PartnerRequest_Status"
                    },
                    {
                        "$ref": "#/components/parameters/PartnerRequest_Email"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/PartnerRequestResource"
                                            }
                                        },
                                        "pagination": {
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "to": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "total": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "per_page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "order": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "status": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "email": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/partner-requests/{id}": {
            "get": {
                "tags": [
                    "Partner Requests"
                ],
                "description": "Retrieves an partner request",
                "operationId": "768b6ae941eb4e0fd1fc318cee966588",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PartnerRequestResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            },
            "put": {
                "tags": [
                    "Partner Requests"
                ],
                "description": "Updates the details of a partner request",
                "operationId": "c8a4faccd62ce7b56fe174fdcd36a35c",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdatePartnerRequestRequest"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/PartnerRequestResource"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "status": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "application": []
                    }
                ]
            }
        },
        "/api/position-instructions": {
            "get": {
                "tags": [
                    "Position Instructions"
                ],
                "description": "Retrieves a list of all position instructions",
                "operationId": "e2cfb2af9fc6b11a75e765d6ac5ed37a",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/Pagination_Page"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_PerPage"
                    },
                    {
                        "$ref": "#/components/parameters/Pagination_Order"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/PositionInstructionResource"
                                            }
                                        },
                                        "pagination": {
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "from": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "to": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "total": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "Validation exception",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {},
                                        "errors": {
                                            "properties": {
                                                "page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "per_page": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "order": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "user_token": []
                    }
                ]
            }
        },
        "/api/terms/referral": {
            "get": {
                "tags": [
                    "Terms"
                ],
                "summary": "Get referral terms",
                "operationId": "referralTerms",
                "responses": {
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/terms/veresen-bot": {
            "get": {
                "tags": [
                    "Terms"
                ],
                "summary": "Get Veresen Telegram Bot terms",
                "operationId": "veresenBotTerms",
                "responses": {
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/terms/public-offer": {
            "get": {
                "tags": [
                    "Terms"
                ],
                "summary": "Get public offer",
                "operationId": "publicOffer",
                "responses": {
                    "404": {
                        "description": "Not Found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "message": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/.well-known/apple-app-site-association": {
            "get": {
                "tags": [
                    "DeepLink"
                ],
                "summary": "Get Apple App Site Association",
                "operationId": "fe87e4ba581f1811faf30a9323562eaa",
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": {
                                    "applinks": {
                                        "apps": [],
                                        "details": [
                                            {
                                                "appID": "XXXXXXXXXX.com.fayno-market.app",
                                                "paths": [
                                                    "deep-link/*"
                                                ]
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/.well-known/assetlinks.json": {
            "get": {
                "tags": [
                    "DeepLink"
                ],
                "summary": "Get Android App Site Association",
                "operationId": "a839f9e4518696e4ca91a3c92bfd4126",
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": [
                                    {
                                        "relation": [
                                            "delegate_permission/common.handle_all_urls"
                                        ],
                                        "target": {
                                            "namespace": "android_app",
                                            "package_name": "com.fayno.market",
                                            "sha256_cert_fingerprints": [
                                                "CA:XX:XX:XX:XX: <...> :XX:XX:XX:XX:1F"
                                            ]
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "/deep-link/*": {
            "get": {
                "tags": [
                    "DeepLink"
                ],
                "summary": "Redirect to the App Store or Play Market",
                "operationId": "21e35a7dfd8ec7477486303584384ea6",
                "responses": {
                    "302": {
                        "description": "Redirect based on device",
                        "headers": {
                            "Location": {
                                "schema": {
                                    "type": "string",
                                    "example": "https://apps.apple.com/app/id1507139586\n                    or https://play.google.com/store/apps/details?id=com.fayno.market\n                    or https://fayno.market/#download-mobile-apps"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "ProcessStatusesEnum": {
                "type": "string",
                "enum": [
                    "pending",
                    "processed",
                    "rejected"
                ]
            },
            "UpdateApplicationFormRequest": {
                "properties": {
                    "status": {
                        "type": "string",
                        "example": "processed",
                        "enum": [
                            "pending",
                            "processed",
                            "rejected"
                        ]
                    }
                },
                "type": "object"
            },
            "UpdateCommercialProposalRequest": {
                "properties": {
                    "status": {
                        "type": "string",
                        "example": "processed",
                        "enum": [
                            "pending",
                            "processed",
                            "rejected"
                        ]
                    }
                },
                "type": "object"
            },
            "UpdatePartnerRequestRequest": {
                "properties": {
                    "status": {
                        "type": "string",
                        "example": "processed",
                        "enum": [
                            "pending",
                            "processed",
                            "rejected"
                        ]
                    }
                },
                "type": "object"
            },
            "ApplicationFormResource": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "status": {
                        "type": "string",
                        "example": "pending",
                        "enum": [
                            "pending",
                            "processed",
                            "rejected"
                        ]
                    },
                    "first_name": {
                        "type": "string",
                        "example": "Павло"
                    },
                    "last_name": {
                        "type": "string",
                        "example": "Сергієнко"
                    },
                    "email": {
                        "type": "string",
                        "example": "pavlo.sergienko@example.org"
                    },
                    "phone_number": {
                        "type": "string",
                        "example": "+380681900578"
                    },
                    "comment": {
                        "type": "string",
                        "example": "Якийсь коментар",
                        "nullable": true
                    },
                    "app_deep_link": {
                        "type": "string",
                        "example": "https://fayno.dev.onix.team/deep-link/career?t=FrkjZyOb8SiIC1Wc",
                        "nullable": true
                    },
                    "application_form_token": {
                        "type": "string",
                        "example": "FrkjZyOb8SiIC1Wc",
                        "nullable": true
                    },
                    "is_part_time": {
                        "type": "boolean",
                        "example": true
                    },
                    "is_disability_friendly": {
                        "type": "boolean",
                        "example": true
                    },
                    "attachment": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/MediaResource"
                            }
                        ],
                        "nullable": true
                    },
                    "vacancy": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/VacancyResource"
                            }
                        ],
                        "nullable": true
                    },
                    "created_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    },
                    "updated_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    }
                },
                "type": "object"
            },
            "CommercialProposalResource": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "status": {
                        "type": "string",
                        "example": "pending",
                        "enum": [
                            "pending",
                            "processed",
                            "rejected"
                        ]
                    },
                    "company_name": {
                        "type": "string",
                        "example": "ПП Приват"
                    },
                    "product_supply": {
                        "type": "string",
                        "example": "Помідори"
                    },
                    "company_website": {
                        "type": "string",
                        "example": "https://example.com"
                    },
                    "full_name": {
                        "type": "string",
                        "example": "Сергієнко Павло Олександрович"
                    },
                    "phone_number": {
                        "type": "string",
                        "example": "+380681900578"
                    },
                    "email": {
                        "type": "string",
                        "example": "pavlo.sergienko@example.org"
                    },
                    "address": {
                        "type": "string",
                        "example": "56223, Кіровоградська область, місто Кропивницький, просп. Мельникова, 41"
                    },
                    "comment": {
                        "type": "string",
                        "example": "Якийсь коментар",
                        "nullable": true
                    },
                    "attachment": {
                        "$ref": "#/components/schemas/MediaResource"
                    },
                    "created_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    },
                    "updated_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    }
                },
                "type": "object"
            },
            "MediaResource": {
                "properties": {
                    "url": {
                        "type": "string",
                        "example": "https://fayno.market/files/391?signature=63de1a94c3"
                    },
                    "file_name": {
                        "type": "string",
                        "example": "image.png"
                    },
                    "mime_type": {
                        "type": "string",
                        "example": "image/png"
                    },
                    "size": {
                        "type": "integer",
                        "example": 68369
                    }
                },
                "type": "object"
            },
            "NewsResource": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "date": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    },
                    "slug": {
                        "type": "string",
                        "example": "fayno-market-peredav-avtivky-na-potreby-zsu"
                    },
                    "status": {
                        "type": "string",
                        "example": "published"
                    },
                    "link": {
                        "type": "string",
                        "example": "https://fayno.market/news/fayno-market-peredav-avtivky-na-potreby-zsu"
                    },
                    "title": {
                        "type": "string",
                        "example": "Файно маркет передав автівки на потреби ЗСУ"
                    },
                    "image": {
                        "type": "string",
                        "example": "https://fayno.market/storage/238/bez-nazvy-5-1024x768.jpg"
                    },
                    "content": {
                        "type": "string",
                        "example": "На початку літа, в межах корпоративної-соціальної відповідальності..."
                    }
                },
                "type": "object"
            },
            "PartnerRequestResource": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "email": {
                        "type": "string",
                        "example": "john@doe.com",
                        "nullable": true
                    },
                    "status": {
                        "type": "string",
                        "example": "pending",
                        "enum": [
                            "pending",
                            "processed",
                            "rejected"
                        ]
                    },
                    "company_name": {
                        "type": "string",
                        "example": "ПП Приват"
                    },
                    "full_name": {
                        "type": "string",
                        "example": "Сергієнко Павло Олександрович"
                    },
                    "phone_number": {
                        "type": "string",
                        "example": "+380681900578"
                    },
                    "collaboration_direction": {
                        "type": "string",
                        "example": "Ковбасні вироби"
                    },
                    "proposition": {
                        "type": "string",
                        "example": "Варені ковбаси першого гатунку"
                    },
                    "attachment": {
                        "$ref": "#/components/schemas/MediaResource"
                    },
                    "created_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    },
                    "updated_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    }
                },
                "type": "object"
            },
            "PositionInstructionResource": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "title": {
                        "type": "string",
                        "example": "Робоча інструкція продавця продовольчих товарів"
                    },
                    "status": {
                        "type": "string",
                        "example": "published",
                        "enum": [
                            "draft",
                            "published",
                            "archived"
                        ]
                    },
                    "files": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/MediaResource"
                        }
                    },
                    "updated_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    }
                },
                "type": "object"
            },
            "VacancyResource": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "example": 1
                    },
                    "title": {
                        "type": "string",
                        "example": "Продавець продовольчих товарів"
                    },
                    "city_name": {
                        "type": "string",
                        "example": "м. Корсунь-Шевченковський"
                    },
                    "created_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    },
                    "updated_at": {
                        "type": "string",
                        "example": "2024-07-16T00:00:00.000000Z"
                    }
                },
                "type": "object"
            }
        },
        "parameters": {
            "id": {
                "name": "id",
                "in": "path",
                "required": true,
                "schema": {
                    "type": "integer",
                    "example": 1
                }
            },
            "ApplicationForm_Status": {
                "name": "status",
                "in": "query",
                "schema": {
                    "type": "string",
                    "enum": [
                        "pending",
                        "processed",
                        "rejected"
                    ]
                },
                "example": "pending"
            },
            "CommercialProposal_Status": {
                "name": "status",
                "in": "query",
                "schema": {
                    "type": "string",
                    "enum": [
                        "pending",
                        "processed",
                        "rejected"
                    ]
                },
                "example": "pending"
            },
            "Pagination_Page": {
                "name": "page",
                "in": "query",
                "schema": {
                    "type": "integer"
                },
                "example": 1
            },
            "Pagination_PerPage": {
                "name": "per_page",
                "in": "query",
                "schema": {
                    "type": "integer"
                },
                "example": 20
            },
            "Pagination_Order": {
                "name": "order",
                "in": "query",
                "schema": {
                    "type": "string"
                },
                "example": "-id"
            },
            "PartnerRequest_Status": {
                "name": "status",
                "in": "query",
                "schema": {
                    "type": "string",
                    "enum": [
                        "pending",
                        "processed",
                        "rejected"
                    ]
                },
                "example": "pending"
            },
            "PartnerRequest_Email": {
                "name": "email",
                "in": "query",
                "schema": {
                    "type": "string"
                },
                "example": "john@doe.com"
            }
        },
        "securitySchemes": {
            "application": {
                "type": "apiKey",
                "description": "Enter token in format (Bearer <token>)",
                "name": "Authorization",
                "in": "header"
            },
            "user_token": {
                "type": "apiKey",
                "description": "Enter user token in format (Bearer <token>)",
                "name": "Authorization",
                "in": "header"
            }
        }
    },
    "tags": [
        {
            "name": "Application Form",
            "description": "Manages application forms"
        },
        {
            "name": "Commercial Proposal",
            "description": "Manages commercial proposals"
        },
        {
            "name": "Partner Requests",
            "description": "Manages partner requests"
        },
        {
            "name": "Position Instructions",
            "description": "Manages position instructions"
        },
        {
            "name": "Loyalty",
            "description": "Loyalty"
        },
        {
            "name": "News",
            "description": "News"
        },
        {
            "name": "Terms",
            "description": "Terms"
        },
        {
            "name": "DeepLink",
            "description": "DeepLink"
        }
    ]
}