@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,7 @@
1
+ type: object
2
+ description: Data model for the 'individualTransfer' while accepting party or quote.
3
+ properties:
4
+ transferId:
5
+ $ref: ./CorrelationId.yaml
6
+ required:
7
+ - transferId
@@ -0,0 +1,38 @@
1
+ type: object
2
+ required:
3
+ - homeTransactionId
4
+ properties:
5
+ transferId:
6
+ $ref: ./CorrelationId.yaml
7
+ homeTransactionId:
8
+ type: string
9
+ description: >-
10
+ Transaction ID from the DFSP backend, used to reconcile transactions
11
+ between the Switch and DFSP backend systems.
12
+ transactionId:
13
+ $ref: ./CorrelationId.yaml
14
+ to:
15
+ $ref: ./Party.yaml
16
+ reference:
17
+ description: Payer Loan reference
18
+ type: string
19
+ amountType:
20
+ $ref: ./AmountType.yaml
21
+ currency:
22
+ $ref: ./Currency.yaml
23
+ amount:
24
+ $ref: ./Amount.yaml
25
+ note:
26
+ $ref: ./Note.yaml
27
+ quoteId:
28
+ $ref: ./CorrelationId.yaml
29
+ quoteResponse:
30
+ $ref: ./individualQuoteResult.yaml
31
+ fulfil:
32
+ $ref: ./individualTransferResult.yaml
33
+ quoteExtensions:
34
+ $ref: ./ExtensionList.yaml
35
+ transferExtensions:
36
+ $ref: ./ExtensionList.yaml
37
+ lastError:
38
+ $ref: ./transferError.yaml
@@ -0,0 +1,35 @@
1
+ type: object
2
+ required:
3
+ - autoAcceptParty
4
+ - autoAcceptQuote
5
+ - bulkExpiration
6
+ properties:
7
+ onlyValidateParty:
8
+ description: >-
9
+ Set to true if only party validation is required. This means the quotes
10
+ and transfers will not run. This is useful for only party resolution.
11
+ type: boolean
12
+ autoAcceptParty:
13
+ $ref: ./autoAcceptPartyOption.yaml
14
+ autoAcceptQuote:
15
+ description: >-
16
+ Set to true if the quote response is accepted without confirmation from
17
+ the payer. The fees applied by the payee will be acceptable to the payer
18
+ abiding by the limits set by optional 'perTransferFeeLimits' array.
19
+ type: object
20
+ oneOf:
21
+ - $ref: ./autoAcceptQuote.yaml
22
+ skipPartyLookup:
23
+ description: >-
24
+ Set to true if supplying an FSPID for the payee party and no party
25
+ resolution is needed. This may be useful if a previous party resolution
26
+ has been performed.
27
+ type: boolean
28
+ synchronous:
29
+ description: >-
30
+ Set to true if the bulkTransfer requests need be handled synchronous.
31
+ Otherwise the requests will be handled asynchronously, meaning there will
32
+ be callbacks whenever the processing is done
33
+ type: boolean
34
+ bulkExpiration:
35
+ $ref: ./DateTime.yaml
@@ -0,0 +1,27 @@
1
+ type: object
2
+ required:
3
+ - bulkTransactionId
4
+ - bulkHomeTransactionID
5
+ - options
6
+ - from
7
+ - individualTransfers
8
+ properties:
9
+ bulkHomeTransactionID:
10
+ type: string
11
+ description: >-
12
+ Transaction ID from the DFSP backend, used to reconcile transactions
13
+ between the Switch and DFSP backend systems.
14
+ bulkTransactionId:
15
+ $ref: ./CorrelationId.yaml
16
+ options:
17
+ $ref: ./bulkTransactionOptions.yaml
18
+ from:
19
+ $ref: ./Party.yaml
20
+ individualTransfers:
21
+ description: List of individual transfers in a bulk transfer.
22
+ type: array
23
+ minItems: 1
24
+ items:
25
+ $ref: ./bulkTransactionIndividualTransfer.yaml
26
+ extensions:
27
+ $ref: ./ExtensionList.yaml
@@ -0,0 +1,27 @@
1
+ title: BulkTransactionResponse
2
+ type: object
3
+ required:
4
+ - bulkHomeTransactionID
5
+ - bulkTransactionId
6
+ - currentState
7
+ - individualTransferResults
8
+ properties:
9
+ bulkHomeTransactionID:
10
+ type: string
11
+ description: >-
12
+ Transaction ID from the DFSP backend, used to reconcile transactions
13
+ between the Switch and DFSP backend systems.
14
+ bulkTransactionId:
15
+ $ref: ./CorrelationId.yaml
16
+ currentState:
17
+ $ref: ./bulkTransactionStatus.yaml
18
+ options:
19
+ $ref: ./bulkTransactionOptions.yaml
20
+ individualTransferResults:
21
+ description: List of individual transfer result in a bulk transfer response.
22
+ type: array
23
+ minItems: 1
24
+ items:
25
+ $ref: ./bulkTransactionIndividualTransferResult.yaml
26
+ extensions:
27
+ $ref: ./ExtensionList.yaml
@@ -0,0 +1,6 @@
1
+ type: string
2
+ enum:
3
+ - ERROR_OCCURRED
4
+ - WAITING_FOR_PARTY_ACCEPTANCE
5
+ - WAITING_FOR_QUOTE_ACCEPTANCE
6
+ - COMPLETED
@@ -0,0 +1,8 @@
1
+ allOf:
2
+ - $ref: ./errorResponse.yaml
3
+ - type: object
4
+ required:
5
+ - bulkTransferState
6
+ properties:
7
+ bulkTransferState:
8
+ $ref: ./bulkTransferResponse.yaml
@@ -0,0 +1,28 @@
1
+ type: object
2
+ required:
3
+ - bulkTransferId
4
+ - homeTransactionId
5
+ - bulkQuoteId
6
+ - from
7
+ - individualTransfers
8
+ properties:
9
+ homeTransactionId:
10
+ type: string
11
+ description: >-
12
+ Transaction ID from the DFSP backend, used to reconcile transactions
13
+ between the Switch and DFSP backend systems.
14
+ bulkTransferId:
15
+ $ref: ./CorrelationId.yaml
16
+ bulkQuoteId:
17
+ $ref: ./CorrelationId.yaml
18
+ from:
19
+ $ref: ./transferParty.yaml
20
+ individualTransfers:
21
+ description: List of individual transfers in a bulk transfer.
22
+ type: array
23
+ minItems: 1
24
+ maxItems: 1000
25
+ items:
26
+ $ref: ./individualTransfer.yaml
27
+ extensions:
28
+ $ref: ./ExtensionList.yaml
@@ -0,0 +1,29 @@
1
+ type: object
2
+ required:
3
+ - bulkTransferId
4
+ - individualTransferResults
5
+ - currentState
6
+ properties:
7
+ bulkTransferId:
8
+ $ref: ./CorrelationId.yaml
9
+ bulkQuoteId:
10
+ $ref: ./CorrelationId.yaml
11
+ homeTransactionId:
12
+ type: string
13
+ description: >-
14
+ Transaction ID from the DFSP backend, used to reconcile transactions
15
+ between the Switch and DFSP backend systems.
16
+ bulkTransferState:
17
+ $ref: ./TransferState.yaml
18
+ completedTimestamp:
19
+ $ref: ./DateTime.yaml
20
+ extensionList:
21
+ $ref: ./ExtensionList.yaml
22
+ currentState:
23
+ $ref: ../schemas/bulkTransferStatus.yaml
24
+ individualTransferResults:
25
+ type: array
26
+ maxItems: 1000
27
+ items:
28
+ $ref: ./individualTransferResult.yaml
29
+ description: List of individual transfer result in a bulk transfer response.
@@ -0,0 +1,4 @@
1
+ type: string
2
+ enum:
3
+ - ERROR_OCCURRED
4
+ - COMPLETED
@@ -0,0 +1,8 @@
1
+ allOf:
2
+ - $ref: ./errorResponse.yaml
3
+ - type: object
4
+ required:
5
+ - executionState
6
+ properties:
7
+ executionState:
8
+ $ref: ./accountsResponse.yaml
@@ -0,0 +1,3 @@
1
+ allOf:
2
+ - $ref: ./errorResponse.yaml
3
+ - type: object
@@ -0,0 +1,10 @@
1
+ type: object
2
+ properties:
3
+ statusCode:
4
+ type: string
5
+ description: |
6
+ Backend error code from FSP. Ideally, statusCode is FSPIOP conforming. SDK will use status code to retrieve an FSPIOP error with the same code.
7
+ Otherwise, a suitable generic FSPIOP will be used with the errorResponse in the FSPIOP error message.
8
+ message:
9
+ type: string
10
+ description: Error message text.
@@ -0,0 +1,3 @@
1
+ allOf:
2
+ - $ref: ./errorResponse.yaml
3
+ - type: object
@@ -0,0 +1,8 @@
1
+ allOf:
2
+ - $ref: ./errorResponse.yaml
3
+ - type: object
4
+ required:
5
+ - transferState
6
+ properties:
7
+ transferState:
8
+ $ref: ./transferResponse.yaml
@@ -0,0 +1,5 @@
1
+ type: array
2
+ items:
3
+ $ref: ./Extension.yaml
4
+ minItems: 0
5
+ maxItems: 16
@@ -0,0 +1,11 @@
1
+ title: getPartiesResponse
2
+ type: object
3
+ description: 'The object sent in the GET /parties/{Type}/{ID} callback.'
4
+ properties:
5
+ body:
6
+ $ref: ./Party.yaml
7
+ headers:
8
+ type: object
9
+ required:
10
+ - body
11
+ - headers
@@ -0,0 +1,29 @@
1
+ title: IndividualQuote
2
+ type: object
3
+ description: Data model for the complex type 'individualQuote'.
4
+ properties:
5
+ quoteId:
6
+ $ref: ./CorrelationId.yaml
7
+ to:
8
+ $ref: ./transferParty.yaml
9
+ amountType:
10
+ $ref: ./AmountType.yaml
11
+ currency:
12
+ $ref: ./Currency.yaml
13
+ amount:
14
+ $ref: ./Amount.yaml
15
+ transactionType:
16
+ $ref: ./transferTransactionType.yaml
17
+ subScenario:
18
+ $ref: ./TransactionSubScenario.yaml
19
+ note:
20
+ $ref: ./Note.yaml
21
+ extensions:
22
+ $ref: ./ExtensionList.yaml
23
+ required:
24
+ - quoteId
25
+ - to
26
+ - amountType
27
+ - currency
28
+ - transactionType
29
+ - amount
@@ -0,0 +1,25 @@
1
+ type: object
2
+ properties:
3
+ quoteId:
4
+ $ref: ./CorrelationId.yaml
5
+ transferAmount:
6
+ $ref: ./Money.yaml
7
+ payeeReceiveAmount:
8
+ $ref: ./Money.yaml
9
+ payeeFspFee:
10
+ $ref: ./Money.yaml
11
+ payeeFspCommission:
12
+ $ref: ./Money.yaml
13
+ geoCode:
14
+ $ref: ./GeoCode.yaml
15
+ ilpPacket:
16
+ $ref: ./IlpPacket.yaml
17
+ condition:
18
+ $ref: ./IlpCondition.yaml
19
+ extensionList:
20
+ $ref: ./ExtensionList.yaml
21
+ lastError:
22
+ $ref: ./quoteError.yaml
23
+ required:
24
+ - quoteId
25
+
@@ -0,0 +1,34 @@
1
+ title: IndividualTransfer
2
+ type: object
3
+ description: Data model for the complex type 'individualTransfer'.
4
+ properties:
5
+ transferId:
6
+ $ref: ./CorrelationId.yaml
7
+ to:
8
+ $ref: ./transferParty.yaml
9
+ amountType:
10
+ $ref: ./AmountType.yaml
11
+ currency:
12
+ $ref: ./Currency.yaml
13
+ amount:
14
+ $ref: ./Amount.yaml
15
+ transactionType:
16
+ $ref: ./transferTransactionType.yaml
17
+ subScenario:
18
+ $ref: ./TransactionSubScenario.yaml
19
+ ilpPacket:
20
+ $ref: ./IlpPacket.yaml
21
+ condition:
22
+ $ref: ./IlpCondition.yaml
23
+ note:
24
+ $ref: ./Note.yaml
25
+ extensions:
26
+ $ref: ./ExtensionList.yaml
27
+ required:
28
+ - transferId
29
+ - to
30
+ - amountType
31
+ - currency
32
+ - amount
33
+ - ilpPacket
34
+ - condition
@@ -0,0 +1,9 @@
1
+ type: object
2
+ description: >-
3
+ A Mojaloop API transfer fulfilment for individual transfers in a bulk
4
+ transfer
5
+ properties:
6
+ fulfilment:
7
+ $ref: ./IlpFulfilment.yaml
8
+ extensionList:
9
+ $ref: ./ExtensionList.yaml
@@ -0,0 +1,14 @@
1
+ type: object
2
+ required:
3
+ - transferId
4
+ properties:
5
+ transferId:
6
+ $ref: ./CorrelationId.yaml
7
+ fulfilment:
8
+ $ref: ./IlpFulfilment.yaml
9
+ extensionList:
10
+ $ref: ./ExtensionList.yaml
11
+ transferState:
12
+ $ref: ./TransferState.yaml
13
+ lastError:
14
+ $ref: ./transferError.yaml
@@ -0,0 +1,4 @@
1
+ type: object
2
+ properties:
3
+ errorInformation:
4
+ $ref: ./ErrorInformation.yaml
@@ -0,0 +1,18 @@
1
+ title: partiesByIdResponse
2
+ type: object
3
+ description: GET /parties/{Type}/{ID} response object
4
+ properties:
5
+ party:
6
+ properties:
7
+ body:
8
+ $ref: ./Party.yaml
9
+ headers:
10
+ type: object
11
+ required:
12
+ - body
13
+ - headers
14
+ currentState:
15
+ $ref: ./async2SyncCurrentState.yaml
16
+ required:
17
+ - party
18
+ - currentState
@@ -0,0 +1,12 @@
1
+ type: object
2
+ description: >-
3
+ This object represents a Mojaloop API error received at any time during the
4
+ party discovery process
5
+ properties:
6
+ httpStatusCode:
7
+ type: integer
8
+ description: >-
9
+ The HTTP status code returned to the caller. This is the same as the
10
+ actual HTTP status code returned with the response.
11
+ mojaloopError:
12
+ $ref: ./mojaloopError.yaml
@@ -0,0 +1,12 @@
1
+ type: object
2
+ description: >-
3
+ This object represents a Mojaloop API error received at any time during the
4
+ quote process
5
+ properties:
6
+ httpStatusCode:
7
+ type: integer
8
+ description: >-
9
+ The HTTP status code returned to the caller. This is the same as the
10
+ actual HTTP status code returned with the response.
11
+ mojaloopError:
12
+ $ref: ./mojaloopError.yaml
@@ -0,0 +1,48 @@
1
+ title: QuotesPostResponse
2
+ type: object
3
+ properties:
4
+ quotes:
5
+ title: QuotesIDPutResponse
6
+ type: object
7
+ description: The object sent in the PUT /quotes/{ID} callback.
8
+ properties:
9
+ body:
10
+ type: object
11
+ properties:
12
+ transferAmount:
13
+ $ref: ./Money.yaml
14
+ payeeReceiveAmount:
15
+ $ref: ./Money.yaml
16
+ payeeFspFee:
17
+ $ref: ./Money.yaml
18
+ payeeFspCommission:
19
+ $ref: ./Money.yaml
20
+ expiration:
21
+ type: string
22
+ description: >-
23
+ Date and time until when the quotation is valid and can be honored
24
+ when used in the subsequent transaction.
25
+ example: '2016-05-24T08:38:08.699-04:00'
26
+ geoCode:
27
+ $ref: ./GeoCode.yaml
28
+ ilpPacket:
29
+ $ref: ./IlpPacket.yaml
30
+ condition:
31
+ $ref: ./IlpCondition.yaml
32
+ extensionList:
33
+ $ref: ./ExtensionList.yaml
34
+ required:
35
+ - transferAmount
36
+ - expiration
37
+ - ilpPacket
38
+ - condition
39
+ headers:
40
+ type: object
41
+ required:
42
+ - body
43
+ - headers
44
+ currentState:
45
+ $ref: ./async2SyncCurrentState.yaml
46
+ required:
47
+ - quotes
48
+ - currentState
@@ -0,0 +1,32 @@
1
+ type: object
2
+ required:
3
+ - homeR2PTransactionId
4
+ - from
5
+ - to
6
+ - amountType
7
+ - currency
8
+ - amount
9
+ - transactionType
10
+ properties:
11
+ homeR2PTransactionId:
12
+ type: string
13
+ description: >-
14
+ Transaction ID from the DFSP backend, used to reconcile transactions
15
+ between the Switch and DFSP backend systems.
16
+ from:
17
+ $ref: ./transferParty.yaml
18
+ to:
19
+ $ref: ./transferParty.yaml
20
+ amountType:
21
+ $ref: ./AmountType.yaml
22
+ currency:
23
+ $ref: ./Currency.yaml
24
+ amount:
25
+ $ref: ./Amount.yaml
26
+ transactionType:
27
+ $ref: ./TransactionScenario.yaml
28
+ subScenario:
29
+ $ref: ./TransactionSubScenario.yaml
30
+ authenticationType:
31
+ $ref: './AuthenticationType.yaml'
32
+
@@ -0,0 +1,35 @@
1
+ type: object
2
+ required:
3
+ - transactionRequestId
4
+ - from
5
+ - to
6
+ - amountType
7
+ - currency
8
+ - amount
9
+ - transactionType
10
+ - currentState
11
+ properties:
12
+ transactionRequestId:
13
+ $ref: ./CorrelationId.yaml
14
+ from:
15
+ $ref: ./transferParty.yaml
16
+ to:
17
+ $ref: ./transferParty.yaml
18
+ amountType:
19
+ $ref: ./AmountType.yaml
20
+ currency:
21
+ $ref: ./Currency.yaml
22
+ amount:
23
+ $ref: ./Amount.yaml
24
+ transactionType:
25
+ $ref: ./TransactionScenario.yaml
26
+ subScenario:
27
+ $ref: ./TransactionSubScenario.yaml
28
+ currentState:
29
+ $ref: ./requestToPayStatus.yaml
30
+ getPartiesResponse:
31
+ $ref: ./getPartiesResponse.yaml
32
+ transactionRequestResponse:
33
+ $ref: ./TransactionRequestResponse.yaml
34
+ lastError:
35
+ $ref: ./transferError.yaml
@@ -0,0 +1,5 @@
1
+ type: string
2
+ enum:
3
+ - ERROR_OCCURRED
4
+ - WAITING_FOR_PARTY_ACCEPTANCE
5
+ - COMPLETED
@@ -0,0 +1,42 @@
1
+ type: object
2
+ required:
3
+ - homeR2PTransactionId
4
+ - transactionRequestId
5
+ - from
6
+ - to
7
+ - amountType
8
+ - currency
9
+ - amount
10
+ - scenario
11
+ - initiator
12
+ - initiatorType
13
+ properties:
14
+ homeR2PTransactionId:
15
+ type: string
16
+ description: >-
17
+ Transaction ID from the DFSP backend, used to reconcile transactions
18
+ between the Switch and DFSP backend systems.
19
+ transactionRequestId:
20
+ $ref: ./CorrelationId.yaml
21
+ from:
22
+ $ref: ./transferParty.yaml
23
+ to:
24
+ $ref: ./transferParty.yaml
25
+ amountType:
26
+ $ref: ./AmountType.yaml
27
+ currency:
28
+ $ref: ./Currency.yaml
29
+ amount:
30
+ $ref: ./Amount.yaml
31
+ scenario:
32
+ $ref: ./TransactionScenario.yaml
33
+ subScenario:
34
+ $ref: ./TransactionSubScenario.yaml
35
+ initiator:
36
+ $ref: ./TransactionInitiator.yaml
37
+ initiatorType:
38
+ $ref: ./TransactionInitiatorType.yaml
39
+ note:
40
+ $ref: ./Note.yaml
41
+ authenticationType:
42
+ $ref: './AuthenticationType.yaml'