@mojaloop/sdk-scheme-adapter 12.0.0 → 12.1.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 (263) hide show
  1. package/.circleci/config.yml +619 -0
  2. package/.env.example +13 -0
  3. package/.nvmrc +1 -1
  4. package/.versionrc +1 -0
  5. package/CHANGELOG.md +28 -2
  6. package/CODEOWNERS +2 -0
  7. package/Dockerfile +35 -0
  8. package/LICENSE.md +10 -0
  9. package/PROXY.md +84 -0
  10. package/README.md +228 -0
  11. package/SECURITY.md +18 -0
  12. package/audit-resolve.json +45 -0
  13. package/docker/ml-testing-toolkit/secrets/keygen.sh +5 -0
  14. package/docker/ml-testing-toolkit/secrets/privatekey.pem +27 -0
  15. package/docker/ml-testing-toolkit/secrets/publickey.cer +21 -0
  16. package/docker/ml-testing-toolkit/secrets/tls/createSecrets.sh +29 -0
  17. package/docker/ml-testing-toolkit/secrets/tls/hub_client.csr +28 -0
  18. package/docker/ml-testing-toolkit/secrets/tls/hub_client_cacert.pem +32 -0
  19. package/docker/ml-testing-toolkit/secrets/tls/hub_client_cakey.key +51 -0
  20. package/docker/ml-testing-toolkit/secrets/tls/hub_client_key.key +51 -0
  21. package/docker/ml-testing-toolkit/secrets/tls/hub_server.csr +28 -0
  22. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cacert.pem +32 -0
  23. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cacert.srl +1 -0
  24. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cakey.key +51 -0
  25. package/docker/ml-testing-toolkit/secrets/tls/hub_server_cert.pem +33 -0
  26. package/docker/ml-testing-toolkit/secrets/tls/hub_server_key.key +51 -0
  27. package/docker/ml-testing-toolkit/secrets/tls/openssl.conf +17 -0
  28. package/docker/ml-testing-toolkit/spec_files/api_definitions/central_admin_9.3/api_spec.yaml +2450 -0
  29. package/docker/ml-testing-toolkit/spec_files/api_definitions/central_admin_9.3/response_map.json +96 -0
  30. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/api_spec.yaml +4187 -0
  31. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/callback_map.json +542 -0
  32. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/mockRef.json +83 -0
  33. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.0/trigger_templates/transaction_request_followup.json +125 -0
  34. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/api_spec.yaml +3703 -0
  35. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/callback_map.json +568 -0
  36. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/mockRef.json +83 -0
  37. package/docker/ml-testing-toolkit/spec_files/api_definitions/fspiop_1.1/trigger_templates/transaction_request_followup.json +125 -0
  38. package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/api_spec.yaml +983 -0
  39. package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/mockRef.json +38 -0
  40. package/docker/ml-testing-toolkit/spec_files/api_definitions/settlements_1.0/response_map.json +34 -0
  41. package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/html_template.html +1074 -0
  42. package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/pdf_template.html +765 -0
  43. package/docker/ml-testing-toolkit/spec_files/reports/templates/newman/script.js +98 -0
  44. package/docker/ml-testing-toolkit/spec_files/rules_callback/config.json +3 -0
  45. package/docker/ml-testing-toolkit/spec_files/rules_callback/default.json +426 -0
  46. package/docker/ml-testing-toolkit/spec_files/rules_response/config.json +3 -0
  47. package/docker/ml-testing-toolkit/spec_files/rules_response/default.json +1623 -0
  48. package/docker/ml-testing-toolkit/spec_files/rules_response/default_pisp_rules.json +161 -0
  49. package/docker/ml-testing-toolkit/spec_files/rules_validation/config.json +3 -0
  50. package/docker/ml-testing-toolkit/spec_files/rules_validation/default.json +672 -0
  51. package/docker/ml-testing-toolkit/spec_files/system_config.json +62 -0
  52. package/docker/ml-testing-toolkit/spec_files/user_config.json +45 -0
  53. package/docker/wait4/setup_hosts_file.sh +25 -0
  54. package/docker/wait4/wait4.config.js +71 -0
  55. package/docker/wait4/wait4.js +204 -0
  56. package/docker-compose.yml +67 -0
  57. package/docs/Mojaloop - Modusbox Onboarding functionality.pdf +0 -0
  58. package/docs/dfspInboundApi.yaml +1091 -0
  59. package/jest.config.js +4 -1
  60. package/package.json +17 -17
  61. package/secrets/jwsSigningKey.key +27 -0
  62. package/secrets/jwsVerificationKeys/mojaloop-sdk.pem +9 -0
  63. package/secrets/jwsVerificationKeys/switch.pem +9 -0
  64. package/sequences.puml +99 -0
  65. package/src/ControlAgent/index.js +221 -0
  66. package/{TestServer → src/ControlServer}/handlers.js +0 -0
  67. package/src/ControlServer/index.js +294 -0
  68. package/{InboundServer → src/InboundServer}/api.yaml +0 -0
  69. package/src/InboundServer/api_template.yaml +69 -0
  70. package/{InboundServer → src/InboundServer}/handlers.js +0 -0
  71. package/{InboundServer → src/InboundServer}/index.js +33 -1
  72. package/{InboundServer → src/InboundServer}/middlewares.js +0 -0
  73. package/src/OAuthTestServer/index.js +127 -0
  74. package/{OAuthTestServer → src/OAuthTestServer}/model.js +0 -0
  75. package/{OutboundServer → src/OutboundServer}/api.yaml +0 -0
  76. package/{OutboundServer → src/OutboundServer}/api_interfaces/index.d.ts +0 -0
  77. package/{OutboundServer → src/OutboundServer}/api_interfaces/openapi.d.ts +0 -0
  78. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/bulkQuoteId.yaml +1 -1
  79. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/bulkTransferId.yaml +1 -1
  80. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/requestToPayTransactionId.yaml +1 -1
  81. package/{OutboundServer → src/OutboundServer}/api_template/components/parameters/transferId.yaml +1 -1
  82. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationCompleted.yaml +0 -0
  83. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationError.yaml +0 -0
  84. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/accountsCreationTimeout.yaml +0 -0
  85. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteBadRequest.yaml +0 -0
  86. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteServerError.yaml +0 -0
  87. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteSuccess.yaml +0 -0
  88. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkQuoteTimeout.yaml +0 -0
  89. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferBadRequest.yaml +0 -0
  90. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferServerError.yaml +0 -0
  91. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferSuccess.yaml +0 -0
  92. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/bulkTransferTimeout.yaml +0 -0
  93. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/partiesByIdError404.yaml +1 -1
  94. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/partiesByIdSuccess.yaml +0 -0
  95. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/quotesPostSuccess.yaml +0 -0
  96. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/quotesServerError.yaml +0 -0
  97. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPaySuccess.yaml +0 -0
  98. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPayTransferBadRequest.yaml +0 -0
  99. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/requestToPayTransferSuccess.yaml +0 -0
  100. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/simpleTransfersPostSuccess.yaml +0 -0
  101. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/simpleTransfersServerError.yaml +0 -0
  102. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferBadRequest.yaml +0 -0
  103. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferServerError.yaml +0 -0
  104. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferSuccess.yaml +0 -0
  105. package/{OutboundServer → src/OutboundServer}/api_template/components/responses/transferTimeout.yaml +0 -0
  106. package/src/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +18 -0
  107. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/accountsCreationState.yaml +0 -0
  108. package/src/OutboundServer/api_template/components/schemas/accountsRequest.yaml +20 -0
  109. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/accountsResponse.yaml +1 -1
  110. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/async2SyncCurrentState.yaml +0 -0
  111. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteErrorResponse.yaml +0 -0
  112. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteRequest.yaml +2 -2
  113. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteResponse.yaml +1 -1
  114. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteStatus.yaml +0 -0
  115. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkQuoteStatusResponse.yaml +1 -1
  116. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferErrorResponse.yaml +0 -0
  117. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferRequest.yaml +2 -2
  118. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferResponse.yaml +1 -1
  119. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferStatus.yaml +0 -0
  120. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/bulkTransferStatusResponse.yaml +1 -1
  121. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorAccountsResponse.yaml +0 -0
  122. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorQuotesResponse.yaml +0 -0
  123. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorResponse.yaml +0 -0
  124. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorSimpleTransfersResponse.yaml +0 -0
  125. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/errorTransferResponse.yaml +0 -0
  126. package/src/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +6 -0
  127. package/src/OutboundServer/api_template/components/schemas/individualQuote.yaml +32 -0
  128. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualQuoteResult.yaml +5 -5
  129. package/src/OutboundServer/api_template/components/schemas/individualTransfer.yaml +32 -0
  130. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualTransferFulfilment.yaml +2 -2
  131. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/individualTransferResult.yaml +6 -6
  132. package/src/OutboundServer/api_template/components/schemas/mojaloopError.yaml +5 -0
  133. package/src/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +2 -0
  134. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/partiesByIdResponse.yaml +1 -1
  135. package/src/OutboundServer/api_template/components/schemas/quote.yaml +3 -0
  136. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/quoteError.yaml +0 -0
  137. package/src/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +13 -0
  138. package/src/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +48 -0
  139. package/src/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +39 -0
  140. package/src/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +41 -0
  141. package/src/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +42 -0
  142. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/requestToPayTransferResponse.yaml +6 -6
  143. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/simpleTransferServerError.yaml +0 -0
  144. package/src/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +12 -0
  145. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/simpleTransfersPostResponse.yaml +1 -1
  146. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transactionType.yaml +0 -0
  147. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptOTP.yaml +0 -0
  148. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptParty.yaml +0 -0
  149. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferContinuationAcceptQuote.yaml +0 -0
  150. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferError.yaml +0 -0
  151. package/src/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +3 -0
  152. package/src/OutboundServer/api_template/components/schemas/transferParty.yaml +40 -0
  153. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferRequest.yaml +4 -4
  154. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferResponse.yaml +6 -6
  155. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferStatus.yaml +0 -0
  156. package/{OutboundServer → src/OutboundServer}/api_template/components/schemas/transferStatusResponse.yaml +1 -1
  157. package/{OutboundServer → src/OutboundServer}/api_template/health.yaml +0 -0
  158. package/{OutboundServer → src/OutboundServer}/api_template/openapi.yaml +0 -0
  159. package/{OutboundServer → src/OutboundServer}/api_template/paths/accounts.yaml +0 -0
  160. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkQuotes.yaml +0 -0
  161. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkQuotes_bulkQuoteId.yaml +0 -0
  162. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkTransfers.yaml +0 -0
  163. package/{OutboundServer → src/OutboundServer}/api_template/paths/bulkTransfers_bulkTransferId.yaml +0 -0
  164. package/{OutboundServer → src/OutboundServer}/api_template/paths/parties_Type_ID.yaml +2 -2
  165. package/{OutboundServer → src/OutboundServer}/api_template/paths/parties_Type_ID_SubId.yaml +3 -3
  166. package/{OutboundServer → src/OutboundServer}/api_template/paths/quotes.yaml +0 -0
  167. package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPay.yaml +0 -0
  168. package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPayTransfer.yaml +0 -0
  169. package/{OutboundServer → src/OutboundServer}/api_template/paths/requestToPayTransfer_requestToPayTransactionId.yaml +0 -0
  170. package/{OutboundServer → src/OutboundServer}/api_template/paths/simpleTransfers.yaml +0 -0
  171. package/{OutboundServer → src/OutboundServer}/api_template/paths/transfers.yaml +0 -0
  172. package/{OutboundServer → src/OutboundServer}/api_template/paths/transfers_transferId.yaml +0 -0
  173. package/{OutboundServer → src/OutboundServer}/handlers.js +0 -0
  174. package/{OutboundServer → src/OutboundServer}/index.js +15 -0
  175. package/{OutboundServer → src/OutboundServer}/middlewares.js +0 -0
  176. package/{TestServer → src/TestServer}/api.yaml +0 -0
  177. package/src/TestServer/handlers.js +63 -0
  178. package/{TestServer → src/TestServer}/index.js +31 -0
  179. package/{config.js → src/config.js} +6 -0
  180. package/{index.d.ts → src/index.d.ts} +0 -0
  181. package/{index.js → src/index.js} +0 -0
  182. package/{lib → src/lib}/api/index.js +0 -0
  183. package/{lib → src/lib}/cache.js +0 -0
  184. package/{lib → src/lib}/check.js +0 -0
  185. package/{lib → src/lib}/model/AccountsModel.js +0 -0
  186. package/{lib → src/lib}/model/Async2SyncModel.js +0 -0
  187. package/{lib → src/lib}/model/InboundTransfersModel.js +0 -0
  188. package/{lib → src/lib}/model/OutboundBulkQuotesModel.js +0 -0
  189. package/{lib → src/lib}/model/OutboundBulkTransfersModel.js +0 -0
  190. package/{lib → src/lib}/model/OutboundRequestToPayModel.js +0 -0
  191. package/{lib → src/lib}/model/OutboundRequestToPayTransferModel.js +0 -0
  192. package/{lib → src/lib}/model/OutboundTransfersModel.js +0 -0
  193. package/{lib → src/lib}/model/PartiesModel.js +0 -0
  194. package/{lib → src/lib}/model/ProxyModel/MatchRules/Expression.js +0 -0
  195. package/{lib → src/lib}/model/ProxyModel/MatchRules/Headers.js +0 -0
  196. package/{lib → src/lib}/model/ProxyModel/MatchRules/MatchRule.js +0 -0
  197. package/{lib → src/lib}/model/ProxyModel/MatchRules/Path.js +0 -0
  198. package/{lib → src/lib}/model/ProxyModel/MatchRules/Query.js +0 -0
  199. package/{lib → src/lib}/model/ProxyModel/MatchRules/index.js +0 -0
  200. package/{lib → src/lib}/model/ProxyModel/Route.js +0 -0
  201. package/{lib → src/lib}/model/ProxyModel/configSchema.json +0 -0
  202. package/{lib → src/lib}/model/ProxyModel/index.js +0 -0
  203. package/{lib → src/lib}/model/QuotesModel.js +0 -0
  204. package/{lib → src/lib}/model/TransfersModel.js +0 -0
  205. package/{lib → src/lib}/model/common/BackendError.js +0 -0
  206. package/{lib → src/lib}/model/common/PersistentStateMachine.js +0 -0
  207. package/{lib → src/lib}/model/common/index.js +0 -0
  208. package/{lib → src/lib}/model/index.js +0 -0
  209. package/{lib → src/lib}/model/lib/deferredJob.js +0 -0
  210. package/{lib → src/lib}/model/lib/index.js +0 -0
  211. package/{lib → src/lib}/model/lib/requests/backendRequests.js +0 -0
  212. package/{lib → src/lib}/model/lib/requests/common.js +0 -0
  213. package/{lib → src/lib}/model/lib/requests/index.js +0 -0
  214. package/{lib → src/lib}/model/lib/shared.js +0 -0
  215. package/{lib → src/lib}/randomphrase/index.js +0 -0
  216. package/{lib → src/lib}/randomphrase/words.json +0 -0
  217. package/{lib → src/lib}/router.js +0 -0
  218. package/{lib → src/lib}/validate.js +0 -0
  219. package/test/config/integration.env +9 -0
  220. package/test/integration/lib/cache.test.js +3 -3
  221. package/test/unit/ControlClient.test.js +113 -0
  222. package/test/unit/ControlServer/events.js +41 -0
  223. package/test/unit/ControlServer/index.js +231 -0
  224. package/test/unit/ControlServer.test.js +126 -0
  225. package/test/unit/InboundServer.test.js +5 -5
  226. package/test/unit/TestServer.test.js +5 -5
  227. package/test/unit/api/utils.js +5 -5
  228. package/test/unit/config.test.js +11 -10
  229. package/test/unit/inboundApi/handlers.test.js +6 -6
  230. package/test/unit/index.test.js +2 -1
  231. package/test/unit/lib/cache.test.js +1 -1
  232. package/test/unit/lib/model/AccountsModel.test.js +2 -2
  233. package/test/unit/lib/model/InboundTransfersModel.test.js +5 -5
  234. package/test/unit/lib/model/OutboundBulkQuotesModel.test.js +2 -2
  235. package/test/unit/lib/model/OutboundBulkTransfersModel.test.js +2 -2
  236. package/test/unit/lib/model/OutboundRequestToPayModel.test.js +3 -3
  237. package/test/unit/lib/model/OutboundRequestToPayTransferModel.test.js +2 -2
  238. package/test/unit/lib/model/OutboundTransfersModel.test.js +3 -3
  239. package/test/unit/lib/model/PartiesModel.test.js +28 -28
  240. package/test/unit/lib/model/QuotesModel.test.js +31 -31
  241. package/test/unit/lib/model/TransfersModel.test.js +3 -3
  242. package/test/unit/lib/model/common/PersistentStateMachine.test.js +13 -13
  243. package/test/unit/lib/model/mockedLibRequests.js +1 -1
  244. package/test/unit/outboundApi/handlers.test.js +3 -3
  245. package/.eslintignore +0 -2
  246. package/InboundServer/api_template.yaml +0 -69
  247. package/OAuthTestServer/index.js +0 -66
  248. package/OutboundServer/api_template/components/schemas/accountCreationStatus.yaml +0 -18
  249. package/OutboundServer/api_template/components/schemas/accountsRequest.yaml +0 -20
  250. package/OutboundServer/api_template/components/schemas/extensionListEmptiable.yaml +0 -6
  251. package/OutboundServer/api_template/components/schemas/individualQuote.yaml +0 -32
  252. package/OutboundServer/api_template/components/schemas/individualTransfer.yaml +0 -32
  253. package/OutboundServer/api_template/components/schemas/mojaloopError.yaml +0 -5
  254. package/OutboundServer/api_template/components/schemas/mojaloopTransactionRequestState.yaml +0 -2
  255. package/OutboundServer/api_template/components/schemas/quote.yaml +0 -3
  256. package/OutboundServer/api_template/components/schemas/quotesPostRequest.yaml +0 -13
  257. package/OutboundServer/api_template/components/schemas/quotesPostResponse.yaml +0 -48
  258. package/OutboundServer/api_template/components/schemas/requestToPayRequest.yaml +0 -39
  259. package/OutboundServer/api_template/components/schemas/requestToPayResponse.yaml +0 -41
  260. package/OutboundServer/api_template/components/schemas/requestToPayTransferRequest.yaml +0 -42
  261. package/OutboundServer/api_template/components/schemas/simpleTransfersPostRequest.yaml +0 -12
  262. package/OutboundServer/api_template/components/schemas/transferFulfilment.yaml +0 -3
  263. package/OutboundServer/api_template/components/schemas/transferParty.yaml +0 -40
