diff --git a/digifi_swagger.json b/digifi_swagger.json index 021ad37..9596e63 100644 --- a/digifi_swagger.json +++ b/digifi_swagger.json @@ -222,10 +222,135 @@ }, "components": { "schemas": { - "$ref": "./schemas/schemas.json" + "EligibilityCheckRequest": { + "$ref": "./schemas/EligibilityCheckRequest.json" + }, + "EligibilityCheckResponse": { + "$ref": "./schemas/EligibilityCheckResponse.json" + }, + "SelectOfferRequest": { + "$ref": "./schemas/SelectOfferRequest.json" + }, + "SelectOfferResponse": { + "$ref": "./schemas/SelectOfferResponse.json" + }, + "LoanInformationRequest": { + "$ref": "./schemas/LoanInformationRequest.json" + }, + "LoanInformationResponse": { + "$ref": "./schemas/LoanInformationResponse.json" + }, + "RepaymentRequest": { + "$ref": "./schemas/RepaymentRequest.json" + }, + "RepaymentResponse": { + "$ref": "./schemas/RepaymentResponse.json" + }, + "RACCheckRequest": { + "$ref": "./schemas/RACCheckRequest.json" + }, + "RACCheckResponse": { + "$ref": "./schemas/RACCheckResponse.json" + }, + "CustomerConsentRequest": { + "$ref": "./schemas/CustomerConsentRequest.json" + }, + "CustomerConsentResponse": { + "$ref": "./schemas/CustomerConsentResponse.json" + }, + "NotificationCallbackRequest": { + "$ref": "./schemas/NotificationCallbackRequest.json" + }, + "NotificationCallbackResponse": { + "$ref": "./schemas/NotificationCallbackResponse.json" + }, + "DisbursementRequest": { + "$ref": "./schemas/DisbursementRequest.json" + }, + "DisbursementResponse": { + "$ref": "./schemas/DisbursementResponse.json" + }, + "CollectLoanRequest": { + "$ref": "./schemas/CollectLoanRequest.json" + }, + "CollectLoanResponse": { + "$ref": "./schemas/CollectLoanResponse.json" + }, + "TransactionVerifyRequest": { + "$ref": "./schemas/TransactionVerifyRequest.json" + }, + "TransactionVerifyResponse": { + "$ref": "./schemas/TransactionVerifyResponse.json" + }, + "PenalChargeRequest": { + "$ref": "./schemas/PenalChargeRequest.json" + }, + "PenalChargeResponse": { + "$ref": "./schemas/PenalChargeResponse.json" + }, + "RevokeEnableConsentRequest": { + "$ref": "./schemas/RevokeEnableConsentRequest.json" + }, + "RevokeEnableConsentResponse": { + "$ref": "./schemas/RevokeEnableConsentResponse.json" + }, + "TokenValidationRequest": { + "$ref": "./schemas/TokenValidationRequest.json" + }, + "TokenValidationResponse": { + "$ref": "./schemas/TokenValidationResponse.json" + }, + "NewTransactionCheckRequest": { + "$ref": "./schemas/NewTransactionCheckRequest.json" + }, + "NewTransactionCheckResponse": { + "$ref": "./schemas/NewTransactionCheckResponse.json" + }, + "LienCheckRequest": { + "$ref": "./schemas/LienCheckRequest.json" + }, + "LienCheckResponse": { + "$ref": "./schemas/LienCheckResponse.json" + }, + "SMSRequest": { + "$ref": "./schemas/SMSRequest.json" + }, + "SMSResponse": { + "$ref": "./schemas/SMSResponse.json" + }, + "BulkSMSRequest": { + "$ref": "./schemas/BulkSMSRequest.json" + }, + "BulkSMSResponse": { + "$ref": "./schemas/BulkSMSResponse.json" + }, + "ApiResponse": { + "$ref": "./schemas/ApiResponse.json" + } }, "securitySchemes": { - "$ref": "./security/securitySchemes.json" + "petstore_auth": { + "type": "oauth2", + "flows": { + "implicit": { + "authorizationUrl": "https://petstore3.swagger.io/oauth/authorize", + "scopes": { + "write:pets": "modify pets in your account", + "read:pets": "read your pets" + } + } + } + }, + "api_key": { + "type": "apiKey", + "name": "api_key", + "in": "header" + }, + "basic_auth": { + "type": "http", + "scheme": "basic", + "description": "Basic authentication with username and password" + } } } } \ No newline at end of file diff --git a/paths/NotificationCallback.json b/paths/NotificationCallback.json index 2caa3a3..504c387 100644 --- a/paths/NotificationCallback.json +++ b/paths/NotificationCallback.json @@ -4,7 +4,7 @@ "NotificationCallback" ], "summary": "Notification Callback", - "description": "This new feature will be used for informing Simbrella about status of the transactions that FBN have processed. Retry mechanism should be implemented by FirstBank in case of connection issues, sending notification should be repeated for 5 minutes in case of there is connection issues, after which Simbrella will try to check the status of transaction with New Transaction Check endpoint. FBN should provide a list of Response Codes with corresponding Response Descriptions for notifications. Please note that AmountCollected field will equal to 0 when transaction type is Disbursement. AmountProvided field will equal to 0 when transaction type is Collection or PenalCharge.", + "description": "This new feature will be used for informing Simbrella about status of the transactions that FBN have processed. Retry mechanism should be implemented by FirstBank in case of connection issues, sending notification should be repeated for 5 minutes in case of there is connection issues, after which Simbrella will try to check the status of transaction with New Transaction Check endpoint.", "operationId": "notificationCallback", "requestBody": { "description": "Transaction status notification from FirstBank to Simbrella", diff --git a/schemas/schemas.json b/schemas/schemas.json index 9a9f4bb..83889ac 100644 --- a/schemas/schemas.json +++ b/schemas/schemas.json @@ -35,6 +35,12 @@ "CustomerConsentResponse": { "$ref": "./CustomerConsentResponse.json" }, + "NotificationCallbackRequest": { + "$ref": "./NotificationCallbackRequest.json" + }, + "NotificationCallbackResponse": { + "$ref": "./NotificationCallbackResponse.json" + }, "DisbursementRequest": { "$ref": "./DisbursementRequest.json" },