@mojaloop/api-snippets 17.3.0 → 17.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -0
  3. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +0 -1
  4. package/docs/index.html +4 -0
  5. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +1 -1
  6. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2519 -0
  7. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +1 -10
  8. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3024 -0
  9. package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
  10. package/lib/fspiop/v1_0/openapi.d.ts +0 -1
  11. package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
  12. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
  13. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
  14. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
  15. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
  16. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
  17. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
  18. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
  19. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
  20. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
  21. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
  22. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
  23. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
  24. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
  25. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
  26. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
  27. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
  28. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
  29. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
  30. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
  31. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
  32. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
  33. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
  34. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
  35. package/package.json +23 -12
  36. package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
  37. package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
  38. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
  39. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
  40. package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
  41. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
  42. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
  43. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
  44. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
  45. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
  46. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
  47. package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
  48. package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
  49. package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
  50. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
  51. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
  52. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
  53. package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
  54. package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
  55. package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
  56. package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
  57. package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
  58. package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
  59. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
  60. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
  61. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
  62. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
  63. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
  64. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
  65. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
  66. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
  67. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
  68. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
  69. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
  70. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
  71. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
  72. package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
  73. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
  74. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
  75. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
  76. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
  77. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
  78. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
  79. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
  80. package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
  81. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
  82. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
  83. package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
  84. package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
  85. package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
  86. package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
  87. package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
  88. package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
  89. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
  90. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
  91. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
  92. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
  93. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
  94. package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
  95. package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
  96. package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
  97. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
  98. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
  99. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
  100. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
  101. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
  102. package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
  103. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
  104. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
  105. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
  106. package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
  107. package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
  108. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
  109. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
  110. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
  111. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
  112. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
  113. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
  114. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
  115. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
  116. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
  117. package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
  118. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
  119. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
  120. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
  121. package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
  122. package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
  123. package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
  124. package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
  125. package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
  126. package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
  127. package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
  128. package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
  129. package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
  130. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
  131. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
  132. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
  133. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
  134. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
  135. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
  136. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
  137. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
  138. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
  139. package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
  140. package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
  141. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
  142. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
  143. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
  144. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
  145. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
  146. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
  147. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
  148. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
  149. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
  150. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
  151. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
  152. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
  153. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
  154. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
  155. package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
  156. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
  157. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
  158. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
  159. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
  160. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
  161. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
  162. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
  163. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
  164. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
  165. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
  166. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
  167. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
  168. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
  169. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
  170. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
  171. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
  172. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
  173. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
  174. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
  175. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
  176. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
  177. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
  178. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
  179. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
  180. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
  181. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
  182. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
  183. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
  184. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
  185. package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
  186. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
  187. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
  188. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
  189. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
  190. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
  191. package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
  192. package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
  193. package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
  194. package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
  195. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
  196. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
  197. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
  198. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
  199. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
  200. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
  201. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
  202. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
  203. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
  204. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
  205. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
  206. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
  207. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
  208. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
  209. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
  210. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
  211. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
  212. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
  213. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
  214. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
  215. package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
  216. package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
  217. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
  218. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
  219. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
  220. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
  221. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
  222. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
  223. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
  224. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
  225. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
  226. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
  227. package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
  228. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
  229. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
  230. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
  231. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
  232. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
  233. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
  234. package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
  235. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
  236. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
  237. package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
