From df57d4a756444cbc9a3dde0d10a0a936ebab4bbb Mon Sep 17 00:00:00 2001 From: Azeez Muibi Date: Mon, 14 Apr 2025 09:53:54 +0100 Subject: [PATCH] update --- app/swagger/paths/CustomerConsent.json | 56 --------- app/swagger/paths/EligibilityCheck.json | 57 --------- app/swagger/paths/LoanStatus.json | 57 --------- app/swagger/paths/NotificationCallback.json | 57 --------- app/swagger/paths/ProvideLoan.json | 57 --------- app/swagger/paths/Repayment.json | 56 --------- app/swagger/paths/SelectOffer.json | 57 --------- .../schemas/CustomerConsentRequest.json | 37 ------ .../schemas/CustomerConsentResponse.json | 16 --- .../schemas/EligibilityCheckRequest.json | 32 ----- .../schemas/EligibilityCheckResponse.json | 82 ------------- app/swagger/schemas/LoanStatusRequest.json | 24 ---- app/swagger/schemas/LoanStatusResponse.json | 70 ----------- .../schemas/NotificationCallbackRequest.json | 50 -------- .../schemas/NotificationCallbackResponse.json | 16 --- app/swagger/schemas/ProvideLoanRequest.json | 45 ------- app/swagger/schemas/ProvideLoanResponse.json | 36 ------ app/swagger/schemas/RepaymentRequest.json | 32 ----- app/swagger/schemas/RepaymentResponse.json | 28 ----- app/swagger/schemas/SelectOfferRequest.json | 41 ------- app/swagger/schemas/SelectOfferResponse.json | 112 ------------------ 21 files changed, 1018 deletions(-) delete mode 100644 app/swagger/paths/CustomerConsent.json delete mode 100644 app/swagger/paths/EligibilityCheck.json delete mode 100644 app/swagger/paths/LoanStatus.json delete mode 100644 app/swagger/paths/NotificationCallback.json delete mode 100644 app/swagger/paths/ProvideLoan.json delete mode 100644 app/swagger/paths/Repayment.json delete mode 100644 app/swagger/paths/SelectOffer.json delete mode 100644 app/swagger/schemas/CustomerConsentRequest.json delete mode 100644 app/swagger/schemas/CustomerConsentResponse.json delete mode 100644 app/swagger/schemas/EligibilityCheckRequest.json delete mode 100644 app/swagger/schemas/EligibilityCheckResponse.json delete mode 100644 app/swagger/schemas/LoanStatusRequest.json delete mode 100644 app/swagger/schemas/LoanStatusResponse.json delete mode 100644 app/swagger/schemas/NotificationCallbackRequest.json delete mode 100644 app/swagger/schemas/NotificationCallbackResponse.json delete mode 100644 app/swagger/schemas/ProvideLoanRequest.json delete mode 100644 app/swagger/schemas/ProvideLoanResponse.json delete mode 100644 app/swagger/schemas/RepaymentRequest.json delete mode 100644 app/swagger/schemas/RepaymentResponse.json delete mode 100644 app/swagger/schemas/SelectOfferRequest.json delete mode 100644 app/swagger/schemas/SelectOfferResponse.json diff --git a/app/swagger/paths/CustomerConsent.json b/app/swagger/paths/CustomerConsent.json deleted file mode 100644 index f246704..0000000 --- a/app/swagger/paths/CustomerConsent.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "post": { - "tags": [ - "CustomerConsent" - ], - "summary": "Customer Consent Request", - "description": "Customer Consent Request", - "operationId": "CustomerConsent", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/CustomerConsentRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/CustomerConsentRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/CustomerConsentRequest.json" - } - } - } - }, - "responses": { - "200": { - "description": "Successful", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/CustomerConsentResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/CustomerConsentResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } - } \ No newline at end of file diff --git a/app/swagger/paths/EligibilityCheck.json b/app/swagger/paths/EligibilityCheck.json deleted file mode 100644 index f2142b1..0000000 --- a/app/swagger/paths/EligibilityCheck.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "post": { - "tags": [ - "EligibilityCheck" - ], - "summary": "Start the process - initiate steps to eligibility RAC Checks ", - "description": "Initiate Eligibility Check Request", - "operationId": "startEligibilityCheck", - "requestBody": { - "description": "Post JSON to conduct eligibility tests", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/EligibilityCheckRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/EligibilityCheckRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/EligibilityCheckRequest.json" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/EligibilityCheckResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/EligibilityCheckResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } -} \ No newline at end of file diff --git a/app/swagger/paths/LoanStatus.json b/app/swagger/paths/LoanStatus.json deleted file mode 100644 index 59d165b..0000000 --- a/app/swagger/paths/LoanStatus.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "post": { - "tags": [ - "LoanStatus" - ], - "summary": "Loan Information Request ", - "description": "Loan Information Request", - "operationId": "LoanStatus", - "requestBody": { - "description": "Post JSON to conduct eligibility tests", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/LoanStatusRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/LoanStatusRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/LoanStatusRequest.json" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/LoanStatusResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/LoanStatusResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } - } \ No newline at end of file diff --git a/app/swagger/paths/NotificationCallback.json b/app/swagger/paths/NotificationCallback.json deleted file mode 100644 index 26af904..0000000 --- a/app/swagger/paths/NotificationCallback.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "post": { - "tags": [ - "NotificationCallback" - ], - "summary": "Loan Information Request ", - "description": "Loan Information Request", - "operationId": "NotificationCallback", - "requestBody": { - "description": "Post JSON to conduct eligibility tests", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/NotificationCallbackRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/NotificationCallbackRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/NotificationCallbackRequest.json" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/NotificationCallbackResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/NotificationCallbackResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } - } \ No newline at end of file diff --git a/app/swagger/paths/ProvideLoan.json b/app/swagger/paths/ProvideLoan.json deleted file mode 100644 index e875312..0000000 --- a/app/swagger/paths/ProvideLoan.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "post": { - "tags": [ - "ProvideLoan" - ], - "summary": "Provide Loan Request ", - "description": "Provide Loan Request", - "operationId": "ProvideLoan", - "requestBody": { - "description": "Post JSON to conduct eligibility tests", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/ProvideLoanRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/ProvideLoanRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/ProvideLoanRequest.json" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/ProvideLoanResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/ProvideLoanResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } - } \ No newline at end of file diff --git a/app/swagger/paths/Repayment.json b/app/swagger/paths/Repayment.json deleted file mode 100644 index e88d18c..0000000 --- a/app/swagger/paths/Repayment.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "post": { - "tags": [ - "Repayment" - ], - "summary": "Repayment Request", - "description": "Repayment Request", - "operationId": "Repayment", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/RepaymentRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/RepaymentRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/RepaymentRequest.json" - } - } - } - }, - "responses": { - "200": { - "description": "Repayment Successful", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/RepaymentResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/RepaymentResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } -} \ No newline at end of file diff --git a/app/swagger/paths/SelectOffer.json b/app/swagger/paths/SelectOffer.json deleted file mode 100644 index 06c20bd..0000000 --- a/app/swagger/paths/SelectOffer.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "post": { - "tags": [ - "SelectOffer" - ], - "summary": "This method is used the send the offer the customer selected to Simbrella ", - "description": "This method is used the send the offer the customer selected to Simbrella", - "operationId": "SelectOffer", - "requestBody": { - "description": "Post JSON to conduct eligibility tests", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/SelectOfferRequest.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/SelectOfferRequest.json" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "../schemas/SelectOfferRequest.json" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "Successful operation", - "content": { - "application/json": { - "schema": { - "$ref": "../schemas/SelectOfferResponse.json" - } - }, - "application/xml": { - "schema": { - "$ref": "../schemas/SelectOfferResponse.json" - } - } - } - }, - "400": { - "description": "Invalid request" - }, - "422": { - "description": "Validation exception" - }, - "500": { - "description": "Internal server error" - } - } - } -} \ No newline at end of file diff --git a/app/swagger/schemas/CustomerConsentRequest.json b/app/swagger/schemas/CustomerConsentRequest.json deleted file mode 100644 index a86c53a..0000000 --- a/app/swagger/schemas/CustomerConsentRequest.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "type": "object", - "properties": { - "type": { - "type": "string", - "example": "CustomerConsentRequest" - }, - "transactionId": { - "type": "string", - "example": "20171209232177" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - }, - "requestTime": { - "type": "string", - "format": "date-time", - "example": "2019-10-18 14:26:21.063" - }, - "consentType": { - "type": "string", - "example": "Revoke" - }, - "channel": { - "type": "string", - "example": "USSD" - } - }, - "xml": { - "name": "CustomerConsentRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/CustomerConsentResponse.json b/app/swagger/schemas/CustomerConsentResponse.json deleted file mode 100644 index fb46f6a..0000000 --- a/app/swagger/schemas/CustomerConsentResponse.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "type": "object", - "properties": { - "resultCode": { - "type": "string", - "example": "00" - }, - "resultDescription": { - "type": "string", - "example": "Request is received" - } - }, - "xml": { - "name": "CustomerConsentResponse" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/EligibilityCheckRequest.json b/app/swagger/schemas/EligibilityCheckRequest.json deleted file mode 100644 index 8bb14de..0000000 --- a/app/swagger/schemas/EligibilityCheckRequest.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "type": "object", - "properties": { - "transactionId": { - "type": "string", - "example": "Tr201712RK9232P115" - }, - "countryCode": { - "type": "string", - "example": "NGR" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "msisdn": { - "type": "string", - "example": "8093451342" - }, - "channel": { - "type": "string", - "example": "100" - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - } - }, - "xml": { - "name": "EligibilityCheckRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/EligibilityCheckResponse.json b/app/swagger/schemas/EligibilityCheckResponse.json deleted file mode 100644 index 1f91239..0000000 --- a/app/swagger/schemas/EligibilityCheckResponse.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "type": "object", - "properties": { - "customerId": { - "type": "string", - "example": "CN621868" - }, - "transactionId": { - "type": "string", - "example": "TX12345" - }, - "countryCode": { - "type": "string", - "example": "NG" - }, - "msisdn": { - "type": "string", - "example": "3451342" - }, - "eligibleOffers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "offerId": { - "type": "string", - "example": "Offer1" - }, - "productId": { - "type": "string", - "example": "Product1" - }, - "minAamount": { - "type": "number", - "format": "decimal", - "example": 100.00 - }, - "maxAamount": { - "type": "number", - "format": "decimal", - "example": 1000.00 - }, - "tenor": { - "type": "integer", - "example": 12 - } - } - }, - "example": [ - { - "offerId": "Offer1", - "productId": "Product1", - "minAamount": 100.00, - "maxAamount": 1000.00, - "tenor": 12 - }, - { - "offerId": "Offer2", - "productId": "Product2", - "minAamount": 200.00, - "maxAamount": 2000.00, - "tenor": 24 - } - ] - }, - "resultDescription": { - "type": "string", - "example": "Successful" - }, - "resultCode": { - "type": "string", - "example": "00" - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - } - }, - "xml": { - "name": "EligibilityCheckResponse" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/LoanStatusRequest.json b/app/swagger/schemas/LoanStatusRequest.json deleted file mode 100644 index 0252f26..0000000 --- a/app/swagger/schemas/LoanStatusRequest.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "type": "object", - "properties": { - "transactionId": { - "type": "string", - "example": "Tr201712RK9232P115" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "msisdn": { - "type": "string", - "example": "3451342" - }, - "channel": { - "type": "string", - "example": "USSD" - } - }, - "xml": { - "name": "LoanStatusRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/LoanStatusResponse.json b/app/swagger/schemas/LoanStatusResponse.json deleted file mode 100644 index 6e9e877..0000000 --- a/app/swagger/schemas/LoanStatusResponse.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "type": "object", - "properties": { - "customerId": { - "type": "string", - "example": "CN621868" - }, - "transactionId": { - "type": "string", - "example": "Tr201712RK9232P115" - }, - "loans": { - "type": "array", - "items": { - "type": "object", - "properties": { - "debtId": { - "type": "string", - "example": "123456789" - }, - "loanDate": { - "type": "string", - "format": "date-time", - "example": "2019-10-18 14:26:21.063" - }, - "dueDate": { - "type": "string", - "format": "date-time", - "example": "2019-11-20 14:26:21.063" - }, - "currentLoanAmount": { - "type": "integer", - "example": 8500 - }, - "initialLoanAmount": { - "type": "integer", - "example": 10000 - }, - "defaultPenaltyFee": { - "type": "integer", - "example": 0 - }, - "continuousFee": { - "type": "integer", - "example": 0 - }, - "productId": { - "type": "string", - "example": "101" - } - } - } - }, - "totalDebtAmount": { - "type": "integer", - "example": 8500 - }, - "resultCode": { - "type": "string", - "example": "00" - }, - "resultDescription": { - "type": "string", - "example": "Successful" - } - }, - "xml": { - "name": "LoanStatusResponse" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/NotificationCallbackRequest.json b/app/swagger/schemas/NotificationCallbackRequest.json deleted file mode 100644 index d5457fb..0000000 --- a/app/swagger/schemas/NotificationCallbackRequest.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "type": "object", - "properties": { - "fbnTransactionId": { - "type": "string", - "example": "123456789" - }, - "transactionId": { - "type": "string", - "example": "123456789" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - }, - "debtId": { - "type": "string", - "example": "987654321" - }, - "transactionType": { - "type": "string", - "example": "Disbursement" - }, - "amountProvided": { - "type": "number", - "format": "float", - "example": 1000.00 - }, - "amountCollected": { - "type": "number", - "format": "float", - "example": 0.00 - }, - "responseCode": { - "type": "string", - "example": "00" - }, - "responseDescription": { - "type": "string", - "example": "Successful" - } - }, - "xml": { - "name": "NotificationCallbackRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/NotificationCallbackResponse.json b/app/swagger/schemas/NotificationCallbackResponse.json deleted file mode 100644 index c4a6a78..0000000 --- a/app/swagger/schemas/NotificationCallbackResponse.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "type": "object", - "properties": { - "resultCode": { - "type": "string", - "example": "00" - }, - "resultDescription": { - "type": "string", - "example": "Successful" - } - }, - "xml": { - "name": "NotificationCallbackResponse" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/ProvideLoanRequest.json b/app/swagger/schemas/ProvideLoanRequest.json deleted file mode 100644 index 721d8b9..0000000 --- a/app/swagger/schemas/ProvideLoanRequest.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "type": "object", - "properties": { - "requestId": { - "type": "string", - "example": "202111170001371256908" - }, - "transactionId": { - "type": "string", - "example": "Tr201712RK9232P115" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - }, - "msisdn": { - "type": "string", - "example": "3451342" - }, - "requestedAmount": { - "type": "number", - "format": "decimal", - "example": 900 - }, - "collectionType": { - "type": "integer", - "example": 1 - }, - "offerId": { - "type": "integer", - "example": 1127 - }, - "channel": { - "type": "string", - "example": "100" - } - }, - "xml": { - "name": "ProvideLoanRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/ProvideLoanResponse.json b/app/swagger/schemas/ProvideLoanResponse.json deleted file mode 100644 index d7ddb3c..0000000 --- a/app/swagger/schemas/ProvideLoanResponse.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "type": "object", - "properties": { - "requestId": { - "type": "string", - "example": "202111170001371256908" - }, - "transactionId": { - "type": "string", - "example": "Tr201712RK9232P115" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - }, - "msisdn": { - "type": "string", - "example": "3451342" - }, - "resultCode": { - "type": "string", - "example": "00" - }, - "resultDescription": { - "type": "string", - "example": "Successful" - } - }, - "xml": { - "name": "ProvideLoanResponse" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/RepaymentRequest.json b/app/swagger/schemas/RepaymentRequest.json deleted file mode 100644 index c31d585..0000000 --- a/app/swagger/schemas/RepaymentRequest.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "type": "object", - "properties": { - "msisdn": { - "type": "string", - "example": "3451342" - }, - "debtId": { - "type": "string", - "example": "10" - }, - "productId": { - "type": "string", - "example": "101" - }, - "transactionId": { - "type": "string", - "example": "20171209232115" - }, - "customerId": { - "type": "string", - "example": "CID0000025585" - }, - "channel": { - "type": "string", - "example": "USSD" - } - }, - "xml": { - "name": "RepaymentRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/RepaymentResponse.json b/app/swagger/schemas/RepaymentResponse.json deleted file mode 100644 index 06e4666..0000000 --- a/app/swagger/schemas/RepaymentResponse.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "type": "object", - "properties": { - "customerId": { - "type": "string", - "example": "CN621868" - }, - "productId": { - "type": "string", - "example": "101" - }, - "debtId": { - "type": "string", - "example": "273194670" - }, - "resultCode": { - "type": "string", - "example": "00" - }, - "resultDescription": { - "type": "string", - "example": "Successful" - } - }, - "xml": { - "name": "RepaymentResponse" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/SelectOfferRequest.json b/app/swagger/schemas/SelectOfferRequest.json deleted file mode 100644 index a874ed3..0000000 --- a/app/swagger/schemas/SelectOfferRequest.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "type": "object", - "properties": { - "requestId": { - "type": "string", - "example": "202111170001371256908" - }, - "transactionId": { - "type": "string", - "example": "1231231321232" - }, - "customerId": { - "type": "string", - "example": "CN621868" - }, - "msisdn": { - "type": "string", - "example": "123456789" - }, - "requestedAmount": { - "type": "number", - "format": "double", - "example": 10000.55 - }, - "accountId": { - "type": "string", - "example": "ACN8263457" - }, - "productId": { - "type": "string", - "example": "101" - }, - "channel": { - "type": "string", - "example": "" - } - }, - "xml": { - "name": "SelectOffersRequest" - } -} \ No newline at end of file diff --git a/app/swagger/schemas/SelectOfferResponse.json b/app/swagger/schemas/SelectOfferResponse.json deleted file mode 100644 index 1d0ebdf..0000000 --- a/app/swagger/schemas/SelectOfferResponse.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "type": "object", - "properties": { - "requestId": { - "type": "string", - "example": "202111170001371256908" - }, - "transactionId": { - "type": "string", - "example": "1231231321232" - }, - "customerId": { - "type": "string", - "example": "1256907" - }, - "accountId": { - "type": "string", - "example": "5948306019" - }, - "loan": { - "type": "array", - "items": { - "type": "object", - "properties": { - "offerId": { - "type": "string", - "example": "14451" - }, - "productId": { - "type": "string", - "example": "2030" - }, - "amount": { - "type": "number", - "format": "float", - "example": 10000.0 - }, - "upfrontPayment": { - "type": "number", - "format": "float", - "example": 1000.0 - }, - "interestRate": { - "type": "number", - "format": "float", - "example": 3.0 - }, - "ManagementRate": { - "type": "number", - "format": "float", - "example": 1.0 - }, - "ManagementFee": { - "type": "number", - "format": "float", - "example": 1.0 - }, - "InsuranceRate": { - "type": "number", - "format": "float", - "example": 1.0 - }, - "InsuranceFee": { - "type": "number", - "format": "float", - "example": 100.0 - }, - "VATRate": { - "type": "number", - "format": "float", - "example": 7.5 - }, - "VATamount": { - "type": "number", - "format": "float", - "example": 100.0 - }, - "recommendedRepaymentDates": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "2022-11-30" - ] - }, - "installmentAmount": { - "type": "number", - "format": "float", - "example": 11000.0 - }, - "totalRepaymentAmount": { - "type": "number", - "format": "float", - "example": 11000.0 - } - } - } - }, - "resultCode": { - "type": "string", - "example": "00" - }, - "resultDescription": { - "type": "string", - "example": "Successful" - } - }, - "xml": { - "name": "SelectOffersResponse" - } -} \ No newline at end of file