@mojaloop/api-snippets 17.3.0 → 17.5.0-snapshot.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 (246) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -0
  3. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +1 -2
  4. package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +1 -1
  5. package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +1 -1
  6. package/docs/index.html +4 -0
  7. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +8 -8
  8. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2519 -0
  9. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +2 -11
  10. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3024 -0
  11. package/docs/thirdparty-openapi3-snippets.yaml +1 -1
  12. package/fspiop/v1_0/openapi3/components/schemas/CorrelationId.yaml +1 -1
  13. package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
  14. package/fspiop/v1_1/openapi3/components/schemas/CorrelationId.yaml +1 -1
  15. package/fspiop/v2_0/openapi3/components/schemas/CorrelationId.yaml +1 -1
  16. package/lib/fspiop/v1_0/openapi.d.ts +0 -1
  17. package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +62 -62
  18. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
  19. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +67 -67
  20. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
  21. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
  22. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
  23. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
  24. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
  25. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
  26. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
  27. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
  28. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
  29. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
  30. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
  31. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
  32. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
  33. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
  34. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
  35. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
  36. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
  37. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
  38. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
  39. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
  40. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
  41. package/package.json +48 -36
  42. package/sdk-bulk.yaml +1 -1
  43. package/sdk-scheme-adapter/v2_0_0/backend/openapi.yaml +6 -6
  44. package/sdk-scheme-adapter/v2_0_0/components/schemas/CorrelationId.yaml +1 -1
  45. package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
  46. package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
  47. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
  48. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
  49. package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
  50. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
  51. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
  52. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
  53. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
  54. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
  55. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
  56. package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
  57. package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
  58. package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
  59. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
  60. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
  61. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
  62. package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
  63. package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
  64. package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
  65. package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
  66. package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
  67. package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
  68. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
  69. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
  70. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
  71. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
  72. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
  73. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
  74. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
  75. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
  76. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
  77. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
  78. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
  79. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
  80. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
  81. package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
  82. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
  83. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
  84. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
  85. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
  86. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
  87. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
  88. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
  89. package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
  90. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
  91. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
  92. package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
  93. package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
  94. package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
  95. package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
  96. package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
  97. package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
  98. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
  99. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
  100. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
  101. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
  102. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
  103. package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
  104. package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
  105. package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
  106. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
  107. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
  108. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
  109. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
  110. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
  111. package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
  112. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
  113. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
  114. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
  115. package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
  116. package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
  117. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
  118. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
  119. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
  120. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
  121. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
  122. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
  123. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
  124. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
  125. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
  126. package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
  127. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
  128. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
  129. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
  130. package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
  131. package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
  132. package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
  133. package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
  134. package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
  135. package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
  136. package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
  137. package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
  138. package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
  139. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
  140. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
  141. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
  142. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
  143. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
  144. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
  145. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
  146. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
  147. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
  148. package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
  149. package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
  150. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
  151. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
  152. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
  153. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
  154. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
  155. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
  156. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
  157. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
  158. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
  159. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
  160. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
  161. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
  162. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
  163. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
  164. package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
  165. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
  166. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
  167. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
  168. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
  169. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
  170. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
  171. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
  172. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
  173. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
  174. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
  175. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
  176. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
  177. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
  178. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
  179. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
  180. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
  181. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
  182. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
  183. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
  184. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
  185. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
  186. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
  187. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
  188. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
  189. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
  190. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
  191. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
  192. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
  193. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
  194. package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
  195. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
  196. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
  197. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
  198. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
  199. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
  200. package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
  201. package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
  202. package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
  203. package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
  204. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
  205. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
  206. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
  207. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
  208. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
  209. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
  210. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
  211. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
  212. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
  213. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
  214. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
  215. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
  216. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
  217. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
  218. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
  219. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
  220. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
  221. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
  222. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
  223. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
  224. package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
  225. package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
  226. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
  227. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
  228. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
  229. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
  230. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
  231. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
  232. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
  233. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
  234. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
  235. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
  236. package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
  237. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
  238. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
  239. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
  240. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
  241. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
  242. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
  243. package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
  244. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
  245. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
  246. package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-namespace */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Schemas = void 0;