@@ -0,0 +1,1897 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/": {
7
+ /**
8
+ * Health check endpoint
9
+ * @description This endpoint allows a user of the SDK scheme adapter to check the outbound transfers service is listening.
10
+ */
11
+ get: {
12
+ responses: {
13
+ /** @description Returns empty body if the scheme adapter outbound transfers service is running. */
14
+ 200: {
15
+ content: never;
16
+ };
17
+ };
18
+ };
19
+ };
20
+ "/accounts": {
21
+ /**
22
+ * Create accounts on the Account Lookup Service
23
+ * @description The HTTP request `POST /accounts` is used to create account information on the Account Lookup Service (ALS) regarding the provided list of identities.
24
+ *
25
+ * Caller DFSP is used as the account source FSP information
26
+ */
27
+ post: {
28
+ /** @description Identities list request body */
29
+ requestBody: {
30
+ content: {
31
+ "application/json": components["schemas"]["accountsRequest"];
32
+ };
33
+ };
34
+ responses: {
35
+ 200: components["responses"]["accountsCreationCompleted"];
36
+ 400: components["responses"]["accountsCreationError"];
37
+ 500: components["responses"]["accountsCreationError"];
38
+ 504: components["responses"]["accountsCreationTimeout"];
39
+ };
40
+ };
41
+ };
42
+ "/bulkQuotes": {
43
+ /**
44
+ * Request bulk quotes for the provided financial transactions
45
+ * @description The HTTP request `POST /bulkQuotes` is used to request a bulk quote to fascilitate funds transfer from payer DFSP to payees' DFSP.
46
+ */
47
+ post: {
48
+ /** @description Bulk quote request body */
49
+ requestBody: {
50
+ content: {
51
+ "application/json": components["schemas"]["bulkQuoteRequest"];
52
+ };
53
+ };
54
+ responses: {
55
+ 200: components["responses"]["bulkQuoteSuccess"];
56
+ 400: components["responses"]["bulkQuoteBadRequest"];
57
+ 500: components["responses"]["bulkQuoteServerError"];
58
+ 504: components["responses"]["bulkQuoteTimeout"];
59
+ };
60
+ };
61
+ };
62
+ "/bulkQuotes/{bulkQuoteId}": {
63
+ /**
64
+ * Retrieves information for a specific bulk quote
65
+ * @description The HTTP request `GET /bulkQuotes/{bulktQuoteId}` is used to get information regarding a bulk quote created or requested earlier. The `{bulkQuoteId}` in the URI should contain the `bulkQuoteId` that was used for the creation of the bulk quote.
66
+ */
67
+ get: {
68
+ parameters: {
69
+ path: {
70
+ bulkQuoteId: components["parameters"]["bulkQuoteId"];
71
+ };
72
+ };
73
+ responses: {
74
+ /** @description Bulk quote information successfully retrieved */
75
+ 200: {
76
+ content: {
77
+ "application/json": components["schemas"]["bulkQuoteStatusResponse"];
78
+ };
79
+ };
80
+ /** @description An error occurred processing the bulk quote */
81
+ 500: {
82
+ content: {
83
+ "application/json": components["schemas"]["errorResponse"];
84
+ };
85
+ };
86
+ };
87
+ };
88
+ };
89
+ "/bulkTransactions": {
90
+ /**
91
+ * Sends money from one account to multiple accounts
92
+ * @description The HTTP request `POST /bulkTransactions` is used to request the movement of funds from payer DFSP to payees' DFSP.
93
+ */
94
+ post: {
95
+ /** @description Bulk transfer request body */
96
+ requestBody: {
97
+ content: {
98
+ "application/json": components["schemas"]["bulkTransactionRequest"];
99
+ };
100
+ };
101
+ responses: {
102
+ 202: components["responses"]["bulkTransactionAccepted"];
103
+ 400: components["responses"]["bulkTransferBadRequest"];
104
+ 500: components["responses"]["errorResponse"];
105
+ };
106
+ };
107
+ };
108
+ "/bulkTransactions/{bulkTransactionId}": {
109
+ /**
110
+ * Amends the bulk transaction request
111
+ * @description The HTTP request `PUT /bulkTransactions/{bulkTransactionId}` is used to amend information regarding a bulk transaction, i.e. when autoAcceptParty or autoAcceptQuote is false then the payer need to provide confirmation to proceed with further processing of the request. The `{bulkTransactionId}` in the URI should contain the `bulkTransactionId` that was used for the creation of the bulk transfer.
112
+ */
113
+ put: {
114
+ parameters: {
115
+ path: {
116
+ bulkTransactionId: components["parameters"]["bulkTransactionId"];
117
+ };
118
+ };
119
+ /** @description Bulk transaction request body */
120
+ requestBody: {
121
+ content: {
122
+ "application/json": components["schemas"]["bulkTransactionContinuationAcceptParty"] | components["schemas"]["bulkTransactionContinuationAcceptQuote"];
123
+ };
124
+ };
125
+ responses: {
126
+ /** @description Bulk transaction information successfully amended */
127
+ 202: {
128
+ content: never;
129
+ };
130
+ 400: components["responses"]["bulkTransactionPutBadRequest"];
131
+ /** @description An error occurred processing the bulk transaction */
132
+ 500: {
133
+ content: {
134
+ "application/json": components["schemas"]["errorResponse"];
135
+ };
136
+ };
137
+ };
138
+ };
139
+ };
140
+ "/bulkTransfers": {
141
+ /**
142
+ * Sends money from one account to multiple accounts
143
+ * @description The HTTP request `POST /bulkTransfers` is used to request the movement of funds from payer DFSP to payees' DFSP.
144
+ */
145
+ post: {
146
+ /** @description Bulk transfer request body */
147
+ requestBody: {
148
+ content: {
149
+ "application/json": components["schemas"]["bulkTransferRequest"];
150
+ };
151
+ };
152
+ responses: {
153
+ 200: components["responses"]["bulkTransferSuccess"];
154
+ 400: components["responses"]["bulkTransferBadRequest"];
155
+ 500: components["responses"]["errorResponse"];
156
+ };
157
+ };
158
+ };
159
+ "/bulkTransfers/{bulkTransferId}": {
160
+ /**
161
+ * Retrieves information for a specific bulk transfer
162
+ * @description The HTTP request `GET /bulkTransfers/{bulkTransferId}` is used to get information regarding a bulk transfer created or requested earlier. The `{bulkTransferId}` in the URI should contain the `bulkTransferId` that was used for the creation of the bulk transfer.
163
+ */
164
+ get: {
165
+ parameters: {
166
+ path: {
167
+ bulkTransferId: components["parameters"]["bulkTransferId"];
168
+ };
169
+ };
170
+ responses: {
171
+ /** @description Bulk transfer information successfully retrieved */
172
+ 200: {
173
+ content: {
174
+ "application/json": components["schemas"]["bulkTransferStatusResponse"];
175
+ };
176
+ };
177
+ /** @description An error occurred processing the bulk transfer */
178
+ 500: {
179
+ content: {
180
+ "application/json": components["schemas"]["errorResponse"];
181
+ };
182
+ };
183
+ };
184
+ };
185
+ };
186
+ "/parties/{Type}/{ID}": {
187
+ /**
188
+ * PartiesByTypeAndID
189
+ * @description The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1).
190
+ */
191
+ get: operations["PartiesByTypeAndID"];
192
+ parameters: {
193
+ path: {
194
+ Type: components["parameters"]["Type"];
195
+ ID: components["parameters"]["ID"];
196
+ };
197
+ };
198
+ };
199
+ "/parties/{Type}/{ID}/{SubId}": {
200
+ /**
201
+ * PartiesSubIdByTypeAndID
202
+ * @description The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1).
203
+ */
204
+ get: operations["PartiesSubIdByTypeAndID"];
205
+ parameters: {
206
+ path: {
207
+ Type: components["parameters"]["Type"];
208
+ ID: components["parameters"]["ID"];
209
+ SubId: components["parameters"]["SubId"];
210
+ };
211
+ };
212
+ };
213
+ "/quotes": {
214
+ /**
215
+ * Quotes endpoint
216
+ * @description is used to request quotes from other DFSP
217
+ */
218
+ post: operations["QuotesPost"];
219
+ };
220
+ "/requestToPay": {
221
+ /**
222
+ * Receiver requesting funds from Sender
223
+ * @description The HTTP request `POST /requestToPay` is used to support Pull Funds pattern where in a receiver can request for funds from the Sender.
224
+ * The underlying API has two stages:
225
+ *
226
+ * 1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
227
+ * 2. Transaction Request. This request enables a Payee to request Payer to send electronic funds to the Payee.
228
+ */
229
+ post: {
230
+ /** @description RequestToPay request body */
231
+ requestBody: {
232
+ content: {
233
+ "application/json": components["schemas"]["requestToPayRequest"];
234
+ };
235
+ };
236
+ responses: {
237
+ 200: components["responses"]["requestToPaySuccess"];
238
+ };
239
+ };
240
+ };
241
+ "/requestToPay/{transactionRequestId}": {
242
+ /**
243
+ * Continues a request funds from sender that has paused at the party resolution stage in order to accept or reject party information
244
+ * @description The HTTP request `PUT /requestToPay/{transactionRequestId}` is used to continue a transfer initiated via the `POST /requestToPay` method that has halted after party lookup stage.
245
+ * The request body should contain the "acceptParty" property set to `true` as required to continue the transfer.
246
+ * See the description of the `POST /requestToPay` HTTP method for more information on modes of transfer.
247
+ */
248
+ put: {
249
+ parameters: {
250
+ path: {
251
+ transactionRequestId: components["parameters"]["transactionRequestId"];
252
+ };
253
+ };
254
+ requestBody?: {
255
+ content: {
256
+ "application/json": components["schemas"]["transferContinuationAcceptParty"];
257
+ };
258
+ };
259
+ responses: {
260
+ 200: components["responses"]["requestToPaySuccess"];
261
+ 500: components["responses"]["transferServerError"];
262
+ 504: components["responses"]["transferTimeout"];
263
+ };
264
+ };
265
+ };
266
+ "/requestToPayTransfer": {
267
+ /**
268
+ * Used to trigger funds from customer fsp account to merchant fsp account. This is a follow-up request to requestToPay.
269
+ * @description The HTTP request `POST /requestToPayTransfer` is used to request the movement of funds from payer DFSP to payee DFSP.
270
+ * The underlying Mojaloop API has three stages for money transfer:
271
+ *
272
+ * 1. Quotation. This facilitates the exchange of fee information and the construction of a cryptographic "contract" between payee and payer DFSPs before funds are transferred.
273
+ * 2. Authorization. This facilitates getting OTP from payee DFSP.
274
+ * 3. Transfer. The enactment of the previously agreed "contract"
275
+ *
276
+ * This method has several modes of operation.
277
+ * - If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"` this method will terminate and return the quotation when it has been received from the payee DFSP.
278
+ * If the payee wished to proceed with the otp, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
279
+ * The scheme adapter will then proceed with the transfer state.
280
+ *
281
+ * - If the configuration variable `AUTO_ACCEPT_OTP` is set to `"false"` this method will terminate and return the otp when it has been received from the payee DFSP.
282
+ * If the payer wished to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
283
+ * The scheme adapter will then proceed with the transfer state.
284
+ *
285
+ * If the configuration variables `AUTO_ACCEPT_PARTIES` and `AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block until all three transfer stages are complete. Upon completion it will return the entire set of transfer details received during the operation.
286
+ *
287
+ * Combinations of settings for `AUTO_ACCEPT...` configuration variables allow the scheme adapter user to decide which mode of operation best suits their use cases. i.e. the scheme adapter can be configured to "break" the three stage transfer at these points in order to execute backend logic such as party verification, quoted fees assessments etc...
288
+ */
289
+ post: {
290
+ /** @description Request To Pay Transfer request body */
291
+ requestBody: {
292
+ content: {
293
+ "application/json": components["schemas"]["requestToPayTransferRequest"];
294
+ };
295
+ };
296
+ responses: {
297
+ 200: components["responses"]["requestToPayTransferSuccess"];
298
+ 400: components["responses"]["requestToPayTransferBadRequest"];
299
+ 500: components["responses"]["transferServerError"];
300
+ 504: components["responses"]["transferTimeout"];
301
+ };
302
+ };
303
+ };
304
+ "/requestToPayTransfer/{transactionRequestId}": {
305
+ /**
306
+ * Continues a transfer that has paused at the otp stage in order to accept or reject quote
307
+ * @description This request is used to continue a requestToPayTransfer initiated via the `POST /requestToPayTransfer` method that has halted after quotation stage and/or otp stage.
308
+ *
309
+ * The request body should contain either the "acceptOTP" or "acceptQuote" property set to `true` as required to continue the transfer.
310
+ *
311
+ * See the description of the `POST /requestToPayTransfer` HTTP method for more information on modes of transfer.
312
+ */
313
+ put: {
314
+ parameters: {
315
+ path: {
316
+ transactionRequestId: components["parameters"]["transactionRequestId"];
317
+ };
318
+ };
319
+ requestBody?: {
320
+ content: {
321
+ "application/json": components["schemas"]["transferContinuationAcceptQuote"] | components["schemas"]["transferContinuationAcceptOTP"];
322
+ };
323
+ };
324
+ responses: {
325
+ 200: components["responses"]["transferSuccess"];
326
+ 500: components["responses"]["transferServerError"];
327
+ 504: components["responses"]["transferTimeout"];
328
+ };
329
+ };
330
+ };
331
+ "/simpleTransfers": {
332
+ /**
333
+ * Simple Transfers endpoint
334
+ * @description is used to request a transfer
335
+ */
336
+ post: operations["SimpleTransfersPost"];
337
+ };
338
+ "/transfers": {
339
+ /**
340
+ * Sends money from one account to another
341
+ * @description The HTTP request `POST /transfers` is used to request the movement of funds from payer DFSP to payee DFSP.
342
+ * The underlying Mojaloop API has three stages for money transfer:
343
+ *
344
+ * 1. Party lookup. This facilitates a check by the sending party that the destination party is correct before proceeding with a money movement.
345
+ * 2. Quotation. This facilitates the exchange of fee information and the construction of a cryptographic "contract" between payee and payer DFSPs before funds are transferred.
346
+ * 3. Transfer. The enactment of the previously agreed "contract"
347
+ *
348
+ * This method has several modes of operation.
349
+ * - If the configuration variables `AUTO_ACCEPT_PARTIES` is set to `"false"` this method will terminate when the payee party has been resolved and return the payee party details.
350
+ * If the payee wishes to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the payee party) is required to continue the operation.
351
+ * The scheme adapter will then proceed with quotation stage...
352
+ *
353
+ * - If the configuration variable `AUTO_ACCEPT_QUOTES` is set to `"false"` this method will terminate and return the quotation when it has been received from the payee DFSP.
354
+ * If the payee wished to proceed with the transfer, then a subsequent `PUT /transfers/{transferId}` request (accepting the quote) is required to continue the operation.
355
+ * The scheme adapter will then proceed with the transfer state.
356
+ *
357
+ * If the configuration variables `AUTO_ACCEPT_PARTIES` and `AUTO_ACCEPT_QUOTES` are both set to `"true"` this method will block until all three transfer stages are complete. Upon completion it will return the entire set of transfer details received during the operation.
358
+ *
359
+ * Combinations of settings for `AUTO_ACCEPT...` configuration variables allow the scheme adapter user to decide which mode of operation best suits their use cases. i.e. the scheme adapter can be configured to "break" the three stage transfer at these points in order to execute backend logic such as party verification, quoted fees assessments etc...
360
+ */
361
+ post: {
362
+ /** @description Transfer request body */
363
+ requestBody: {
364
+ content: {
365
+ "application/json": components["schemas"]["transferRequest"];
366
+ };
367
+ };
368
+ responses: {
369
+ 200: components["responses"]["transferSuccess"];
370
+ 400: components["responses"]["transferBadRequest"];
371
+ 500: components["responses"]["transferServerError"];
372
+ 504: components["responses"]["transferTimeout"];
373
+ };
374
+ };
375
+ };
376
+ "/transfers/{transferId}": {
377
+ /**
378
+ * Retrieves information for a specific transfer
379
+ * @description The HTTP request `GET /transfers/{transferId}` is used to get information regarding a transfer created or requested earlier. The `{transferId}` in the URI should contain the `transferId` that was used for the creation of the transfer.
380
+ */
381
+ get: {
382
+ parameters: {
383
+ path: {
384
+ transferId: components["parameters"]["transferId"];
385
+ };
386
+ };
387
+ responses: {
388
+ /** @description Transfer information successfully retrieved */
389
+ 200: {
390
+ content: {
391
+ "application/json": components["schemas"]["transferStatusResponse"];
392
+ };
393
+ };
394
+ /** @description An error occurred processing the transfer */
395
+ 500: {
396
+ content: {
397
+ "application/json": components["schemas"]["errorResponse"];
398
+ };
399
+ };
400
+ };
401
+ };
402
+ /**
403
+ * Continues a transfer that has paused at the quote stage in order to accept or reject payee party and/or quote and/or conversion
404
+ * @description The HTTP request `PUT /transfers/{transferId}` is used to continue a transfer initiated via the `POST /transfers` method that has halted after party lookup and/or quotation stage and/or currency conversion stage.
405
+ *
406
+ * The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" property set to `true` as required to continue the transfer.
407
+ *
408
+ * See the description of the `POST /transfers` HTTP method for more information on modes of transfer.
409
+ */
410
+ put: {
411
+ parameters: {
412
+ path: {
413
+ transferId: components["parameters"]["transferId"];
414
+ };
415
+ };
416
+ requestBody?: {
417
+ content: {
418
+ "application/json": components["schemas"]["transferContinuationAcceptParty"] | components["schemas"]["transferContinuationAcceptQuote"] | components["schemas"]["transferContinuationAcceptConversion"];
419
+ };
420
+ };
421
+ responses: {
422
+ 200: components["responses"]["transferSuccess"];
423
+ 500: components["responses"]["transferServerError"];
424
+ 504: components["responses"]["transferTimeout"];
425
+ };
426
+ };
427
+ };
428
+ "/services/FXP": {
429
+ /**
430
+ * Obtain a list of the DFSPs in the scheme who provide FXP service
431
+ * @description The HTTP request `GET /services/FXP` is used to request information about the participants in a scheme who offer currency conversion services.
432
+ */
433
+ get: operations["ServicesFXPGet"];
434
+ };
435
+ "/services/FXP/{SourceCurrency}/{TargetCurrency}": {
436
+ /**
437
+ * Obtain a list of the DFSPs in the scheme who provide FXP service
438
+ * @description The HTTP request `GET /services/FXP/{SourceCurrency}/{TargetCurrency}` is used to request information about the participants in a scheme who offer currency conversion services in a particular currency corridor. The required corridor is specified by giving the ISO 4217 currency code for the SourceCurrency and the TargetCurrency.
439
+ */
440
+ get: operations["ServicesFXPSourceCurrencyTargetCurrencyGet"];
441
+ };
442
+ "/fxQuotes": {
443
+ /**
444
+ * Calculate FX quote
445
+ * @description The HTTP request `POST /fxQuotes` is used to ask to provide a quotation for a currency conversion.
446
+ */
447
+ post: operations["FxQuotesPost"];
448
+ };
449
+ "/fxTransfers": {
450
+ /**
451
+ * Perform FX transfer
452
+ * @description The HTTP request `POST /fxTransfers` is used to ask to confirm the execution of an agreed currency conversion.
453
+ */
454
+ post: operations["FxTransfersPost"];
455
+ };
456
+ }
457
+ export type webhooks = Record<string, never>;
458
+ export interface components {
459
+ schemas: {
460
+ /**
461
+ * PartyIdType
462
+ * @description Below are the allowed values for the enumeration.
463
+ * - MSISDN - An MSISDN (Mobile Station International Subscriber Directory Number, that is, the phone number) is used as reference to a participant. The MSISDN identifier should be in international format according to the [ITU-T E.164 standard](https://www.itu.int/rec/T-REC-E.164/en). Optionally, the MSISDN may be prefixed by a single plus sign, indicating the international prefix.
464
+ * - EMAIL - An email is used as reference to a participant. The format of the email should be according to the informational [RFC 3696](https://tools.ietf.org/html/rfc3696).
465
+ * - PERSONAL_ID - A personal identifier is used as reference to a participant. Examples of personal identification are passport number, birth certificate number, and national registration number. The identifier number is added in the PartyIdentifier element. The personal identifier type is added in the PartySubIdOrType element.
466
+ * - BUSINESS - A specific Business (for example, an organization or a company) is used as reference to a participant. The BUSINESS identifier can be in any format. To make a transaction connected to a specific username or bill number in a Business, the PartySubIdOrType element should be used.
467
+ * - DEVICE - A specific device (for example, a POS or ATM) ID connected to a specific business or organization is used as reference to a Party. For referencing a specific device under a specific business or organization, use the PartySubIdOrType element.
468
+ * - ACCOUNT_ID - A bank account number or FSP account ID should be used as reference to a participant. The ACCOUNT_ID identifier can be in any format, as formats can greatly differ depending on country and FSP.
469
+ * - IBAN - A bank account number or FSP account ID is used as reference to a participant. The IBAN identifier can consist of up to 34 alphanumeric characters and should be entered without whitespace.
470
+ * - ALIAS An alias is used as reference to a participant. The alias should be created in the FSP as an alternative reference to an account owner. Another example of an alias is a username in the FSP system. The ALIAS identifier can be in any format. It is also possible to use the PartySubIdOrType element for identifying an account under an Alias defined by the PartyIdentifier.
471
+ * @enum {string}
472
+ */
473
+ PartyIdType: "MSISDN" | "EMAIL" | "PERSONAL_ID" | "BUSINESS" | "DEVICE" | "ACCOUNT_ID" | "IBAN" | "ALIAS";
474
+ /**
475
+ * PartyIdentifier
476
+ * @description Identifier of the Party.
477
+ * @example 16135551212
478
+ */
479
+ PartyIdentifier: string;
480
+ /**
481
+ * PartySubIdOrType
482
+ * @description Either a sub-identifier of a PartyIdentifier, or a sub-type of the PartyIdType, normally a PersonalIdentifierType.
483
+ */
484
+ PartySubIdOrType: string;
485
+ /**
486
+ * Currency
487
+ * @description The currency codes defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter alphabetic codes are used as the standard naming representation for currencies.
488
+ * @enum {string}
489
+ */
490
+ Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "XTS" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWD";
491
+ accountsRequest: {
492
+ idType: components["schemas"]["PartyIdType"];
493
+ idValue: components["schemas"]["PartyIdentifier"];
494
+ idSubValue?: components["schemas"]["PartySubIdOrType"];
495
+ currency: components["schemas"]["Currency"];
496
+ }[];
497
+ /**
498
+ * CorrelationId
499
+ * @description Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
500
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
501
+ */
502
+ CorrelationId: string;
503
+ errorResponse: {
504
+ /**
505
+ * @description Backend error code from FSP. Ideally, statusCode is FSPIOP conforming. SDK will use status code to retrieve an FSPIOP error with the same code.
506
+ * Otherwise, a suitable generic FSPIOP will be used with the errorResponse in the FSPIOP error message.
507
+ */
508
+ statusCode?: string;
509
+ /** @description Error message text. */
510
+ message?: string;
511
+ };
512
+ accountCreationStatus: {
513
+ idType: components["schemas"]["PartyIdType"];
514
+ idValue: components["schemas"]["PartyIdentifier"];
515
+ idSubValue?: components["schemas"]["PartySubIdOrType"];
516
+ error?: components["schemas"]["errorResponse"];
517
+ }[];
518
+ /** @enum {string} */
519
+ accountsCreationState: "ERROR_OCCURRED" | "COMPLETED";
520
+ /**
521
+ * ErrorCode
522
+ * @description The API data type ErrorCode is a JSON String of four characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. Each error code in the API is a four-digit number, for example, 1234, where the first number (1 in the example) represents the high-level error category, the second number (2 in the example) represents the low-level error category, and the last two numbers (34 in the example) represent the specific error.
523
+ * @example 5100
524
+ */
525
+ ErrorCode: string;
526
+ /**
527
+ * ErrorDescription
528
+ * @description Error description string.
529
+ */
530
+ ErrorDescription: string;
531
+ /**
532
+ * ExtensionKey
533
+ * @description Extension key.
534
+ */
535
+ ExtensionKey: string;
536
+ /**
537
+ * ExtensionValue
538
+ * @description Extension value.
539
+ */
540
+ ExtensionValue: string;
541
+ /**
542
+ * Extension
543
+ * @description Data model for the complex type Extension.
544
+ */
545
+ Extension: {
546
+ key: components["schemas"]["ExtensionKey"];
547
+ value: components["schemas"]["ExtensionValue"];
548
+ };
549
+ /**
550
+ * ExtensionList
551
+ * @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
552
+ */
553
+ ExtensionList: {
554
+ /** @description Number of Extension elements. */
555
+ extension: components["schemas"]["Extension"][];
556
+ };
557
+ /**
558
+ * ErrorInformation
559
+ * @description Data model for the complex type ErrorInformation.
560
+ */
561
+ ErrorInformation: {
562
+ errorCode: components["schemas"]["ErrorCode"];
563
+ errorDescription: components["schemas"]["ErrorDescription"];
564
+ extensionList?: components["schemas"]["ExtensionList"];
565
+ };
566
+ mojaloopError: {
567
+ errorInformation?: components["schemas"]["ErrorInformation"];
568
+ };
569
+ /** @description This object represents a Mojaloop API error received at any time during the transfer process */
570
+ transferError: {
571
+ /** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
572
+ httpStatusCode?: number;
573
+ mojaloopError?: components["schemas"]["mojaloopError"];
574
+ };
575
+ accountsResponse: {
576
+ modelId?: components["schemas"]["CorrelationId"];
577
+ accounts: components["schemas"]["accountsRequest"];
578
+ response?: components["schemas"]["accountCreationStatus"];
579
+ currentState?: components["schemas"]["accountsCreationState"];
580
+ lastError?: components["schemas"]["transferError"];
581
+ postAccountsResponse?: {
582
+ body: Record<string, never>;
583
+ headers?: Record<string, never>;
584
+ };
585
+ };
586
+ errorAccountsResponse: components["schemas"]["errorResponse"] & {
587
+ executionState: components["schemas"]["accountsResponse"];
588
+ };
589
+ /**
590
+ * TransactionInitiatorType
591
+ * @description Below are the allowed values for the enumeration.
592
+ * - CONSUMER - Consumer is the initiator of the transaction.
593
+ * - AGENT - Agent is the initiator of the transaction.
594
+ * - BUSINESS - Business is the initiator of the transaction.
595
+ * - DEVICE - Device is the initiator of the transaction.
596
+ * @example CONSUMER
597
+ * @enum {string}
598
+ */
599
+ TransactionInitiatorType: "CONSUMER" | "AGENT" | "BUSINESS" | "DEVICE";
600
+ /**
601
+ * Name
602
+ * @description The API data type Name is a JSON String, restricted by a regular expression to avoid characters which are generally not used in a name.
603
+ *
604
+ * Regular Expression - The regular expression for restricting the Name type is "^(?!\s*$)[\w .,'-]{1,128}$". The restriction does not allow a string consisting of whitespace only, all Unicode characters are allowed, as well as the period (.) (apostrophe (‘), dash (-), comma (,) and space characters ( ).
605
+ *
606
+ * **Note:** In some programming languages, Unicode support must be specifically enabled. For example, if Java is used, the flag UNICODE_CHARACTER_CLASS must be enabled to allow Unicode characters.
607
+ */
608
+ Name: string;
609
+ /**
610
+ * FirstName
611
+ * @description First name of the Party (Name Type).
612
+ * @example Henrik
613
+ */
614
+ FirstName: string;
615
+ /**
616
+ * MiddleName
617
+ * @description Middle name of the Party (Name Type).
618
+ * @example Johannes
619
+ */
620
+ MiddleName: string;
621
+ /**
622
+ * LastName
623
+ * @description Last name of the Party (Name Type).
624
+ * @example Karlsson
625
+ */
626
+ LastName: string;
627
+ /**
628
+ * DateofBirth (type Date)
629
+ * @description Date of Birth of the Party.
630
+ * @example 1966-06-16
631
+ */
632
+ DateOfBirth: string;
633
+ /**
634
+ * MerchantClassificationCode
635
+ * @description A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc.
636
+ */
637
+ MerchantClassificationCode: string;
638
+ /**
639
+ * FspId
640
+ * @description FSP identifier.
641
+ */
642
+ FspId: string;
643
+ /**
644
+ * KYCInformation
645
+ * @description KYC information for the party in a form mandated by an individual scheme.
646
+ * @example {
647
+ * "metadata": {
648
+ * "format": "JSON",
649
+ * "version": "1.0",
650
+ * "description": "Data containing KYC Information"
651
+ * },
652
+ * "data": {
653
+ * "name": "John Doe",
654
+ * "dob": "1980-05-15",
655
+ * "gender": "Male",
656
+ * "address": "123 Main Street, Anytown, USA",
657
+ * "email": "johndoe@example.com",
658
+ * "phone": "+1 555-123-4567",
659
+ * "nationality": "US",
660
+ * "passport_number": "AB1234567",
661
+ * "issue_date": "2010-02-20",
662
+ * "expiry_date": "2025-02-20",
663
+ * "bank_account_number": "1234567890",
664
+ * "bank_name": "Example Bank",
665
+ * "employer": "ABC Company",
666
+ * "occupation": "Software Engineer",
667
+ * "income": "$80,000 per year",
668
+ * "marital_status": "Single",
669
+ * "dependents": 0,
670
+ * "risk_level": "Low"
671
+ * }
672
+ * }
673
+ */
674
+ KYCInformation: string;
675
+ extensionListEmptiable: components["schemas"]["Extension"][];
676
+ transferParty: {
677
+ type?: components["schemas"]["TransactionInitiatorType"];
678
+ idType: components["schemas"]["PartyIdType"];
679
+ idValue: components["schemas"]["PartyIdentifier"];
680
+ idSubValue?: components["schemas"]["PartySubIdOrType"];
681
+ displayName?: components["schemas"]["Name"];
682
+ firstName?: components["schemas"]["FirstName"];
683
+ middleName?: components["schemas"]["MiddleName"];
684
+ lastName?: components["schemas"]["LastName"];
685
+ dateOfBirth?: components["schemas"]["DateOfBirth"];
686
+ merchantClassificationCode?: components["schemas"]["MerchantClassificationCode"];
687
+ fspId?: components["schemas"]["FspId"];
688
+ /** @description Currencies in which the party can receive funds. */
689
+ supportedCurrencies?: components["schemas"]["Currency"][];
690
+ kycInformation?: components["schemas"]["KYCInformation"];
691
+ extensionList?: components["schemas"]["extensionListEmptiable"];
692
+ };
693
+ /**
694
+ * AmountType
695
+ * @description Below are the allowed values for the enumeration AmountType.
696
+ * - SEND - Amount the Payer would like to send, that is, the amount that should be withdrawn from the Payer account including any fees.
697
+ * - RECEIVE - Amount the Payer would like the Payee to receive, that is, the amount that should be sent to the receiver exclusive of any fees.
698
+ * @example RECEIVE
699
+ * @enum {string}
700
+ */
701
+ AmountType: "SEND" | "RECEIVE";
702
+ /**
703
+ * Amount
704
+ * @description The API data type Amount is a JSON String in a canonical format that is restricted by a regular expression for interoperability reasons. This pattern does not allow any trailing zeroes at all, but allows an amount without a minor currency unit. It also only allows four digits in the minor currency unit; a negative value is not allowed. Using more than 18 digits in the major currency unit is not allowed.
705
+ * @example 123.45
706
+ */
707
+ Amount: string;
708
+ /**
709
+ * transferTransactionType
710
+ * @description Type of transaction.
711
+ * @enum {string}
712
+ */
713
+ transferTransactionType: "TRANSFER";
714
+ /**
715
+ * TransactionSubScenario
716
+ * @description Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).
717
+ * @example LOCALLY_DEFINED_SUBSCENARIO
718
+ */
719
+ TransactionSubScenario: string;
720
+ /**
721
+ * Note
722
+ * @description Memo assigned to transaction.
723
+ * @example Note sent to Payee.
724
+ */
725
+ Note: string;
726
+ /**
727
+ * IndividualQuote
728
+ * @description Data model for the complex type 'individualQuote'.
729
+ */
730
+ individualQuote: {
731
+ quoteId: components["schemas"]["CorrelationId"];
732
+ to: components["schemas"]["transferParty"];
733
+ amountType: components["schemas"]["AmountType"];
734
+ currency: components["schemas"]["Currency"];
735
+ amount: components["schemas"]["Amount"];
736
+ transactionType: components["schemas"]["transferTransactionType"];
737
+ subScenario?: components["schemas"]["TransactionSubScenario"];
738
+ note?: components["schemas"]["Note"];
739
+ extensions?: components["schemas"]["ExtensionList"];
740
+ };
741
+ bulkQuoteRequest: {
742
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
743
+ homeTransactionId: string;
744
+ bulkQuoteId?: components["schemas"]["CorrelationId"];
745
+ from: components["schemas"]["transferParty"];
746
+ /** @description List of individual quotes in a bulk quote. */
747
+ individualQuotes: components["schemas"]["individualQuote"][];
748
+ extensions?: components["schemas"]["ExtensionList"];
749
+ };
750
+ /**
751
+ * DateTime
752
+ * @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
753
+ * @example 2016-05-24T08:38:08.699-04:00
754
+ */
755
+ DateTime: string;
756
+ /** @enum {string} */
757
+ bulkTransferStatus: "ERROR_OCCURRED" | "COMPLETED";
758
+ /**
759
+ * Money
760
+ * @description Data model for the complex type Money.
761
+ */
762
+ Money: {
763
+ currency: components["schemas"]["Currency"];
764
+ amount: components["schemas"]["Amount"];
765
+ };
766
+ /**
767
+ * Latitude
768
+ * @description The API data type Latitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
769
+ * @example +45.4215
770
+ */
771
+ Latitude: string;
772
+ /**
773
+ * Longitude
774
+ * @description The API data type Longitude is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons.
775
+ * @example +75.6972
776
+ */
777
+ Longitude: string;
778
+ /**
779
+ * GeoCode
780
+ * @description Data model for the complex type GeoCode. Indicates the geographic location from where the transaction was initiated.
781
+ */
782
+ GeoCode: {
783
+ latitude: components["schemas"]["Latitude"];
784
+ longitude: components["schemas"]["Longitude"];
785
+ };
786
+ /**
787
+ * IlpPacket
788
+ * @description Information for recipient (transport layer information).
789
+ * @example AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
790
+ */
791
+ IlpPacket: string;
792
+ /**
793
+ * IlpCondition
794
+ * @description Condition that must be attached to the transfer by the Payer.
795
+ */
796
+ IlpCondition: string;
797
+ /** @description This object represents a Mojaloop API error received at any time during the quote process */
798
+ quoteError: {
799
+ /** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
800
+ httpStatusCode?: number;
801
+ mojaloopError?: components["schemas"]["mojaloopError"];
802
+ };
803
+ individualQuoteResult: {
804
+ quoteId: components["schemas"]["CorrelationId"];
805
+ transferAmount?: components["schemas"]["Money"];
806
+ payeeReceiveAmount?: components["schemas"]["Money"];
807
+ payeeFspFee?: components["schemas"]["Money"];
808
+ payeeFspCommission?: components["schemas"]["Money"];
809
+ geoCode?: components["schemas"]["GeoCode"];
810
+ ilpPacket?: components["schemas"]["IlpPacket"];
811
+ condition?: components["schemas"]["IlpCondition"];
812
+ extensionList?: components["schemas"]["ExtensionList"];
813
+ lastError?: components["schemas"]["quoteError"];
814
+ };
815
+ bulkQuoteResponse: {
816
+ bulkQuoteId: components["schemas"]["CorrelationId"];
817
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
818
+ homeTransactionId?: string;
819
+ expiration: components["schemas"]["DateTime"];
820
+ extensionList?: components["schemas"]["ExtensionList"];
821
+ currentState: components["schemas"]["bulkTransferStatus"];
822
+ /** @description List of individualQuoteResults in a bulk transfer response. */
823
+ individualQuoteResults: components["schemas"]["individualQuoteResult"][];
824
+ };
825
+ bulkQuoteErrorResponse: components["schemas"]["errorResponse"] & {
826
+ bulkQuoteState: components["schemas"]["bulkQuoteResponse"];
827
+ };
828
+ /** @enum {string} */
829
+ bulkQuoteStatus: "ERROR_OCCURRED" | "COMPLETED";
830
+ bulkQuoteStatusResponse: {
831
+ bulkQuoteId: components["schemas"]["CorrelationId"];
832
+ currentState: components["schemas"]["bulkQuoteStatus"];
833
+ individualQuotes: components["schemas"]["individualQuote"][];
834
+ };
835
+ autoAcceptPartyOption: {
836
+ /** @enum {boolean} */
837
+ enabled: false | true;
838
+ };
839
+ bulkPerTransferFeeLimit: {
840
+ currency: components["schemas"]["Currency"];
841
+ amount: components["schemas"]["Amount"];
842
+ };
843
+ autoAcceptQuote: {
844
+ /** @enum {boolean} */
845
+ enabled: true | false;
846
+ perTransferFeeLimits?: components["schemas"]["bulkPerTransferFeeLimit"][];
847
+ };
848
+ bulkTransactionOptions: {
849
+ /** @description Set to true if only party validation is required. This means the quotes and transfers will not run. This is useful for only party resolution. */
850
+ onlyValidateParty?: boolean;
851
+ autoAcceptParty: components["schemas"]["autoAcceptPartyOption"];
852
+ /** @description Set to true if the quote response is accepted without confirmation from the payer. The fees applied by the payee will be acceptable to the payer abiding by the limits set by optional 'perTransferFeeLimits' array. */
853
+ autoAcceptQuote: components["schemas"]["autoAcceptQuote"];
854
+ /** @description Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful if a previous party resolution has been performed. */
855
+ skipPartyLookup?: boolean;
856
+ /** @description Set to true if the bulkTransfer requests need be handled synchronous. Otherwise the requests will be handled asynchronously, meaning there will be callbacks whenever the processing is done */
857
+ synchronous?: boolean;
858
+ bulkExpiration: components["schemas"]["DateTime"];
859
+ };
860
+ /**
861
+ * PartyIdInfo
862
+ * @description Data model for the complex type PartyIdInfo. An ExtensionList element has been added to this reqeust in version v1.1
863
+ */
864
+ PartyIdInfo: {
865
+ partyIdType: components["schemas"]["PartyIdType"];
866
+ partyIdentifier: components["schemas"]["PartyIdentifier"];
867
+ partySubIdOrType?: components["schemas"]["PartySubIdOrType"];
868
+ fspId?: components["schemas"]["FspId"];
869
+ extensionList?: components["schemas"]["ExtensionList"];
870
+ };
871
+ /**
872
+ * PartyName
873
+ * @description Name of the Party. Could be a real name or a nickname.
874
+ */
875
+ PartyName: string;
876
+ /**
877
+ * PartyComplexName
878
+ * @description Data model for the complex type PartyComplexName.
879
+ */
880
+ PartyComplexName: {
881
+ firstName?: components["schemas"]["FirstName"];
882
+ middleName?: components["schemas"]["MiddleName"];
883
+ lastName?: components["schemas"]["LastName"];
884
+ };
885
+ /**
886
+ * PartyPersonalInfo
887
+ * @description Data model for the complex type PartyPersonalInfo.
888
+ */
889
+ PartyPersonalInfo: {
890
+ complexName?: components["schemas"]["PartyComplexName"];
891
+ dateOfBirth?: components["schemas"]["DateOfBirth"];
892
+ kycInformation?: components["schemas"]["KYCInformation"];
893
+ };
894
+ /**
895
+ * Party
896
+ * @description Data model for the complex type Party.
897
+ */
898
+ Party: {
899
+ partyIdInfo: components["schemas"]["PartyIdInfo"];
900
+ merchantClassificationCode?: components["schemas"]["MerchantClassificationCode"];
901
+ name?: components["schemas"]["PartyName"];
902
+ personalInfo?: components["schemas"]["PartyPersonalInfo"];
903
+ /** @description Currencies in which the party can receive funds. */
904
+ supportedCurrencies?: components["schemas"]["Currency"][];
905
+ };
906
+ /**
907
+ * BulkTransactionIndividualTransfer
908
+ * @description Data model for the complex type 'bulkTransactionIndividualTransfer'.
909
+ */
910
+ bulkTransactionIndividualTransfer: {
911
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
912
+ homeTransactionId: string;
913
+ to: components["schemas"]["Party"];
914
+ /** @description Payer Loan reference */
915
+ reference?: string;
916
+ amountType: components["schemas"]["AmountType"];
917
+ currency: components["schemas"]["Currency"];
918
+ amount: components["schemas"]["Amount"];
919
+ note?: components["schemas"]["Note"];
920
+ quoteExtensions?: components["schemas"]["ExtensionList"];
921
+ transferExtensions?: components["schemas"]["ExtensionList"];
922
+ lastError?: components["schemas"]["transferError"];
923
+ };
924
+ bulkTransactionRequest: {
925
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
926
+ bulkHomeTransactionID: string;
927
+ bulkTransactionId: components["schemas"]["CorrelationId"];
928
+ options: components["schemas"]["bulkTransactionOptions"];
929
+ from: components["schemas"]["Party"];
930
+ /** @description List of individual transfers in a bulk transfer. */
931
+ individualTransfers: components["schemas"]["bulkTransactionIndividualTransfer"][];
932
+ extensions?: components["schemas"]["ExtensionList"];
933
+ };
934
+ /**
935
+ * TransferState
936
+ * @description Below are the allowed values for the enumeration.
937
+ * - RECEIVED - Next ledger has received the transfer.
938
+ * - RESERVED - Next ledger has reserved the transfer.
939
+ * - COMMITTED - Next ledger has successfully performed the transfer.
940
+ * - ABORTED - Next ledger has aborted the transfer due to a rejection or failure to perform the transfer.
941
+ * @example RESERVED
942
+ * @enum {string}
943
+ */
944
+ TransferState: "RECEIVED" | "RESERVED" | "COMMITTED" | "ABORTED";
945
+ /**
946
+ * IlpFulfilment
947
+ * @description Fulfilment that must be attached to the transfer by the Payee.
948
+ * @example WLctttbu2HvTsa1XWvUoGRcQozHsqeu9Ahl2JW9Bsu8
949
+ */
950
+ IlpFulfilment: string;
951
+ individualTransferResult: {
952
+ transferId: components["schemas"]["CorrelationId"];
953
+ fulfilment?: components["schemas"]["IlpFulfilment"];
954
+ extensionList?: components["schemas"]["ExtensionList"];
955
+ transferState?: components["schemas"]["TransferState"];
956
+ lastError?: components["schemas"]["transferError"];
957
+ };
958
+ bulkTransferResponse: {
959
+ bulkTransferId: components["schemas"]["CorrelationId"];
960
+ bulkQuoteId?: components["schemas"]["CorrelationId"];
961
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
962
+ homeTransactionId?: string;
963
+ bulkTransferState?: components["schemas"]["TransferState"];
964
+ completedTimestamp?: components["schemas"]["DateTime"];
965
+ extensionList?: components["schemas"]["ExtensionList"];
966
+ currentState: components["schemas"]["bulkTransferStatus"];
967
+ /** @description List of individual transfer result in a bulk transfer response. */
968
+ individualTransferResults: components["schemas"]["individualTransferResult"][];
969
+ };
970
+ bulkTransferErrorResponse: components["schemas"]["errorResponse"] & {
971
+ bulkTransferState: components["schemas"]["bulkTransferResponse"];
972
+ };
973
+ /** @description Data model for the 'individualTransfer' while accepting party or quote. */
974
+ bulkTransactionIndividualTransferAccept: {
975
+ transferId: components["schemas"]["CorrelationId"];
976
+ };
977
+ transferContinuationAcceptParty: {
978
+ /** @enum {boolean} */
979
+ acceptParty: true | false;
980
+ };
981
+ /** @description The object sent back as confirmation of payee parties when autoAcceptParty is false. */
982
+ bulkTransactionContinuationAcceptParty: {
983
+ /** @description List of individual transfers in a bulk transfer with accept party information. */
984
+ individualTransfers: (components["schemas"]["bulkTransactionIndividualTransferAccept"] & components["schemas"]["transferContinuationAcceptParty"])[];
985
+ };
986
+ transferContinuationAcceptQuote: {
987
+ /** @enum {boolean} */
988
+ acceptQuote: true | false;
989
+ };
990
+ /** @description The object sent back as confirmation of quotes when autoAcceptQuotes is false. */
991
+ bulkTransactionContinuationAcceptQuote: {
992
+ /** @description List of individual transfers in a bulk transfer. */
993
+ individualTransfers: (components["schemas"]["bulkTransactionIndividualTransferAccept"] & components["schemas"]["transferContinuationAcceptQuote"])[];
994
+ };
995
+ /** @description This object represents a Mojaloop API error received at any time during the party discovery process */
996
+ partyError: {
997
+ /** @description The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response. */
998
+ httpStatusCode?: number;
999
+ mojaloopError?: components["schemas"]["mojaloopError"];
1000
+ };
1001
+ bulkTransactionAcceptPartyErrorResponse: components["schemas"]["errorResponse"] & ({
1002
+ bulkTransferState: components["schemas"]["bulkTransactionContinuationAcceptParty"] & components["schemas"]["partyError"];
1003
+ });
1004
+ bulkTransactionAcceptQuoteErrorResponse: components["schemas"]["errorResponse"] & ({
1005
+ bulkTransferState?: components["schemas"]["bulkTransactionContinuationAcceptQuote"] & components["schemas"]["quoteError"];
1006
+ });
1007
+ /**
1008
+ * IndividualTransfer
1009
+ * @description Data model for the complex type 'individualTransfer'.
1010
+ */
1011
+ individualTransfer: {
1012
+ transferId: components["schemas"]["CorrelationId"];
1013
+ to: components["schemas"]["transferParty"];
1014
+ amountType: components["schemas"]["AmountType"];
1015
+ currency: components["schemas"]["Currency"];
1016
+ amount: components["schemas"]["Amount"];
1017
+ transactionType?: components["schemas"]["transferTransactionType"];
1018
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1019
+ ilpPacket: components["schemas"]["IlpPacket"];
1020
+ condition: components["schemas"]["IlpCondition"];
1021
+ note?: components["schemas"]["Note"];
1022
+ extensions?: components["schemas"]["ExtensionList"];
1023
+ };
1024
+ bulkTransferRequest: {
1025
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
1026
+ homeTransactionId: string;
1027
+ bulkTransferId: components["schemas"]["CorrelationId"];
1028
+ bulkQuoteId: components["schemas"]["CorrelationId"];
1029
+ from: components["schemas"]["transferParty"];
1030
+ /** @description List of individual transfers in a bulk transfer. */
1031
+ individualTransfers: components["schemas"]["individualTransfer"][];
1032
+ extensions?: components["schemas"]["ExtensionList"];
1033
+ };
1034
+ /** @description A Mojaloop API transfer fulfilment for individual transfers in a bulk transfer */
1035
+ individualTransferFulfilment: {
1036
+ fulfilment?: components["schemas"]["IlpFulfilment"];
1037
+ extensionList?: components["schemas"]["ExtensionList"];
1038
+ };
1039
+ bulkTransferStatusResponse: {
1040
+ bulkTransferId: components["schemas"]["CorrelationId"];
1041
+ currentState: components["schemas"]["bulkTransferStatus"];
1042
+ fulfils: components["schemas"]["individualTransferFulfilment"][];
1043
+ };
1044
+ /** @enum {string} */
1045
+ async2SyncCurrentState: "WAITING_FOR_ACTION" | "COMPLETED" | "ERROR_OCCURRED";
1046
+ /**
1047
+ * partiesByIdResponse
1048
+ * @description GET /parties/{Type}/{ID} response object
1049
+ */
1050
+ partiesByIdResponse: {
1051
+ party: {
1052
+ body: components["schemas"]["Party"];
1053
+ headers: Record<string, never>;
1054
+ };
1055
+ currentState: components["schemas"]["async2SyncCurrentState"];
1056
+ };
1057
+ /**
1058
+ * TransactionScenario
1059
+ * @description Below are the allowed values for the enumeration.
1060
+ * - DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal scenario, electronic funds are transferred from a Business account to a Consumer account, and physical cash is given from the Consumer to the Business User.
1061
+ * - WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a normal scenario, electronic funds are transferred from a Consumer’s account to a Business account, and physical cash is given from the Business User to the Consumer.
1062
+ * - TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer) transaction.
1063
+ * - PAYMENT - Usually used for performing a transaction from a Consumer to a Merchant or Organization, but could also be for a B2B (Business to Business) payment. The transaction could be online for a purchase in an Internet store, in a physical store where both the Consumer and Business User are present, a bill payment, a donation, and so on.
1064
+ * - REFUND - Used for performing a refund of transaction.
1065
+ * @example DEPOSIT
1066
+ * @enum {string}
1067
+ */
1068
+ TransactionScenario: "DEPOSIT" | "WITHDRAWAL" | "TRANSFER" | "PAYMENT" | "REFUND";
1069
+ /**
1070
+ * TransactionInitiator
1071
+ * @description Below are the allowed values for the enumeration.
1072
+ * - PAYER - Sender of funds is initiating the transaction. The account to send from is either owned by the Payer or is connected to the Payer in some way.
1073
+ * - PAYEE - Recipient of the funds is initiating the transaction by sending a transaction request. The Payer must approve the transaction, either automatically by a pre-generated OTP or by pre-approval of the Payee, or by manually approving in his or her own Device.
1074
+ * @example PAYEE
1075
+ * @enum {string}
1076
+ */
1077
+ TransactionInitiator: "PAYER" | "PAYEE";
1078
+ /**
1079
+ * RefundReason
1080
+ * @description Reason for the refund.
1081
+ * @example Free text indicating reason for the refund.
1082
+ */
1083
+ RefundReason: string;
1084
+ /**
1085
+ * Refund
1086
+ * @description Data model for the complex type Refund.
1087
+ */
1088
+ Refund: {
1089
+ originalTransactionId: components["schemas"]["CorrelationId"];
1090
+ refundReason?: components["schemas"]["RefundReason"];
1091
+ };
1092
+ /**
1093
+ * BalanceOfPayments
1094
+ * @description (BopCode) The API data type [BopCode](https://www.imf.org/external/np/sta/bopcode/) is a JSON String of 3 characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed.
1095
+ * @example 123
1096
+ */
1097
+ BalanceOfPayments: string;
1098
+ /**
1099
+ * TransactionType
1100
+ * @description Data model for the complex type TransactionType.
1101
+ */
1102
+ TransactionType: {
1103
+ scenario: components["schemas"]["TransactionScenario"];
1104
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1105
+ initiator: components["schemas"]["TransactionInitiator"];
1106
+ initiatorType: components["schemas"]["TransactionInitiatorType"];
1107
+ refundInfo?: components["schemas"]["Refund"];
1108
+ balanceOfPayments?: components["schemas"]["BalanceOfPayments"];
1109
+ };
1110
+ /**
1111
+ * CurrencyConverter
1112
+ * @description Below are the allowed values for the enumeration CurrencyConverter. - PAYER - Currency conversion should be performed by the payer. - PAYEE - Currency conversion should be performed by the payee.
1113
+ * @enum {string}
1114
+ */
1115
+ CurrencyConverter: "PAYER" | "PAYEE";
1116
+ /**
1117
+ * FxRate
1118
+ * @description The FxRate object contains information about a currency conversion in the transfer. It can be used by parties to the transfer to exchange information with each other about the exchange rate for the transfer, to ensure that the best rate can be agreed on.
1119
+ */
1120
+ FxRate: {
1121
+ sourceAmount: components["schemas"]["Money"];
1122
+ targetAmount: components["schemas"]["Money"];
1123
+ };
1124
+ /**
1125
+ * QuotesPostRequest
1126
+ * @description The object sent in the POST /quotes request.
1127
+ */
1128
+ QuotesPostRequest: {
1129
+ quoteId: components["schemas"]["CorrelationId"];
1130
+ transactionId: components["schemas"]["CorrelationId"];
1131
+ transactionRequestId?: components["schemas"]["CorrelationId"];
1132
+ payee: components["schemas"]["Party"];
1133
+ payer: components["schemas"]["Party"];
1134
+ amountType: components["schemas"]["AmountType"];
1135
+ amount: components["schemas"]["Money"];
1136
+ fees?: components["schemas"]["Money"];
1137
+ transactionType: components["schemas"]["TransactionType"];
1138
+ converter?: components["schemas"]["CurrencyConverter"];
1139
+ currencyConversion?: components["schemas"]["FxRate"];
1140
+ geoCode?: components["schemas"]["GeoCode"];
1141
+ note?: components["schemas"]["Note"];
1142
+ expiration?: components["schemas"]["DateTime"];
1143
+ extensionList?: components["schemas"]["ExtensionList"];
1144
+ };
1145
+ /** simpleQuotesPostRequest */
1146
+ simpleQuotesPostRequest: {
1147
+ fspId: components["schemas"]["FspId"];
1148
+ quotesPostRequest: components["schemas"]["QuotesPostRequest"];
1149
+ };
1150
+ /** QuotesPostResponse */
1151
+ quotesPostResponse: {
1152
+ /**
1153
+ * QuotesIDPutResponse
1154
+ * @description The object sent in the PUT /quotes/{ID} callback.
1155
+ */
1156
+ quotes: {
1157
+ body: {
1158
+ transferAmount: components["schemas"]["Money"];
1159
+ payeeReceiveAmount?: components["schemas"]["Money"];
1160
+ payeeFspFee?: components["schemas"]["Money"];
1161
+ payeeFspCommission?: components["schemas"]["Money"];
1162
+ /**
1163
+ * @description Date and time until when the quotation is valid and can be honored when used in the subsequent transaction.
1164
+ * @example 2016-05-24T08:38:08.699-04:00
1165
+ */
1166
+ expiration: string;
1167
+ geoCode?: components["schemas"]["GeoCode"];
1168
+ ilpPacket: components["schemas"]["IlpPacket"];
1169
+ condition: components["schemas"]["IlpCondition"];
1170
+ extensionList?: components["schemas"]["ExtensionList"];
1171
+ };
1172
+ headers: Record<string, never>;
1173
+ };
1174
+ currentState: components["schemas"]["async2SyncCurrentState"];
1175
+ };
1176
+ errorQuotesResponse: components["schemas"]["errorResponse"] & Record<string, never>;
1177
+ /**
1178
+ * AuthenticationType
1179
+ * @description Below are the allowed values for the enumeration AuthenticationType.
1180
+ * - OTP - One-time password generated by the Payer FSP.
1181
+ * - QRCODE - QR code used as One Time Password.
1182
+ * - U2F - U2F is a new addition isolated to Thirdparty stream.
1183
+ * @example OTP
1184
+ * @enum {string}
1185
+ */
1186
+ AuthenticationType: "OTP" | "QRCODE" | "U2F";
1187
+ requestToPayRequest: {
1188
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
1189
+ homeR2PTransactionId: string;
1190
+ from: components["schemas"]["transferParty"];
1191
+ to: components["schemas"]["transferParty"];
1192
+ amountType: components["schemas"]["AmountType"];
1193
+ currency: components["schemas"]["Currency"];
1194
+ amount: components["schemas"]["Amount"];
1195
+ transactionType: components["schemas"]["TransactionScenario"];
1196
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1197
+ authenticationType?: components["schemas"]["AuthenticationType"];
1198
+ };
1199
+ /** @enum {string} */
1200
+ requestToPayStatus: "ERROR_OCCURRED" | "WAITING_FOR_PARTY_ACCEPTANCE" | "COMPLETED";
1201
+ /**
1202
+ * getPartiesResponse
1203
+ * @description The object sent in the GET /parties/{Type}/{ID} callback.
1204
+ */
1205
+ getPartiesResponse: {
1206
+ body: components["schemas"]["Party"];
1207
+ headers: Record<string, never>;
1208
+ };
1209
+ /**
1210
+ * TransactionRequestState
1211
+ * @description Below are the allowed values for the enumeration.
1212
+ * - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
1213
+ * - PENDING - Payer FSP has sent the transaction request to the Payer.
1214
+ * - ACCEPTED - Payer has approved the transaction.
1215
+ * - REJECTED - Payer has rejected the transaction.
1216
+ * @example RECEIVED
1217
+ * @enum {string}
1218
+ */
1219
+ TransactionRequestState: "RECEIVED" | "PENDING" | "ACCEPTED" | "REJECTED";
1220
+ /**
1221
+ * TransactionRequestResponse
1222
+ * @description The object sent in the PUT /transactionRequests/{ID} callback.
1223
+ */
1224
+ TransactionRequestResponse: {
1225
+ body: {
1226
+ transactionId?: components["schemas"]["CorrelationId"];
1227
+ transactionRequestState: components["schemas"]["TransactionRequestState"];
1228
+ extensionList?: components["schemas"]["ExtensionList"];
1229
+ };
1230
+ headers: Record<string, never>;
1231
+ };
1232
+ requestToPayResponse: {
1233
+ transactionRequestId: components["schemas"]["CorrelationId"];
1234
+ from: components["schemas"]["transferParty"];
1235
+ to: components["schemas"]["transferParty"];
1236
+ amountType: components["schemas"]["AmountType"];
1237
+ currency: components["schemas"]["Currency"];
1238
+ amount: components["schemas"]["Amount"];
1239
+ transactionType: components["schemas"]["TransactionScenario"];
1240
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1241
+ currentState: components["schemas"]["requestToPayStatus"];
1242
+ getPartiesResponse?: components["schemas"]["getPartiesResponse"];
1243
+ transactionRequestResponse?: components["schemas"]["TransactionRequestResponse"];
1244
+ lastError?: components["schemas"]["transferError"];
1245
+ };
1246
+ /** @enum {string} */
1247
+ transferStatus: "ERROR_OCCURRED" | "WAITING_FOR_PARTY_ACCEPTANCE" | "WAITING_FOR_QUOTE_ACCEPTANCE" | "WAITING_FOR_CONVERSION_ACCEPTANCE" | "COMPLETED";
1248
+ /**
1249
+ * QuotesIDPutResponse
1250
+ * @description The object sent in the PUT /quotes/{ID} callback.
1251
+ */
1252
+ QuotesIDPutResponse: {
1253
+ transferAmount: components["schemas"]["Money"];
1254
+ payeeReceiveAmount?: components["schemas"]["Money"];
1255
+ payeeFspFee?: components["schemas"]["Money"];
1256
+ payeeFspCommission?: components["schemas"]["Money"];
1257
+ expiration: components["schemas"]["DateTime"];
1258
+ geoCode?: components["schemas"]["GeoCode"];
1259
+ ilpPacket: components["schemas"]["IlpPacket"];
1260
+ condition: components["schemas"]["IlpCondition"];
1261
+ extensionList?: components["schemas"]["ExtensionList"];
1262
+ };
1263
+ /**
1264
+ * FxMoney
1265
+ * @description Data model for the complex type FxMoney; This is based on the type Money but allows the amount to be optional to support FX quotations.
1266
+ */
1267
+ FxMoney: {
1268
+ currency: components["schemas"]["Currency"];
1269
+ amount?: components["schemas"]["Amount"];
1270
+ };
1271
+ /**
1272
+ * FxCharge
1273
+ * @description An FXP will be able to specify a charge which it proposes to levy on the currency conversion operation using a FxCharge object.
1274
+ */
1275
+ FxCharge: {
1276
+ /** @description A description of the charge which is being levied. */
1277
+ chargeType: string;
1278
+ sourceAmount?: components["schemas"]["Money"];
1279
+ targetAmount?: components["schemas"]["Money"];
1280
+ };
1281
+ /**
1282
+ * FxConversion
1283
+ * @description A DFSP will be able to request a currency conversion, and an FX provider will be able to describe its involvement in a proposed transfer, using a FxConversion object.
1284
+ */
1285
+ FxConversion: {
1286
+ conversionId: components["schemas"]["CorrelationId"];
1287
+ determiningTransferId?: components["schemas"]["CorrelationId"];
1288
+ initiatingFsp: components["schemas"]["FspId"];
1289
+ counterPartyFsp: components["schemas"]["FspId"];
1290
+ amountType: components["schemas"]["AmountType"];
1291
+ sourceAmount: components["schemas"]["FxMoney"];
1292
+ targetAmount: components["schemas"]["FxMoney"];
1293
+ expiration: components["schemas"]["DateTime"];
1294
+ /** @description One or more charges which the FXP intends to levy as part of the currency conversion, or which the payee DFSP intends to add to the amount transferred. */
1295
+ charges?: components["schemas"]["FxCharge"][];
1296
+ extensionList?: components["schemas"]["ExtensionList"];
1297
+ };
1298
+ /**
1299
+ * FxQuotesPostOutboundResponse
1300
+ * @description The object sent as a response for the POST /fxQuotes request. The terms under which the FXP will undertake the currency conversion proposed by the requester.
1301
+ */
1302
+ FxQuotesPostOutboundResponse: {
1303
+ /** @description Transaction ID for the FXP backend, used to reconcile transactions between the Switch and FXP backend systems. */
1304
+ homeTransactionId?: string;
1305
+ condition?: components["schemas"]["IlpCondition"];
1306
+ conversionTerms: components["schemas"]["FxConversion"];
1307
+ };
1308
+ /**
1309
+ * TransfersIDPutResponse
1310
+ * @description The object sent in the PUT /transfers/{ID} callback.
1311
+ */
1312
+ TransfersIDPutResponse: {
1313
+ fulfilment?: components["schemas"]["IlpFulfilment"];
1314
+ completedTimestamp?: components["schemas"]["DateTime"];
1315
+ transferState: components["schemas"]["TransferState"];
1316
+ extensionList?: components["schemas"]["ExtensionList"];
1317
+ };
1318
+ transferResponse: {
1319
+ transferId?: components["schemas"]["CorrelationId"];
1320
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
1321
+ homeTransactionId: string;
1322
+ from: components["schemas"]["transferParty"];
1323
+ to: components["schemas"]["transferParty"];
1324
+ amountType: components["schemas"]["AmountType"];
1325
+ currency: components["schemas"]["Currency"];
1326
+ amount: components["schemas"]["Amount"];
1327
+ transactionType: components["schemas"]["transferTransactionType"];
1328
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1329
+ note?: components["schemas"]["Note"];
1330
+ currentState?: components["schemas"]["transferStatus"];
1331
+ quoteId?: components["schemas"]["CorrelationId"];
1332
+ getPartiesResponse?: {
1333
+ body: Record<string, never>;
1334
+ headers?: Record<string, never>;
1335
+ };
1336
+ quoteResponse?: {
1337
+ body: components["schemas"]["QuotesIDPutResponse"];
1338
+ headers?: Record<string, never>;
1339
+ };
1340
+ /** @description FSPID of the entity that supplied the quote response. This may not be the same as the FSPID of the entity which owns the end user account in the case of a FOREX transfer. i.e. it may be a FOREX gateway. */
1341
+ quoteResponseSource?: string;
1342
+ conversionRequestId?: components["schemas"]["CorrelationId"];
1343
+ fxQuotesResponse?: {
1344
+ body: components["schemas"]["FxQuotesPostOutboundResponse"];
1345
+ headers?: Record<string, never>;
1346
+ };
1347
+ /** @description FXPID of the entity that supplied the fxQuotes response. */
1348
+ fxQuotesResponseSource?: string;
1349
+ fulfil?: {
1350
+ body: components["schemas"]["TransfersIDPutResponse"];
1351
+ headers?: Record<string, never>;
1352
+ };
1353
+ lastError?: components["schemas"]["transferError"];
1354
+ /** @description Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful is a previous party resolution has been performed. */
1355
+ skipPartyLookup?: boolean;
1356
+ };
1357
+ errorTransferResponse: components["schemas"]["errorResponse"] & {
1358
+ transferState: components["schemas"]["transferResponse"];
1359
+ };
1360
+ requestToPayTransferRequest: {
1361
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
1362
+ homeR2PTransactionId: string;
1363
+ transactionRequestId: components["schemas"]["CorrelationId"];
1364
+ from: components["schemas"]["transferParty"];
1365
+ to: components["schemas"]["transferParty"];
1366
+ amountType: components["schemas"]["AmountType"];
1367
+ currency: components["schemas"]["Currency"];
1368
+ amount: components["schemas"]["Amount"];
1369
+ scenario: components["schemas"]["TransactionScenario"];
1370
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1371
+ initiator: components["schemas"]["TransactionInitiator"];
1372
+ initiatorType: components["schemas"]["TransactionInitiatorType"];
1373
+ note?: components["schemas"]["Note"];
1374
+ authenticationType?: components["schemas"]["AuthenticationType"];
1375
+ };
1376
+ /**
1377
+ * AuthenticationValue
1378
+ * @description Contains the authentication value. The format depends on the authentication type used in the AuthenticationInfo complex type.
1379
+ */
1380
+ AuthenticationValue: string | {
1381
+ /** @description U2F challenge-response, where payer FSP verifies if the response provided by end-user device matches the previously registered key. */
1382
+ pinValue: string;
1383
+ /**
1384
+ * Integer
1385
+ * @description Sequential counter used for cloning detection. Present only for U2F authentication.
1386
+ */
1387
+ counter: string;
1388
+ };
1389
+ /**
1390
+ * AuthenticationInfo
1391
+ * @description Data model for the complex type AuthenticationInfo.
1392
+ */
1393
+ AuthenticationInfo: {
1394
+ authentication: components["schemas"]["AuthenticationType"];
1395
+ authenticationValue: components["schemas"]["AuthenticationValue"];
1396
+ };
1397
+ /**
1398
+ * AuthorizationResponseType
1399
+ * @description Below are the allowed values for the enumeration.
1400
+ * - ENTERED - Consumer entered the authentication value.
1401
+ * - REJECTED - Consumer rejected the transaction.
1402
+ * - RESEND - Consumer requested to resend the authentication value.
1403
+ * @example ENTERED
1404
+ * @enum {string}
1405
+ */
1406
+ AuthorizationResponseType: "ENTERED" | "REJECTED" | "RESEND";
1407
+ /**
1408
+ * AuthorizationIDPutResponse
1409
+ * @description The object sent in the PUT /authorizations/{ID} callback.
1410
+ */
1411
+ AuthorizationIDPutResponse: {
1412
+ authenticationInfo?: components["schemas"]["AuthenticationInfo"];
1413
+ responseType: components["schemas"]["AuthorizationResponseType"];
1414
+ };
1415
+ requestToPayTransferResponse: {
1416
+ transferId?: components["schemas"]["CorrelationId"];
1417
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
1418
+ homeR2PTransactionId?: string;
1419
+ transactionRequestId: components["schemas"]["CorrelationId"];
1420
+ from: components["schemas"]["transferParty"];
1421
+ to: components["schemas"]["transferParty"];
1422
+ amountType: components["schemas"]["AmountType"];
1423
+ currency: components["schemas"]["Currency"];
1424
+ amount: components["schemas"]["Amount"];
1425
+ transactionType: components["schemas"]["transferTransactionType"];
1426
+ note?: components["schemas"]["Note"];
1427
+ currentState?: components["schemas"]["transferStatus"];
1428
+ quoteId?: components["schemas"]["CorrelationId"];
1429
+ quoteResponse?: {
1430
+ body: components["schemas"]["QuotesIDPutResponse"];
1431
+ headers?: Record<string, never>;
1432
+ };
1433
+ /** @description FSPID of the entity that supplied the quote response. This may not be the same as the FSPID of the entity which owns the end user account in the case of a FOREX transfer. i.e. it may be a FOREX gateway. */
1434
+ quoteResponseSource?: string;
1435
+ authorizationResponse?: {
1436
+ body: components["schemas"]["AuthorizationIDPutResponse"];
1437
+ headers?: Record<string, never>;
1438
+ };
1439
+ fulfil?: {
1440
+ body: components["schemas"]["TransfersIDPutResponse"];
1441
+ headers?: Record<string, never>;
1442
+ };
1443
+ lastError?: components["schemas"]["transferError"];
1444
+ };
1445
+ transferContinuationAcceptOTP: {
1446
+ /** @enum {boolean} */
1447
+ acceptOTP: true | false;
1448
+ };
1449
+ /**
1450
+ * TransfersPostRequest
1451
+ * @description The object sent in the POST /transfers request.
1452
+ */
1453
+ TransfersPostRequest: {
1454
+ transferId: components["schemas"]["CorrelationId"];
1455
+ payeeFsp: components["schemas"]["FspId"];
1456
+ payerFsp: components["schemas"]["FspId"];
1457
+ amount: components["schemas"]["Money"];
1458
+ ilpPacket: components["schemas"]["IlpPacket"];
1459
+ condition: components["schemas"]["IlpCondition"];
1460
+ expiration: components["schemas"]["DateTime"];
1461
+ extensionList?: components["schemas"]["ExtensionList"];
1462
+ };
1463
+ /** SimpleTransfersPostRequest */
1464
+ simpleTransfersPostRequest: {
1465
+ fspId: components["schemas"]["FspId"];
1466
+ transfersPostRequest: components["schemas"]["TransfersPostRequest"];
1467
+ };
1468
+ /** SimpleTransfersPostResponse */
1469
+ simpleTransfersPostResponse: {
1470
+ transfer: {
1471
+ body: components["schemas"]["TransfersIDPutResponse"];
1472
+ headers: Record<string, never>;
1473
+ };
1474
+ currentState: components["schemas"]["async2SyncCurrentState"];
1475
+ };
1476
+ errorSimpleTransfersResponse: components["schemas"]["errorResponse"] & Record<string, never>;
1477
+ transferRequest: {
1478
+ /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
1479
+ homeTransactionId: string;
1480
+ from: components["schemas"]["transferParty"];
1481
+ to: components["schemas"]["transferParty"];
1482
+ amountType: components["schemas"]["AmountType"];
1483
+ currency: components["schemas"]["Currency"];
1484
+ amount: components["schemas"]["Amount"];
1485
+ transactionType: components["schemas"]["transferTransactionType"];
1486
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1487
+ note?: components["schemas"]["Note"];
1488
+ quoteRequestExtensions?: components["schemas"]["extensionListEmptiable"];
1489
+ transferRequestExtensions?: components["schemas"]["extensionListEmptiable"];
1490
+ /** @description Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful is a previous party resolution has been performed. */
1491
+ skipPartyLookup?: boolean;
1492
+ };
1493
+ transferStatusResponse: {
1494
+ transferId: components["schemas"]["CorrelationId"];
1495
+ currentState: components["schemas"]["transferStatus"];
1496
+ fulfil: {
1497
+ body: components["schemas"]["TransfersIDPutResponse"];
1498
+ headers?: Record<string, never>;
1499
+ };
1500
+ };
1501
+ transferContinuationAcceptConversion: {
1502
+ /** @enum {boolean} */
1503
+ acceptConversion: true | false;
1504
+ };
1505
+ /**
1506
+ * ServicesFXPPutResponse
1507
+ * @description The object sent in the PUT /services/FXP callback.
1508
+ */
1509
+ ServicesFXPPutResponse: {
1510
+ /** @description The FSP Id(s) of the participant(s) who offer currency conversion services. */
1511
+ providers: components["schemas"]["FspId"][];
1512
+ };
1513
+ /**
1514
+ * FxQuotesPostOutboundRequest
1515
+ * @description The object sent in the POST /fxQuotes request.
1516
+ */
1517
+ FxQuotesPostOutboundRequest: {
1518
+ /** @description Transaction ID for the backend, used to reconcile transactions between the Switch and backend systems. */
1519
+ homeTransactionId?: string;
1520
+ conversionRequestId: components["schemas"]["CorrelationId"];
1521
+ conversionTerms: components["schemas"]["FxConversion"];
1522
+ };
1523
+ commitRequestId: components["schemas"]["CorrelationId"];
1524
+ determiningTransferId: components["schemas"]["CorrelationId"];
1525
+ initiatingFsp: components["schemas"]["FspId"];
1526
+ counterPartyFsp: components["schemas"]["FspId"];
1527
+ sourceAmount: components["schemas"]["Money"];
1528
+ targetAmount: components["schemas"]["Money"];
1529
+ condition: components["schemas"]["IlpCondition"];
1530
+ /**
1531
+ * FxTransfersPostOutboundRequest
1532
+ * @description The object sent in the POST /fxTransfers request.
1533
+ */
1534
+ FxTransfersPostOutboundRequest: {
1535
+ /** @description Transaction ID for the backend, used to reconcile transactions between the Switch and backend systems. */
1536
+ homeTransactionId?: string;
1537
+ commitRequestId: components["schemas"]["commitRequestId"];
1538
+ determiningTransferId?: components["schemas"]["determiningTransferId"];
1539
+ initiatingFsp: components["schemas"]["initiatingFsp"];
1540
+ counterPartyFsp: components["schemas"]["counterPartyFsp"];
1541
+ sourceAmount: components["schemas"]["sourceAmount"];
1542
+ targetAmount: components["schemas"]["targetAmount"];
1543
+ condition?: components["schemas"]["condition"];
1544
+ };
1545
+ fulfilment: components["schemas"]["IlpFulfilment"];
1546
+ completedTimestamp: components["schemas"]["DateTime"];
1547
+ conversionState: components["schemas"]["TransferState"];
1548
+ /**
1549
+ * FxTransfersPostOutboundResponse
1550
+ * @description The object sent as a response for the POST /fxTransfers request.
1551
+ */
1552
+ FxTransfersPostOutboundResponse: {
1553
+ /** @description Transaction ID for the backend, used to reconcile transactions between the Switch and backend systems. */
1554
+ homeTransactionId?: string;
1555
+ fulfilment?: components["schemas"]["fulfilment"];
1556
+ completedTimestamp?: components["schemas"]["completedTimestamp"];
1557
+ conversionState: components["schemas"]["conversionState"];
1558
+ extensionList?: components["schemas"]["ExtensionList"];
1559
+ };
1560
+ };
1561
+ responses: {
1562
+ /** @description Malformed or missing required headers or parameters. */
1563
+ 400: {
1564
+ content: {
1565
+ "application/json": components["schemas"]["errorResponse"];
1566
+ };
1567
+ };
1568
+ /** @description An error occurred processing the request. */
1569
+ 500: {
1570
+ content: {
1571
+ "application/json": components["schemas"]["errorResponse"];
1572
+ };
1573
+ };
1574
+ /** @description Accounts creation completed */
1575
+ accountsCreationCompleted: {
1576
+ content: {
1577
+ "application/json": components["schemas"]["accountsResponse"];
1578
+ };
1579
+ };
1580
+ /** @description An error occurred creating accounts */
1581
+ accountsCreationError: {
1582
+ content: {
1583
+ "application/json": components["schemas"]["errorAccountsResponse"];
1584
+ };
1585
+ };
1586
+ /** @description Timeout occurred creating accounts */
1587
+ accountsCreationTimeout: {
1588
+ content: {
1589
+ "application/json": components["schemas"]["errorAccountsResponse"];
1590
+ };
1591
+ };
1592
+ /** @description Bulk quote completed successfully */
1593
+ bulkQuoteSuccess: {
1594
+ content: {
1595
+ "application/json": components["schemas"]["bulkQuoteResponse"];
1596
+ };
1597
+ };
1598
+ /** @description Malformed or missing required body, headers or parameters */
1599
+ bulkQuoteBadRequest: {
1600
+ content: {
1601
+ "application/json": components["schemas"]["bulkQuoteErrorResponse"];
1602
+ };
1603
+ };
1604
+ /** @description An error occurred processing the bulk quote */
1605
+ bulkQuoteServerError: {
1606
+ content: {
1607
+ "application/json": components["schemas"]["bulkQuoteErrorResponse"];
1608
+ };
1609
+ };
1610
+ /** @description Timeout occurred processing the bulk quote */
1611
+ bulkQuoteTimeout: {
1612
+ content: {
1613
+ "application/json": components["schemas"]["bulkQuoteErrorResponse"];
1614
+ };
1615
+ };
1616
+ /** @description Bulk transfer accepted successfully */
1617
+ bulkTransactionAccepted: {
1618
+ content: never;
1619
+ };
1620
+ /** @description Malformed or missing required body, headers or parameters */
1621
+ bulkTransferBadRequest: {
1622
+ content: {
1623
+ "application/json": components["schemas"]["bulkTransferErrorResponse"];
1624
+ };
1625
+ };
1626
+ /** @description Internal Server Error */
1627
+ errorResponse: {
1628
+ content: {
1629
+ "application/json": components["schemas"]["errorResponse"];
1630
+ };
1631
+ };
1632
+ /** @description Malformed or missing required body, headers or parameters */
1633
+ bulkTransactionPutBadRequest: {
1634
+ content: {
1635
+ "application/json": components["schemas"]["bulkTransactionAcceptPartyErrorResponse"] | components["schemas"]["bulkTransactionAcceptQuoteErrorResponse"];
1636
+ };
1637
+ };
1638
+ /** @description Bulk transfer completed successfully */
1639
+ bulkTransferSuccess: {
1640
+ content: {
1641
+ "application/json": components["schemas"]["bulkTransferResponse"];
1642
+ };
1643
+ };
1644
+ /** @description PartiesByIdSuccess */
1645
+ partiesByIdSuccess: {
1646
+ content: {
1647
+ "application/json": components["schemas"]["partiesByIdResponse"];
1648
+ };
1649
+ };
1650
+ /** @description PartiesByIdError404 */
1651
+ partiesByIdError404: {
1652
+ content: {
1653
+ "application/json": {
1654
+ errorInformation?: components["schemas"]["ErrorInformation"];
1655
+ };
1656
+ };
1657
+ };
1658
+ /** @description sync response from POST /quotes */
1659
+ quotesPostSuccess: {
1660
+ content: {
1661
+ "application/json": components["schemas"]["quotesPostResponse"];
1662
+ };
1663
+ };
1664
+ /** @description An error occurred processing the quotes request */
1665
+ quotesServerError: {
1666
+ content: {
1667
+ "application/json": components["schemas"]["errorQuotesResponse"];
1668
+ };
1669
+ };
1670
+ /** @description Request to Pay completed successfully */
1671
+ requestToPaySuccess: {
1672
+ content: {
1673
+ "application/json": components["schemas"]["requestToPayResponse"];
1674
+ };
1675
+ };
1676
+ /** @description An error occurred processing the transfer */
1677
+ transferServerError: {
1678
+ content: {
1679
+ "application/json": components["schemas"]["errorTransferResponse"];
1680
+ };
1681
+ };
1682
+ /** @description Timeout occurred processing the transfer */
1683
+ transferTimeout: {
1684
+ content: {
1685
+ "application/json": components["schemas"]["errorTransferResponse"];
1686
+ };
1687
+ };
1688
+ /** @description Transfer completed successfully */
1689
+ requestToPayTransferSuccess: {
1690
+ content: {
1691
+ "application/json": components["schemas"]["requestToPayTransferResponse"];
1692
+ };
1693
+ };
1694
+ /** @description Malformed or missing required body, headers or parameters */
1695
+ requestToPayTransferBadRequest: {
1696
+ content: {
1697
+ "application/json": components["schemas"]["errorTransferResponse"];
1698
+ };
1699
+ };
1700
+ /** @description Transfer completed successfully */
1701
+ transferSuccess: {
1702
+ content: {
1703
+ "application/json": components["schemas"]["transferResponse"];
1704
+ };
1705
+ };
1706
+ /** @description sync response from POST /simpleTransfers */
1707
+ simpleTransfersPostSuccess: {
1708
+ content: {
1709
+ "application/json": components["schemas"]["simpleTransfersPostResponse"];
1710
+ };
1711
+ };
1712
+ /** @description An error occurred processing the simple transfers request */
1713
+ simpleTransfersServerError: {
1714
+ content: {
1715
+ "application/json": components["schemas"]["errorSimpleTransfersResponse"];
1716
+ };
1717
+ };
1718
+ /** @description Malformed or missing required body, headers or parameters */
1719
+ transferBadRequest: {
1720
+ content: {
1721
+ "application/json": components["schemas"]["errorTransferResponse"];
1722
+ };
1723
+ };
1724
+ /** @description The response contains participants in a scheme who offer currency conversion services. If no participants offer these services, the return object will be blank. */
1725
+ servicesFXPSucess: {
1726
+ content: {
1727
+ "application/json": components["schemas"]["ServicesFXPPutResponse"];
1728
+ };
1729
+ };
1730
+ };
1731
+ parameters: {
1732
+ /** @description Identifier of the bulk transfer to continue as returned in the response to a `POST /bulkTransfers` request. */
1733
+ bulkQuoteId: components["schemas"]["CorrelationId"];
1734
+ /** @description Identifier of the bulk transaction to continue as returned in the response to a `POST /bulkTransaction` request. */
1735
+ bulkTransactionId: components["schemas"]["CorrelationId"];
1736
+ /** @description Identifier of the bulk transfer to continue as returned in the response to a `POST /bulkTransfers` request. */
1737
+ bulkTransferId: components["schemas"]["CorrelationId"];
1738
+ /** @description The type of the party identifier. For example, `MSISDN`, `PERSONAL_ID`. */
1739
+ Type: string;
1740
+ /** @description The identifier value. */
1741
+ ID: string;
1742
+ /** @description A sub-identifier of the party identifier, or a sub-type of the party identifier's type. For example, `PASSPORT`, `DRIVING_LICENSE`. */
1743
+ SubId: string;
1744
+ /** @description Identifier of the merchant request to pay to continue as returned in the response to a `POST /requestToPay` request. */
1745
+ transactionRequestId: components["schemas"]["CorrelationId"];
1746
+ /** @description Identifier of the transfer to continue as returned in the response to a `POST /transfers` request. */
1747
+ transferId: components["schemas"]["CorrelationId"];
1748
+ /** @description ISO 4217 currency code for the source currency. */
1749
+ SourceCurrency: string;
1750
+ /** @description ISO 4217 currency code for the target currency. */
1751
+ TargetCurrency: string;
1752
+ };
1753
+ requestBodies: never;
1754
+ headers: never;
1755
+ pathItems: never;
1756
+ }
1757
+ export type $defs = Record<string, never>;
1758
+ export type external = Record<string, never>;
1759
+ export interface operations {
1760
+ /**
1761
+ * PartiesByTypeAndID
1762
+ * @description The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1).
1763
+ */
1764
+ PartiesByTypeAndID: {
1765
+ parameters: {
1766
+ path: {
1767
+ Type: components["parameters"]["Type"];
1768
+ ID: components["parameters"]["ID"];
1769
+ };
1770
+ };
1771
+ responses: {
1772
+ 200: components["responses"]["partiesByIdSuccess"];
1773
+ 404: components["responses"]["partiesByIdError404"];
1774
+ };
1775
+ };
1776
+ /**
1777
+ * PartiesSubIdByTypeAndID
1778
+ * @description The HTTP request GET /parties// (or GET /parties///) is used to lookup information regarding the requested Party, defined by , and optionally (for example, GET /parties/MSISDN/123456789, or GET /parties/BUSINESS/shoecompany/employee1).
1779
+ */
1780
+ PartiesSubIdByTypeAndID: {
1781
+ parameters: {
1782
+ path: {
1783
+ Type: components["parameters"]["Type"];
1784
+ ID: components["parameters"]["ID"];
1785
+ SubId: components["parameters"]["SubId"];
1786
+ };
1787
+ };
1788
+ responses: {
1789
+ 200: components["responses"]["partiesByIdSuccess"];
1790
+ 404: components["responses"]["partiesByIdError404"];
1791
+ };
1792
+ };
1793
+ /**
1794
+ * Quotes endpoint
1795
+ * @description is used to request quotes from other DFSP
1796
+ */
1797
+ QuotesPost: {
1798
+ /** @description Quotes request payload */
1799
+ requestBody: {
1800
+ content: {
1801
+ "application/json": components["schemas"]["simpleQuotesPostRequest"];
1802
+ };
1803
+ };
1804
+ responses: {
1805
+ 200: components["responses"]["quotesPostSuccess"];
1806
+ 500: components["responses"]["quotesServerError"];
1807
+ };
1808
+ };
1809
+ /**
1810
+ * Simple Transfers endpoint
1811
+ * @description is used to request a transfer
1812
+ */
1813
+ SimpleTransfersPost: {
1814
+ /** @description Simple Transfer request payload */
1815
+ requestBody: {
1816
+ content: {
1817
+ "application/json": components["schemas"]["simpleTransfersPostRequest"];
1818
+ };
1819
+ };
1820
+ responses: {
1821
+ 200: components["responses"]["simpleTransfersPostSuccess"];
1822
+ 500: components["responses"]["simpleTransfersServerError"];
1823
+ };
1824
+ };
1825
+ /**
1826
+ * Obtain a list of the DFSPs in the scheme who provide FXP service
1827
+ * @description The HTTP request `GET /services/FXP` is used to request information about the participants in a scheme who offer currency conversion services.
1828
+ */
1829
+ ServicesFXPGet: {
1830
+ responses: {
1831
+ 200: components["responses"]["servicesFXPSucess"];
1832
+ 400: components["responses"]["400"];
1833
+ 500: components["responses"]["500"];
1834
+ };
1835
+ };
1836
+ /**
1837
+ * Obtain a list of the DFSPs in the scheme who provide FXP service
1838
+ * @description The HTTP request `GET /services/FXP/{SourceCurrency}/{TargetCurrency}` is used to request information about the participants in a scheme who offer currency conversion services in a particular currency corridor. The required corridor is specified by giving the ISO 4217 currency code for the SourceCurrency and the TargetCurrency.
1839
+ */
1840
+ ServicesFXPSourceCurrencyTargetCurrencyGet: {
1841
+ parameters: {
1842
+ path: {
1843
+ SourceCurrency: components["parameters"]["SourceCurrency"];
1844
+ TargetCurrency: components["parameters"]["TargetCurrency"];
1845
+ };
1846
+ };
1847
+ responses: {
1848
+ 200: components["responses"]["servicesFXPSucess"];
1849
+ 400: components["responses"]["400"];
1850
+ 500: components["responses"]["500"];
1851
+ };
1852
+ };
1853
+ /**
1854
+ * Calculate FX quote
1855
+ * @description The HTTP request `POST /fxQuotes` is used to ask to provide a quotation for a currency conversion.
1856
+ */
1857
+ FxQuotesPost: {
1858
+ /** @description Details of the FX quote request. */
1859
+ requestBody: {
1860
+ content: {
1861
+ "application/json": components["schemas"]["FxQuotesPostOutboundRequest"];
1862
+ };
1863
+ };
1864
+ responses: {
1865
+ /** @description Successful response. */
1866
+ 200: {
1867
+ content: {
1868
+ "application/json": components["schemas"]["FxQuotesPostOutboundResponse"];
1869
+ };
1870
+ };
1871
+ 400: components["responses"]["400"];
1872
+ 500: components["responses"]["500"];
1873
+ };
1874
+ };
1875
+ /**
1876
+ * Perform FX transfer
1877
+ * @description The HTTP request `POST /fxTransfers` is used to ask to confirm the execution of an agreed currency conversion.
1878
+ */
1879
+ FxTransfersPost: {
1880
+ /** @description Details of the FX transfer request. */
1881
+ requestBody: {
1882
+ content: {
1883
+ "application/json": components["schemas"]["FxTransfersPostOutboundRequest"];
1884
+ };
1885
+ };
1886
+ responses: {
1887
+ /** @description Successful response. */
1888
+ 200: {
1889
+ content: {
1890
+ "application/json": components["schemas"]["FxTransfersPostOutboundResponse"];
1891
+ };
1892
+ };
1893
+ 400: components["responses"]["400"];
1894
+ 500: components["responses"]["500"];
1895
+ };
1896
+ };
1897
+ }