@@ -0,0 +1,542 @@
1
+ {
2
+ "/transfers": {
3
+ "post": {
4
+ "successCallback": {
5
+ "method": "put",
6
+ "path": "/transfers/{ID}",
7
+ "pathPattern": "/transfers/{$request.body.transferId}",
8
+ "headerOverride": {
9
+ "FSPIOP-Source": "{$config.FSPID}",
10
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
11
+ "Content-Type": "{$session.negotiatedContentType}",
12
+ "Date": "{$request.headers.date}"
13
+ }
14
+ },
15
+ "errorCallback": {
16
+ "method": "put",
17
+ "path": "/transfers/{ID}/error",
18
+ "pathPattern": "/transfers/{$request.body.transferId}/error",
19
+ "headerOverride": {
20
+ "FSPIOP-Source": "{$config.FSPID}",
21
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
22
+ "Content-Type": "{$session.negotiatedContentType}",
23
+ "Date": "{$request.headers.date}"
24
+ }
25
+ }
26
+ }
27
+ },
28
+ "/transfers/{ID}": {
29
+ "get": {
30
+ "successCallback": {
31
+ "method": "put",
32
+ "path": "/transfers/{ID}",
33
+ "pathPattern": "/transfers/{$request.params.ID}",
34
+ "headerOverride": {
35
+ "FSPIOP-Source": "{$config.FSPID}",
36
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
37
+ "Content-Type": "{$session.negotiatedContentType}",
38
+ "Date": "{$request.headers.date}"
39
+ }
40
+ },
41
+ "errorCallback": {
42
+ "method": "put",
43
+ "path": "/transfers/{ID}/error",
44
+ "pathPattern": "/transfers/{$request.params.ID}/error",
45
+ "headerOverride": {
46
+ "FSPIOP-Source": "{$config.FSPID}",
47
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
48
+ "Content-Type": "{$session.negotiatedContentType}",
49
+ "Date": "{$request.headers.date}"
50
+ }
51
+ }
52
+ }
53
+ },
54
+ "/quotes": {
55
+ "post": {
56
+ "successCallback": {
57
+ "method": "put",
58
+ "path": "/quotes/{ID}",
59
+ "pathPattern": "/quotes/{$request.body.quoteId}",
60
+ "headerOverride": {
61
+ "FSPIOP-Source": "{$config.FSPID}",
62
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
63
+ "Content-Type": "{$session.negotiatedContentType}",
64
+ "Date": "{$request.headers.date}"
65
+ },
66
+ "bodyOverride": {
67
+ "transferAmount": {
68
+ "currency": "{$request.body.amount.currency}",
69
+ "amount": "{$request.body.amount.amount}"
70
+ }
71
+ }
72
+ },
73
+ "errorCallback": {
74
+ "method": "put",
75
+ "path": "/quotes/{ID}/error",
76
+ "pathPattern": "/quotes/{$request.body.quoteId}/error",
77
+ "headerOverride": {
78
+ "FSPIOP-Source": "{$config.FSPID}",
79
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
80
+ "Content-Type": "{$session.negotiatedContentType}",
81
+ "Date": "{$request.headers.date}"
82
+ }
83
+ }
84
+ }
85
+ },
86
+ "/quotes/{ID}": {
87
+ "get": {
88
+ "successCallback": {
89
+ "method": "put",
90
+ "path": "/quotes/{ID}",
91
+ "pathPattern": "/quotes/{$request.params.ID}",
92
+ "headerOverride": {
93
+ "FSPIOP-Source": "{$config.FSPID}",
94
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
95
+ "Content-Type": "{$session.negotiatedContentType}",
96
+ "Date": "{$request.headers.date}"
97
+ }
98
+ },
99
+ "errorCallback": {
100
+ "method": "put",
101
+ "path": "/quotes/{ID}/error",
102
+ "pathPattern": "/quotes/{$request.params.ID}/error",
103
+ "headerOverride": {
104
+ "FSPIOP-Source": "{$config.FSPID}",
105
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
106
+ "Content-Type": "{$session.negotiatedContentType}",
107
+ "Date": "{$request.headers.date}"
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "/parties/{Type}/{ID}": {
113
+ "get": {
114
+ "successCallback": {
115
+ "method": "put",
116
+ "path": "/parties/{Type}/{ID}",
117
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}",
118
+ "headerOverride": {
119
+ "FSPIOP-Source": "{$config.FSPID}",
120
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
121
+ "Content-Type": "{$session.negotiatedContentType}",
122
+ "Date": "{$request.headers.date}"
123
+ },
124
+ "bodyOverride": {
125
+ "party": {
126
+ "partyIdInfo": {
127
+ "partyIdType": "{$request.params.Type}",
128
+ "partyIdentifier": "{$request.params.ID}",
129
+ "fspId": "{$config.FSPID}"
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "errorCallback": {
135
+ "method": "put",
136
+ "path": "/parties/{Type}/{ID}/error",
137
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}/error",
138
+ "headerOverride": {
139
+ "FSPIOP-Source": "{$config.FSPID}",
140
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
141
+ "Content-Type": "{$session.negotiatedContentType}",
142
+ "Date": "{$request.headers.date}"
143
+ }
144
+ }
145
+ }
146
+ },
147
+ "/parties/{Type}/{ID}/{SubId}": {
148
+ "get": {
149
+ "successCallback": {
150
+ "method": "put",
151
+ "path": "/parties/{Type}/{ID}/{SubId}",
152
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}/{$request.params.SubId}",
153
+ "headerOverride": {
154
+ "FSPIOP-Source": "{$config.FSPID}",
155
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
156
+ "Content-Type": "{$session.negotiatedContentType}",
157
+ "Date": "{$request.headers.date}"
158
+ },
159
+ "bodyOverride": {
160
+ "party": {
161
+ "partyIdInfo": {
162
+ "partyIdType": "{$request.params.Type}",
163
+ "partyIdentifier": "{$request.params.ID}",
164
+ "fspId": "{$config.FSPID}"
165
+ }
166
+ }
167
+ }
168
+ },
169
+ "errorCallback": {
170
+ "method": "put",
171
+ "path": "/parties/{Type}/{ID}/{SubId}/error",
172
+ "pathPattern": "/parties/{$request.params.Type}/{$request.params.ID}/{$request.params.SubId}/error",
173
+ "headerOverride": {
174
+ "FSPIOP-Source": "{$config.FSPID}",
175
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
176
+ "Content-Type": "{$session.negotiatedContentType}",
177
+ "Date": "{$request.headers.date}"
178
+ }
179
+ }
180
+ }
181
+ },
182
+ "/transactionRequests": {
183
+ "post": {
184
+ "successCallback": {
185
+ "method": "put",
186
+ "path": "/transactionRequests/{ID}",
187
+ "pathPattern": "/transactionRequests/{$request.body.transactionRequestId}",
188
+ "headerOverride": {
189
+ "FSPIOP-Source": "{$config.FSPID}",
190
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
191
+ "Content-Type": "{$session.negotiatedContentType}",
192
+ "Date": "{$request.headers.date}"
193
+ }
194
+ },
195
+ "errorCallback": {
196
+ "method": "put",
197
+ "path": "/transactionRequests/{ID}/error",
198
+ "pathPattern": "/transactionRequests/{$request.body.transactionRequestId}/error",
199
+ "headerOverride": {
200
+ "FSPIOP-Source": "{$config.FSPID}",
201
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
202
+ "Content-Type": "{$session.negotiatedContentType}",
203
+ "Date": "{$request.headers.date}"
204
+ }
205
+ }
206
+ }
207
+ },
208
+ "/transactionRequests/{ID}": {
209
+ "get": {
210
+ "successCallback": {
211
+ "method": "put",
212
+ "path": "/transactionRequests/{ID}",
213
+ "pathPattern": "/transactionRequests/{$request.params.ID}",
214
+ "headerOverride": {
215
+ "FSPIOP-Source": "{$config.FSPID}",
216
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
217
+ "Content-Type": "{$session.negotiatedContentType}",
218
+ "Date": "{$request.headers.date}"
219
+ }
220
+ },
221
+ "errorCallback": {
222
+ "method": "put",
223
+ "path": "/transactionRequests/{ID}/error",
224
+ "pathPattern": "/transactionRequests/{$request.params.ID}/error",
225
+ "headerOverride": {
226
+ "FSPIOP-Source": "{$config.FSPID}",
227
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
228
+ "Content-Type": "{$session.negotiatedContentType}",
229
+ "Date": "{$request.headers.date}"
230
+ }
231
+ }
232
+ }
233
+ },
234
+ "/participants": {
235
+ "post": {
236
+ "successCallback": {
237
+ "method": "put",
238
+ "path": "/participants/{ID}",
239
+ "pathPattern": "/participants/{$request.body.partyList[0].partyIdentifier}",
240
+ "headerOverride": {
241
+ "FSPIOP-Source": "{$config.FSPID}",
242
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
243
+ "Content-Type": "{$session.negotiatedContentType}",
244
+ "Date": "{$request.headers.date}"
245
+ }
246
+ },
247
+ "errorCallback": {
248
+ "method": "put",
249
+ "path": "/participants/{ID}/error",
250
+ "pathPattern": "/participants/{$request.body.partyList[0].partyIdentifier}/error",
251
+ "headerOverride": {
252
+ "FSPIOP-Source": "{$config.FSPID}",
253
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
254
+ "Content-Type": "{$session.negotiatedContentType}",
255
+ "Date": "{$request.headers.date}"
256
+ }
257
+ }
258
+ }
259
+ },
260
+ "/participants/{Type}/{ID}": {
261
+ "get": {
262
+ "successCallback": {
263
+ "method": "put",
264
+ "path": "/participants/{Type}/{ID}",
265
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
266
+ "headerOverride": {
267
+ "FSPIOP-Source": "{$config.FSPID}",
268
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
269
+ "Content-Type": "{$session.negotiatedContentType}",
270
+ "Date": "{$request.headers.date}"
271
+ }
272
+ },
273
+ "errorCallback": {
274
+ "method": "put",
275
+ "path": "/participants/{Type}/{ID}/error",
276
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
277
+ "headerOverride": {
278
+ "FSPIOP-Source": "{$config.FSPID}",
279
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
280
+ "Content-Type": "{$session.negotiatedContentType}",
281
+ "Date": "{$request.headers.date}"
282
+ }
283
+ }
284
+ },
285
+ "post": {
286
+ "successCallback": {
287
+ "method": "put",
288
+ "path": "/participants/{Type}/{ID}",
289
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
290
+ "headerOverride": {
291
+ "FSPIOP-Source": "{$config.FSPID}",
292
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
293
+ "Content-Type": "{$session.negotiatedContentType}",
294
+ "Date": "{$request.headers.date}"
295
+ }
296
+ },
297
+ "errorCallback": {
298
+ "method": "put",
299
+ "path": "/participants/{Type}/{ID}/error",
300
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
301
+ "headerOverride": {
302
+ "FSPIOP-Source": "{$config.FSPID}",
303
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
304
+ "Content-Type": "{$session.negotiatedContentType}",
305
+ "Date": "{$request.headers.date}"
306
+ }
307
+ }
308
+ }
309
+ },
310
+ "/participants/{Type}/{ID}/{SubId}": {
311
+ "get": {
312
+ "successCallback": {
313
+ "method": "put",
314
+ "path": "/participants/{Type}/{ID}/{SubId}",
315
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
316
+ "headerOverride": {
317
+ "FSPIOP-Source": "{$config.FSPID}",
318
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
319
+ "Content-Type": "{$session.negotiatedContentType}",
320
+ "Date": "{$request.headers.date}"
321
+ }
322
+ },
323
+ "errorCallback": {
324
+ "method": "put",
325
+ "path": "/participants/{Type}/{ID}/{SubId}/error",
326
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
327
+ "headerOverride": {
328
+ "FSPIOP-Source": "{$config.FSPID}",
329
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
330
+ "Content-Type": "{$session.negotiatedContentType}",
331
+ "Date": "{$request.headers.date}"
332
+ }
333
+ }
334
+ },
335
+ "post": {
336
+ "successCallback": {
337
+ "method": "put",
338
+ "path": "/participants/{Type}/{ID}/{SubId}",
339
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}",
340
+ "headerOverride": {
341
+ "FSPIOP-Source": "{$config.FSPID}",
342
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
343
+ "Content-Type": "{$session.negotiatedContentType}",
344
+ "Date": "{$request.headers.date}"
345
+ }
346
+ },
347
+ "errorCallback": {
348
+ "method": "put",
349
+ "path": "/participants/{Type}/{ID}/{SubId}/error",
350
+ "pathPattern": "/participants/{$request.params.Type}/{$request.params.ID}/error",
351
+ "headerOverride": {
352
+ "FSPIOP-Source": "{$config.FSPID}",
353
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
354
+ "Content-Type": "{$session.negotiatedContentType}",
355
+ "Date": "{$request.headers.date}"
356
+ }
357
+ }
358
+ }
359
+ },
360
+ "/authorizations": {
361
+ "post": {
362
+ "successCallback": {
363
+ "method": "put",
364
+ "path": "/authorizations/{ID}",
365
+ "pathPattern": "/authorizations/{$request.body.transactionRequestId}",
366
+ "headerOverride": {
367
+ "FSPIOP-Source": "{$config.FSPID}",
368
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
369
+ "Content-Type": "{$session.negotiatedContentType}",
370
+ "Date": "{$request.headers.date}"
371
+ }
372
+ },
373
+ "errorCallback": {
374
+ "method": "put",
375
+ "path": "/authorizations/{ID}/error",
376
+ "pathPattern": "/authorizations/{$request.params.ID}/error",
377
+ "headerOverride": {
378
+ "FSPIOP-Source": "{$config.FSPID}",
379
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
380
+ "Content-Type": "{$session.negotiatedContentType}",
381
+ "Date": "{$request.headers.date}"
382
+ }
383
+ }
384
+ }
385
+ },
386
+ "/authorizations/{ID}": {
387
+ "get": {
388
+ "successCallback": {
389
+ "method": "put",
390
+ "path": "/authorizations/{ID}",
391
+ "pathPattern": "/authorizations/{$request.params.ID}",
392
+ "headerOverride": {
393
+ "FSPIOP-Source": "{$config.FSPID}",
394
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
395
+ "Content-Type": "{$session.negotiatedContentType}",
396
+ "Date": "{$request.headers.date}"
397
+ }
398
+ },
399
+ "errorCallback": {
400
+ "method": "put",
401
+ "path": "/authorizations/{ID}/error",
402
+ "pathPattern": "/authorizations/{$request.params.ID}/error",
403
+ "headerOverride": {
404
+ "FSPIOP-Source": "{$config.FSPID}",
405
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
406
+ "Content-Type": "{$session.negotiatedContentType}",
407
+ "Date": "{$request.headers.date}"
408
+ }
409
+ }
410
+ }
411
+ },
412
+ "/transactions/{ID}": {
413
+ "get": {
414
+ "successCallback": {
415
+ "method": "put",
416
+ "path": "/transactions/{ID}",
417
+ "pathPattern": "/transactions/{$request.params.ID}",
418
+ "headerOverride": {
419
+ "FSPIOP-Source": "{$config.FSPID}",
420
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
421
+ "Content-Type": "{$session.negotiatedContentType}",
422
+ "Date": "{$request.headers.date}"
423
+ }
424
+ },
425
+ "errorCallback": {
426
+ "method": "put",
427
+ "path": "/transactions/{ID}/error",
428
+ "pathPattern": "/transactions/{$request.params.ID}/error",
429
+ "headerOverride": {
430
+ "FSPIOP-Source": "{$config.FSPID}",
431
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
432
+ "Content-Type": "{$session.negotiatedContentType}",
433
+ "Date": "{$request.headers.date}"
434
+ }
435
+ }
436
+ }
437
+ },
438
+ "/bulkQuotes": {
439
+ "post": {
440
+ "successCallback": {
441
+ "method": "put",
442
+ "path": "/bulkQuotes/{ID}",
443
+ "pathPattern": "/bulkQuotes/{$request.body.bulkQuoteId}",
444
+ "headerOverride": {
445
+ "FSPIOP-Source": "{$config.FSPID}",
446
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
447
+ "Content-Type": "{$session.negotiatedContentType}",
448
+ "Date": "{$request.headers.date}"
449
+ }
450
+ },
451
+ "errorCallback": {
452
+ "method": "put",
453
+ "path": "/bulkQuotes/{ID}/error",
454
+ "pathPattern": "/bulkQuotes/{$request.body.bulkQuoteId}/error",
455
+ "headerOverride": {
456
+ "FSPIOP-Source": "{$config.FSPID}",
457
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
458
+ "Content-Type": "{$session.negotiatedContentType}",
459
+ "Date": "{$request.headers.date}"
460
+ }
461
+ }
462
+ }
463
+ },
464
+ "/bulkQuotes/{ID}": {
465
+ "get": {
466
+ "successCallback": {
467
+ "method": "put",
468
+ "path": "/bulkQuotes/{ID}",
469
+ "pathPattern": "/bulkQuotes/{$request.params.ID}",
470
+ "headerOverride": {
471
+ "FSPIOP-Source": "{$config.FSPID}",
472
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
473
+ "Content-Type": "{$session.negotiatedContentType}",
474
+ "Date": "{$request.headers.date}"
475
+ }
476
+ },
477
+ "errorCallback": {
478
+ "method": "put",
479
+ "path": "/bulkQuotes/{ID}/error",
480
+ "pathPattern": "/bulkQuotes/{$request.params.ID}/error",
481
+ "headerOverride": {
482
+ "FSPIOP-Source": "{$config.FSPID}",
483
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
484
+ "Content-Type": "{$session.negotiatedContentType}",
485
+ "Date": "{$request.headers.date}"
486
+ }
487
+ }
488
+ }
489
+ },
490
+ "/bulkTransfers": {
491
+ "post": {
492
+ "successCallback": {
493
+ "method": "put",
494
+ "path": "/bulkTransfers/{ID}",
495
+ "pathPattern": "/bulkTransfers/{$request.body.bulkTransferId}",
496
+ "headerOverride": {
497
+ "FSPIOP-Source": "{$config.FSPID}",
498
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
499
+ "Content-Type": "{$session.negotiatedContentType}",
500
+ "Date": "{$request.headers.date}"
501
+ }
502
+ },
503
+ "errorCallback": {
504
+ "method": "put",
505
+ "path": "/bulkTransfers/{ID}/error",
506
+ "pathPattern": "/bulkTransfers/{$request.body.bulkTransferId}/error",
507
+ "headerOverride": {
508
+ "FSPIOP-Source": "{$config.FSPID}",
509
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
510
+ "Content-Type": "{$session.negotiatedContentType}",
511
+ "Date": "{$request.headers.date}"
512
+ }
513
+ }
514
+ }
515
+ },
516
+ "/bulkTransfers/{ID}": {
517
+ "get": {
518
+ "successCallback": {
519
+ "method": "put",
520
+ "path": "/bulkTransfers/{ID}",
521
+ "pathPattern": "/bulkTransfers/{$request.params.ID}",
522
+ "headerOverride": {
523
+ "FSPIOP-Source": "{$config.FSPID}",
524
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
525
+ "Content-Type": "{$session.negotiatedContentType}",
526
+ "Date": "{$request.headers.date}"
527
+ }
528
+ },
529
+ "errorCallback": {
530
+ "method": "put",
531
+ "path": "/bulkTransfers/{ID}/error",
532
+ "pathPattern": "/bulkTransfers/{$request.params.ID}/error",
533
+ "headerOverride": {
534
+ "FSPIOP-Source": "{$config.FSPID}",
535
+ "FSPIOP-Destination": "{$request.headers.fspiop-source}",
536
+ "Content-Type": "{$session.negotiatedContentType}",
537
+ "Date": "{$request.headers.date}"
538
+ }
539
+ }
540
+ }
541
+ }
542
+ }
@@ -0,0 +1,83 @@
1
+ [
2
+ {
3
+ "id": "party.personalInfo.complexName.firstName",
4
+ "pattern": "John|David|Michael|Chris|Mike|Mark|Paul|Daniel|James|Maria"
5
+ },
6
+ {
7
+ "id": "party.personalInfo.complexName.middleName",
8
+ "pattern": "G|P|N|S"
9
+ },
10
+ {
11
+ "id": "party.personalInfo.complexName.lastName",
12
+ "pattern": "Smith|Jones|Johnson|Lee|Brown|Williams|Rodriguez|Garcia|Gonzalez|Lopez"
13
+ },
14
+ {
15
+ "id": "party.personalInfo.dateOfBirth",
16
+ "pattern": "^(19)\\d\\d[-](0[1-9]|1[012])[-](0[1-9]|[12][0-9]|2[0-8])$"
17
+ },
18
+ {
19
+ "id": "transferId",
20
+ "faker": "internet.email"
21
+ },
22
+ {
23
+ "id": "transferState",
24
+ "pattern": "COMMITTED|RESERVED|ABORTED|RECEIVED"
25
+ },
26
+ {
27
+ "id": "fulfilment",
28
+ "pattern": "[A-Fa-f0-9]{64}"
29
+ },
30
+ {
31
+ "id": "condition",
32
+ "pattern": "[A-Fa-f0-9]{64}"
33
+ },
34
+ {
35
+ "id": "ilpPacket",
36
+ "pattern": "[A-Fa-f0-9]{256}"
37
+ },
38
+ {
39
+ "id": "transferAmount.currency",
40
+ "pattern": "USD"
41
+ },
42
+ {
43
+ "id": "transferAmount.amount",
44
+ "pattern": "123"
45
+ },
46
+ {
47
+ "id": "payeeReceiveAmount.currency",
48
+ "pattern": "USD"
49
+ },
50
+ {
51
+ "id": "payeeReceiveAmount.amount",
52
+ "pattern": "123"
53
+ },
54
+ {
55
+ "id": "payeeFspFee.currency",
56
+ "pattern": "USD"
57
+ },
58
+ {
59
+ "id": "payeeFspFee.amount",
60
+ "pattern": "2"
61
+ },
62
+ {
63
+ "id": "payeeFspCommission.currency",
64
+ "pattern": "USD"
65
+ },
66
+ {
67
+ "id": "payeeFspCommission.amount",
68
+ "pattern": "3"
69
+ },
70
+
71
+ {
72
+ "id": "errorInformation.errorCode",
73
+ "pattern": "600[1-9]"
74
+ },
75
+ {
76
+ "id": "errorInformation.errorDescription",
77
+ "pattern": "This is a mock error description"
78
+ },
79
+ {
80
+ "id": "Content-Length",
81
+ "pattern": "123"
82
+ }
83
+ ]