@mojaloop/api-snippets 17.2.4 → 17.3.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 (450) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +13 -1
  3. package/audit-ci.jsonc +1 -0
  4. package/docs/dist/openapi.yaml +2 -2
  5. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +2 -3
  6. package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +4 -4
  7. package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +4855 -0
  8. package/docs/index.html +5 -0
  9. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +3 -2
  10. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2837 -0
  11. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +4 -21
  12. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3451 -0
  13. package/docs/thirdparty-openapi3-snippets.yaml +19 -19
  14. package/fspiop/v1_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
  15. package/fspiop/v1_0/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
  16. package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
  17. package/fspiop/v1_1/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
  18. package/fspiop/v1_1/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
  19. package/fspiop/v1_1/openapi3/openapi.yaml +2 -2
  20. package/fspiop/v2_0/openapi3/components/headers/Content-Length.yaml +9 -0
  21. package/fspiop/v2_0/openapi3/components/headers/Content-Type.yaml +6 -0
  22. package/fspiop/v2_0/openapi3/components/parameters/Accept.yaml +8 -0
  23. package/fspiop/v2_0/openapi3/components/parameters/Content-Length.yaml +11 -0
  24. package/fspiop/v2_0/openapi3/components/parameters/Content-Type.yaml +8 -0
  25. package/fspiop/v2_0/openapi3/components/parameters/Date.yaml +6 -0
  26. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Destination.yaml +13 -0
  27. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Encryption.yaml +8 -0
  28. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +11 -0
  29. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Signature.yaml +8 -0
  30. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Source.yaml +10 -0
  31. package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-URI.yaml +10 -0
  32. package/fspiop/v2_0/openapi3/components/parameters/ID.yaml +6 -0
  33. package/fspiop/v2_0/openapi3/components/parameters/SourceCurrency.yaml +6 -0
  34. package/fspiop/v2_0/openapi3/components/parameters/SubId.yaml +8 -0
  35. package/fspiop/v2_0/openapi3/components/parameters/TargetCurrency.yaml +6 -0
  36. package/fspiop/v2_0/openapi3/components/parameters/Type.yaml +6 -0
  37. package/fspiop/v2_0/openapi3/components/parameters/X-Forwarded-For.yaml +15 -0
  38. package/fspiop/v2_0/openapi3/components/responses/200.yaml +1 -0
  39. package/fspiop/v2_0/openapi3/components/responses/202.yaml +1 -0
  40. package/fspiop/v2_0/openapi3/components/responses/400.yaml +10 -0
  41. package/fspiop/v2_0/openapi3/components/responses/401.yaml +10 -0
  42. package/fspiop/v2_0/openapi3/components/responses/403.yaml +10 -0
  43. package/fspiop/v2_0/openapi3/components/responses/404.yaml +10 -0
  44. package/fspiop/v2_0/openapi3/components/responses/405.yaml +10 -0
  45. package/fspiop/v2_0/openapi3/components/responses/406.yaml +10 -0
  46. package/fspiop/v2_0/openapi3/components/responses/501.yaml +10 -0
  47. package/fspiop/v2_0/openapi3/components/responses/503.yaml +10 -0
  48. package/fspiop/v2_0/openapi3/components/schemas/Amount.yaml +11 -0
  49. package/fspiop/v2_0/openapi3/components/schemas/AmountType.yaml +14 -0
  50. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationInfo.yaml +11 -0
  51. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationType.yaml +12 -0
  52. package/fspiop/v2_0/openapi3/components/schemas/AuthenticationValue.yaml +9 -0
  53. package/fspiop/v2_0/openapi3/components/schemas/AuthorizationResponse.yaml +12 -0
  54. package/fspiop/v2_0/openapi3/components/schemas/AuthorizationsIDPutResponse.yaml +10 -0
  55. package/fspiop/v2_0/openapi3/components/schemas/BalanceOfPayments.yaml +9 -0
  56. package/fspiop/v2_0/openapi3/components/schemas/BinaryString.yaml +7 -0
  57. package/fspiop/v2_0/openapi3/components/schemas/BinaryString32.yaml +7 -0
  58. package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesIDPutResponse.yaml +18 -0
  59. package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +25 -0
  60. package/fspiop/v2_0/openapi3/components/schemas/BulkTransferState.yaml +18 -0
  61. package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersIDPutResponse.yaml +18 -0
  62. package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersPostRequest.yaml +30 -0
  63. package/fspiop/v2_0/openapi3/components/schemas/Code.yaml +5 -0
  64. package/fspiop/v2_0/openapi3/components/schemas/CorrelationId.yaml +10 -0
  65. package/fspiop/v2_0/openapi3/components/schemas/Currency.yaml +174 -0
  66. package/fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml +9 -0
  67. package/fspiop/v2_0/openapi3/components/schemas/Date.yaml +9 -0
  68. package/fspiop/v2_0/openapi3/components/schemas/DateOfBirth.yaml +6 -0
  69. package/fspiop/v2_0/openapi3/components/schemas/DateTime.yaml +14 -0
  70. package/fspiop/v2_0/openapi3/components/schemas/ErrorCode.yaml +11 -0
  71. package/fspiop/v2_0/openapi3/components/schemas/ErrorDescription.yaml +5 -0
  72. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformation.yaml +13 -0
  73. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml +8 -0
  74. package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationResponse.yaml +8 -0
  75. package/fspiop/v2_0/openapi3/components/schemas/Extension.yaml +11 -0
  76. package/fspiop/v2_0/openapi3/components/schemas/ExtensionKey.yaml +5 -0
  77. package/fspiop/v2_0/openapi3/components/schemas/ExtensionList.yaml +15 -0
  78. package/fspiop/v2_0/openapi3/components/schemas/ExtensionValue.yaml +5 -0
  79. package/fspiop/v2_0/openapi3/components/schemas/FirstName.yaml +9 -0
  80. package/fspiop/v2_0/openapi3/components/schemas/FspId.yaml +5 -0
  81. package/fspiop/v2_0/openapi3/components/schemas/FxCharge.yaml +19 -0
  82. package/fspiop/v2_0/openapi3/components/schemas/FxConversion.yaml +57 -0
  83. package/fspiop/v2_0/openapi3/components/schemas/FxMoney.yaml +10 -0
  84. package/fspiop/v2_0/openapi3/components/schemas/FxQuotesIDPutResponse.yaml +15 -0
  85. package/fspiop/v2_0/openapi3/components/schemas/FxQuotesPostRequest.yaml +15 -0
  86. package/fspiop/v2_0/openapi3/components/schemas/FxRate.yaml +15 -0
  87. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPatchResponse.yaml +16 -0
  88. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml +20 -0
  89. package/fspiop/v2_0/openapi3/components/schemas/FxTransfersPostRequest.yaml +41 -0
  90. package/fspiop/v2_0/openapi3/components/schemas/GeoCode.yaml +13 -0
  91. package/fspiop/v2_0/openapi3/components/schemas/IlpCondition.yaml +5 -0
  92. package/fspiop/v2_0/openapi3/components/schemas/IlpFulfilment.yaml +6 -0
  93. package/fspiop/v2_0/openapi3/components/schemas/IlpPacket.yaml +7 -0
  94. package/fspiop/v2_0/openapi3/components/schemas/IndividualQuote.yaml +29 -0
  95. package/fspiop/v2_0/openapi3/components/schemas/IndividualQuoteResult.yaml +26 -0
  96. package/fspiop/v2_0/openapi3/components/schemas/IndividualTransfer.yaml +19 -0
  97. package/fspiop/v2_0/openapi3/components/schemas/IndividualTransferResult.yaml +14 -0
  98. package/fspiop/v2_0/openapi3/components/schemas/Integer.yaml +7 -0
  99. package/fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml +33 -0
  100. package/fspiop/v2_0/openapi3/components/schemas/LastName.yaml +9 -0
  101. package/fspiop/v2_0/openapi3/components/schemas/Latitude.yaml +7 -0
  102. package/fspiop/v2_0/openapi3/components/schemas/Longitude.yaml +8 -0
  103. package/fspiop/v2_0/openapi3/components/schemas/MerchantClassificationCode.yaml +7 -0
  104. package/fspiop/v2_0/openapi3/components/schemas/MiddleName.yaml +9 -0
  105. package/fspiop/v2_0/openapi3/components/schemas/Money.yaml +11 -0
  106. package/fspiop/v2_0/openapi3/components/schemas/Name.yaml +17 -0
  107. package/fspiop/v2_0/openapi3/components/schemas/Note.yaml +6 -0
  108. package/fspiop/v2_0/openapi3/components/schemas/OtpValue.yaml +7 -0
  109. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsIDPutResponse.yaml +17 -0
  110. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsPostRequest.yaml +20 -0
  111. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDPutResponse.yaml +8 -0
  112. package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDSubIDPostRequest.yaml +15 -0
  113. package/fspiop/v2_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +8 -0
  114. package/fspiop/v2_0/openapi3/components/schemas/Party.yaml +21 -0
  115. package/fspiop/v2_0/openapi3/components/schemas/PartyComplexName.yaml +10 -0
  116. package/fspiop/v2_0/openapi3/components/schemas/PartyIdInfo.yaml +19 -0
  117. package/fspiop/v2_0/openapi3/components/schemas/PartyIdType.yaml +54 -0
  118. package/fspiop/v2_0/openapi3/components/schemas/PartyIdentifier.yaml +6 -0
  119. package/fspiop/v2_0/openapi3/components/schemas/PartyName.yaml +5 -0
  120. package/fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml +10 -0
  121. package/fspiop/v2_0/openapi3/components/schemas/PartyResult.yaml +10 -0
  122. package/fspiop/v2_0/openapi3/components/schemas/PartySubIdOrType.yaml +7 -0
  123. package/fspiop/v2_0/openapi3/components/schemas/PersonalIdentifierType.yaml +51 -0
  124. package/fspiop/v2_0/openapi3/components/schemas/QRCODE.yaml +5 -0
  125. package/fspiop/v2_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +27 -0
  126. package/fspiop/v2_0/openapi3/components/schemas/QuotesPostRequest.yaml +53 -0
  127. package/fspiop/v2_0/openapi3/components/schemas/Refund.yaml +10 -0
  128. package/fspiop/v2_0/openapi3/components/schemas/RefundReason.yaml +6 -0
  129. package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPPutResponse.yaml +13 -0
  130. package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPSourceCurrencyTargetCurrencyPutResponse.yaml +13 -0
  131. package/fspiop/v2_0/openapi3/components/schemas/TokenCode.yaml +6 -0
  132. package/fspiop/v2_0/openapi3/components/schemas/Transaction.yaml +50 -0
  133. package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiator.yaml +16 -0
  134. package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiatorType.yaml +14 -0
  135. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestState.yaml +14 -0
  136. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsIDPutResponse.yaml +12 -0
  137. package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsPostRequest.yaml +30 -0
  138. package/fspiop/v2_0/openapi3/components/schemas/TransactionScenario.yaml +32 -0
  139. package/fspiop/v2_0/openapi3/components/schemas/TransactionState.yaml +14 -0
  140. package/fspiop/v2_0/openapi3/components/schemas/TransactionSubScenario.yaml +5 -0
  141. package/fspiop/v2_0/openapi3/components/schemas/TransactionType.yaml +20 -0
  142. package/fspiop/v2_0/openapi3/components/schemas/TransactionsIDPutResponse.yaml +14 -0
  143. package/fspiop/v2_0/openapi3/components/schemas/TransferState.yaml +19 -0
  144. package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPatchResponse.yaml +13 -0
  145. package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPutResponse.yaml +14 -0
  146. package/fspiop/v2_0/openapi3/components/schemas/TransfersPostRequest.yaml +28 -0
  147. package/fspiop/v2_0/openapi3/components/schemas/U2FPIN.yaml +8 -0
  148. package/fspiop/v2_0/openapi3/components/schemas/U2FPinValue.yaml +19 -0
  149. package/fspiop/v2_0/openapi3/components/schemas/UndefinedEnum.yaml +6 -0
  150. package/fspiop/v2_0/openapi3/openapi.yaml +126 -0
  151. package/fspiop/v2_0/openapi3/paths/authorizations_ID.yaml +110 -0
  152. package/fspiop/v2_0/openapi3/paths/authorizations_ID_error.yaml +48 -0
  153. package/fspiop/v2_0/openapi3/paths/bulkQuotes.yaml +46 -0
  154. package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID.yaml +79 -0
  155. package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID_error.yaml +49 -0
  156. package/fspiop/v2_0/openapi3/paths/bulkTransfers.yaml +46 -0
  157. package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID.yaml +81 -0
  158. package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID_error.yaml +49 -0
  159. package/fspiop/v2_0/openapi3/paths/fxQuotes.yaml +45 -0
  160. package/fspiop/v2_0/openapi3/paths/fxQuotes_ID.yaml +79 -0
  161. package/fspiop/v2_0/openapi3/paths/fxQuotes_ID_error.yaml +49 -0
  162. package/fspiop/v2_0/openapi3/paths/fxTransfers.yaml +45 -0
  163. package/fspiop/v2_0/openapi3/paths/fxTransfers_ID.yaml +118 -0
  164. package/fspiop/v2_0/openapi3/paths/fxTransfers_ID_error.yaml +49 -0
  165. package/fspiop/v2_0/openapi3/paths/participants.yaml +49 -0
  166. package/fspiop/v2_0/openapi3/paths/participants_ID.yaml +46 -0
  167. package/fspiop/v2_0/openapi3/paths/participants_ID_error.yaml +48 -0
  168. package/fspiop/v2_0/openapi3/paths/participants_Type_ID.yaml +167 -0
  169. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId.yaml +168 -0
  170. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId_error.yaml +50 -0
  171. package/fspiop/v2_0/openapi3/paths/participants_Type_ID_error.yaml +49 -0
  172. package/fspiop/v2_0/openapi3/paths/parties_Type_ID.yaml +81 -0
  173. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId.yaml +82 -0
  174. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId_error.yaml +50 -0
  175. package/fspiop/v2_0/openapi3/paths/parties_Type_ID_error.yaml +49 -0
  176. package/fspiop/v2_0/openapi3/paths/quotes.yaml +46 -0
  177. package/fspiop/v2_0/openapi3/paths/quotes_ID.yaml +79 -0
  178. package/fspiop/v2_0/openapi3/paths/quotes_ID_error.yaml +49 -0
  179. package/fspiop/v2_0/openapi3/paths/services_FXP.yaml +73 -0
  180. package/fspiop/v2_0/openapi3/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +77 -0
  181. package/fspiop/v2_0/openapi3/paths/transactionRequests.yaml +47 -0
  182. package/fspiop/v2_0/openapi3/paths/transactionRequests_ID.yaml +81 -0
  183. package/fspiop/v2_0/openapi3/paths/transactionRequests_ID_error.yaml +50 -0
  184. package/fspiop/v2_0/openapi3/paths/transactions_ID.yaml +80 -0
  185. package/fspiop/v2_0/openapi3/paths/transactions_ID_error.yaml +48 -0
  186. package/fspiop/v2_0/openapi3/paths/transfers.yaml +46 -0
  187. package/fspiop/v2_0/openapi3/paths/transfers_ID.yaml +119 -0
  188. package/fspiop/v2_0/openapi3/paths/transfers_ID_error.yaml +49 -0
  189. package/lib/fspiop/v1_0/openapi.d.ts +2 -3
  190. package/lib/fspiop/v1_1/openapi.d.ts +2 -2
  191. package/lib/fspiop/v2_0/openapi.d.ts +3982 -0
  192. package/lib/fspiop/v2_0/openapi.js +7 -0
  193. package/lib/fspiop/v2_0/openapi.js.map +1 -0
  194. package/lib/scripts/json-schema-generator.js +4 -5
  195. package/lib/scripts/json-schema-generator.js.map +1 -1
  196. package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
  197. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
  198. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
  199. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
  200. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
  201. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
  202. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
  203. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
  204. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
  205. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
  206. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
  207. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
  208. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
  209. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
  210. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
  211. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
  212. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
  213. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
  214. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
  215. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
  216. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
  217. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
  218. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
  219. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
  220. package/lib/thirdparty/openapi.d.ts +18 -18
  221. package/package.json +45 -30
  222. package/sdk-bulk.yaml +1 -1
  223. package/sdk-outbound-old.yaml +1 -1
  224. package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
  225. package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
  226. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
  227. package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
  228. package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
  229. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
  230. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
  231. package/sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml +1 -1
  232. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
  233. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
  234. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
  235. package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
  236. package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
  237. package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
  238. package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
  239. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
  240. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
  241. package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
  242. package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
  243. package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
  244. package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
  245. package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
  246. package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
  247. package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
  248. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
  249. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
  250. package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
  251. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
  252. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
  253. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
  254. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
  255. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
  256. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
  257. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
  258. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
  259. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
  260. package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
  261. package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
  262. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
  263. package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
  264. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
  265. package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
  266. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
  267. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
  268. package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
  269. package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
  270. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
  271. package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
  272. package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
  273. package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
  274. package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
  275. package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
  276. package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
  277. package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
  278. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
  279. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
  280. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
  281. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
  282. package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
  283. package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
  284. package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
  285. package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
  286. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
  287. package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
  288. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
  289. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
  290. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
  291. package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
  292. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
  293. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
  294. package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
  295. package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
  296. package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
  297. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
  298. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
  299. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
  300. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
  301. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
  302. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
  303. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
  304. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
  305. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
  306. package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
  307. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
  308. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
  309. package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
  310. package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
  311. package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
  312. package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
  313. package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
  314. package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
  315. package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
  316. package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
  317. package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
  318. package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
  319. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
  320. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
  321. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
  322. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
  323. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
  324. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
  325. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
  326. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
  327. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
  328. package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
  329. package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
  330. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
  331. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
  332. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
  333. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
  334. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
  335. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
  336. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
  337. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
  338. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
  339. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
  340. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
  341. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
  342. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
  343. package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
  344. package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
  345. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
  346. package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
  347. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
  348. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
  349. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
  350. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
  351. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
  352. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
  353. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
  354. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
  355. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
  356. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
  357. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
  358. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
  359. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
  360. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
  361. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
  362. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
  363. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
  364. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
  365. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
  366. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
  367. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
  368. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
  369. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
  370. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
  371. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
  372. package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
  373. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
  374. package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
  375. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
  376. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
  377. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
  378. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
  379. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
  380. package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
  381. package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
  382. package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
  383. package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
  384. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
  385. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
  386. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
  387. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
  388. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
  389. package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
  390. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
  391. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
  392. package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
  393. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
  394. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
  395. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
  396. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
  397. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
  398. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
  399. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
  400. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
  401. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
  402. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
  403. package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
  404. package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
  405. package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
  406. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
  407. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
  408. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
  409. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
  410. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
  411. package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
  412. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
  413. package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
  414. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
  415. package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
  416. package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
  417. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
  418. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
  419. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
  420. package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
  421. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
  422. package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
  423. package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
  424. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
  425. package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
  426. package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
  427. package/thirdparty/v1_0/openapi3/components/schemas/Account.yaml +1 -1
  428. package/thirdparty/v1_0/openapi3/components/schemas/AccountAddress.yaml +1 -1
  429. package/thirdparty/v1_0/openapi3/components/schemas/AccountList.yaml +1 -1
  430. package/thirdparty/v1_0/openapi3/components/schemas/AccountsIDPutResponse.yaml +1 -1
  431. package/thirdparty/v1_0/openapi3/components/schemas/AuthenticatorAssertionResponse.yaml +1 -1
  432. package/thirdparty/v1_0/openapi3/components/schemas/AuthenticatorAttestationResponse.yaml +1 -1
  433. package/thirdparty/v1_0/openapi3/components/schemas/ConsentRequestsIDPatchRequest.yaml +1 -1
  434. package/thirdparty/v1_0/openapi3/components/schemas/ConsentRequestsPostRequest.yaml +1 -1
  435. package/thirdparty/v1_0/openapi3/components/schemas/CredentialType.yaml +1 -1
  436. package/thirdparty/v1_0/openapi3/components/schemas/FIDOPublicKeyCredentialAssertion.yaml +1 -1
  437. package/thirdparty/v1_0/openapi3/components/schemas/Scope.yaml +1 -1
  438. package/thirdparty/v1_0/openapi3/components/schemas/ServiceType.yaml +1 -1
  439. package/thirdparty/v1_0/openapi3/components/schemas/ServicesServiceTypePutResponse.yaml +1 -1
  440. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsPostRequest.yaml +1 -1
  441. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPatchResponse.yaml +1 -1
  442. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPutResponse.yaml +1 -1
  443. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsPostRequest.yaml +1 -1
  444. package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsVerificationsIDPutResponse.yaml +1 -1
  445. package/thirdparty/v1_0/openapi3/openapi.yaml +1 -1
  446. package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml +1 -1
  447. package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml +17 -17
  448. package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml +1 -1
  449. package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml +17 -17
  450. package/tsconfig.build.json +1 -1