5
+ const tslib_1 = require("tslib");
6
+ /** This file is generated by json-schema-generator.js program **/
7
+ const json_schemas_json_1 = tslib_1.__importDefault(require("./json-schemas.json"));
8
+ var Schemas;
9
+ (function (Schemas) {
10
+ Schemas.PartyIdType = json_schemas_json_1.default.PartyIdType;
11
+ Schemas.PartyIdentifier = json_schemas_json_1.default.PartyIdentifier;
12
+ Schemas.PartySubIdOrType = json_schemas_json_1.default.PartySubIdOrType;
13
+ Schemas.Currency = json_schemas_json_1.default.Currency;
14
+ Schemas.accountsRequest = json_schemas_json_1.default.accountsRequest;
15
+ Schemas.CorrelationId = json_schemas_json_1.default.CorrelationId;
16
+ Schemas.errorResponse = json_schemas_json_1.default.errorResponse;
17
+ Schemas.accountCreationStatus = json_schemas_json_1.default.accountCreationStatus;
18
+ Schemas.accountsCreationState = json_schemas_json_1.default.accountsCreationState;
19
+ Schemas.ErrorCode = json_schemas_json_1.default.ErrorCode;
20
+ Schemas.ErrorDescription = json_schemas_json_1.default.ErrorDescription;
21
+ Schemas.ExtensionKey = json_schemas_json_1.default.ExtensionKey;
22
+ Schemas.ExtensionValue = json_schemas_json_1.default.ExtensionValue;
23
+ Schemas.Extension = json_schemas_json_1.default.Extension;
24
+ Schemas.ExtensionList = json_schemas_json_1.default.ExtensionList;
25
+ Schemas.ErrorInformation = json_schemas_json_1.default.ErrorInformation;
26
+ Schemas.mojaloopError = json_schemas_json_1.default.mojaloopError;
27
+ Schemas.transferError = json_schemas_json_1.default.transferError;
28
+ Schemas.accountsResponse = json_schemas_json_1.default.accountsResponse;
29
+ Schemas.errorAccountsResponse = json_schemas_json_1.default.errorAccountsResponse;
30
+ Schemas.TransactionInitiatorType = json_schemas_json_1.default.TransactionInitiatorType;
31
+ Schemas.Name = json_schemas_json_1.default.Name;
32
+ Schemas.FirstName = json_schemas_json_1.default.FirstName;
33
+ Schemas.MiddleName = json_schemas_json_1.default.MiddleName;
34
+ Schemas.LastName = json_schemas_json_1.default.LastName;
35
+ Schemas.DateOfBirth = json_schemas_json_1.default.DateOfBirth;
36
+ Schemas.MerchantClassificationCode = json_schemas_json_1.default.MerchantClassificationCode;
37
+ Schemas.FspId = json_schemas_json_1.default.FspId;
38
+ Schemas.KYCInformation = json_schemas_json_1.default.KYCInformation;
39
+ Schemas.extensionListEmptiable = json_schemas_json_1.default.extensionListEmptiable;
40
+ Schemas.transferParty = json_schemas_json_1.default.transferParty;
41
+ Schemas.AmountType = json_schemas_json_1.default.AmountType;
42
+ Schemas.Amount = json_schemas_json_1.default.Amount;
43
+ Schemas.transferTransactionType = json_schemas_json_1.default.transferTransactionType;
44
+ Schemas.TransactionSubScenario = json_schemas_json_1.default.TransactionSubScenario;
45
+ Schemas.Note = json_schemas_json_1.default.Note;
46
+ Schemas.individualQuote = json_schemas_json_1.default.individualQuote;
47
+ Schemas.bulkQuoteRequest = json_schemas_json_1.default.bulkQuoteRequest;
48
+ Schemas.DateTime = json_schemas_json_1.default.DateTime;
49
+ Schemas.bulkTransferStatus = json_schemas_json_1.default.bulkTransferStatus;
50
+ Schemas.Money = json_schemas_json_1.default.Money;
51
+ Schemas.Latitude = json_schemas_json_1.default.Latitude;
52
+ Schemas.Longitude = json_schemas_json_1.default.Longitude;
53
+ Schemas.GeoCode = json_schemas_json_1.default.GeoCode;
54
+ Schemas.IlpPacket = json_schemas_json_1.default.IlpPacket;
55
+ Schemas.IlpCondition = json_schemas_json_1.default.IlpCondition;
56
+ Schemas.quoteError = json_schemas_json_1.default.quoteError;
57
+ Schemas.individualQuoteResult = json_schemas_json_1.default.individualQuoteResult;
58
+ Schemas.bulkQuoteResponse = json_schemas_json_1.default.bulkQuoteResponse;
59
+ Schemas.bulkQuoteErrorResponse = json_schemas_json_1.default.bulkQuoteErrorResponse;
60
+ Schemas.bulkQuoteStatus = json_schemas_json_1.default.bulkQuoteStatus;
61
+ Schemas.bulkQuoteStatusResponse = json_schemas_json_1.default.bulkQuoteStatusResponse;
62
+ Schemas.autoAcceptPartyOption = json_schemas_json_1.default.autoAcceptPartyOption;
63
+ Schemas.bulkPerTransferFeeLimit = json_schemas_json_1.default.bulkPerTransferFeeLimit;
64
+ Schemas.autoAcceptQuote = json_schemas_json_1.default.autoAcceptQuote;
65
+ Schemas.bulkTransactionOptions = json_schemas_json_1.default.bulkTransactionOptions;
66
+ Schemas.PartyIdInfo = json_schemas_json_1.default.PartyIdInfo;
67
+ Schemas.PartyName = json_schemas_json_1.default.PartyName;
68
+ Schemas.PartyComplexName = json_schemas_json_1.default.PartyComplexName;
69
+ Schemas.PartyPersonalInfo = json_schemas_json_1.default.PartyPersonalInfo;
70
+ Schemas.Party = json_schemas_json_1.default.Party;
71
+ Schemas.bulkTransactionIndividualTransfer = json_schemas_json_1.default.bulkTransactionIndividualTransfer;
72
+ Schemas.bulkTransactionRequest = json_schemas_json_1.default.bulkTransactionRequest;
73
+ Schemas.TransferState = json_schemas_json_1.default.TransferState;
74
+ Schemas.IlpFulfilment = json_schemas_json_1.default.IlpFulfilment;
75
+ Schemas.individualTransferResult = json_schemas_json_1.default.individualTransferResult;
76
+ Schemas.bulkTransferResponse = json_schemas_json_1.default.bulkTransferResponse;
77
+ Schemas.bulkTransferErrorResponse = json_schemas_json_1.default.bulkTransferErrorResponse;
78
+ Schemas.bulkTransactionIndividualTransferAccept = json_schemas_json_1.default.bulkTransactionIndividualTransferAccept;
79
+ Schemas.transferContinuationAcceptParty = json_schemas_json_1.default.transferContinuationAcceptParty;
80
+ Schemas.bulkTransactionContinuationAcceptParty = json_schemas_json_1.default.bulkTransactionContinuationAcceptParty;
81
+ Schemas.transferContinuationAcceptQuote = json_schemas_json_1.default.transferContinuationAcceptQuote;
82
+ Schemas.bulkTransactionContinuationAcceptQuote = json_schemas_json_1.default.bulkTransactionContinuationAcceptQuote;
83
+ Schemas.partyError = json_schemas_json_1.default.partyError;
84
+ Schemas.bulkTransactionAcceptPartyErrorResponse = json_schemas_json_1.default.bulkTransactionAcceptPartyErrorResponse;
85
+ Schemas.bulkTransactionAcceptQuoteErrorResponse = json_schemas_json_1.default.bulkTransactionAcceptQuoteErrorResponse;
86
+ Schemas.individualTransfer = json_schemas_json_1.default.individualTransfer;
87
+ Schemas.bulkTransferRequest = json_schemas_json_1.default.bulkTransferRequest;
88
+ Schemas.individualTransferFulfilment = json_schemas_json_1.default.individualTransferFulfilment;
89
+ Schemas.bulkTransferStatusResponse = json_schemas_json_1.default.bulkTransferStatusResponse;
90
+ Schemas.async2SyncCurrentState = json_schemas_json_1.default.async2SyncCurrentState;
91
+ Schemas.partiesByIdResponse = json_schemas_json_1.default.partiesByIdResponse;
92
+ Schemas.TransactionScenario = json_schemas_json_1.default.TransactionScenario;
93
+ Schemas.TransactionInitiator = json_schemas_json_1.default.TransactionInitiator;
94
+ Schemas.RefundReason = json_schemas_json_1.default.RefundReason;
95
+ Schemas.Refund = json_schemas_json_1.default.Refund;
96
+ Schemas.BalanceOfPayments = json_schemas_json_1.default.BalanceOfPayments;
97
+ Schemas.TransactionType = json_schemas_json_1.default.TransactionType;
98
+ Schemas.CurrencyConverter = json_schemas_json_1.default.CurrencyConverter;
99
+ Schemas.FxRate = json_schemas_json_1.default.FxRate;
100
+ Schemas.QuotesPostRequest = json_schemas_json_1.default.QuotesPostRequest;
101
+ Schemas.simpleQuotesPostRequest = json_schemas_json_1.default.simpleQuotesPostRequest;
102
+ Schemas.quotesPostResponse = json_schemas_json_1.default.quotesPostResponse;
103
+ Schemas.errorQuotesResponse = json_schemas_json_1.default.errorQuotesResponse;
104
+ Schemas.AuthenticationType = json_schemas_json_1.default.AuthenticationType;
105
+ Schemas.requestToPayRequest = json_schemas_json_1.default.requestToPayRequest;
106
+ Schemas.requestToPayStatus = json_schemas_json_1.default.requestToPayStatus;
107
+ Schemas.getPartiesResponse = json_schemas_json_1.default.getPartiesResponse;
108
+ Schemas.TransactionRequestState = json_schemas_json_1.default.TransactionRequestState;
109
+ Schemas.TransactionRequestResponse = json_schemas_json_1.default.TransactionRequestResponse;
110
+ Schemas.requestToPayResponse = json_schemas_json_1.default.requestToPayResponse;
111
+ Schemas.transferStatus = json_schemas_json_1.default.transferStatus;
112
+ Schemas.QuotesIDPutResponse = json_schemas_json_1.default.QuotesIDPutResponse;
113
+ Schemas.FxMoney = json_schemas_json_1.default.FxMoney;
114
+ Schemas.FxCharge = json_schemas_json_1.default.FxCharge;
115
+ Schemas.FxConversion = json_schemas_json_1.default.FxConversion;
116
+ Schemas.FxQuotesPostOutboundResponse = json_schemas_json_1.default.FxQuotesPostOutboundResponse;
117
+ Schemas.TransfersIDPutResponse = json_schemas_json_1.default.TransfersIDPutResponse;
118
+ Schemas.transferResponse = json_schemas_json_1.default.transferResponse;
119
+ Schemas.errorTransferResponse = json_schemas_json_1.default.errorTransferResponse;
120
+ Schemas.requestToPayTransferRequest = json_schemas_json_1.default.requestToPayTransferRequest;
121
+ Schemas.AuthenticationValue = json_schemas_json_1.default.AuthenticationValue;
122
+ Schemas.AuthenticationInfo = json_schemas_json_1.default.AuthenticationInfo;
123
+ Schemas.AuthorizationResponseType = json_schemas_json_1.default.AuthorizationResponseType;
124
+ Schemas.AuthorizationIDPutResponse = json_schemas_json_1.default.AuthorizationIDPutResponse;
125
+ Schemas.requestToPayTransferResponse = json_schemas_json_1.default.requestToPayTransferResponse;
126
+ Schemas.transferContinuationAcceptOTP = json_schemas_json_1.default.transferContinuationAcceptOTP;
127
+ Schemas.TransfersPostRequest = json_schemas_json_1.default.TransfersPostRequest;
128
+ Schemas.simpleTransfersPostRequest = json_schemas_json_1.default.simpleTransfersPostRequest;
129
+ Schemas.simpleTransfersPostResponse = json_schemas_json_1.default.simpleTransfersPostResponse;
130
+ Schemas.errorSimpleTransfersResponse = json_schemas_json_1.default.errorSimpleTransfersResponse;
131
+ Schemas.transferRequest = json_schemas_json_1.default.transferRequest;
132
+ Schemas.transferStatusResponse = json_schemas_json_1.default.transferStatusResponse;
133
+ Schemas.transferContinuationAcceptConversion = json_schemas_json_1.default.transferContinuationAcceptConversion;
134
+ Schemas.ServicesFXPPutResponse = json_schemas_json_1.default.ServicesFXPPutResponse;
135
+ Schemas.FxQuotesPostOutboundRequest = json_schemas_json_1.default.FxQuotesPostOutboundRequest;
136
+ Schemas.commitRequestId = json_schemas_json_1.default.commitRequestId;
137
+ Schemas.determiningTransferId = json_schemas_json_1.default.determiningTransferId;
138
+ Schemas.initiatingFsp = json_schemas_json_1.default.initiatingFsp;
139
+ Schemas.counterPartyFsp = json_schemas_json_1.default.counterPartyFsp;
140
+ Schemas.sourceAmount = json_schemas_json_1.default.sourceAmount;
141
+ Schemas.targetAmount = json_schemas_json_1.default.targetAmount;
142
+ Schemas.condition = json_schemas_json_1.default.condition;
143
+ Schemas.FxTransfersPostOutboundRequest = json_schemas_json_1.default.FxTransfersPostOutboundRequest;
144
+ Schemas.fulfilment = json_schemas_json_1.default.fulfilment;
145
+ Schemas.completedTimestamp = json_schemas_json_1.default.completedTimestamp;
146
+ Schemas.conversionState = json_schemas_json_1.default.conversionState;
147
+ Schemas.FxTransfersPostOutboundResponse = json_schemas_json_1.default.FxTransfersPostOutboundResponse;
148
+ })(Schemas || (exports.Schemas = Schemas = {}));
149
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_1_0/outbound/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,CA2IvB;AA3ID,WAAiB,OAAO;IACT,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,gBAAQ,GAAG,2BAAW,CAAC,QAAQ,CAAA;IAC/B,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,oBAAY,GAAG,2BAAW,CAAC,YAAY,CAAA;IACvC,sBAAc,GAAG,2BAAW,CAAC,cAAc,CAAA;IAC3C,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,gCAAwB,GAAG,2BAAW,CAAC,wBAAwB,CAAA;I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A2B,GAAG,2BAAW,CAAC,2BAA2B,CAAA;IACrE,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,oBAAY,GAAG,2BAAW,CAAC,YAAY,CAAA;IACvC,oBAAY,GAAG,2BAAW,CAAC,YAAY,CAAA;IACvC,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,sCAA8B,GAAG,2BAAW,CAAC,8BAA8B,CAAA;IAC3E,kBAAU,GAAG,2BAAW,CAAC,UAAU,CAAA;IACnC,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,uCAA+B,GAAG,2BAAW,CAAC,+BAA+B,CAAA;AAC5F,CAAC,EA3IgB,OAAO,uBAAP,OAAO,QA2IvB"}
@@ -0,0 +1,142 @@
1
+ /** This file is generated by json-schema-generator.js program **/
2
+ import { components } from './openapi';
3
+ export declare namespace Types {
4
+ type PartyIdType = components['schemas']['PartyIdType'];
5
+ type PartyIdentifier = components['schemas']['PartyIdentifier'];
6
+ type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
7
+ type Currency = components['schemas']['Currency'];
8
+ type accountsRequest = components['schemas']['accountsRequest'];
9
+ type CorrelationId = components['schemas']['CorrelationId'];
10
+ type errorResponse = components['schemas']['errorResponse'];
11
+ type accountCreationStatus = components['schemas']['accountCreationStatus'];
12
+ type accountsCreationState = components['schemas']['accountsCreationState'];
13
+ type ErrorCode = components['schemas']['ErrorCode'];
14
+ type ErrorDescription = components['schemas']['ErrorDescription'];
15
+ type ExtensionKey = components['schemas']['ExtensionKey'];
16
+ type ExtensionValue = components['schemas']['ExtensionValue'];
17
+ type Extension = components['schemas']['Extension'];
18
+ type ExtensionList = components['schemas']['ExtensionList'];
19
+ type ErrorInformation = components['schemas']['ErrorInformation'];
20
+ type mojaloopError = components['schemas']['mojaloopError'];
21
+ type transferError = components['schemas']['transferError'];
22
+ type accountsResponse = components['schemas']['accountsResponse'];
23
+ type errorAccountsResponse = components['schemas']['errorAccountsResponse'];
24
+ type TransactionInitiatorType = components['schemas']['TransactionInitiatorType'];
25
+ type Name = components['schemas']['Name'];
26
+ type FirstName = components['schemas']['FirstName'];
27
+ type MiddleName = components['schemas']['MiddleName'];
28
+ type LastName = components['schemas']['LastName'];
29
+ type DateOfBirth = components['schemas']['DateOfBirth'];
30
+ type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
31
+ type FspId = components['schemas']['FspId'];
32
+ type KYCInformation = components['schemas']['KYCInformation'];
33
+ type extensionListEmptiable = components['schemas']['extensionListEmptiable'];
34
+ type transferParty = components['schemas']['transferParty'];
35
+ type AmountType = components['schemas']['AmountType'];
36
+ type Amount = components['schemas']['Amount'];
37
+ type transferTransactionType = components['schemas']['transferTransactionType'];
38
+ type TransactionSubScenario = components['schemas']['TransactionSubScenario'];
39
+ type Note = components['schemas']['Note'];
40
+ type individualQuote = components['schemas']['individualQuote'];
41
+ type bulkQuoteRequest = components['schemas']['bulkQuoteRequest'];
42
+ type DateTime = components['schemas']['DateTime'];
43
+ type bulkTransferStatus = components['schemas']['bulkTransferStatus'];
44
+ type Money = components['schemas']['Money'];
45
+ type Latitude = components['schemas']['Latitude'];
46
+ type Longitude = components['schemas']['Longitude'];
47
+ type GeoCode = components['schemas']['GeoCode'];
48
+ type IlpPacket = components['schemas']['IlpPacket'];
49
+ type IlpCondition = components['schemas']['IlpCondition'];
50
+ type quoteError = components['schemas']['quoteError'];
51
+ type individualQuoteResult = components['schemas']['individualQuoteResult'];
52
+ type bulkQuoteResponse = components['schemas']['bulkQuoteResponse'];
53
+ type bulkQuoteErrorResponse = components['schemas']['bulkQuoteErrorResponse'];
54
+ type bulkQuoteStatus = components['schemas']['bulkQuoteStatus'];
55
+ type bulkQuoteStatusResponse = components['schemas']['bulkQuoteStatusResponse'];
56
+ type autoAcceptPartyOption = components['schemas']['autoAcceptPartyOption'];
57
+ type bulkPerTransferFeeLimit = components['schemas']['bulkPerTransferFeeLimit'];
58
+ type autoAcceptQuote = components['schemas']['autoAcceptQuote'];
59
+ type bulkTransactionOptions = components['schemas']['bulkTransactionOptions'];
60
+ type PartyIdInfo = components['schemas']['PartyIdInfo'];
61
+ type PartyName = components['schemas']['PartyName'];
62
+ type PartyComplexName = components['schemas']['PartyComplexName'];
63
+ type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
64
+ type Party = components['schemas']['Party'];
65
+ type bulkTransactionIndividualTransfer = components['schemas']['bulkTransactionIndividualTransfer'];
66
+ type bulkTransactionRequest = components['schemas']['bulkTransactionRequest'];
67
+ type TransferState = components['schemas']['TransferState'];
68
+ type IlpFulfilment = components['schemas']['IlpFulfilment'];
69
+ type individualTransferResult = components['schemas']['individualTransferResult'];
70
+ type bulkTransferResponse = components['schemas']['bulkTransferResponse'];
71
+ type bulkTransferErrorResponse = components['schemas']['bulkTransferErrorResponse'];
72
+ type bulkTransactionIndividualTransferAccept = components['schemas']['bulkTransactionIndividualTransferAccept'];
73
+ type transferContinuationAcceptParty = components['schemas']['transferContinuationAcceptParty'];
74
+ type bulkTransactionContinuationAcceptParty = components['schemas']['bulkTransactionContinuationAcceptParty'];
75
+ type transferContinuationAcceptQuote = components['schemas']['transferContinuationAcceptQuote'];
76
+ type bulkTransactionContinuationAcceptQuote = components['schemas']['bulkTransactionContinuationAcceptQuote'];
77
+ type partyError = components['schemas']['partyError'];
78
+ type bulkTransactionAcceptPartyErrorResponse = components['schemas']['bulkTransactionAcceptPartyErrorResponse'];
79
+ type bulkTransactionAcceptQuoteErrorResponse = components['schemas']['bulkTransactionAcceptQuoteErrorResponse'];
80
+ type individualTransfer = components['schemas']['individualTransfer'];
81
+ type bulkTransferRequest = components['schemas']['bulkTransferRequest'];
82
+ type individualTransferFulfilment = components['schemas']['individualTransferFulfilment'];
83
+ type bulkTransferStatusResponse = components['schemas']['bulkTransferStatusResponse'];
84
+ type async2SyncCurrentState = components['schemas']['async2SyncCurrentState'];
85
+ type partiesByIdResponse = components['schemas']['partiesByIdResponse'];
86
+ type TransactionScenario = components['schemas']['TransactionScenario'];
87
+ type TransactionInitiator = components['schemas']['TransactionInitiator'];
88
+ type RefundReason = components['schemas']['RefundReason'];
89
+ type Refund = components['schemas']['Refund'];
90
+ type BalanceOfPayments = components['schemas']['BalanceOfPayments'];
91
+ type TransactionType = components['schemas']['TransactionType'];
92
+ type CurrencyConverter = components['schemas']['CurrencyConverter'];
93
+ type FxRate = components['schemas']['FxRate'];
94
+ type QuotesPostRequest = components['schemas']['QuotesPostRequest'];
95
+ type simpleQuotesPostRequest = components['schemas']['simpleQuotesPostRequest'];
96
+ type quotesPostResponse = components['schemas']['quotesPostResponse'];
97
+ type errorQuotesResponse = components['schemas']['errorQuotesResponse'];
98
+ type AuthenticationType = components['schemas']['AuthenticationType'];
99
+ type requestToPayRequest = components['schemas']['requestToPayRequest'];
100
+ type requestToPayStatus = components['schemas']['requestToPayStatus'];
101
+ type getPartiesResponse = components['schemas']['getPartiesResponse'];
102
+ type TransactionRequestState = components['schemas']['TransactionRequestState'];
103
+ type TransactionRequestResponse = components['schemas']['TransactionRequestResponse'];
104
+ type requestToPayResponse = components['schemas']['requestToPayResponse'];
105
+ type transferStatus = components['schemas']['transferStatus'];
106
+ type QuotesIDPutResponse = components['schemas']['QuotesIDPutResponse'];
107
+ type FxMoney = components['schemas']['FxMoney'];
108
+ type FxCharge = components['schemas']['FxCharge'];
109
+ type FxConversion = components['schemas']['FxConversion'];
110
+ type FxQuotesPostOutboundResponse = components['schemas']['FxQuotesPostOutboundResponse'];
111
+ type TransfersIDPutResponse = components['schemas']['TransfersIDPutResponse'];
112
+ type transferResponse = components['schemas']['transferResponse'];
113
+ type errorTransferResponse = components['schemas']['errorTransferResponse'];
114
+ type requestToPayTransferRequest = components['schemas']['requestToPayTransferRequest'];
115
+ type AuthenticationValue = components['schemas']['AuthenticationValue'];
116
+ type AuthenticationInfo = components['schemas']['AuthenticationInfo'];
117
+ type AuthorizationResponseType = components['schemas']['AuthorizationResponseType'];
118
+ type AuthorizationIDPutResponse = components['schemas']['AuthorizationIDPutResponse'];
119
+ type requestToPayTransferResponse = components['schemas']['requestToPayTransferResponse'];
120
+ type transferContinuationAcceptOTP = components['schemas']['transferContinuationAcceptOTP'];
121
+ type TransfersPostRequest = components['schemas']['TransfersPostRequest'];
122
+ type simpleTransfersPostRequest = components['schemas']['simpleTransfersPostRequest'];
123
+ type simpleTransfersPostResponse = components['schemas']['simpleTransfersPostResponse'];
124
+ type errorSimpleTransfersResponse = components['schemas']['errorSimpleTransfersResponse'];
125
+ type transferRequest = components['schemas']['transferRequest'];
126
+ type transferStatusResponse = components['schemas']['transferStatusResponse'];
127
+ type transferContinuationAcceptConversion = components['schemas']['transferContinuationAcceptConversion'];
128
+ type ServicesFXPPutResponse = components['schemas']['ServicesFXPPutResponse'];
129
+ type FxQuotesPostOutboundRequest = components['schemas']['FxQuotesPostOutboundRequest'];
130
+ type commitRequestId = components['schemas']['commitRequestId'];
131
+ type determiningTransferId = components['schemas']['determiningTransferId'];
132
+ type initiatingFsp = components['schemas']['initiatingFsp'];
133
+ type counterPartyFsp = components['schemas']['counterPartyFsp'];
134
+ type sourceAmount = components['schemas']['sourceAmount'];
135
+ type targetAmount = components['schemas']['targetAmount'];
136
+ type condition = components['schemas']['condition'];
137
+ type FxTransfersPostOutboundRequest = components['schemas']['FxTransfersPostOutboundRequest'];
138
+ type fulfilment = components['schemas']['fulfilment'];
139
+ type completedTimestamp = components['schemas']['completedTimestamp'];
140
+ type conversionState = components['schemas']['conversionState'];
141
+ type FxTransfersPostOutboundResponse = components['schemas']['FxTransfersPostOutboundResponse'];
142
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-namespace */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_1_0/outbound/types.ts"],"names":[],"mappings":";AAAA,oDAAoD"}
package/package.json CHANGED
@@ -1,33 +1,43 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.3.0",
3
+ "version": "17.5.0-snapshot.0",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "scripts": {
8
8
  "audit:fix": "npm audit fix",
9
9
  "audit:check": "npx audit-ci --config ./audit-ci.jsonc",
10
- "build": "npm run build:openapi; npm run build:dto; npm run build:schemas; tsc -p ./tsconfig.build.json",
11
- "build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:v2.0; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter;",
12
- "build:schemas": "npm run build:schemas:sdk-scheme-adapter:backend; npm run build:schemas:sdk-scheme-adapter:outbound;",
10
+ "build": "npm run build:openapi; npm run build:dto; npm run build:schemas:v2.0.0; npm run build:schemas:v2.1.0; tsc -p ./tsconfig.build.json",
11
+ "build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:v2.0; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter:v2.0.0; npm run build:dto:sdk-scheme-adapter:v2.1.0;",
12
+ "build:schemas:v2.0.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.0.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.0.0;",
13
+ "build:schemas:v2.1.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.1.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.1.0;",
13
14
  "build:dto:v1.0": "openapi-typescript docs/fspiop-rest-v1.0-openapi3-snippets.yaml --output src/fspiop/v1_0/openapi.ts",
14
15
  "build:dto:v1.1": "openapi-typescript docs/fspiop-rest-v1.1-openapi3-snippets.yaml --output src/fspiop/v1_1/openapi.ts",
15
16
  "build:dto:v2.0": "openapi-typescript docs/fspiop-rest-v2.0-openapi3-snippets.yaml --output src/fspiop/v2_0/openapi.ts",
16
17
  "build:dto:thirdparty": "openapi-typescript docs/thirdparty-openapi3-snippets.yaml --output src/thirdparty/openapi.ts",
17
- "build:dto:sdk-scheme-adapter": "npm run build:dto:sdk-scheme-adapter:backend; npm run build:dto:sdk-scheme-adapter:outbound;",
18
- "build:dto:sdk-scheme-adapter:backend": "openapi-typescript docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/backend/openapi.ts",
19
- "build:dto:sdk-scheme-adapter:outbound": "openapi-typescript docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/outbound/openapi.ts",
20
- "build:openapi": "npm run build:v1.0; npm run build:v1.1; npm run build:refactor:fspiop:v1.1; npm run build:v2.0; npm run build:refactor:fspiop:v2.0; npm run build:thirdparty; npm run build:sdk-scheme-adapter:backend; npm run build:sdk-scheme-adapter:outbound;",
18
+ "build:dto:sdk-scheme-adapter:v2.0.0": "npm run build:dto:sdk-scheme-adapter:backend:v2.0.0; npm run build:dto:sdk-scheme-adapter:outbound:v2.0.0;",
19
+ "build:dto:sdk-scheme-adapter:v2.1.0": "npm run build:dto:sdk-scheme-adapter:backend:v2.1.0; npm run build:dto:sdk-scheme-adapter:outbound:v2.1.0;",
20
+ "build:dto:sdk-scheme-adapter:backend:v2.0.0": "openapi-typescript docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/backend/openapi.ts",
21
+ "build:dto:sdk-scheme-adapter:outbound:v2.0.0": "openapi-typescript docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/outbound/openapi.ts",
22
+ "build:dto:sdk-scheme-adapter:backend:v2.1.0": "openapi-typescript docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_1_0/backend/openapi.ts",
23
+ "build:dto:sdk-scheme-adapter:outbound:v2.1.0": "openapi-typescript docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_1_0/outbound/openapi.ts",
24
+ "build:openapi": "npm run build:v1.0; npm run build:v1.1; npm run build:refactor:fspiop:v1.1; npm run build:v2.0; npm run build:refactor:fspiop:v2.0; npm run build:thirdparty; npm run build:sdk-scheme-adapter:v2.0.0; npm run build:sdk-scheme-adapter:v2.1.0;",
21
25
  "build:v1.0": "openapi bundle --output docs/fspiop-rest-v1.0-openapi3-snippets.yaml --ext yaml fspiop/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.0-openapi3-snippets.yaml",
22
26
  "build:v1.1": "openapi bundle --output docs/fspiop-rest-v1.1-openapi3-snippets.yaml --ext yaml fspiop/v1_1/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.1-openapi3-snippets.yaml",
23
27
  "build:v2.0": "openapi bundle --output docs/fspiop-rest-v2.0-openapi3-snippets.yaml --ext yaml fspiop/v2_0/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v2.0-openapi3-snippets.yaml",
24
28
  "build:thirdparty": "openapi bundle --output docs/thirdparty-openapi3-snippets.yaml --ext yaml thirdparty/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/thirdparty-openapi3-snippets.yaml",
25
29
  "build:thirdparty-dfsp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml",
26
30
  "build:thirdparty-pisp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml",
27
- "build:sdk-scheme-adapter:backend": "openapi bundle --output docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml",
28
- "build:sdk-scheme-adapter:outbound": "openapi bundle --output docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml",
29
- "build:schemas:sdk-scheme-adapter:backend": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/backend",
30
- "build:schemas:sdk-scheme-adapter:outbound": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/outbound",
31
+ "build:sdk-scheme-adapter:v2.0.0": "npm run build:sdk-scheme-adapter:backend:v2.0.0; npm run build:sdk-scheme-adapter:outbound:v2.0.0;",
32
+ "build:sdk-scheme-adapter:v2.1.0": "npm run build:sdk-scheme-adapter:backend:v2.1.0; npm run build:sdk-scheme-adapter:outbound:v2.1.0;",
33
+ "build:sdk-scheme-adapter:backend:v2.0.0": "openapi bundle --output docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml",
34
+ "build:sdk-scheme-adapter:outbound:v2.0.0": "openapi bundle --output docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml",
35
+ "build:sdk-scheme-adapter:backend:v2.1.0": "openapi bundle --output docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_1_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml",
36
+ "build:sdk-scheme-adapter:outbound:v2.1.0": "openapi bundle --output docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml",
37
+ "build:schemas:sdk-scheme-adapter:backend:v2.0.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/backend",
38
+ "build:schemas:sdk-scheme-adapter:outbound:v2.0.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/outbound",
39
+ "build:schemas:sdk-scheme-adapter:backend:v2.1.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_1_0/backend",
40
+ "build:schemas:sdk-scheme-adapter:outbound:v2.1.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_1_0/outbound",
31
41
  "build:refactor:fspiop:v1.1": "npx ts-node --transpile-only src/scripts/openapi-refactor.ts docs/fspiop-rest-v1.1-openapi3-snippets.yaml docs/fspiop-rest-v1.1-openapi3-snippets.yaml",
32
42
  "build:refactor:fspiop:v2.0": "npx ts-node --transpile-only src/scripts/openapi-refactor.ts docs/fspiop-rest-v2.0-openapi3-snippets.yaml docs/fspiop-rest-v2.0-openapi3-snippets.yaml",
33
43
  "lint": "eslint --ext ts --ext js test src",
@@ -64,53 +74,55 @@
64
74
  "license": "Apache-2.0",
65
75
  "dependencies": {
66
76
  "@apidevtools/json-schema-ref-parser": "^9.1.2",
67
- "@redocly/openapi-core": "^1.5.0",
68
- "commander": "^11.1.0",
77
+ "@redocly/openapi-core": "^1.14.0",
78
+ "commander": "^12.1.0",
69
79
  "jest-ts-auto-mock": "^2.1.0",
70
80
  "js-yaml": "^4.1.0",
71
81
  "json-refs": "^3.0.15",
72
82
  "openapi-types": "^12.1.3",
73
- "openapi-typescript": "^6.7.2",
74
- "ts-auto-mock": "^3.7.1"
83
+ "openapi-typescript": "^6.7.6",
84
+ "ts-auto-mock": "^3.7.3"
75
85
  },
76
86
  "overrides": {
77
87
  "@types/cacheable-request": "^6.0.2",
78
88
  "@types/responselike": "^1.0.0"
79
89
  },
80
90
  "devDependencies": {
81
- "@commitlint/cli": "^18.4.3",
82
- "@commitlint/config-conventional": "^18.4.3",
83
- "@redocly/cli": "^1.5.0",
84
- "@types/jest": "^29.5.10",
91
+ "@commitlint/cli": "^19.3.0",
92
+ "@commitlint/config-conventional": "^19.2.2",
93
+ "@redocly/openapi-cli": "^1.0.0-beta.94",
94
+ "@redocly/cli": "^1.14.0",
95
+ "@types/jest": "^29.5.12",
85
96
  "@types/js-yaml": "^4.0.9",
86
- "@typescript-eslint/eslint-plugin": "^6.13.2",
87
- "@typescript-eslint/parser": "^6.13.2",
88
- "audit-ci": "^6.6.1",
89
- "browser-sync": "^2.29.3",
90
- "diff": "^5.1.0",
97
+ "@typescript-eslint/eslint-plugin": "^7.11.0",
98
+ "@typescript-eslint/parser": "^7.11.0",
99
+ "audit-ci": "^7.0.0",
100
+ "browser-sync": "^3.0.2",
101
+ "diff": "^5.2.0",
91
102
  "eslint": "^8.55.0",
92
103
  "eslint-config-prettier": "^9.1.0",
93
104
  "eslint-config-standard": "^17.1.0",
94
105
  "eslint-import-resolver-typescript": "^3.6.1",
95
106
  "eslint-plugin-cucumber": "^2.0.0",
96
- "eslint-plugin-import": "^2.29.0",
107
+ "eslint-plugin-import": "^2.29.1",
97
108
  "eslint-plugin-node": "^11.1.0",
98
- "eslint-plugin-prettier": "^5.0.1",
99
- "eslint-plugin-promise": "^6.1.1",
109
+ "eslint-plugin-prettier": "^5.1.3",
110
+ "eslint-plugin-promise": "^6.2.0",
100
111
  "eslint-plugin-standard": "^5.0.0",
101
- "husky": "8.0.3",
112
+ "husky": "9.0.11",
102
113
  "jest": "^29.7.0",
103
114
  "jest-junit": "^16.0.0",
104
- "lint-staged": "^15.2.0",
105
- "npm-check-updates": "^16.14.11",
106
- "prettier": "^3.1.0",
115
+ "json-schema-to-ts": "^3.1.0",
116
+ "lint-staged": "^15.2.5",
117
+ "npm-check-updates": "^16.14.20",
118
+ "prettier": "^3.3.0",
107
119
  "standard-version": "^9.5.0",
108
120
  "swagger-cli": "^4.0.4",
109
- "ts-jest": "^29.1.1",
110
- "ts-node": "^10.9.1",
111
- "ts-patch": "^3.0.2",
121
+ "ts-jest": "^29.1.4",
122
+ "ts-node": "^10.9.2",
123
+ "ts-patch": "^3.1.2",
112
124
  "tslib": "^2.6.2",
113
- "typescript": "^5.3.2"
125
+ "typescript": "^5.4.5"
114
126
  },
115
127
  "publishConfig": {
116
128
  "registry": "https://registry.npmjs.org/"
package/sdk-bulk.yaml CHANGED
@@ -953,7 +953,7 @@ components:
953
953
  title: CorrelationId
954
954
  type: string
955
955
  pattern: >-
956
- ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
956
+ ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
957
957
  description: >-
958
958
  Identifier that correlates all messages of the same sequence. The API
959
959
  data type UUID (Universally Unique Identifier) is a JSON String in
@@ -612,7 +612,7 @@ components:
612
612
  type: string
613
613
  bulkQuoteId:
614
614
  description: A Mojaloop API bulk quote identifier (UUID).
615
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
615
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
616
616
  type: string
617
617
  bulkQuoteRequest:
618
618
  description: A request for a bulk quote.
@@ -658,7 +658,7 @@ components:
658
658
  type: object
659
659
  bulkTransferId:
660
660
  description: A Mojaloop API transfer identifier (UUID).
661
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
661
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
662
662
  type: string
663
663
  bulkTransferRequest:
664
664
  properties:
@@ -1112,7 +1112,7 @@ components:
1112
1112
  type: string
1113
1113
  quoteId:
1114
1114
  description: A Mojaloop API quote identifier (UUID).
1115
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1115
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1116
1116
  type: string
1117
1117
  quoteRequest:
1118
1118
  description: A request for a quote for transfer from the DFSP backend.
@@ -1217,7 +1217,7 @@ components:
1217
1217
  type: string
1218
1218
  transactionId:
1219
1219
  description: ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.
1220
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1220
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1221
1221
  type: string
1222
1222
  transactionRequest:
1223
1223
  description: A request for a pull based transfer.
@@ -1263,7 +1263,7 @@ components:
1263
1263
  type: object
1264
1264
  transactionRequestId:
1265
1265
  description: A Mojaloop API transaction request identifier (UUID).
1266
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1266
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1267
1267
  type: string
1268
1268
  transactionRequestResponse:
1269
1269
  description: A response to a request for a quote.
@@ -1357,7 +1357,7 @@ components:
1357
1357
  type: object
1358
1358
  transferId:
1359
1359
  description: A Mojaloop API transfer identifier (UUID).
1360
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1360
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1361
1361
  type: string
1362
1362
  transferParty:
1363
1363
  properties:
@@ -1,6 +1,6 @@
1
1
  title: CorrelationId
2
2
  type: string
3
- pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
3
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
4
4
  description: >-
5
5
  Identifier that correlates all messages of the same sequence. The API data
6
6
  type UUID (Universally Unique Identifier) is a JSON String in canonical
@@ -4,7 +4,6 @@ description: 'The object sent in the GET /parties/{Type}/{ID} callback.'
4
4
  properties:
5
5
  body:
6
6
  $ref: ./Party.yaml
7
- description: Information regarding the requested Party.
8
7
  headers:
9
8
  type: object
10
9
  required:
@@ -6,7 +6,6 @@ properties:
6
6
  properties:
7
7
  body:
8
8
  $ref: ./Party.yaml
9
- description: Information regarding the requested Party.
10
9
  headers:
11
10
  type: object
12
11
  required:
@@ -32,9 +32,4 @@ properties:
32
32
  transactionRequestResponse:
33
33
  $ref: ./TransactionRequestResponse.yaml
34
34
  lastError:
35
- description: >
36
- Object representing the last error to occur during a transfer process.
37
- This may be a Mojaloop API error returned from another entity in the
38
- scheme or an object representing other types of error e.g. exceptions that
39
- may occur inside the scheme adapter.
40
35
  $ref: ./transferError.yaml
@@ -69,9 +69,4 @@ properties:
69
69
  headers:
70
70
  type: object
71
71
  lastError:
72
- description: >
73
- Object representing the last error to occur during a transfer process.
74
- This may be a Mojaloop API error returned from another entity in the
75
- scheme or an object representing other types of error e.g. exceptions that
76
- may occur inside the scheme adapter.
77
72
  $ref: ./transferError.yaml
@@ -2,7 +2,6 @@ title: simpleQuotesPostRequest
2
2
  type: object
3
3
  properties:
4
4
  fspId:
5
- title: destination DFSP requested to calculate the quote
6
5
  $ref: ./FspId.yaml
7
6
  quotesPostRequest:
8
7
  $ref: ./QuotesPostRequest.yaml
@@ -1,7 +1,8 @@
1
1
  type: object
2
2
  description: >-
3
- This object represents a Mojaloop API error received at any time during the
4
- transfer process
3
+ This may be a Mojaloop API error returned from another entity in the
4
+ scheme or an object representing other types of error e.g. exceptions that
5
+ may occur inside the scheme adapter.
5
6
  properties:
6
7
  httpStatusCode:
7
8
  type: integer
@@ -69,11 +69,6 @@ properties:
69
69
  headers:
70
70
  type: object
71
71
  lastError:
72
- description: >
73
- Object representing the last error to occur during a transfer process.
74
- This may be a Mojaloop API error returned from another entity in the
75
- scheme or an object representing other types of error e.g. exceptions that
76
- may occur inside the scheme adapter.
77
72
  $ref: ./transferError.yaml
78
73
  skipPartyLookup:
79
74
  description: >-