loan order details more beautiful
This commit is contained in:
@@ -278,6 +278,30 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/alerts-all": {
|
||||
"get": {
|
||||
"operationId": "alert.all",
|
||||
"summary": "All alerts",
|
||||
"tags": [
|
||||
"Alert"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/components/responses/AuthenticationException"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/auth/register": {
|
||||
"post": {
|
||||
"operationId": "apiAuth.register",
|
||||
@@ -387,12 +411,24 @@
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"success": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"$ref": "#/components/schemas/ProfileResponse"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message"
|
||||
"success",
|
||||
"token",
|
||||
"message",
|
||||
"user"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -479,6 +515,69 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/contact-us": {
|
||||
"post": {
|
||||
"operationId": "contactUs.store",
|
||||
"summary": "Store contact us message",
|
||||
"tags": [
|
||||
"ContactUs"
|
||||
],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string",
|
||||
"description": "Message Title",
|
||||
"example": "Salam",
|
||||
"maxLength": 255
|
||||
},
|
||||
"message": {
|
||||
"type": "string",
|
||||
"description": "Message content",
|
||||
"example": "Bet app",
|
||||
"maxLength": 255
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"message"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"message"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/components/responses/AuthenticationException"
|
||||
},
|
||||
"422": {
|
||||
"$ref": "#/components/responses/ValidationException"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/metrics": {
|
||||
"get": {
|
||||
"operationId": "metrics.index",
|
||||
@@ -528,31 +627,11 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"description": "`ProfileResponse`",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"phone": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_serie": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_id": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"phone",
|
||||
"passport_serie",
|
||||
"passport_id"
|
||||
]
|
||||
"$ref": "#/components/schemas/ProfileResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2582,14 +2661,11 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Paginated set of `LoanOrderIndexResource`",
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/LoanOrderIndexResource"
|
||||
}
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3474,6 +3550,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/visa-master-order": {
|
||||
"get": {
|
||||
"operationId": "visaMasterPaymentOrder.index",
|
||||
"tags": [
|
||||
"VisaMasterPaymentOrder"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/components/responses/AuthenticationException"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
@@ -5155,391 +5247,6 @@
|
||||
],
|
||||
"title": "CardTransaction"
|
||||
},
|
||||
"LoanOrderIndexResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"unique_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"loan_type": {
|
||||
"type": "integer"
|
||||
},
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"branch_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"customer_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"customer_surname": {
|
||||
"type": "string"
|
||||
},
|
||||
"customer_patronic_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"passport_address": {
|
||||
"type": "string"
|
||||
},
|
||||
"real_address": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_serie": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_given_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"passport_given_by": {
|
||||
"type": "string"
|
||||
},
|
||||
"born_place": {
|
||||
"type": "string"
|
||||
},
|
||||
"born_at": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"email": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"phone": {
|
||||
"type": "string"
|
||||
},
|
||||
"phone_additional": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"phone_home": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"work_region": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"work_province_id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"work_company": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"work_company_accountant_number": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"work_started_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"work_salary": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"work_position": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"education": {
|
||||
"type": "string"
|
||||
},
|
||||
"marriage_status": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_one": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_two": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_three": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_four": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"notes": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"created_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"deleted_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date-time"
|
||||
},
|
||||
"loan_amount": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_surname": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_patronic_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_card_number": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_card_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_card_month": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_card_year": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_surname": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_patronic_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_card_number": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_card_name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_card_month": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_card_year": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"mobile"
|
||||
]
|
||||
},
|
||||
"guarantor_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_note": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"satisfiable": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_passport_serie": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_passport_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_passport_serie": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"guarantor_2_passport_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"unique_id",
|
||||
"loan_type",
|
||||
"region",
|
||||
"branch_id",
|
||||
"customer_name",
|
||||
"customer_surname",
|
||||
"customer_patronic_name",
|
||||
"passport_address",
|
||||
"real_address",
|
||||
"passport_serie",
|
||||
"passport_id",
|
||||
"passport_given_at",
|
||||
"passport_given_by",
|
||||
"born_place",
|
||||
"born_at",
|
||||
"email",
|
||||
"phone",
|
||||
"phone_additional",
|
||||
"phone_home",
|
||||
"work_region",
|
||||
"work_province_id",
|
||||
"work_company",
|
||||
"work_company_accountant_number",
|
||||
"work_started_at",
|
||||
"work_salary",
|
||||
"work_position",
|
||||
"education",
|
||||
"marriage_status",
|
||||
"passport_one",
|
||||
"passport_two",
|
||||
"passport_three",
|
||||
"passport_four",
|
||||
"user_id",
|
||||
"status",
|
||||
"notes",
|
||||
"created_at",
|
||||
"updated_at",
|
||||
"deleted_at",
|
||||
"loan_amount",
|
||||
"guarantor_name",
|
||||
"guarantor_surname",
|
||||
"guarantor_patronic_name",
|
||||
"guarantor_card_number",
|
||||
"guarantor_card_name",
|
||||
"guarantor_card_month",
|
||||
"guarantor_card_year",
|
||||
"guarantor_2_name",
|
||||
"guarantor_2_surname",
|
||||
"guarantor_2_patronic_name",
|
||||
"guarantor_2_card_number",
|
||||
"guarantor_2_card_name",
|
||||
"guarantor_2_card_month",
|
||||
"guarantor_2_card_year",
|
||||
"source",
|
||||
"guarantor_note",
|
||||
"guarantor_2_note",
|
||||
"satisfiable",
|
||||
"guarantor_passport_serie",
|
||||
"guarantor_passport_id",
|
||||
"guarantor_2_passport_serie",
|
||||
"guarantor_2_passport_id"
|
||||
],
|
||||
"title": "LoanOrderIndexResource"
|
||||
},
|
||||
"LoanOrderShowResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6196,7 +5903,10 @@
|
||||
"maxLength": 255
|
||||
},
|
||||
"guarantor_patronic_name": {
|
||||
"type": "string",
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "Guarantor surname",
|
||||
"example": "Owezowic",
|
||||
"maxLength": 255
|
||||
@@ -6346,7 +6056,6 @@
|
||||
"passport_four",
|
||||
"guarantor_name",
|
||||
"guarantor_surname",
|
||||
"guarantor_patronic_name",
|
||||
"guarantor_card_number",
|
||||
"guarantor_card_name",
|
||||
"guarantor_card_month",
|
||||
@@ -7060,6 +6769,45 @@
|
||||
],
|
||||
"title": "LoanRemainingOrder"
|
||||
},
|
||||
"ProfileResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"phone": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"passport_serie": {
|
||||
"type": "string"
|
||||
},
|
||||
"passport_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"card_number": {
|
||||
"type": "string"
|
||||
},
|
||||
"card_month": {
|
||||
"type": "string"
|
||||
},
|
||||
"card_year": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"phone",
|
||||
"passport_serie",
|
||||
"passport_id",
|
||||
"card_number",
|
||||
"card_month",
|
||||
"card_year"
|
||||
],
|
||||
"title": "ProfileResponse"
|
||||
},
|
||||
"UpdateUserProfileRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -7083,10 +6831,7 @@
|
||||
"example": "MyFcpassword"
|
||||
},
|
||||
"passport_serie": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"type": "string",
|
||||
"description": "Passport serie",
|
||||
"enum": [
|
||||
"I-AS",
|
||||
@@ -7104,12 +6849,104 @@
|
||||
"example": "I-AS"
|
||||
},
|
||||
"passport_id": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"type": "number",
|
||||
"description": "Passport id",
|
||||
"example": 100999
|
||||
},
|
||||
"card_number": {
|
||||
"type": "string",
|
||||
"example": "9934612100000543"
|
||||
},
|
||||
"card_month": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"01",
|
||||
"02",
|
||||
"03",
|
||||
"04",
|
||||
"05",
|
||||
"06",
|
||||
"07",
|
||||
"08",
|
||||
"09",
|
||||
"10",
|
||||
"11",
|
||||
"12"
|
||||
],
|
||||
"example": "12"
|
||||
},
|
||||
"card_year": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2024",
|
||||
"2025",
|
||||
"2026",
|
||||
"2027",
|
||||
"2028",
|
||||
"2029",
|
||||
"2030",
|
||||
"2031",
|
||||
"2032",
|
||||
"2033",
|
||||
"2034",
|
||||
"2035",
|
||||
"2036",
|
||||
"2037",
|
||||
"2038",
|
||||
"2039",
|
||||
"2040",
|
||||
"2041",
|
||||
"2042",
|
||||
"2043",
|
||||
"2044",
|
||||
"2045",
|
||||
"2046",
|
||||
"2047",
|
||||
"2048",
|
||||
"2049",
|
||||
"2050",
|
||||
"2051",
|
||||
"2052",
|
||||
"2053",
|
||||
"2054",
|
||||
"2055",
|
||||
"2056",
|
||||
"2057",
|
||||
"2058",
|
||||
"2059",
|
||||
"2060",
|
||||
"2061",
|
||||
"2062",
|
||||
"2063",
|
||||
"2064",
|
||||
"2065",
|
||||
"2066",
|
||||
"2067",
|
||||
"2068",
|
||||
"2069",
|
||||
"2070",
|
||||
"2071",
|
||||
"2072",
|
||||
"2073",
|
||||
"2074",
|
||||
"2075",
|
||||
"2076",
|
||||
"2077",
|
||||
"2078",
|
||||
"2079",
|
||||
"2080",
|
||||
"2081",
|
||||
"2082",
|
||||
"2083",
|
||||
"2084",
|
||||
"2085",
|
||||
"2086",
|
||||
"2087",
|
||||
"2088",
|
||||
"2089",
|
||||
"2090"
|
||||
],
|
||||
"example": "2049"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user