@@ -0,0 +1,53 @@
1
+ title: QuotesPostRequest
2
+ type: object
3
+ description: The object sent in the POST /quotes request.
4
+ properties:
5
+ quoteId:
6
+ $ref: ./CorrelationId.yaml
7
+ transactionId:
8
+ $ref: ./CorrelationId.yaml
9
+ transactionRequestId:
10
+ $ref: ./CorrelationId.yaml
11
+ payee:
12
+ $ref: ./Party.yaml
13
+ payer:
14
+ $ref: ./Party.yaml
15
+ amountType:
16
+ $ref: ./AmountType.yaml
17
+ amount:
18
+ $ref: ./Money.yaml
19
+ fees:
20
+ $ref: ./Money.yaml
21
+ transactionType:
22
+ $ref: ./TransactionType.yaml
23
+ converter:
24
+ allOf:
25
+ - $ref: ./CurrencyConverter.yaml
26
+ - description: >-
27
+ An optional field which will allow the payer DFSP to specify which DFSP it wants to undertake currency conversion.
28
+ This is useful incase of if the sender wants the recipient to receive a specified amount of the target currency,
29
+ but the payer DFSP does not want to undertake the currency conversion. In this case, the amount of the transfer
30
+ would be expressed in the target currency and the amountType would be set to RECEIVE.
31
+ currencyConversion:
32
+ allOf:
33
+ - $ref: ./FxRate.yaml
34
+ - description: >-
35
+ Used by the debtor party if it wants to share information about the currency conversion it proposes to make; or
36
+ if it is required by scheme rules to share this information. This object contains the amount of the transfer in
37
+ the source and target currencies, but does not identify the FXP being used.
38
+ geoCode:
39
+ $ref: ./GeoCode.yaml
40
+ note:
41
+ $ref: ./Note.yaml
42
+ expiration:
43
+ $ref: ./DateTime.yaml
44
+ extensionList:
45
+ $ref: ./ExtensionList.yaml
46
+ required:
47
+ - quoteId
48
+ - transactionId
49
+ - payee
50
+ - payer
51
+ - amountType
52
+ - amount
53
+ - transactionType
@@ -0,0 +1,10 @@
1
+ title: Refund
2
+ type: object
3
+ description: Data model for the complex type Refund.
4
+ properties:
5
+ originalTransactionId:
6
+ $ref: ./CorrelationId.yaml
7
+ refundReason:
8
+ $ref: ./RefundReason.yaml
9
+ required:
10
+ - originalTransactionId
@@ -0,0 +1,6 @@
1
+ title: RefundReason
2
+ type: string
3
+ minLength: 1
4
+ maxLength: 128
5
+ description: Reason for the refund.
6
+ example: 'Free text indicating reason for the refund.'
@@ -0,0 +1,13 @@
1
+ title: ServicesFXPPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /services/FXP callback.'
4
+ properties:
5
+ providers:
6
+ type: array
7
+ description: The FSP Id(s) of the participant(s) who offer currency conversion services.
8
+ items:
9
+ $ref: ./FspId.yaml
10
+ minItems: 0
11
+ maxItems: 16
12
+ required:
13
+ - providers
@@ -0,0 +1,13 @@
1
+ title: ServicesFXPSourceCurrencyTargetCurrencyPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /services/FXP/{SourceCurrency}/{TargetCurrency} callback.'
4
+ properties:
5
+ providers:
6
+ type: array
7
+ description: The FSP Id(s) of the participant(s) who offer currency conversion services.
8
+ items:
9
+ $ref: ./FspId.yaml
10
+ minItems: 0
11
+ maxItems: 16
12
+ required:
13
+ - providers
@@ -0,0 +1,6 @@
1
+ title: TokenCode
2
+ type: string
3
+ pattern: '^[0-9a-zA-Z]{4,32}$'
4
+ description: >-
5
+ The API data type TokenCode is a JSON String between 4 and 32 characters,
6
+ consisting of digits or upper- or lowercase characters from a to z.
@@ -0,0 +1,50 @@
1
+ title: Transaction
2
+ type: object
3
+ description: >-
4
+ Data model for the complex type Transaction. The Transaction type is used to
5
+ carry end-to-end data between the Payer FSP and the Payee FSP in the ILP
6
+ Packet. Both the transactionId and the quoteId in the data model are decided
7
+ by the Payer FSP in the POST /quotes request.
8
+ properties:
9
+ transactionId:
10
+ $ref: ./CorrelationId.yaml
11
+ quoteId:
12
+ $ref: ./CorrelationId.yaml
13
+ payee:
14
+ $ref: ./Party.yaml
15
+ payer:
16
+ $ref: ./Party.yaml
17
+ amount:
18
+ $ref: ./Money.yaml
19
+ payeeReceiveAmount:
20
+ allOf:
21
+ - $ref: ./Money.yaml
22
+ - description: The amount that the beneficiary will receive.
23
+ converter:
24
+ allOf:
25
+ - $ref: ./CurrencyConverter.yaml
26
+ - description: >-
27
+ An optional field which will allow the payer DFSP to specify which DFSP it wants to undertake currency conversion.
28
+ This is useful incase of if the sender wants the recipient to receive a specified amount of the target currency,
29
+ but the payer DFSP does not want to undertake the currency conversion. In this case, the amount of the transfer
30
+ would be expressed in the target currency and the amountType would be set to RECEIVE.
31
+ currencyConversion:
32
+ allOf:
33
+ - $ref: ./FxRate.yaml
34
+ - description: >-
35
+ Used by the debtor party if it wants to share information about the currency conversion it proposes to make; or
36
+ if it is required by scheme rules to share this information. This object contains the amount of the transfer in
37
+ the source and target currencies, but does not identify the FXP being used.
38
+ transactionType:
39
+ $ref: ./TransactionType.yaml
40
+ note:
41
+ $ref: ./Note.yaml
42
+ extensionList:
43
+ $ref: ./ExtensionList.yaml
44
+ required:
45
+ - transactionId
46
+ - quoteId
47
+ - payee
48
+ - payer
49
+ - amount
50
+ - transactionType
@@ -0,0 +1,16 @@
1
+ title: TransactionInitiator
2
+ type: string
3
+ enum:
4
+ - PAYER
5
+ - PAYEE
6
+ description: >-
7
+ Below are the allowed values for the enumeration.
8
+
9
+ - PAYER - Sender of funds is initiating the transaction. The account to send
10
+ from is either owned by the Payer or is connected to the Payer in some way.
11
+
12
+ - PAYEE - Recipient of the funds is initiating the transaction by sending a
13
+ transaction request. The Payer must approve the transaction, either
14
+ automatically by a pre-generated OTP or by pre-approval of the Payee, or by
15
+ manually approving in his or her own Device.
16
+ example: 'PAYEE'
@@ -0,0 +1,14 @@
1
+ title: TransactionInitiatorType
2
+ type: string
3
+ enum:
4
+ - CONSUMER
5
+ - AGENT
6
+ - BUSINESS
7
+ - DEVICE
8
+ description: |-
9
+ Below are the allowed values for the enumeration.
10
+ - CONSUMER - Consumer is the initiator of the transaction.
11
+ - AGENT - Agent is the initiator of the transaction.
12
+ - BUSINESS - Business is the initiator of the transaction.
13
+ - DEVICE - Device is the initiator of the transaction.
14
+ example: 'CONSUMER'
@@ -0,0 +1,14 @@
1
+ title: TransactionRequestState
2
+ type: string
3
+ enum:
4
+ - RECEIVED
5
+ - PENDING
6
+ - ACCEPTED
7
+ - REJECTED
8
+ description: |-
9
+ Below are the allowed values for the enumeration.
10
+ - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
11
+ - PENDING - Payer FSP has sent the transaction request to the Payer.
12
+ - ACCEPTED - Payer has approved the transaction.
13
+ - REJECTED - Payer has rejected the transaction.
14
+ example: 'RECEIVED'
@@ -0,0 +1,12 @@
1
+ title: TransactionRequestsIDPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /transactionRequests/{ID} callback.'
4
+ properties:
5
+ transactionId:
6
+ $ref: ./CorrelationId.yaml
7
+ transactionRequestState:
8
+ $ref: ./TransactionRequestState.yaml
9
+ extensionList:
10
+ $ref: ./ExtensionList.yaml
11
+ required:
12
+ - transactionRequestState
@@ -0,0 +1,30 @@
1
+ title: TransactionRequestsPostRequest
2
+ type: object
3
+ description: The object sent in the POST /transactionRequests request.
4
+ properties:
5
+ transactionRequestId:
6
+ $ref: ./CorrelationId.yaml
7
+ payee:
8
+ $ref: ./Party.yaml
9
+ payer:
10
+ $ref: ./PartyIdInfo.yaml
11
+ amount:
12
+ $ref: ./Money.yaml
13
+ transactionType:
14
+ $ref: ./TransactionType.yaml
15
+ note:
16
+ $ref: ./Note.yaml
17
+ geoCode:
18
+ $ref: ./GeoCode.yaml
19
+ authenticationType:
20
+ $ref: ./AuthenticationType.yaml
21
+ expiration:
22
+ $ref: ./DateTime.yaml
23
+ extensionList:
24
+ $ref: ./ExtensionList.yaml
25
+ required:
26
+ - transactionRequestId
27
+ - payee
28
+ - payer
29
+ - amount
30
+ - transactionType
@@ -0,0 +1,32 @@
1
+ title: TransactionScenario
2
+ type: string
3
+ enum:
4
+ - DEPOSIT
5
+ - WITHDRAWAL
6
+ - TRANSFER
7
+ - PAYMENT
8
+ - REFUND
9
+ description: >-
10
+ Below are the allowed values for the enumeration.
11
+
12
+ - DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal
13
+ scenario, electronic funds are transferred from a Business account to a
14
+ Consumer account, and physical cash is given from the Consumer to the Business
15
+ User.
16
+
17
+ - WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a
18
+ normal scenario, electronic funds are transferred from a Consumer’s account to
19
+ a Business account, and physical cash is given from the Business User to the
20
+ Consumer.
21
+
22
+ - TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer)
23
+ transaction.
24
+
25
+ - PAYMENT - Usually used for performing a transaction from a Consumer to a
26
+ Merchant or Organization, but could also be for a B2B (Business to Business)
27
+ payment. The transaction could be online for a purchase in an Internet store,
28
+ in a physical store where both the Consumer and Business User are present, a
29
+ bill payment, a donation, and so on.
30
+
31
+ - REFUND - Used for performing a refund of transaction.
32
+ example: 'DEPOSIT'
@@ -0,0 +1,14 @@
1
+ title: TransactionState
2
+ type: string
3
+ enum:
4
+ - RECEIVED
5
+ - PENDING
6
+ - COMPLETED
7
+ - REJECTED
8
+ description: |-
9
+ Below are the allowed values for the enumeration.
10
+ - RECEIVED - Payee FSP has received the transaction from the Payer FSP.
11
+ - PENDING - Payee FSP has validated the transaction.
12
+ - COMPLETED - Payee FSP has successfully performed the transaction.
13
+ - REJECTED - Payee FSP has failed to perform the transaction.
14
+ example: 'RECEIVED'
@@ -0,0 +1,5 @@
1
+ title: TransactionSubScenario
2
+ type: string
3
+ pattern: '^[A-Z_]{1,32}$'
4
+ description: 'Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).'
5
+ example: 'LOCALLY_DEFINED_SUBSCENARIO'
@@ -0,0 +1,20 @@
1
+ title: TransactionType
2
+ type: object
3
+ description: Data model for the complex type TransactionType.
4
+ properties:
5
+ scenario:
6
+ $ref: ./TransactionScenario.yaml
7
+ subScenario:
8
+ $ref: ./TransactionSubScenario.yaml
9
+ initiator:
10
+ $ref: ./TransactionInitiator.yaml
11
+ initiatorType:
12
+ $ref: ./TransactionInitiatorType.yaml
13
+ refundInfo:
14
+ $ref: ./Refund.yaml
15
+ balanceOfPayments:
16
+ $ref: ./BalanceOfPayments.yaml
17
+ required:
18
+ - scenario
19
+ - initiator
20
+ - initiatorType
@@ -0,0 +1,14 @@
1
+ title: TransactionsIDPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /transactions/{ID} callback.'
4
+ properties:
5
+ completedTimestamp:
6
+ $ref: ./DateTime.yaml
7
+ transactionState:
8
+ $ref: ./TransactionState.yaml
9
+ code:
10
+ $ref: ./Code.yaml
11
+ extensionList:
12
+ $ref: ./ExtensionList.yaml
13
+ required:
14
+ - transactionState
@@ -0,0 +1,19 @@
1
+ title: TransferState
2
+ type: string
3
+ enum:
4
+ - RECEIVED
5
+ - RESERVED
6
+ - COMMITTED
7
+ - ABORTED
8
+ description: >-
9
+ Below are the allowed values for the enumeration.
10
+
11
+ - RECEIVED - Next ledger has received the transfer.
12
+
13
+ - RESERVED - Next ledger has reserved the transfer.
14
+
15
+ - COMMITTED - Next ledger has successfully performed the transfer.
16
+
17
+ - ABORTED - Next ledger has aborted the transfer due to a rejection or failure
18
+ to perform the transfer.
19
+ example: 'RESERVED'
@@ -0,0 +1,13 @@
1
+ title: TransfersIDPatchResponse
2
+ type: object
3
+ description: 'PATCH /transfers/{ID} object'
4
+ properties:
5
+ completedTimestamp:
6
+ $ref: ./DateTime.yaml
7
+ transferState:
8
+ $ref: ./TransferState.yaml
9
+ extensionList:
10
+ $ref: ./ExtensionList.yaml
11
+ required:
12
+ - completedTimestamp
13
+ - transferState
@@ -0,0 +1,14 @@
1
+ title: TransfersIDPutResponse
2
+ type: object
3
+ description: 'The object sent in the PUT /transfers/{ID} callback.'
4
+ properties:
5
+ fulfilment:
6
+ $ref: ./IlpFulfilment.yaml
7
+ completedTimestamp:
8
+ $ref: ./DateTime.yaml
9
+ transferState:
10
+ $ref: ./TransferState.yaml
11
+ extensionList:
12
+ $ref: ./ExtensionList.yaml
13
+ required:
14
+ - transferState
@@ -0,0 +1,28 @@
1
+ title: TransfersPostRequest
2
+ type: object
3
+ description: The object sent in the POST /transfers request.
4
+ properties:
5
+ transferId:
6
+ $ref: ./CorrelationId.yaml
7
+ payeeFsp:
8
+ $ref: ./FspId.yaml
9
+ payerFsp:
10
+ $ref: ./FspId.yaml
11
+ amount:
12
+ $ref: ./Money.yaml
13
+ ilpPacket:
14
+ $ref: ./IlpPacket.yaml
15
+ condition:
16
+ $ref: ./IlpCondition.yaml
17
+ expiration:
18
+ $ref: ./DateTime.yaml
19
+ extensionList:
20
+ $ref: ./ExtensionList.yaml
21
+ required:
22
+ - transferId
23
+ - payeeFsp
24
+ - payerFsp
25
+ - amount
26
+ - ilpPacket
27
+ - condition
28
+ - expiration
@@ -0,0 +1,8 @@
1
+ title: U2FPIN
2
+ type: string
3
+ pattern: '^\S{1,64}$'
4
+ minLength: 1
5
+ maxLength: 64
6
+ description: >
7
+ U2F challenge-response, where payer FSP verifies if the response
8
+ provided by end-user device matches the previously registered key.
@@ -0,0 +1,19 @@
1
+ title: U2FPinValue
2
+ type: object
3
+ description: >
4
+ U2F challenge-response, where payer FSP verifies if the response
5
+ provided by end-user device matches the previously registered key.
6
+ properties:
7
+ pinValue:
8
+ allOf:
9
+ - $ref: ./U2FPIN.yaml
10
+ description: U2F challenge-response.
11
+ counter:
12
+ allOf:
13
+ - $ref: './Integer.yaml'
14
+ description: >-
15
+ Sequential counter used for cloning detection. Present only for U2F
16
+ authentication.
17
+ required:
18
+ - pinValue
19
+ - counter
@@ -0,0 +1,6 @@
1
+ title: UndefinedEnum
2
+ type: string
3
+ pattern: '^[A-Z_]{1,32}$'
4
+ description: >-
5
+ The API data type UndefinedEnum is a JSON String consisting of 1 to 32
6
+ uppercase characters including an underscore character (_).
@@ -0,0 +1,126 @@
1
+ openapi: 3.0.2
2
+ info:
3
+ version: '2.0'
4
+ title: Open API for FSP Interoperability (FSPIOP)
5
+ description: >-
6
+ Based on [API Definition updated on 2020-05-19 Version
7
+ 1.1](https://github.com/mojaloop/mojaloop-specification/blob/main/documents/v1.1-document-set/API%20Definition_v1.1.pdf).
8
+
9
+
10
+ **Note:** The API supports a maximum size of 65536 bytes (64 Kilobytes) in
11
+ the HTTP header.
12
+ license:
13
+ name: CC BY-ND 4.0
14
+ url: 'https://github.com/mojaloop/mojaloop-specification/blob/main/LICENSE.md'
15
+ contact:
16
+ name: Sam Kummary
17
+ url: 'https://github.com/mojaloop/mojaloop-specification/issues'
18
+ servers:
19
+ - url: 'protocol://hostname:<port>/switch/'
20
+ variables:
21
+ protocol:
22
+ enum:
23
+ - http
24
+ - https
25
+ default: https
26
+ paths:
27
+ /interface:
28
+ post:
29
+ description: >-
30
+ Essential path to include schema definitions that are not used so that
31
+ these definitions get included into the openapi-cli bundle api
32
+ definition so that they get converted into typescript definitions.
33
+ operationId: test
34
+ requestBody:
35
+ content:
36
+ application/json:
37
+ schema:
38
+ oneOf:
39
+ - $ref: './components/schemas/BinaryString.yaml'
40
+ - $ref: './components/schemas/BinaryString32.yaml'
41
+ - $ref: './components/schemas/Date.yaml'
42
+ - $ref: './components/schemas/Integer.yaml'
43
+ - $ref: './components/schemas/Name.yaml'
44
+ - $ref: './components/schemas/PersonalIdentifierType.yaml'
45
+ - $ref: './components/schemas/TokenCode.yaml'
46
+ - $ref: './components/schemas/Transaction.yaml'
47
+ - $ref: './components/schemas/UndefinedEnum.yaml'
48
+ responses:
49
+ 200:
50
+ description: Ok
51
+ /participants/{Type}/{ID}:
52
+ $ref: 'paths/participants_Type_ID.yaml'
53
+ /participants/{Type}/{ID}/error:
54
+ $ref: 'paths/participants_Type_ID_error.yaml'
55
+ /participants/{Type}/{ID}/{SubId}:
56
+ $ref: 'paths/participants_Type_ID_SubId.yaml'
57
+ /participants/{Type}/{ID}/{SubId}/error:
58
+ $ref: 'paths/participants_Type_ID_SubId_error.yaml'
59
+ /participants:
60
+ $ref: 'paths/participants.yaml'
61
+ /participants/{ID}:
62
+ $ref: 'paths/participants_ID.yaml'
63
+ /participants/{ID}/error:
64
+ $ref: 'paths/participants_ID_error.yaml'
65
+ /parties/{Type}/{ID}:
66
+ $ref: 'paths/parties_Type_ID.yaml'
67
+ /parties/{Type}/{ID}/error:
68
+ $ref: 'paths/parties_Type_ID_error.yaml'
69
+ /parties/{Type}/{ID}/{SubId}:
70
+ $ref: 'paths/parties_Type_ID_SubId.yaml'
71
+ /parties/{Type}/{ID}/{SubId}/error:
72
+ $ref: 'paths/parties_Type_ID_SubId_error.yaml'
73
+ /transactionRequests:
74
+ $ref: 'paths/transactionRequests.yaml'
75
+ /transactionRequests/{ID}:
76
+ $ref: 'paths/transactionRequests_ID.yaml'
77
+ /transactionRequests/{ID}/error:
78
+ $ref: 'paths/transactionRequests_ID_error.yaml'
79
+ /quotes:
80
+ $ref: 'paths/quotes.yaml'
81
+ /quotes/{ID}:
82
+ $ref: 'paths/quotes_ID.yaml'
83
+ /quotes/{ID}/error:
84
+ $ref: 'paths/quotes_ID_error.yaml'
85
+ /authorizations/{ID}:
86
+ $ref: 'paths/authorizations_ID.yaml'
87
+ /authorizations/{ID}/error:
88
+ $ref: 'paths/authorizations_ID_error.yaml'
89
+ /transfers:
90
+ $ref: 'paths/transfers.yaml'
91
+ /transfers/{ID}:
92
+ $ref: 'paths/transfers_ID.yaml'
93
+ /transfers/{ID}/error:
94
+ $ref: 'paths/transfers_ID_error.yaml'
95
+ /transactions/{ID}:
96
+ $ref: 'paths/transactions_ID.yaml'
97
+ /transactions/{ID}/error:
98
+ $ref: 'paths/transactions_ID_error.yaml'
99
+ /bulkQuotes:
100
+ $ref: 'paths/bulkQuotes.yaml'
101
+ /bulkQuotes/{ID}:
102
+ $ref: 'paths/bulkQuotes_ID.yaml'
103
+ /bulkQuotes/{ID}/error:
104
+ $ref: 'paths/bulkQuotes_ID_error.yaml'
105
+ /bulkTransfers:
106
+ $ref: 'paths/bulkTransfers.yaml'
107
+ /bulkTransfers/{ID}:
108
+ $ref: 'paths/bulkTransfers_ID.yaml'
109
+ /bulkTransfers/{ID}/error:
110
+ $ref: 'paths/bulkTransfers_ID_error.yaml'
111
+ /fxQuotes:
112
+ $ref: 'paths/fxQuotes.yaml'
113
+ /fxQuotes/{ID}:
114
+ $ref: 'paths/fxQuotes_ID.yaml'
115
+ /fxQuotes/{ID}/error:
116
+ $ref: 'paths/fxQuotes_ID_error.yaml'
117
+ /fxTransfers:
118
+ $ref: 'paths/fxTransfers.yaml'
119
+ /fxTransfers/{ID}:
120
+ $ref: 'paths/fxTransfers_ID.yaml'
121
+ /fxTransfers/{ID}/error:
122
+ $ref: 'paths/fxTransfers_ID_error.yaml'
123
+ /services/FXP:
124
+ $ref: 'paths/services_FXP.yaml'
125
+ /services/FXP/{SourceCurrency}/{TargetCurrency}:
126
+ $ref: 'paths/services_FXP_SourceCurrency_TargetCurrency.yaml'