Code Cleanup

This commit is contained in:
VivianDee
2025-03-19 19:37:53 +01:00
parent e2769472bb
commit 5e848b40d7
58 changed files with 2303 additions and 2144 deletions
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"BulkSMS"
],
"summary": "BulkSMS Request",
"description": "BulkSMS Request",
"operationId": "BulkSMS",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/BulkSMSRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/BulkSMSRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/BulkSMSRequest"
}
}
}
},
"responses": {
"200": {
"description": "BulkSMS Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/BulkSMSResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/BulkSMSResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"CollectLoan"
],
"summary": "Collect Loan Request",
"description": "Collect Loan Request",
"operationId": "CollectLoan",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/CollectLoanRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/CollectLoanRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/CollectLoanRequest"
}
}
}
},
"responses": {
"200": {
"description": "CollectLoan Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/CollectLoanResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/CollectLoanResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"CustomerConsent"
],
"summary": "Customer Consent Request",
"description": "Customer Consent Request",
"operationId": "CustomerConsent",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/CustomerConsentRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/CustomerConsentRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/CustomerConsentRequest"
}
}
}
},
"responses": {
"200": {
"description": "Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/CustomerConsentResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/CustomerConsentResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"Disbursement"
],
"summary": "Disbursement Request",
"description": "Disbursement Request",
"operationId": "Disbursement",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/DisbursementRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/DisbursementRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/DisbursementRequest"
}
}
}
},
"responses": {
"200": {
"description": "Disbursement Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/DisbursementResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/DisbursementResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+65
View File
@@ -0,0 +1,65 @@
{
"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 ID supplied"
},
"404": {
"description": "Pet not found"
},
"422": {
"description": "Validation exception"
}
},
"security": [
{
"petstore_auth": [
"write:pets",
"read:pets"
]
}
]
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"LienCheck"
],
"summary": "Lien Check Request",
"description": "Lien Check Request",
"operationId": "LienCheck",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LienCheckRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LienCheckRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/LienCheckRequest"
}
}
}
},
"responses": {
"200": {
"description": "LienCheck Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LienCheckResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LienCheckResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+65
View File
@@ -0,0 +1,65 @@
{
"get": {
"tags": [
"LoanInformation"
],
"summary": "Loan Information Request ",
"description": "Loan Information Request",
"operationId": "startEligibilityCheck",
"requestBody": {
"description": "Post JSON to conduct eligibility tests",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LoanInformationRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LoanInformationRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/LoanInformationRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LoanInformationResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LoanInformationResponse"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Loan not found"
},
"422": {
"description": "Validation exception"
}
},
"security": [
{
"petstore_auth": [
"write:pets",
"read:pets"
]
}
]
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"NewTransactionCheck"
],
"summary": "New Transaction Check Request",
"description": "New Transaction Check Request",
"operationId": "NewTransactionCheck",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/NewTransactionCheckRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/NewTransactionCheckRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/NewTransactionCheckRequest"
}
}
}
},
"responses": {
"200": {
"description": "NewTransactionCheck Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/NewTransactionCheckResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/NewTransactionCheckResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+65
View File
@@ -0,0 +1,65 @@
{
"post": {
"tags": [
"NotificationCallback"
],
"summary": "Loan Information Request ",
"description": "Loan Information Request",
"operationId": "startEligibilityCheck",
"requestBody": {
"description": "Post JSON to conduct eligibility tests",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LoanInformationRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LoanInformationRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/LoanInformationRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LoanInformationResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LoanInformationResponse"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Loan not found"
},
"422": {
"description": "Validation exception"
}
},
"security": [
{
"petstore_auth": [
"write:pets",
"read:pets"
]
}
]
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"PenalCharge"
],
"summary": "Penal Charge Request",
"description": "Penal Charge Request",
"operationId": "PenalCharge",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/PenalChargeRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/PenalChargeRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/PenalChargeRequest"
}
}
}
},
"responses": {
"200": {
"description": "PenalCharge Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/PenalChargeResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/PenalChargeResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+65
View File
@@ -0,0 +1,65 @@
{
"post": {
"tags": [
"ProvideLoan"
],
"summary": "Provide Loan Request ",
"description": "Provide Loan Request",
"operationId": "startEligibilityCheck",
"requestBody": {
"description": "Post JSON to conduct eligibility tests",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/EligibilityCheckRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/EligibilityCheckRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/EligibilityCheckRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/EligibilityCheckResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/EligibilityCheckResponse"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Pet not found"
},
"422": {
"description": "Validation exception"
}
},
"security": [
{
"petstore_auth": [
"write:pets",
"read:pets"
]
}
]
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"RACCheck"
],
"summary": "Risk Acceptance Criteria Check",
"description": "Check if a customer passes the Risk Acceptance Criteria defined by the bank",
"operationId": "racCheck",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RACCheckRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RACCheckRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/RACCheckRequest"
}
}
}
},
"responses": {
"200": {
"description": "RAC Check Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RACCheckResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RACCheckResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"Repayment"
],
"summary": "Repayment Request",
"description": "Repayment Request",
"operationId": "Repayment",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RepaymentRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RepaymentRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/RepaymentRequest"
}
}
}
},
"responses": {
"200": {
"description": "Repayment Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RepaymentResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RepaymentResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"RevokeEnableConsent"
],
"summary": "Revoke Enable Consent Request",
"description": "Revoke Enable Consent Request",
"operationId": "RevokeEnableConsent",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentRequest"
}
}
}
},
"responses": {
"200": {
"description": "RevokeEnableConsent Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/RevokeEnableConsentResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"SMS"
],
"summary": "SMS Request",
"description": "SMS Request",
"operationId": "SMS",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/SMSRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/SMSRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/SMSRequest"
}
}
}
},
"responses": {
"200": {
"description": "SMS Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/SMSResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/SMSResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+65
View File
@@ -0,0 +1,65 @@
{
"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": "startEligibilityCheck",
"requestBody": {
"description": "Post JSON to conduct eligibility tests",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/SelectOfferRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/SelectOfferRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/SelectOfferRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/SelectOfferResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/SelectOfferResponse"
}
}
}
},
"400": {
"description": "Invalid ID supplied"
},
"404": {
"description": "Offers not found"
},
"422": {
"description": "Validation exception"
}
},
"security": [
{
"petstore_auth": [
"write:pets",
"read:pets"
]
}
]
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"TokenValidation"
],
"summary": "Token Validation Request",
"description": "Token Validation Request",
"operationId": "TokenValidation",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/TokenValidationRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/TokenValidationRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/TokenValidationRequest"
}
}
}
},
"responses": {
"200": {
"description": "TokenValidation Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/TokenValidationResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/TokenValidationResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}
+53
View File
@@ -0,0 +1,53 @@
{
"post": {
"tags": [
"TransactionVerify"
],
"summary": "Transaction Verify Request",
"description": "Transaction Verify Request",
"operationId": "TransactionVerify",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/TransactionVerifyRequest"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/TransactionVerifyRequest"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/TransactionVerifyRequest"
}
}
}
},
"responses": {
"200": {
"description": "TransactionVerify Successful",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/TransactionVerifyResponse"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/TransactionVerifyResponse"
}
}
}
},
"400": {
"description": "Invalid request"
},
"500": {
"description": "Internal server error"
}
}
}
}