{"openapi":"3.0.1","info":{"title":"UserAPI","description":"API for user communication","version":"1.0"},"servers":[{"url":"https://api.velox.am","description":"Generated server url"}],"security":[{"Bearer Auth":[]}],"paths":{"/user/code/identify":{"post":{"tags":["user-resource"],"operationId":"identifyUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentifyUserRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/user/code/change":{"post":{"tags":["user-resource"],"operationId":"changePassword","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPasswordChangeRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/storage/upload":{"post":{"tags":["storage-resource"],"operationId":"uploadDocumentAttachment","parameters":[{"name":"documentType","in":"query","required":false,"schema":{"type":"string","enum":["LOAN_SERVICE_GUIDE","LOAN_DEPOSIT_AGREEMENT_SHEET","NOTICE_SHEET","RECEIPT_SHEET","GENERAL_SHEET","INFO_GATHERING_AGREEMENT_SHEET","SOLAR_LOAN_DEPOSIT_AGREEMENT_SHEET","COMPLAINT_SHEET","COMPLETE_SHEET","ATTACHMENT","SOLAR_ATTACHMENT"]}},{"name":"applicationUuid","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"required":["attachment"],"type":"object","properties":{"attachment":{"type":"string","format":"binary"}}}}}},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/score/card/limit":{"post":{"tags":["score-resource"],"operationId":"get","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoreCardBasedLimitRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScoreCardBasedLimitModel"}}}}}}},"/merchant/search":{"post":{"tags":["merchant-resource"],"operationId":"searchMerchants","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantSearchRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantsModel"}}}}}}},"/merchant/search/filter":{"post":{"tags":["merchant-resource"],"operationId":"searchMerchantsByParameters","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantSearchRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantsModel"}}}}}}},"/merchant-branch/search":{"post":{"tags":["merchant-branch-resource"],"operationId":"getMerchantBranches","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantBranchSearchRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantBranchesModel"}}}}}}},"/loan/offer/conditions":{"post":{"tags":["loan-resource"],"operationId":"calculate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanCalculatorOfferRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LenderOfferModel"}}}}}}},"/loan/conditions":{"post":{"tags":["loan-resource"],"operationId":"calculate_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanCalculatorRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/LoanConditionsModel"}}}}}}},"/lender/documents/regenerate":{"post":{"tags":["lender-resource"],"operationId":"regenerate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDocumentDownloadRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/lender/documents/download":{"post":{"tags":["lender-resource"],"operationId":"downloadDocuments","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDocumentDownloadRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/image":{"post":{"tags":["image-resource"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateImageRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImageModel"}}}}}}},"/image/upload":{"post":{"tags":["image-resource"],"operationId":"upload","requestBody":{"content":{"application/json":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/auth/login":{"post":{"tags":["authentication-resource"],"operationId":"authenticate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AuthenticationModel"}}}}}}},"/application":{"post":{"tags":["application-resource"],"operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApplicationRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/{uuid}/verify-customer-email":{"post":{"tags":["application-resource"],"operationId":"verifyEmail","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationVerifyEmailRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK"}}}},"/application/{uuid}/update-customer-phone":{"post":{"tags":["application-resource"],"operationId":"updateCustomerPhone","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationUpdatePhoneRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK"}}}},"/application/{uuid}/update-customer-email":{"post":{"tags":["application-resource"],"operationId":"updateCustomerEmail","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationUpdateEmailRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK"}}}},"/application/{uuid}/send-customer-email-verification-code":{"post":{"tags":["application-resource"],"operationId":"sendEmailVerificationCode","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK"}}}},"/application/sign":{"post":{"tags":["application-resource"],"operationId":"sign","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationSignageRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/purchase":{"post":{"tags":["application-resource"],"operationId":"purchase","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationPurchaseRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/print":{"post":{"tags":["application-resource"],"operationId":"printApplicationDocuments","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDocumentPackagePrintRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationPurchaseDetailsModel"}}}}}}},"/application/offer":{"post":{"tags":["application-resource"],"operationId":"chooseOffer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationChooseOfferRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/offers":{"post":{"tags":["application-resource"],"operationId":"retrieveOffers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationOfferRetrievalRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/integration/process":{"post":{"tags":["application-resource"],"operationId":"integrationProcess","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegrationProcessRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/identify/code":{"post":{"tags":["application-resource"],"operationId":"identifyByCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationIdentificationRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/generate/email":{"post":{"tags":["application-resource"],"operationId":"generateEmailAddress","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateEmailAddressRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/generate/code":{"post":{"tags":["application-resource"],"operationId":"createIdentificationCode","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCustomerIdentificationCodeRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/facematch/process":{"post":{"tags":["application-resource"],"operationId":"processFaceMatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaceMatchProcessCommand"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/deny":{"post":{"tags":["application-resource"],"operationId":"deny","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationDenialRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationModel"}}}}}}},"/application/complete":{"post":{"tags":["application-resource"],"operationId":"complete","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplicationCompleteRequest"}}},"required":true},"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/user/code/generate/{email}":{"get":{"tags":["user-resource"],"operationId":"generateIdentificationCode","parameters":[{"name":"email","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/GeneratedIdentificationCodeResponse"}}}}}}},"/subsidy-zone/regions":{"get":{"tags":["subsidy-zone-resource"],"operationId":"readAllRegions","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RegionModel"}}}}}}}},"/subsidy-zone/regions/{regionCode}/districts":{"get":{"tags":["subsidy-zone-resource"],"operationId":"readDistrictsByRegion","parameters":[{"name":"regionCode","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DistrictModel"}}}}}}}},"/subsidy-zone/regions/with-cooperation/{cooperationUuId}":{"get":{"tags":["subsidy-zone-resource"],"operationId":"readAllRegionsWithCooperationUuid","parameters":[{"name":"cooperationUuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RegionModel"}}}}}}}},"/storage/{directory}/{key}/{fileName}":{"get":{"tags":["storage-resource"],"operationId":"getFile","parameters":[{"name":"directory","in":"path","required":true,"schema":{"type":"string"}},{"name":"key","in":"path","required":true,"schema":{"type":"string"}},{"name":"fileName","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/storage/static/{directory}/{subDirectory}/{fileName}":{"get":{"tags":["storage-resource"],"operationId":"getStaticResource","parameters":[{"name":"directory","in":"path","required":true,"schema":{"type":"string"}},{"name":"subDirectory","in":"path","required":true,"schema":{"type":"string"}},{"name":"fileName","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/storage/receipt/{applicationUuId}":{"get":{"tags":["storage-resource"],"operationId":"retrieveApplicationsReceiptDocument","parameters":[{"name":"applicationUuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/merchant/{id}":{"get":{"tags":["merchant-resource"],"operationId":"getMerchantById","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantModel"}}}}}}},"/merchant/list":{"get":{"tags":["merchant-resource"],"operationId":"getMerchants","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantsModel"}}}}}}},"/merchant/list/with-branches":{"get":{"tags":["merchant-resource"],"operationId":"getAllMerchantsWithBranches","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantsModel"}}}}}}},"/merchant-branch/{merchantBranchUuId}":{"get":{"tags":["merchant-branch-resource"],"operationId":"getMerchantBranchByUuId","parameters":[{"name":"merchantBranchUuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantBranchModel"}}}}}}},"/merchant-branch/list/{merchantId}":{"get":{"tags":["merchant-branch-resource"],"operationId":"getMerchantBranches_1","parameters":[{"name":"merchantId","in":"path","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/MerchantBranchesModel"}}}}}}},"/image/{uuId}":{"get":{"tags":["image-resource"],"operationId":"get_1","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ImageModel"}}}}}}},"/health":{"get":{"tags":["health-resource"],"operationId":"health","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/JsonNode"}}}}}}},"/cooperation/{uuId}":{"get":{"tags":["cooperation-resource"],"operationId":"get_2","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CooperationDetailsModel"}}}}}}},"/cooperation/search":{"get":{"tags":["cooperation-resource"],"operationId":"search","parameters":[{"name":"merchantBranches","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"categories","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]}}},{"name":"startFrom","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"totalCount","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CooperationListModel"}}}}}}},"/cooperation/product/categories":{"get":{"tags":["cooperation-resource"],"operationId":"retrieveCategories","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProductCategoriesListModel"}}}}}}},"/auth/profile":{"get":{"tags":["authentication-resource"],"operationId":"retrieveProfile","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserModel"}}}}}}},"/auth/logout":{"get":{"tags":["authentication-resource"],"operationId":"logout","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"boolean"}}}}}}},"/application/{uuId}":{"get":{"tags":["application-resource"],"operationId":"get_3","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationModel"}}}}}}},"/application/{uuId}/simple":{"get":{"tags":["application-resource"],"operationId":"getApplicationSimpleModel","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationSimpleModel"}}}}}}},"/application/{uuId}/customer-photo":{"get":{"tags":["application-resource"],"operationId":"getCustomerPhoto","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/application/search":{"get":{"tags":["application-resource"],"operationId":"search_1","parameters":[{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}},{"name":"merchantBranches","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"statuses","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["IN_PROGRESS","CANCEL","SUCCESS"]}}},{"name":"startFrom","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"totalCount","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"terms","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/notify-sign/{uuId}":{"get":{"tags":["application-resource"],"operationId":"notifyForSign","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK"}}}},"/application/identifyEmail/{applicationUuId}/{userUuId}/{code}":{"get":{"tags":["application-resource"],"operationId":"identifyByEmail","parameters":[{"name":"applicationUuId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userUuId","in":"path","required":true,"schema":{"type":"string"}},{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/application/details/{uuId}":{"get":{"tags":["application-resource"],"operationId":"getDetails","parameters":[{"name":"uuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApplicationPurchaseDetailsModel"}}}}}}},"/application/detailed/search":{"get":{"tags":["application-resource"],"operationId":"searchDetailed","parameters":[{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}},{"name":"merchantBranches","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"terms","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"statuses","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["IN_PROGRESS","CANCEL","SUCCESS"]}}},{"name":"states","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","enum":["CREATED","IDENTIFIED","IDENTIFICATION_BLOCKED","FACEMATCH_PENDING","FACEMATCH_FAILED","FACEMATCH_BLOCKED","DENIAL_BY_STOP_FACTOR","DENIAL_BY_SHOP","DENIAL_BY_CUSTOMER","DENIAL_BY_SCORING","DENIAL_BY_DISTRIBUTION","CONFIRMED","ACCEPTED","AGREED","TIMEOUT","REQUEST_FAILED","SIGNED","SIGNED_FINISHED","SIGNING_FAILED","FINISHED","FINALIZATION_BLOCKED","OFFER_CHOSEN"]}}},{"name":"createdAfter","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"startFrom","in":"query","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"totalCount","in":"query","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"type":"object"}}}}}}},"/address/states":{"get":{"tags":["address-resource"],"operationId":"getStates","responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StatesModel"}}}}}}},"/address/cities/state/{stateUuId}":{"get":{"tags":["address-resource"],"operationId":"getCitiesByState","parameters":[{"name":"stateUuId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/CitiesModel"}}}}}}},"/storage/attachment":{"delete":{"tags":["storage-resource"],"operationId":"deleteDocumentAttachment","parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string"}},{"name":"applicationUuid","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"401":{"description":"Unauthorized","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"OK"}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"techMessage":{"type":"string"},"code":{"type":"string"},"defaultMessage":{"type":"string"}}},"IdentifyUserRequest":{"type":"object","properties":{"userUuId":{"type":"string"},"code":{"type":"string"}}},"UserPasswordChangeRequest":{"type":"object","properties":{"identificationCodeUuId":{"type":"string"},"password":{"type":"string"},"userUuId":{"type":"string"}}},"CurrentOverdueBalance":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}}},"Loan":{"required":["balance","closeDate","creditStart","currency","interest","pledgeSubject","sourceName"],"type":"object","properties":{"currency":{"type":"string"},"balance":{"type":"string"},"pledgeSubject":{"type":"string"},"creditStart":{"type":"string"},"closeDate":{"type":"string"},"interest":{"type":"string"},"sourceName":{"type":"string"},"delayPaymentQuantity112":{"type":"string"},"delayPaymentQuantity136":{"type":"string"},"delayPaymentQuantity160":{"type":"string"},"creditStatus":{"type":"string"},"delayPaymentMax112":{"type":"string"},"delayPaymentMax136":{"type":"string"},"delayPaymentMax160":{"type":"string"}}},"Request":{"required":["date"],"type":"object","properties":{"date":{"type":"string"}}},"Requests":{"type":"object","properties":{"request":{"type":"array","items":{"$ref":"#/components/schemas/Request"}}}},"Score":{"type":"object","properties":{"ficoScore":{"type":"string"}}},"ScoreAcraEkeng":{"required":["gender"],"type":"object","properties":{"gender":{"type":"string","enum":["MALE","FEMALE"]}}},"ScoreAcraNorq":{"required":["actualIncome"],"type":"object","properties":{"hasPermanentRegistration":{"type":"boolean"},"actualIncome":{"type":"integer","format":"int64"}}},"ScoreAcraParticipient":{"required":["currentOverdueGuarantee","currentOverdueLoan"],"type":"object","properties":{"thePresenceData":{"type":"string"},"theWorstClassCredit":{"type":"string"},"personBankruptIncome":{"type":"string"},"theWorstClassLoan":{"type":"string"},"theWorstClassGuarantee":{"type":"string"},"score":{"$ref":"#/components/schemas/Score"},"requests":{"$ref":"#/components/schemas/Requests"},"loan":{"type":"array","items":{"$ref":"#/components/schemas/Loan"}},"currentOverdueLoan":{"type":"array","items":{"$ref":"#/components/schemas/CurrentOverdueBalance"}},"currentOverdueGuarantee":{"type":"array","items":{"$ref":"#/components/schemas/CurrentOverdueBalance"}}}},"ScoreCardBasedLimitRequest":{"required":["acraParticipient","age","requestDateTime","scoreAcraEkeng","scoreAcraNorq","ssn"],"type":"object","properties":{"cooperationWithMerchantUuId":{"type":"string","format":"uuid"},"age":{"type":"integer","format":"int32"},"acraParticipient":{"$ref":"#/components/schemas/ScoreAcraParticipient"},"scoreAcraNorq":{"$ref":"#/components/schemas/ScoreAcraNorq"},"scoreAcraEkeng":{"$ref":"#/components/schemas/ScoreAcraEkeng"},"ssn":{"type":"string"},"requestDateTime":{"type":"string","format":"date-time"},"cooperationWithMerchantUuIdOptional":{"type":"string","format":"uuid"}}},"ScoreCardBasedLimitModel":{"type":"object","properties":{"maxLimit":{"type":"integer","format":"int32"}}},"MerchantSearchRequest":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]}},"startFrom":{"minimum":0,"type":"integer","format":"int32"},"totalCount":{"maximum":200,"minimum":0,"type":"integer","format":"int32"}}},"MerchantModel":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"uuId":{"type":"string"},"name":{"type":"string"},"address":{"type":"string"},"cityName":{"type":"string"},"stateName":{"type":"string"},"shopName":{"type":"string"},"shopNameHy":{"type":"string"}}},"MerchantsModel":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"merchantModels":{"type":"array","items":{"$ref":"#/components/schemas/MerchantModel"}}}},"MerchantBranchSearchRequest":{"type":"object","properties":{"merchantId":{"type":"integer","format":"int64"},"categories":{"type":"array","items":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]}}}},"MerchantBranchModel":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"uuId":{"type":"string"},"merchantId":{"type":"integer","format":"int64"},"name":{"type":"string"},"address":{"type":"string"},"cityName":{"type":"string"},"stateName":{"type":"string"},"shopCode":{"type":"integer","format":"int32"}}},"MerchantBranchesModel":{"type":"object","properties":{"merchantBranchModels":{"type":"array","items":{"$ref":"#/components/schemas/MerchantBranchModel"}}}},"LoanCalculatorOfferRequest":{"type":"object","properties":{"lenderOfferUuId":{"type":"string"},"loanRepaymentType":{"type":"string","enum":["MONTHLY_ANNUITY","NORMAN_ANNUITY","CONVERSE_ANNUITY","FAST_ANNUITY","KAMURJ_CREDIT_ANNUITY","GLOBAL_CREDIT_ANNUITY"]},"totalPrePurchasedProductsPrice":{"type":"integer","format":"int32"}}},"GracePeriod":{"type":"object","properties":{"gracePeriodForLoanAmount":{"type":"integer","format":"int32"},"gracePeriodForInterestRate":{"type":"integer","format":"int32"},"gracePeriodForInterestRateTemp":{"type":"integer","format":"int32"},"interestRateInGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeInGracePeriod":{"type":"number","format":"double"}}},"LenderOfferModel":{"type":"object","properties":{"uuId":{"type":"string"},"lenderUuId":{"type":"string"},"lenderName":{"type":"string"},"monthlyPaymentInGracePeriod1":{"type":"number","format":"double"},"monthlyPaymentInGracePeriod2":{"type":"number","format":"double"},"monthlyPaymentAfterGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeInGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeAfterGracePeriod":{"type":"number","format":"double"},"loan":{"$ref":"#/components/schemas/LoanModel"}}},"LoanModel":{"type":"object","properties":{"maxLimit":{"type":"integer","format":"int32"},"amount":{"type":"integer","format":"int32"},"duration":{"type":"integer","format":"int32"},"interestRate":{"type":"number","format":"double"},"monthlyServiceFee":{"type":"number","format":"double"},"minPrepayment":{"type":"number","format":"double"},"prepayment":{"type":"integer","format":"int32"},"effectiveRate":{"type":"number","format":"double"},"subsidyInterest":{"type":"number","format":"double"},"totalMonthlyPayments":{"type":"number","format":"double"},"gracePeriod":{"$ref":"#/components/schemas/GracePeriod"},"serviceInterestRate":{"type":"number","format":"double"},"contractNumber":{"type":"string"}}},"LoanCalculatorRequest":{"required":["duration","gracePeriodForInterestRate","gracePeriodForLoanAmount","interestRate","loanAmount","monthlyServiceFee","repaymentType"],"type":"object","properties":{"repaymentType":{"type":"string","enum":["MONTHLY_ANNUITY","NORMAN_ANNUITY","CONVERSE_ANNUITY","FAST_ANNUITY","KAMURJ_CREDIT_ANNUITY","GLOBAL_CREDIT_ANNUITY"]},"loanAmount":{"type":"integer","format":"int32"},"interestRate":{"type":"number","format":"double"},"serviceInterestRate":{"type":"number","format":"double"},"duration":{"type":"integer","format":"int32"},"monthlyServiceFee":{"type":"number","format":"double"},"gracePeriodForLoanAmount":{"type":"integer","format":"int32"},"gracePeriodForInterestRate":{"type":"integer","format":"int32"},"gracePeriodInterestRate":{"type":"number","format":"double"},"gracePeriodMonthlyServiceFee":{"type":"number","format":"double"},"subsidyInterest":{"type":"number","format":"double"}}},"LoanConditionsModel":{"required":["effectiveRate","monthlyPaymentAfterGracePeriod","monthlyPaymentInGracePeriod1","monthlyPaymentInGracePeriod2","monthlyServiceFeeAfterGracePeriod","monthlyServiceFeeInGracePeriod","totalMonthlyPayments"],"type":"object","properties":{"effectiveRate":{"type":"number","format":"double"},"monthlyPaymentInGracePeriod1":{"type":"number","format":"double"},"monthlyPaymentInGracePeriod2":{"type":"number","format":"double"},"monthlyPaymentAfterGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeInGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeAfterGracePeriod":{"type":"number","format":"double"},"totalMonthlyPayments":{"type":"number","format":"double"}}},"ApplicationDocumentDownloadRequest":{"type":"object","properties":{"lenderToken":{"type":"string"},"documentType":{"type":"string","enum":["LOAN_SERVICE_GUIDE","LOAN_DEPOSIT_AGREEMENT_SHEET","NOTICE_SHEET","RECEIPT_SHEET","GENERAL_SHEET","INFO_GATHERING_AGREEMENT_SHEET","SOLAR_LOAN_DEPOSIT_AGREEMENT_SHEET","COMPLAINT_SHEET","COMPLETE_SHEET","ATTACHMENT","SOLAR_ATTACHMENT"]},"documentTypes":{"type":"array","items":{"type":"string","enum":["LOAN_SERVICE_GUIDE","LOAN_DEPOSIT_AGREEMENT_SHEET","NOTICE_SHEET","RECEIPT_SHEET","GENERAL_SHEET","INFO_GATHERING_AGREEMENT_SHEET","SOLAR_LOAN_DEPOSIT_AGREEMENT_SHEET","COMPLAINT_SHEET","COMPLETE_SHEET","ATTACHMENT","SOLAR_ATTACHMENT"]}},"signByCustomer":{"type":"boolean"}}},"CreateImageRequest":{"required":["file","height","imageType","width"],"type":"object","properties":{"imageType":{"type":"string","enum":["JPEG","PNG","GIF","BMP","WEBP","OTHER"]},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"},"file":{"type":"string"},"category":{"type":"string","enum":["UNKNOWN","SELFIE","DOCUMENT","SIGNATURE"]}}},"ImageModel":{"required":["fileUrl","height","imageType","name","uuId","width"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"},"imageType":{"type":"string","enum":["JPEG","PNG","GIF","BMP","WEBP","OTHER"]},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"},"fileUrl":{"type":"string"}}},"AuthenticationRequest":{"required":["password","username"],"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"}}},"AuthenticationModel":{"required":["jwtToken"],"type":"object","properties":{"jwtToken":{"type":"string"}}},"ApplicationMetadata":{"type":"object","properties":{"fieldName":{"type":"string"},"value":{"type":"string"}}},"CreateApplicationRequest":{"required":["customer","merchantBranchUuId"],"type":"object","properties":{"customer":{"$ref":"#/components/schemas/CreateCustomerRequest"},"merchantBranchUuId":{"type":"string"},"metadata":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMetadata"}}}},"CreateCustomerRequest":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"ssn":{"type":"string"},"phoneNumber":{"type":"string"},"additionalPhoneNumber":{"type":"string"},"images":{"type":"array","items":{"$ref":"#/components/schemas/CreateImageRequest"}},"customerDocument":{"$ref":"#/components/schemas/CustomerDocumentRequest"}}},"CustomerDocumentData":{"type":"object","properties":{"fieldName":{"type":"string"},"value":{"type":"string"}}},"CustomerDocumentRequest":{"type":"object","properties":{"type":{"type":"string","enum":["PASSPORT","ID_CARD"]},"number":{"type":"string"},"images":{"type":"array","items":{"$ref":"#/components/schemas/CreateImageRequest"}},"other":{"type":"array","items":{"$ref":"#/components/schemas/CustomerDocumentData"}}}},"ApplicationVerifyEmailRequest":{"type":"object","properties":{"code":{"type":"string"}}},"ApplicationUpdatePhoneRequest":{"type":"object","properties":{"phoneNumber":{"type":"string"}}},"ApplicationUpdateEmailRequest":{"type":"object","properties":{"email":{"type":"string"}}},"ApplicationSignageRequest":{"required":["applicationUuId","signature"],"type":"object","properties":{"applicationUuId":{"type":"string"},"signature":{"type":"string"}}},"ApplicationPurchaseRequest":{"required":["applicationUuId","customerDetails","lenderOfferUuId","minPrepayment","purchasedProducts"],"type":"object","properties":{"applicationUuId":{"type":"string"},"customerDetails":{"$ref":"#/components/schemas/CustomerDetailsRequest"},"purchasedProducts":{"type":"array","items":{"$ref":"#/components/schemas/PurchasedProductRequest"}},"minPrepayment":{"type":"integer","format":"int32"},"lenderOfferUuId":{"type":"string"}}},"CustomerDetailsRequest":{"required":["email"],"type":"object","properties":{"stateUuId":{"type":"string"},"cityUuId":{"type":"string"},"addressLine":{"type":"string"},"apartmentHouse":{"type":"string"},"useRegistrationAddress":{"type":"boolean"},"email":{"type":"string"}}},"PurchasedProductRequest":{"required":["category","price","productName"],"type":"object","properties":{"category":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]},"productName":{"type":"string"},"price":{"type":"integer","format":"int32"},"imeiCode":{"type":"string"},"capacity":{"type":"number"}}},"ApplicationDocumentPackagePrintRequest":{"type":"object","properties":{"applicationUuId":{"type":"string"}}},"ApplicationPurchaseDetailsModel":{"required":["amount","code","created","customer","documentsPrinted","lastModifiedUser","merchantBranchUuId","receiptSheet","state","status","updated","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"code":{"type":"string"},"merchantBranchUuId":{"type":"string"},"state":{"type":"string","enum":["CREATED","IDENTIFIED","IDENTIFICATION_BLOCKED","FACEMATCH_PENDING","FACEMATCH_FAILED","FACEMATCH_BLOCKED","DENIAL_BY_STOP_FACTOR","DENIAL_BY_SHOP","DENIAL_BY_CUSTOMER","DENIAL_BY_SCORING","DENIAL_BY_DISTRIBUTION","CONFIRMED","ACCEPTED","AGREED","TIMEOUT","REQUEST_FAILED","SIGNED","SIGNED_FINISHED","SIGNING_FAILED","FINISHED","FINALIZATION_BLOCKED","OFFER_CHOSEN"]},"status":{"type":"string","enum":["IN_PROGRESS","CANCEL","SUCCESS"]},"customer":{"$ref":"#/components/schemas/CustomerModel"},"lastModifiedUser":{"type":"string"},"cooperationName":{"type":"string"},"landerName":{"type":"string"},"documentsPrinted":{"type":"array","items":{"type":"string","enum":["LOAN_SERVICE_GUIDE","LOAN_DEPOSIT_AGREEMENT_SHEET","NOTICE_SHEET","RECEIPT_SHEET","GENERAL_SHEET","INFO_GATHERING_AGREEMENT_SHEET","SOLAR_LOAN_DEPOSIT_AGREEMENT_SHEET","COMPLAINT_SHEET","COMPLETE_SHEET","ATTACHMENT","SOLAR_ATTACHMENT"]}},"created":{"type":"string","format":"date-time"},"updated":{"type":"string","format":"date-time"},"amount":{"type":"integer","format":"int32"},"monthlyPaymentInGracePeriod1":{"type":"number","format":"double"},"monthlyPaymentInGracePeriod2":{"type":"number","format":"double"},"monthlyPaymentAfterGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeInGracePeriod":{"type":"number","format":"double"},"monthlyServiceFeeAfterGracePeriod":{"type":"number","format":"double"},"loan":{"$ref":"#/components/schemas/LoanModel"},"purchasedProducts":{"type":"array","items":{"$ref":"#/components/schemas/PurchasedProductModel"}},"moneyTransferInformation":{"$ref":"#/components/schemas/MoneyTransferInformation"},"attachments":{"type":"array","items":{"type":"string"}},"solarAttachments":{"type":"array","items":{"type":"string"}},"completeSheet":{"type":"string"},"receiptSheet":{"type":"string"}}},"CustomerAddressModel":{"type":"object","properties":{"cityId":{"type":"integer","format":"int64"},"stateId":{"type":"integer","format":"int64"},"address":{"type":"string"},"zipCode":{"type":"string"},"apartmentHouse":{"type":"string"}}},"CustomerDocumentModel":{"required":["images","number","type"],"type":"object","properties":{"type":{"type":"string","enum":["PASSPORT","ID_CARD"]},"number":{"type":"string"},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImageModel"}}}},"CustomerModel":{"required":["customerDocument","firstName","images","lastName","phoneNumber","ssn","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"ssn":{"type":"string"},"phoneNumber":{"type":"string"},"phoneNumberUpdateCount":{"type":"integer","format":"int32"},"isEmailVerified":{"$ref":"#/components/schemas/CustomerModel"},"email":{"type":"string"},"additionalPhoneNumber":{"type":"string"},"images":{"type":"array","items":{"$ref":"#/components/schemas/ImageModel"}},"customerDocument":{"$ref":"#/components/schemas/CustomerDocumentModel"},"registrationAddress":{"$ref":"#/components/schemas/CustomerAddressModel"},"emailVerified":{"type":"boolean"}}},"MoneyTransferInformation":{"required":["commission","transferredAmount"],"type":"object","properties":{"transferredAmount":{"type":"number","format":"double"},"commission":{"type":"number","format":"double"}}},"PurchasedProductModel":{"required":["category","price","productName"],"type":"object","properties":{"category":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]},"productName":{"type":"string"},"imeiCode":{"type":"string"},"capacity":{"type":"number"},"price":{"type":"integer","format":"int32"}}},"ApplicationChooseOfferRequest":{"required":["applicationUuId","lenderOfferUuId"],"type":"object","properties":{"applicationUuId":{"type":"string"},"lenderOfferUuId":{"type":"string"}}},"ApplicationOfferRetrievalRequest":{"required":["applicationUuId","cooperationUuId","loanDuration","purchasedItems"],"type":"object","properties":{"applicationUuId":{"type":"string"},"cooperationUuId":{"type":"string"},"loanDuration":{"type":"integer","format":"int32"},"purchasedItems":{"type":"array","items":{"$ref":"#/components/schemas/PurchasedItem"}}}},"InstallationAddress":{"type":"object","properties":{"districtCode":{"type":"string"},"city":{"type":"string"},"address":{"type":"string"}}},"PurchasedItem":{"required":["category","price"],"type":"object","properties":{"category":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]},"price":{"type":"integer","format":"int32"},"installationAddress":{"$ref":"#/components/schemas/InstallationAddress"}}},"IntegrationProcessRequest":{"type":"object","properties":{"applicationUuId":{"type":"string"},"code":{"type":"string"}}},"ApplicationIdentificationRequest":{"required":["applicationUuId","code"],"type":"object","properties":{"applicationUuId":{"type":"string"},"code":{"type":"string"}}},"GenerateEmailAddressRequest":{"type":"object","properties":{"applicationUuId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"GenerateCustomerIdentificationCodeRequest":{"required":["applicationUuId","verificationChannel","verificationType"],"type":"object","properties":{"applicationUuId":{"type":"string"},"verificationType":{"type":"string","enum":["ACRA_VERIFICATION","LOAN_VERIFICATION","CUSTOMER_EMAIL_VERIFICATION"]},"verificationChannel":{"type":"string","enum":["SMS","EMAIL"]}}},"FaceMatchProcessCommand":{"type":"object","properties":{"applicationUuId":{"type":"string"},"analysisId":{"type":"string"},"firstRequestDate":{"type":"integer","format":"int64"}}},"ApplicationDenialRequest":{"required":["applicationUuId","reason","state"],"type":"object","properties":{"applicationUuId":{"type":"string"},"state":{"type":"string","enum":["CREATED","IDENTIFIED","IDENTIFICATION_BLOCKED","FACEMATCH_PENDING","FACEMATCH_FAILED","FACEMATCH_BLOCKED","DENIAL_BY_STOP_FACTOR","DENIAL_BY_SHOP","DENIAL_BY_CUSTOMER","DENIAL_BY_SCORING","DENIAL_BY_DISTRIBUTION","CONFIRMED","ACCEPTED","AGREED","TIMEOUT","REQUEST_FAILED","SIGNED","SIGNED_FINISHED","SIGNING_FAILED","FINISHED","FINALIZATION_BLOCKED","OFFER_CHOSEN"]},"reason":{"type":"string","enum":["SUSPICIOUS_CUSTOMER","NON_COMPETITIVE_OFFER","OTHER","INSUFFICIENT_CONDITIONS","CHANGE_INTENTION","UNFAVORABLE_CREDIT_CONDITIONS"]},"otherReasonMessage":{"type":"string"}}},"ApplicationModel":{"required":["code","customer","merchantBranchUuId","state","status","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"code":{"type":"string"},"merchantBranchUuId":{"type":"string"},"state":{"type":"string","enum":["CREATED","IDENTIFIED","IDENTIFICATION_BLOCKED","FACEMATCH_PENDING","FACEMATCH_FAILED","FACEMATCH_BLOCKED","DENIAL_BY_STOP_FACTOR","DENIAL_BY_SHOP","DENIAL_BY_CUSTOMER","DENIAL_BY_SCORING","DENIAL_BY_DISTRIBUTION","CONFIRMED","ACCEPTED","AGREED","TIMEOUT","REQUEST_FAILED","SIGNED","SIGNED_FINISHED","SIGNING_FAILED","FINISHED","FINALIZATION_BLOCKED","OFFER_CHOSEN"]},"status":{"type":"string","enum":["IN_PROGRESS","CANCEL","SUCCESS"]},"customer":{"$ref":"#/components/schemas/CustomerModel"},"imageAnalysisModel":{"$ref":"#/components/schemas/ImageAnalysisModel"},"generalSheetUrl":{"type":"string"},"denialReason":{"type":"string","enum":["SUSPICIOUS_CUSTOMER","NON_COMPETITIVE_OFFER","OTHER","INSUFFICIENT_CONDITIONS","CHANGE_INTENTION","UNFAVORABLE_CREDIT_CONDITIONS"]},"armenianFirstName":{"type":"string"},"armenianLastName":{"type":"string"},"totalPrePurchasedProductsPrice":{"type":"integer","format":"int32"},"cooperationUuId":{"type":"string"},"lenderOffers":{"type":"array","items":{"$ref":"#/components/schemas/LenderOfferModel"}},"prePurchasedProductModels":{"type":"array","items":{"$ref":"#/components/schemas/PrePurchasedProductModel"}},"loanAmount":{"type":"number","format":"double"},"totalPayment":{"type":"number","format":"double"},"effectiveRate":{"type":"number","format":"double"},"lenderOfferUuid":{"type":"string"},"metadata":{"type":"array","items":{"$ref":"#/components/schemas/ApplicationMetadata"}},"prePurchasedProducts":{"type":"array","items":{"$ref":"#/components/schemas/PrePurchasedProductModel"}}}},"ImageAnalysisModel":{"type":"object","properties":{"analysisState":{"type":"string"},"analysisId":{"type":"string"}}},"PrePurchasedProductModel":{"type":"object","properties":{"category":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]},"price":{"minimum":50000,"type":"integer","format":"int32"},"installationAddress":{"$ref":"#/components/schemas/InstallationAddress"}}},"ApplicationCompleteRequest":{"required":["applicationUuId"],"type":"object","properties":{"applicationUuId":{"type":"string"}}},"GeneratedIdentificationCodeResponse":{"type":"object","properties":{"userUuId":{"type":"string"}}},"RegionModel":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}}},"DistrictModel":{"type":"object","properties":{"code":{"type":"string"},"fullCode":{"type":"string"},"subsidyZoneCode":{"type":"string"},"name":{"type":"string"},"nameEng":{"type":"string"}}},"JsonNode":{"type":"object"},"CooperationDetailsModel":{"required":["gracePeriodForInterestRate","gracePeriodForLoanAmount","interestRates","maxLoanAmount","maxLoanDuration","minLoanAmount","minLoanDuration","monthlyServiceFees","name","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"},"minLoanDuration":{"type":"integer","format":"int32"},"maxLoanDuration":{"type":"integer","format":"int32"},"minLoanAmount":{"type":"integer","format":"int32"},"maxLoanAmount":{"type":"integer","format":"int32"},"gracePeriodForLoanAmount":{"type":"integer","format":"int32"},"gracePeriodForInterestRate":{"type":"integer","format":"int32"},"interestRates":{"type":"array","items":{"$ref":"#/components/schemas/RateModel"}},"monthlyServiceFees":{"type":"array","items":{"$ref":"#/components/schemas/RateModel"}},"additionalInformation":{"type":"string"}}},"RateModel":{"required":["rateAfterGracePeriod","rateInGracePeriod"],"type":"object","properties":{"rateInGracePeriod":{"type":"number","format":"double"},"rateAfterGracePeriod":{"type":"number","format":"double"}}},"CooperationListModel":{"required":["cooperationModels","totalCount"],"type":"object","properties":{"totalCount":{"type":"integer","format":"int64"},"cooperationModels":{"type":"array","items":{"$ref":"#/components/schemas/CooperationModel"}}}},"CooperationModel":{"required":["categories","loanDurationStep","maxLoanAmount","maxLoanDuration","minLoanAmount","minLoanDuration","name","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"},"minLoanDuration":{"type":"integer","format":"int32"},"maxLoanDuration":{"type":"integer","format":"int32"},"minLoanAmount":{"type":"integer","format":"int32"},"maxLoanAmount":{"type":"integer","format":"int32"},"loanDurationStep":{"type":"integer","format":"int32"},"categories":{"type":"array","items":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]}}}},"ProductCategoriesListModel":{"required":["categories"],"type":"object","properties":{"categories":{"type":"array","items":{"type":"string","enum":["MOBILE_COMPUTER_TABLET","AUTO_PARTS","HOUSEHOLD","FURNITURE","CONSTRUCTION_MATERIALS_ACCESSORIES_TOOLS","SOLAR","SERVICES","OTHER"]}}}},"RoleModel":{"required":["name","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"}}},"UserMerchantBranch":{"required":["name","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"}}},"UserModel":{"required":["branches","email","firstName","lastName","merchantName","permissions","profileType","role","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"branches":{"type":"array","items":{"$ref":"#/components/schemas/UserMerchantBranch"}},"role":{"$ref":"#/components/schemas/RoleModel"},"profileType":{"type":"string","enum":["VELOX","FINCA_KG"]},"merchantName":{"type":"string"},"permissions":{"type":"array","items":{"type":"string","enum":["APPLICATIONS_VIEW","APPLICATIONS_SEARCH","APPLICATION_CREATE","APPLICATION_EDIT","APPLICATION_SUBMIT","APPLICATION_CANCEL","ACCESS_CURRENT_BRANCH","ACCESS_ALL_ASSIGNED_BRANCH"]}}}},"ApplicationSimpleModel":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"uuId":{"type":"string"},"state":{"type":"string","enum":["CREATED","IDENTIFIED","IDENTIFICATION_BLOCKED","FACEMATCH_PENDING","FACEMATCH_FAILED","FACEMATCH_BLOCKED","DENIAL_BY_STOP_FACTOR","DENIAL_BY_SHOP","DENIAL_BY_CUSTOMER","DENIAL_BY_SCORING","DENIAL_BY_DISTRIBUTION","CONFIRMED","ACCEPTED","AGREED","TIMEOUT","REQUEST_FAILED","SIGNED","SIGNED_FINISHED","SIGNING_FAILED","FINISHED","FINALIZATION_BLOCKED","OFFER_CHOSEN"]},"status":{"type":"string","enum":["IN_PROGRESS","CANCEL","SUCCESS"]}}},"StateModel":{"required":["name","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"}}},"StatesModel":{"required":["states"],"type":"object","properties":{"states":{"type":"array","items":{"$ref":"#/components/schemas/StateModel"}}}},"CitiesModel":{"required":["cities"],"type":"object","properties":{"cities":{"type":"array","items":{"$ref":"#/components/schemas/CityModel"}}}},"CityModel":{"required":["name","uuId"],"type":"object","properties":{"uuId":{"type":"string"},"name":{"type":"string"}}}},"securitySchemes":{"Bearer Auth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}