@mojaloop/api-snippets 17.6.0-snapshot.0 → 17.6.0-snapshot.2
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.
- package/CHANGELOG.md +7 -0
- package/audit-ci.jsonc +1 -0
- package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +1 -1
- package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +1 -1
- package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +6 -6
- package/docs/thirdparty-openapi3-snippets.yaml +1 -1
- package/fspiop/v1_0/openapi3/components/schemas/CorrelationId.yaml +1 -1
- package/fspiop/v1_1/openapi3/components/schemas/CorrelationId.yaml +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +41 -41
- package/package.json +5 -5
- package/sdk-scheme-adapter/v2_0_0/backend/openapi.yaml +6 -6
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
2
|
+
### [17.5.1](https://github.com/mojaloop/api-snippets/compare/v17.5.0...v17.5.1) (2024-06-03)
|
3
|
+
|
4
|
+
|
5
|
+
### Maintenance
|
6
|
+
|
7
|
+
* exported fspiop v2_0 ([#173](https://github.com/mojaloop/api-snippets/issues/173)) ([dde1b84](https://github.com/mojaloop/api-snippets/commit/dde1b8492698cd8fe368544d7d60801fe6472ada))
|
8
|
+
|
2
9
|
## [17.5.0](https://github.com/mojaloop/api-snippets/compare/v17.4.0...v17.5.0) (2024-06-03)
|
3
10
|
|
4
11
|
|
package/audit-ci.jsonc
CHANGED
@@ -2007,7 +2007,7 @@ components:
|
|
2007
2007
|
CorrelationId:
|
2008
2008
|
title: CorrelationId
|
2009
2009
|
type: string
|
2010
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2010
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
2011
2011
|
description: Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
|
2012
2012
|
Currency:
|
2013
2013
|
title: Currency
|
@@ -2358,7 +2358,7 @@ components:
|
|
2358
2358
|
title: CorrelationId
|
2359
2359
|
type: string
|
2360
2360
|
pattern: >-
|
2361
|
-
^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2361
|
+
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
2362
2362
|
description: >-
|
2363
2363
|
Identifier that correlates all messages of the same sequence. The API
|
2364
2364
|
data type UUID (Universally Unique Identifier) is a JSON String in
|
@@ -618,7 +618,7 @@ components:
|
|
618
618
|
type: string
|
619
619
|
bulkQuoteId:
|
620
620
|
description: A Mojaloop API bulk quote identifier (UUID).
|
621
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
621
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
622
622
|
type: string
|
623
623
|
bulkQuoteRequest:
|
624
624
|
description: A request for a bulk quote.
|
@@ -664,7 +664,7 @@ components:
|
|
664
664
|
type: object
|
665
665
|
bulkTransferId:
|
666
666
|
description: A Mojaloop API transfer identifier (UUID).
|
667
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
667
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
668
668
|
type: string
|
669
669
|
bulkTransferRequest:
|
670
670
|
properties:
|
@@ -1118,7 +1118,7 @@ components:
|
|
1118
1118
|
type: string
|
1119
1119
|
quoteId:
|
1120
1120
|
description: A Mojaloop API quote identifier (UUID).
|
1121
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1121
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1122
1122
|
type: string
|
1123
1123
|
quoteRequest:
|
1124
1124
|
description: A request for a quote for transfer from the DFSP backend.
|
@@ -1222,7 +1222,7 @@ components:
|
|
1222
1222
|
type: string
|
1223
1223
|
transactionId:
|
1224
1224
|
description: ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.
|
1225
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1225
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1226
1226
|
type: string
|
1227
1227
|
transactionRequest:
|
1228
1228
|
description: A request for a pull based transfer.
|
@@ -1268,7 +1268,7 @@ components:
|
|
1268
1268
|
type: object
|
1269
1269
|
transactionRequestId:
|
1270
1270
|
description: A Mojaloop API transaction request identifier (UUID).
|
1271
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1271
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1272
1272
|
type: string
|
1273
1273
|
transactionRequestResponse:
|
1274
1274
|
description: A response to a request for a quote.
|
@@ -1360,7 +1360,7 @@ components:
|
|
1360
1360
|
type: object
|
1361
1361
|
transferId:
|
1362
1362
|
description: A Mojaloop API transfer identifier (UUID).
|
1363
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1363
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1364
1364
|
type: string
|
1365
1365
|
transferParty:
|
1366
1366
|
properties:
|
@@ -2419,7 +2419,7 @@ components:
|
|
2419
2419
|
CorrelationId:
|
2420
2420
|
title: CorrelationId
|
2421
2421
|
type: string
|
2422
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2422
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
2423
2423
|
description: Identifier that correlates all messages of the same sequence. The API data type UUID (Universally Unique Identifier) is a JSON String in canonical format, conforming to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is restricted by a regular expression for interoperability reasons. A UUID is always 36 characters long, 32 hexadecimal symbols and 4 dashes (‘-‘).
|
2424
2424
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
2425
2425
|
ParticipantsPostRequest:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: CorrelationId
|
2
2
|
type: string
|
3
|
-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
3
|
+
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$'
|
4
4
|
description: >-
|
5
5
|
Identifier that correlates all messages of the same sequence. The API data
|
6
6
|
type UUID (Universally Unique Identifier) is a JSON String in canonical
|
@@ -1,6 +1,6 @@
|
|
1
1
|
title: CorrelationId
|
2
2
|
type: string
|
3
|
-
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
3
|
+
pattern: '^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$'
|
4
4
|
description: >-
|
5
5
|
Identifier that correlates all messages of the same sequence. The API data
|
6
6
|
type UUID (Universally Unique Identifier) is a JSON String in canonical
|
@@ -406,7 +406,7 @@
|
|
406
406
|
},
|
407
407
|
"quoteId": {
|
408
408
|
"description": "A Mojaloop API quote identifier (UUID).",
|
409
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
409
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
410
410
|
"type": "string"
|
411
411
|
},
|
412
412
|
"subScenario": {
|
@@ -508,7 +508,7 @@
|
|
508
508
|
},
|
509
509
|
"transactionId": {
|
510
510
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
511
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
511
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
512
512
|
"type": "string"
|
513
513
|
},
|
514
514
|
"transactionType": {
|
@@ -551,7 +551,7 @@
|
|
551
551
|
},
|
552
552
|
"quoteId": {
|
553
553
|
"description": "A Mojaloop API quote identifier (UUID).",
|
554
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
554
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
555
555
|
"type": "string"
|
556
556
|
}
|
557
557
|
},
|
@@ -1091,7 +1091,7 @@
|
|
1091
1091
|
},
|
1092
1092
|
"quoteId": {
|
1093
1093
|
"description": "A Mojaloop API quote identifier (UUID).",
|
1094
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1094
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
1095
1095
|
"type": "string"
|
1096
1096
|
},
|
1097
1097
|
"transferAmount": {
|
@@ -1764,7 +1764,7 @@
|
|
1764
1764
|
},
|
1765
1765
|
"transferId": {
|
1766
1766
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
1767
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1767
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
1768
1768
|
"type": "string"
|
1769
1769
|
}
|
1770
1770
|
},
|
@@ -1813,7 +1813,7 @@
|
|
1813
1813
|
},
|
1814
1814
|
"transferId": {
|
1815
1815
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
1816
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1816
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
1817
1817
|
"type": "string"
|
1818
1818
|
}
|
1819
1819
|
},
|
@@ -2040,7 +2040,7 @@
|
|
2040
2040
|
},
|
2041
2041
|
"bulkQuoteId": {
|
2042
2042
|
"description": "A Mojaloop API bulk quote identifier (UUID).",
|
2043
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2043
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
2044
2044
|
"type": "string"
|
2045
2045
|
},
|
2046
2046
|
"bulkQuoteRequest": {
|
@@ -2048,7 +2048,7 @@
|
|
2048
2048
|
"properties": {
|
2049
2049
|
"bulkQuoteId": {
|
2050
2050
|
"description": "A Mojaloop API bulk quote identifier (UUID).",
|
2051
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2051
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
2052
2052
|
"type": "string"
|
2053
2053
|
},
|
2054
2054
|
"expiration": {
|
@@ -2551,7 +2551,7 @@
|
|
2551
2551
|
},
|
2552
2552
|
"quoteId": {
|
2553
2553
|
"description": "A Mojaloop API quote identifier (UUID).",
|
2554
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2554
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
2555
2555
|
"type": "string"
|
2556
2556
|
},
|
2557
2557
|
"subScenario": {
|
@@ -2653,7 +2653,7 @@
|
|
2653
2653
|
},
|
2654
2654
|
"transactionId": {
|
2655
2655
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
2656
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2656
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
2657
2657
|
"type": "string"
|
2658
2658
|
},
|
2659
2659
|
"transactionType": {
|
@@ -2695,7 +2695,7 @@
|
|
2695
2695
|
"properties": {
|
2696
2696
|
"bulkQuoteId": {
|
2697
2697
|
"description": "A Mojaloop API bulk quote identifier (UUID).",
|
2698
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
2698
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
2699
2699
|
"type": "string"
|
2700
2700
|
},
|
2701
2701
|
"expiration": {
|
@@ -3237,7 +3237,7 @@
|
|
3237
3237
|
},
|
3238
3238
|
"quoteId": {
|
3239
3239
|
"description": "A Mojaloop API quote identifier (UUID).",
|
3240
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
3240
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
3241
3241
|
"type": "string"
|
3242
3242
|
},
|
3243
3243
|
"transferAmount": {
|
@@ -3439,7 +3439,7 @@
|
|
3439
3439
|
},
|
3440
3440
|
"quoteId": {
|
3441
3441
|
"description": "A Mojaloop API quote identifier (UUID).",
|
3442
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
3442
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
3443
3443
|
"type": "string"
|
3444
3444
|
}
|
3445
3445
|
},
|
@@ -3464,7 +3464,7 @@
|
|
3464
3464
|
},
|
3465
3465
|
"bulkTransferId": {
|
3466
3466
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
3467
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
3467
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
3468
3468
|
"type": "string"
|
3469
3469
|
},
|
3470
3470
|
"bulkTransferRequest": {
|
@@ -3474,7 +3474,7 @@
|
|
3474
3474
|
"properties": {
|
3475
3475
|
"bulkQuoteId": {
|
3476
3476
|
"description": "A Mojaloop API bulk quote identifier (UUID).",
|
3477
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
3477
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
3478
3478
|
"type": "string"
|
3479
3479
|
},
|
3480
3480
|
"expiration": {
|
@@ -4016,7 +4016,7 @@
|
|
4016
4016
|
},
|
4017
4017
|
"quoteId": {
|
4018
4018
|
"description": "A Mojaloop API quote identifier (UUID).",
|
4019
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
4019
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
4020
4020
|
"type": "string"
|
4021
4021
|
},
|
4022
4022
|
"transferAmount": {
|
@@ -4218,7 +4218,7 @@
|
|
4218
4218
|
},
|
4219
4219
|
"quoteId": {
|
4220
4220
|
"description": "A Mojaloop API quote identifier (UUID).",
|
4221
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
4221
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
4222
4222
|
"type": "string"
|
4223
4223
|
}
|
4224
4224
|
},
|
@@ -4243,7 +4243,7 @@
|
|
4243
4243
|
},
|
4244
4244
|
"bulkTransferId": {
|
4245
4245
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
4246
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
4246
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
4247
4247
|
"type": "string"
|
4248
4248
|
},
|
4249
4249
|
"from": {
|
@@ -4826,7 +4826,7 @@
|
|
4826
4826
|
},
|
4827
4827
|
"transferId": {
|
4828
4828
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
4829
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
4829
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
4830
4830
|
"type": "string"
|
4831
4831
|
}
|
4832
4832
|
},
|
@@ -4852,7 +4852,7 @@
|
|
4852
4852
|
"properties": {
|
4853
4853
|
"bulkTransferId": {
|
4854
4854
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
4855
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
4855
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
4856
4856
|
"type": "string"
|
4857
4857
|
},
|
4858
4858
|
"homeTransactionId": {
|
@@ -4898,7 +4898,7 @@
|
|
4898
4898
|
},
|
4899
4899
|
"transferId": {
|
4900
4900
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
4901
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
4901
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
4902
4902
|
"type": "string"
|
4903
4903
|
}
|
4904
4904
|
},
|
@@ -5458,7 +5458,7 @@
|
|
5458
5458
|
},
|
5459
5459
|
"transferId": {
|
5460
5460
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
5461
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
5461
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
5462
5462
|
"type": "string"
|
5463
5463
|
}
|
5464
5464
|
},
|
@@ -6024,12 +6024,12 @@
|
|
6024
6024
|
},
|
6025
6025
|
"quoteId": {
|
6026
6026
|
"description": "A Mojaloop API quote identifier (UUID).",
|
6027
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
6027
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
6028
6028
|
"type": "string"
|
6029
6029
|
},
|
6030
6030
|
"transactionId": {
|
6031
6031
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
6032
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
6032
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
6033
6033
|
"type": "string"
|
6034
6034
|
},
|
6035
6035
|
"transactionType": {
|
@@ -6147,7 +6147,7 @@
|
|
6147
6147
|
},
|
6148
6148
|
"quoteId": {
|
6149
6149
|
"description": "A Mojaloop API quote identifier (UUID).",
|
6150
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
6150
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
6151
6151
|
"type": "string"
|
6152
6152
|
},
|
6153
6153
|
"quoteRequest": {
|
@@ -6673,7 +6673,7 @@
|
|
6673
6673
|
},
|
6674
6674
|
"quoteId": {
|
6675
6675
|
"description": "A Mojaloop API quote identifier (UUID).",
|
6676
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
6676
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
6677
6677
|
"type": "string"
|
6678
6678
|
},
|
6679
6679
|
"subScenario": {
|
@@ -6775,7 +6775,7 @@
|
|
6775
6775
|
},
|
6776
6776
|
"transactionId": {
|
6777
6777
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
6778
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
6778
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
6779
6779
|
"type": "string"
|
6780
6780
|
},
|
6781
6781
|
"transactionType": {
|
@@ -6788,7 +6788,7 @@
|
|
6788
6788
|
},
|
6789
6789
|
"transactionRequestId": {
|
6790
6790
|
"description": "A Mojaloop API transaction request identifier (UUID).",
|
6791
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
6791
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
6792
6792
|
"type": "string"
|
6793
6793
|
}
|
6794
6794
|
},
|
@@ -7381,12 +7381,12 @@
|
|
7381
7381
|
},
|
7382
7382
|
"quoteId": {
|
7383
7383
|
"description": "A Mojaloop API quote identifier (UUID).",
|
7384
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
7384
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
7385
7385
|
"type": "string"
|
7386
7386
|
},
|
7387
7387
|
"transactionId": {
|
7388
7388
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
7389
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
7389
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
7390
7390
|
"type": "string"
|
7391
7391
|
},
|
7392
7392
|
"transferAmount": {
|
@@ -7586,7 +7586,7 @@
|
|
7586
7586
|
},
|
7587
7587
|
"transactionId": {
|
7588
7588
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
7589
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
7589
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
7590
7590
|
"type": "string"
|
7591
7591
|
},
|
7592
7592
|
"transactionRequest": {
|
@@ -7996,7 +7996,7 @@
|
|
7996
7996
|
},
|
7997
7997
|
"transactionRequestId": {
|
7998
7998
|
"description": "A Mojaloop API transaction request identifier (UUID).",
|
7999
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
7999
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
8000
8000
|
"type": "string"
|
8001
8001
|
},
|
8002
8002
|
"transactionType": {
|
@@ -8040,7 +8040,7 @@
|
|
8040
8040
|
},
|
8041
8041
|
"transactionRequestId": {
|
8042
8042
|
"description": "A Mojaloop API transaction request identifier (UUID).",
|
8043
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
8043
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
8044
8044
|
"type": "string"
|
8045
8045
|
},
|
8046
8046
|
"transactionRequestResponse": {
|
@@ -8052,7 +8052,7 @@
|
|
8052
8052
|
},
|
8053
8053
|
"transactionId": {
|
8054
8054
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
8055
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
8055
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
8056
8056
|
"type": "string"
|
8057
8057
|
},
|
8058
8058
|
"transactionRequestState": {
|
@@ -8573,7 +8573,7 @@
|
|
8573
8573
|
},
|
8574
8574
|
"transferId": {
|
8575
8575
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
8576
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
8576
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
8577
8577
|
"type": "string"
|
8578
8578
|
},
|
8579
8579
|
"transferParty": {
|
@@ -9456,12 +9456,12 @@
|
|
9456
9456
|
},
|
9457
9457
|
"quoteId": {
|
9458
9458
|
"description": "A Mojaloop API quote identifier (UUID).",
|
9459
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
9459
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
9460
9460
|
"type": "string"
|
9461
9461
|
},
|
9462
9462
|
"transactionId": {
|
9463
9463
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
9464
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
9464
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
9465
9465
|
"type": "string"
|
9466
9466
|
},
|
9467
9467
|
"transactionType": {
|
@@ -10100,12 +10100,12 @@
|
|
10100
10100
|
},
|
10101
10101
|
"quoteId": {
|
10102
10102
|
"description": "A Mojaloop API quote identifier (UUID).",
|
10103
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
10103
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
10104
10104
|
"type": "string"
|
10105
10105
|
},
|
10106
10106
|
"transactionId": {
|
10107
10107
|
"description": "ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.",
|
10108
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
10108
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
10109
10109
|
"type": "string"
|
10110
10110
|
},
|
10111
10111
|
"transferAmount": {
|
@@ -10419,12 +10419,12 @@
|
|
10419
10419
|
},
|
10420
10420
|
"transferId": {
|
10421
10421
|
"description": "A Mojaloop API transfer identifier (UUID).",
|
10422
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
10422
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
10423
10423
|
"type": "string"
|
10424
10424
|
},
|
10425
10425
|
"transactionRequestId": {
|
10426
10426
|
"description": "A Mojaloop API transaction request identifier (UUID).",
|
10427
|
-
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
10427
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
10428
10428
|
"type": "string"
|
10429
10429
|
}
|
10430
10430
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mojaloop/api-snippets",
|
3
|
-
"version": "17.6.0-snapshot.
|
3
|
+
"version": "17.6.0-snapshot.2",
|
4
4
|
"description": "Mojaloop API specification reusable snippets",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -96,9 +96,9 @@
|
|
96
96
|
"@redocly/cli": "^1.14.0",
|
97
97
|
"@types/jest": "^29.5.12",
|
98
98
|
"@types/js-yaml": "^4.0.9",
|
99
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
100
|
-
"@typescript-eslint/parser": "^7.
|
101
|
-
"audit-ci": "^7.0.
|
99
|
+
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
100
|
+
"@typescript-eslint/parser": "^7.12.0",
|
101
|
+
"audit-ci": "^7.0.1",
|
102
102
|
"browser-sync": "^3.0.2",
|
103
103
|
"diff": "^5.2.0",
|
104
104
|
"eslint": "^8.55.0",
|
@@ -122,7 +122,7 @@
|
|
122
122
|
"swagger-cli": "^4.0.4",
|
123
123
|
"ts-jest": "^29.1.4",
|
124
124
|
"ts-node": "^10.9.2",
|
125
|
-
"ts-patch": "^3.
|
125
|
+
"ts-patch": "^3.2.0",
|
126
126
|
"tslib": "^2.6.2",
|
127
127
|
"typescript": "^5.4.5"
|
128
128
|
},
|
@@ -612,7 +612,7 @@ components:
|
|
612
612
|
type: string
|
613
613
|
bulkQuoteId:
|
614
614
|
description: A Mojaloop API bulk quote identifier (UUID).
|
615
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
615
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
616
616
|
type: string
|
617
617
|
bulkQuoteRequest:
|
618
618
|
description: A request for a bulk quote.
|
@@ -658,7 +658,7 @@ components:
|
|
658
658
|
type: object
|
659
659
|
bulkTransferId:
|
660
660
|
description: A Mojaloop API transfer identifier (UUID).
|
661
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
661
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
662
662
|
type: string
|
663
663
|
bulkTransferRequest:
|
664
664
|
properties:
|
@@ -1112,7 +1112,7 @@ components:
|
|
1112
1112
|
type: string
|
1113
1113
|
quoteId:
|
1114
1114
|
description: A Mojaloop API quote identifier (UUID).
|
1115
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1115
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1116
1116
|
type: string
|
1117
1117
|
quoteRequest:
|
1118
1118
|
description: A request for a quote for transfer from the DFSP backend.
|
@@ -1217,7 +1217,7 @@ components:
|
|
1217
1217
|
type: string
|
1218
1218
|
transactionId:
|
1219
1219
|
description: ID of the transaction, the ID is decided by the Payer FSP during the creation of the quote.
|
1220
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1220
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1221
1221
|
type: string
|
1222
1222
|
transactionRequest:
|
1223
1223
|
description: A request for a pull based transfer.
|
@@ -1263,7 +1263,7 @@ components:
|
|
1263
1263
|
type: object
|
1264
1264
|
transactionRequestId:
|
1265
1265
|
description: A Mojaloop API transaction request identifier (UUID).
|
1266
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1266
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1267
1267
|
type: string
|
1268
1268
|
transactionRequestResponse:
|
1269
1269
|
description: A response to a request for a quote.
|
@@ -1357,7 +1357,7 @@ components:
|
|
1357
1357
|
type: object
|
1358
1358
|
transferId:
|
1359
1359
|
description: A Mojaloop API transfer identifier (UUID).
|
1360
|
-
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-
|
1360
|
+
pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
1361
1361
|
type: string
|
1362
1362
|
transferParty:
|
1363
1363
|
properties:
|