@mojaloop/api-snippets 17.7.9 → 17.7.11

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 (62) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +21 -23
  3. package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +30 -31
  4. package/lib/fspiop/v2_0/schemas.js +102 -102
  5. package/lib/fspiop/v2_0/schemas.js.map +1 -1
  6. package/lib/fspiop/v2_0_ISO20022/schemas.js +166 -166
  7. package/lib/fspiop/v2_0_ISO20022/schemas.js.map +1 -1
  8. package/lib/scripts/json-schema-generator.js +6 -2
  9. package/lib/scripts/json-schema-generator.js.map +1 -1
  10. package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js +108 -108
  11. package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -1
  12. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +116 -116
  13. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
  14. package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +114 -201
  15. package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +21 -21
  16. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +3 -90
  17. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +141 -141
  18. package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -1
  19. package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +3 -3
  20. package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +226 -338
  21. package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +30 -30
  22. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +3 -115
  23. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +138 -138
  24. package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -1
  25. package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +3 -3
  26. package/package.json +12 -12
  27. package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +0 -1
  28. package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +1 -1
  29. package/sdk-scheme-adapter/v2_1_0/components/schemas/{ExtensionKey.yaml → ExtensionKey_v2_1_0.yaml} +1 -2
  30. package/sdk-scheme-adapter/v2_1_0/components/schemas/{ExtensionList.yaml → ExtensionList_v2_1_0.yaml} +1 -1
  31. package/sdk-scheme-adapter/v2_1_0/components/schemas/{Extension.yaml → Extension_v2_1_0.yaml} +2 -2
  32. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxCharge.yaml +19 -0
  33. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxConversion.yaml +57 -0
  34. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxMoney.yaml +10 -0
  35. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +1 -1
  36. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +1 -1
  37. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +1 -1
  38. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +1 -1
  39. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +1 -1
  40. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +1 -1
  41. package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +1 -1
  42. package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +1 -1
  43. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +1 -1
  44. package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +1 -1
  45. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +1 -1
  46. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +1 -1
  47. package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +1 -1
  48. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +1 -1
  49. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +1 -1
  50. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +2 -2
  51. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +2 -2
  52. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +1 -1
  53. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +1 -1
  54. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +1 -1
  55. package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +1 -1
  56. package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +1 -1
  57. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +1 -1
  58. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +1 -1
  59. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +1 -1
  60. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +1 -1
  61. package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +1 -1
  62. package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +1 -1
@@ -12,6 +12,6 @@ properties:
12
12
  conversionState:
13
13
  $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/conversionState"
14
14
  extensionList:
15
- $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/extensionList"
15
+ $ref: "./ExtensionList_v2_1_0.yaml"
16
16
  required:
17
17
  - conversionState
@@ -12,6 +12,6 @@ properties:
12
12
  conversionState:
13
13
  $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/conversionState"
14
14
  extensionList:
15
- $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/extensionList"
15
+ $ref: "./ExtensionList_v2_1_0.yaml"
16
16
  required:
17
17
  - conversionState
@@ -12,6 +12,6 @@ properties:
12
12
  conversionState:
13
13
  $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/conversionState"
14
14
  extensionList:
15
- $ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/extensionList"
15
+ $ref: "./ExtensionList_v2_1_0.yaml"
16
16
  required:
17
17
  - conversionState
@@ -13,7 +13,7 @@ properties:
13
13
  fspId:
14
14
  $ref: ./FspId.yaml
15
15
  extensionList:
16
- $ref: ./ExtensionList.yaml
16
+ $ref: ./ExtensionList_v2_1_0.yaml
17
17
  required:
18
18
  - partyIdType
19
19
  - partyIdentifier
@@ -19,7 +19,7 @@ properties:
19
19
  condition:
20
20
  $ref: ./IlpCondition.yaml
21
21
  extensionList:
22
- $ref: ./ExtensionList.yaml
22
+ $ref: ./ExtensionList_v2_1_0.yaml
23
23
  required:
24
24
  - transferAmount
25
25
  - expiration
@@ -42,7 +42,7 @@ properties:
42
42
  expiration:
43
43
  $ref: ./DateTime.yaml
44
44
  extensionList:
45
- $ref: ./ExtensionList.yaml
45
+ $ref: ./ExtensionList_v2_1_0.yaml
46
46
  required:
47
47
  - quoteId
48
48
  - transactionId
@@ -10,7 +10,7 @@ properties:
10
10
  transactionRequestState:
11
11
  $ref: ./TransactionRequestState.yaml
12
12
  extensionList:
13
- $ref: ./ExtensionList.yaml
13
+ $ref: ./ExtensionList_v2_1_0.yaml
14
14
  required:
15
15
  - transactionRequestState
16
16
  headers:
@@ -9,6 +9,6 @@ properties:
9
9
  transferState:
10
10
  $ref: ./TransferState.yaml
11
11
  extensionList:
12
- $ref: ./ExtensionList.yaml
12
+ $ref: ./ExtensionList_v2_1_0.yaml
13
13
  required:
14
14
  - transferState
@@ -17,7 +17,7 @@ properties:
17
17
  expiration:
18
18
  $ref: ./DateTime.yaml
19
19
  extensionList:
20
- $ref: ./ExtensionList.yaml
20
+ $ref: ./ExtensionList_v2_1_0.yaml
21
21
  required:
22
22
  - transferId
23
23
  - payeeFsp
@@ -21,4 +21,4 @@ properties:
21
21
  items:
22
22
  $ref: ./individualQuote.yaml
23
23
  extensions:
24
- $ref: ./ExtensionList.yaml
24
+ $ref: ExtensionList_v2_1_0.yaml
@@ -15,7 +15,7 @@ properties:
15
15
  expiration:
16
16
  $ref: ./DateTime.yaml
17
17
  extensionList:
18
- $ref: ./ExtensionList.yaml
18
+ $ref: ./ExtensionList_v2_1_0.yaml
19
19
  currentState:
20
20
  $ref: ../schemas/bulkTransferStatus.yaml
21
21
  individualQuoteResults:
@@ -21,9 +21,9 @@ properties:
21
21
  note:
22
22
  $ref: ./Note.yaml
23
23
  quoteExtensions:
24
- $ref: ./ExtensionList.yaml
24
+ $ref: ExtensionList_v2_1_0.yaml
25
25
  transferExtensions:
26
- $ref: ./ExtensionList.yaml
26
+ $ref: ExtensionList_v2_1_0.yaml
27
27
  lastError:
28
28
  $ref: ./transferError.yaml
29
29
  required:
@@ -31,8 +31,8 @@ properties:
31
31
  fulfil:
32
32
  $ref: ./individualTransferResult.yaml
33
33
  quoteExtensions:
34
- $ref: ./ExtensionList.yaml
34
+ $ref: ExtensionList_v2_1_0.yaml
35
35
  transferExtensions:
36
- $ref: ./ExtensionList.yaml
36
+ $ref: ExtensionList_v2_1_0.yaml
37
37
  lastError:
38
38
  $ref: ./transferError.yaml
@@ -24,4 +24,4 @@ properties:
24
24
  items:
25
25
  $ref: ./bulkTransactionIndividualTransfer.yaml
26
26
  extensions:
27
- $ref: ./ExtensionList.yaml
27
+ $ref: ExtensionList_v2_1_0.yaml
@@ -24,4 +24,4 @@ properties:
24
24
  items:
25
25
  $ref: ./bulkTransactionIndividualTransferResult.yaml
26
26
  extensions:
27
- $ref: ./ExtensionList.yaml
27
+ $ref: ExtensionList_v2_1_0.yaml
@@ -25,4 +25,4 @@ properties:
25
25
  items:
26
26
  $ref: ./individualTransfer.yaml
27
27
  extensions:
28
- $ref: ./ExtensionList.yaml
28
+ $ref: ExtensionList_v2_1_0.yaml
@@ -18,7 +18,7 @@ properties:
18
18
  completedTimestamp:
19
19
  $ref: ./DateTime.yaml
20
20
  extensionList:
21
- $ref: ./ExtensionList.yaml
21
+ $ref: ./ExtensionList_v2_1_0.yaml
22
22
  currentState:
23
23
  $ref: ../schemas/bulkTransferStatus.yaml
24
24
  individualTransferResults:
@@ -1,5 +1,5 @@
1
1
  type: array
2
2
  items:
3
- $ref: ./Extension.yaml
3
+ $ref: ./Extension_v2_1_0.yaml
4
4
  minItems: 0
5
5
  maxItems: 16
@@ -19,7 +19,7 @@ properties:
19
19
  note:
20
20
  $ref: ./Note.yaml
21
21
  extensions:
22
- $ref: ./ExtensionList.yaml
22
+ $ref: ExtensionList_v2_1_0.yaml
23
23
  required:
24
24
  - quoteId
25
25
  - to
@@ -17,7 +17,7 @@ properties:
17
17
  condition:
18
18
  $ref: ./IlpCondition.yaml
19
19
  extensionList:
20
- $ref: ./ExtensionList.yaml
20
+ $ref: ./ExtensionList_v2_1_0.yaml
21
21
  lastError:
22
22
  $ref: ./quoteError.yaml
23
23
  required:
@@ -23,7 +23,7 @@ properties:
23
23
  note:
24
24
  $ref: ./Note.yaml
25
25
  extensions:
26
- $ref: ./ExtensionList.yaml
26
+ $ref: ExtensionList_v2_1_0.yaml
27
27
  required:
28
28
  - transferId
29
29
  - to
@@ -6,4 +6,4 @@ properties:
6
6
  fulfilment:
7
7
  $ref: ./IlpFulfilment.yaml
8
8
  extensionList:
9
- $ref: ./ExtensionList.yaml
9
+ $ref: ./ExtensionList_v2_1_0.yaml
@@ -7,7 +7,7 @@ properties:
7
7
  fulfilment:
8
8
  $ref: ./IlpFulfilment.yaml
9
9
  extensionList:
10
- $ref: ./ExtensionList.yaml
10
+ $ref: ./ExtensionList_v2_1_0.yaml
11
11
  transferState:
12
12
  $ref: ./TransferState.yaml
13
13
  lastError:
@@ -30,7 +30,7 @@ properties:
30
30
  condition:
31
31
  $ref: ./IlpCondition.yaml
32
32
  extensionList:
33
- $ref: ./ExtensionList.yaml
33
+ $ref: ./ExtensionList_v2_1_0.yaml
34
34
  required:
35
35
  - transferAmount
36
36
  - expiration