@mojaloop/api-snippets 16.0.5 → 17.0.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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
  # Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
2
+ ### [16.0.6](https://github.com/mojaloop/api-snippets/compare/v16.0.5...v16.0.6) (2022-11-04)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **mojaloop/3003:** SDK Interface /bulkTransaction definition restricts individualTransfers maxLimit ([36bdeb3](https://github.com/mojaloop/api-snippets/commit/36bdeb30aa900320c33b66f8b7083f3a54cb0fa9))
8
+
2
9
  ### [16.0.5](https://github.com/mojaloop/api-snippets/compare/v16.0.4...v16.0.5) (2022-11-04)
3
10
 
4
11
 
@@ -1817,7 +1817,6 @@ paths:
1817
1817
  accept party information.
1818
1818
  type: array
1819
1819
  minItems: 1
1820
- maxItems: 1000
1821
1820
  items:
1822
1821
  allOf:
1823
1822
  - type: object
@@ -1847,9 +1846,25 @@ paths:
1847
1846
  characters long, 32 hexadecimal symbols and 4
1848
1847
  dashes (‘-‘).
1849
1848
  example: b51ec534-ee48-4575-b6a9-ead2955b8069
1849
+ transferId:
1850
+ title: CorrelationId
1851
+ type: string
1852
+ pattern: >-
1853
+ ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1854
+ description: >-
1855
+ Identifier that correlates all messages of the
1856
+ same sequence. The API data type UUID
1857
+ (Universally Unique Identifier) is a JSON
1858
+ String in canonical format, conforming to [RFC
1859
+ 4122](https://tools.ietf.org/html/rfc4122),
1860
+ that is restricted by a regular expression for
1861
+ interoperability reasons. A UUID is always 36
1862
+ characters long, 32 hexadecimal symbols and 4
1863
+ dashes (‘-‘).
1864
+ example: b51ec534-ee48-4575-b6a9-ead2955b8069
1850
1865
  required: &ref_31
1851
1866
  - homeTransactionId
1852
- - transactionId
1867
+ - transferId
1853
1868
  - type: object
1854
1869
  required: *ref_28
1855
1870
  properties: *ref_29
@@ -1871,7 +1886,6 @@ paths:
1871
1886
  description: List of individual transfers in a bulk transfer.
1872
1887
  type: array
1873
1888
  minItems: 1
1874
- maxItems: 1000
1875
1889
  items:
1876
1890
  allOf:
1877
1891
  - type: object
@@ -9186,11 +9186,18 @@
9186
9186
  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9187
9187
  "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 (‘-‘).",
9188
9188
  "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9189
+ },
9190
+ "transferId": {
9191
+ "title": "CorrelationId",
9192
+ "type": "string",
9193
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9194
+ "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 (‘-‘).",
9195
+ "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9189
9196
  }
9190
9197
  },
9191
9198
  "required": [
9192
9199
  "homeTransactionId",
9193
- "transactionId"
9200
+ "transferId"
9194
9201
  ]
9195
9202
  },
9196
9203
  "bulkTransactionContinuationAcceptParty": {
@@ -9209,7 +9216,6 @@
9209
9216
  "description": "List of individual transfers in a bulk transfer with accept party information.",
9210
9217
  "type": "array",
9211
9218
  "minItems": 1,
9212
- "maxItems": 1000,
9213
9219
  "items": {
9214
9220
  "allOf": [
9215
9221
  {
@@ -9226,11 +9232,18 @@
9226
9232
  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9227
9233
  "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 (‘-‘).",
9228
9234
  "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9235
+ },
9236
+ "transferId": {
9237
+ "title": "CorrelationId",
9238
+ "type": "string",
9239
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9240
+ "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 (‘-‘).",
9241
+ "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9229
9242
  }
9230
9243
  },
9231
9244
  "required": [
9232
9245
  "homeTransactionId",
9233
- "transactionId"
9246
+ "transferId"
9234
9247
  ]
9235
9248
  },
9236
9249
  {
@@ -9269,7 +9282,6 @@
9269
9282
  "description": "List of individual transfers in a bulk transfer.",
9270
9283
  "type": "array",
9271
9284
  "minItems": 1,
9272
- "maxItems": 1000,
9273
9285
  "items": {
9274
9286
  "allOf": [
9275
9287
  {
@@ -9286,11 +9298,18 @@
9286
9298
  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9287
9299
  "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 (‘-‘).",
9288
9300
  "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9301
+ },
9302
+ "transferId": {
9303
+ "title": "CorrelationId",
9304
+ "type": "string",
9305
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9306
+ "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 (‘-‘).",
9307
+ "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9289
9308
  }
9290
9309
  },
9291
9310
  "required": [
9292
9311
  "homeTransactionId",
9293
- "transactionId"
9312
+ "transferId"
9294
9313
  ]
9295
9314
  },
9296
9315
  {
@@ -9434,7 +9453,6 @@
9434
9453
  "description": "List of individual transfers in a bulk transfer with accept party information.",
9435
9454
  "type": "array",
9436
9455
  "minItems": 1,
9437
- "maxItems": 1000,
9438
9456
  "items": {
9439
9457
  "allOf": [
9440
9458
  {
@@ -9451,11 +9469,18 @@
9451
9469
  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9452
9470
  "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 (‘-‘).",
9453
9471
  "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9472
+ },
9473
+ "transferId": {
9474
+ "title": "CorrelationId",
9475
+ "type": "string",
9476
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9477
+ "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 (‘-‘).",
9478
+ "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9454
9479
  }
9455
9480
  },
9456
9481
  "required": [
9457
9482
  "homeTransactionId",
9458
- "transactionId"
9483
+ "transferId"
9459
9484
  ]
9460
9485
  },
9461
9486
  {
@@ -9687,7 +9712,6 @@
9687
9712
  "description": "List of individual transfers in a bulk transfer.",
9688
9713
  "type": "array",
9689
9714
  "minItems": 1,
9690
- "maxItems": 1000,
9691
9715
  "items": {
9692
9716
  "allOf": [
9693
9717
  {
@@ -9704,11 +9728,18 @@
9704
9728
  "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9705
9729
  "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 (‘-‘).",
9706
9730
  "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9731
+ },
9732
+ "transferId": {
9733
+ "title": "CorrelationId",
9734
+ "type": "string",
9735
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
9736
+ "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 (‘-‘).",
9737
+ "example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
9707
9738
  }
9708
9739
  },
9709
9740
  "required": [
9710
9741
  "homeTransactionId",
9711
- "transactionId"
9742
+ "transferId"
9712
9743
  ]
9713
9744
  },
9714
9745
  {
@@ -4462,7 +4462,13 @@ export interface paths {
4462
4462
  * @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 (‘-‘).
4463
4463
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4464
4464
  */
4465
- transactionId: string;
4465
+ transactionId?: string;
4466
+ /**
4467
+ * CorrelationId
4468
+ * @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 (‘-‘).
4469
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4470
+ */
4471
+ transferId: string;
4466
4472
  } & {
4467
4473
  /** @enum {boolean} */
4468
4474
  acceptParty: true | false;
@@ -4528,7 +4534,13 @@ export interface paths {
4528
4534
  * @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 (‘-‘).
4529
4535
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4530
4536
  */
4531
- transactionId: string;
4537
+ transactionId?: string;
4538
+ /**
4539
+ * CorrelationId
4540
+ * @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 (‘-‘).
4541
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4542
+ */
4543
+ transferId: string;
4532
4544
  } & {
4533
4545
  /** @enum {boolean} */
4534
4546
  acceptQuote: true | false;
@@ -4608,7 +4620,13 @@ export interface paths {
4608
4620
  * @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 (‘-‘).
4609
4621
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4610
4622
  */
4611
- transactionId: string;
4623
+ transactionId?: string;
4624
+ /**
4625
+ * CorrelationId
4626
+ * @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 (‘-‘).
4627
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4628
+ */
4629
+ transferId: string;
4612
4630
  } & {
4613
4631
  /** @enum {boolean} */
4614
4632
  acceptParty: true | false;
@@ -4625,7 +4643,13 @@ export interface paths {
4625
4643
  * @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 (‘-‘).
4626
4644
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4627
4645
  */
4628
- transactionId: string;
4646
+ transactionId?: string;
4647
+ /**
4648
+ * CorrelationId
4649
+ * @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 (‘-‘).
4650
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
4651
+ */
4652
+ transferId: string;
4629
4653
  } & {
4630
4654
  /** @enum {boolean} */
4631
4655
  acceptQuote: true | false;
@@ -14985,7 +15009,13 @@ export interface components {
14985
15009
  * @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 (‘-‘).
14986
15010
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
14987
15011
  */
14988
- transactionId: string;
15012
+ transactionId?: string;
15013
+ /**
15014
+ * CorrelationId
15015
+ * @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 (‘-‘).
15016
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15017
+ */
15018
+ transferId: string;
14989
15019
  };
14990
15020
  /** @description The object sent back as confirmation of payee parties when autoAcceptParty is false. */
14991
15021
  bulkTransactionContinuationAcceptParty: {
@@ -15000,7 +15030,13 @@ export interface components {
15000
15030
  * @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 (‘-‘).
15001
15031
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15002
15032
  */
15003
- transactionId: string;
15033
+ transactionId?: string;
15034
+ /**
15035
+ * CorrelationId
15036
+ * @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 (‘-‘).
15037
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15038
+ */
15039
+ transferId: string;
15004
15040
  } & {
15005
15041
  /** @enum {boolean} */
15006
15042
  acceptParty: true | false;
@@ -15019,7 +15055,13 @@ export interface components {
15019
15055
  * @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 (‘-‘).
15020
15056
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15021
15057
  */
15022
- transactionId: string;
15058
+ transactionId?: string;
15059
+ /**
15060
+ * CorrelationId
15061
+ * @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 (‘-‘).
15062
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15063
+ */
15064
+ transferId: string;
15023
15065
  } & {
15024
15066
  /** @enum {boolean} */
15025
15067
  acceptQuote: true | false;
@@ -15087,7 +15129,13 @@ export interface components {
15087
15129
  * @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 (‘-‘).
15088
15130
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15089
15131
  */
15090
- transactionId: string;
15132
+ transactionId?: string;
15133
+ /**
15134
+ * CorrelationId
15135
+ * @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 (‘-‘).
15136
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15137
+ */
15138
+ transferId: string;
15091
15139
  } & {
15092
15140
  /** @enum {boolean} */
15093
15141
  acceptParty: true | false;
@@ -15198,7 +15246,13 @@ export interface components {
15198
15246
  * @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 (‘-‘).
15199
15247
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15200
15248
  */
15201
- transactionId: string;
15249
+ transactionId?: string;
15250
+ /**
15251
+ * CorrelationId
15252
+ * @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 (‘-‘).
15253
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
15254
+ */
15255
+ transferId: string;
15202
15256
  } & {
15203
15257
  /** @enum {boolean} */
15204
15258
  acceptQuote: true | false;
@@ -22304,7 +22358,13 @@ export interface components {
22304
22358
  * @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 (‘-‘).
22305
22359
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
22306
22360
  */
22307
- transactionId: string;
22361
+ transactionId?: string;
22362
+ /**
22363
+ * CorrelationId
22364
+ * @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 (‘-‘).
22365
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
22366
+ */
22367
+ transferId: string;
22308
22368
  } & {
22309
22369
  /** @enum {boolean} */
22310
22370
  acceptParty: true | false;
@@ -22370,7 +22430,13 @@ export interface components {
22370
22430
  * @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 (‘-‘).
22371
22431
  * @example b51ec534-ee48-4575-b6a9-ead2955b8069
22372
22432
  */
22373
- transactionId: string;
22433
+ transactionId?: string;
22434
+ /**
22435
+ * CorrelationId
22436
+ * @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 (‘-‘).
22437
+ * @example b51ec534-ee48-4575-b6a9-ead2955b8069
22438
+ */
22439
+ transferId: string;
22374
22440
  } & {
22375
22441
  /** @enum {boolean} */
22376
22442
  acceptQuote: true | false;
@@ -4659,6 +4659,13 @@ export declare namespace Schemas {
4659
4659
  description: string;
4660
4660
  example: string;
4661
4661
  };
4662
+ transferId: {
4663
+ title: string;
4664
+ type: string;
4665
+ pattern: string;
4666
+ description: string;
4667
+ example: string;
4668
+ };
4662
4669
  };
4663
4670
  required: string[];
4664
4671
  };
@@ -4675,7 +4682,6 @@ export declare namespace Schemas {
4675
4682
  description: string;
4676
4683
  type: string;
4677
4684
  minItems: number;
4678
- maxItems: number;
4679
4685
  items: {
4680
4686
  allOf: ({
4681
4687
  type: string;
@@ -4692,6 +4698,13 @@ export declare namespace Schemas {
4692
4698
  description: string;
4693
4699
  example: string;
4694
4700
  };
4701
+ transferId: {
4702
+ title: string;
4703
+ type: string;
4704
+ pattern: string;
4705
+ description: string;
4706
+ example: string;
4707
+ };
4695
4708
  acceptParty?: undefined;
4696
4709
  };
4697
4710
  required: string[];
@@ -4705,6 +4718,7 @@ export declare namespace Schemas {
4705
4718
  };
4706
4719
  homeTransactionId?: undefined;
4707
4720
  transactionId?: undefined;
4721
+ transferId?: undefined;
4708
4722
  };
4709
4723
  description?: undefined;
4710
4724
  })[];
@@ -4725,7 +4739,6 @@ export declare namespace Schemas {
4725
4739
  description: string;
4726
4740
  type: string;
4727
4741
  minItems: number;
4728
- maxItems: number;
4729
4742
  items: {
4730
4743
  allOf: ({
4731
4744
  type: string;
@@ -4742,6 +4755,13 @@ export declare namespace Schemas {
4742
4755
  description: string;
4743
4756
  example: string;
4744
4757
  };
4758
+ transferId: {
4759
+ title: string;
4760
+ type: string;
4761
+ pattern: string;
4762
+ description: string;
4763
+ example: string;
4764
+ };
4745
4765
  acceptQuote?: undefined;
4746
4766
  };
4747
4767
  required: string[];
@@ -4755,6 +4775,7 @@ export declare namespace Schemas {
4755
4775
  };
4756
4776
  homeTransactionId?: undefined;
4757
4777
  transactionId?: undefined;
4778
+ transferId?: undefined;
4758
4779
  };
4759
4780
  description?: undefined;
4760
4781
  })[];
@@ -4869,7 +4890,6 @@ export declare namespace Schemas {
4869
4890
  description: string;
4870
4891
  type: string;
4871
4892
  minItems: number;
4872
- maxItems: number;
4873
4893
  items: {
4874
4894
  allOf: ({
4875
4895
  type: string;
@@ -4886,6 +4906,13 @@ export declare namespace Schemas {
4886
4906
  description: string;
4887
4907
  example: string;
4888
4908
  };
4909
+ transferId: {
4910
+ title: string;
4911
+ type: string;
4912
+ pattern: string;
4913
+ description: string;
4914
+ example: string;
4915
+ };
4889
4916
  acceptParty?: undefined;
4890
4917
  };
4891
4918
  required: string[];
@@ -4899,6 +4926,7 @@ export declare namespace Schemas {
4899
4926
  };
4900
4927
  homeTransactionId?: undefined;
4901
4928
  transactionId?: undefined;
4929
+ transferId?: undefined;
4902
4930
  };
4903
4931
  description?: undefined;
4904
4932
  })[];
@@ -5097,7 +5125,6 @@ export declare namespace Schemas {
5097
5125
  description: string;
5098
5126
  type: string;
5099
5127
  minItems: number;
5100
- maxItems: number;
5101
5128
  items: {
5102
5129
  allOf: ({
5103
5130
  type: string;
@@ -5114,6 +5141,13 @@ export declare namespace Schemas {
5114
5141
  description: string;
5115
5142
  example: string;
5116
5143
  };
5144
+ transferId: {
5145
+ title: string;
5146
+ type: string;
5147
+ pattern: string;
5148
+ description: string;
5149
+ example: string;
5150
+ };
5117
5151
  acceptQuote?: undefined;
5118
5152
  };
5119
5153
  required: string[];
@@ -5127,6 +5161,7 @@ export declare namespace Schemas {
5127
5161
  };
5128
5162
  homeTransactionId?: undefined;
5129
5163
  transactionId?: undefined;
5164
+ transferId?: undefined;
5130
5165
  };
5131
5166
  description?: undefined;
5132
5167
  })[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "16.0.5",
3
+ "version": "17.0.0-snapshot.0",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -85,11 +85,11 @@
85
85
  "@commitlint/cli": "^17.2.0",
86
86
  "@commitlint/config-conventional": "^17.2.0",
87
87
  "@redocly/openapi-cli": "^1.0.0-beta.94",
88
- "@types/jest": "^29.2.1",
89
- "@typescript-eslint/eslint-plugin": "^5.42.0",
90
- "@typescript-eslint/parser": "^5.42.0",
88
+ "@types/jest": "^29.2.2",
89
+ "@typescript-eslint/eslint-plugin": "^5.42.1",
90
+ "@typescript-eslint/parser": "^5.42.1",
91
91
  "diff": "^5.1.0",
92
- "eslint": "^8.26.0",
92
+ "eslint": "^8.27.0",
93
93
  "eslint-config-prettier": "^8.5.0",
94
94
  "eslint-config-standard": "^17.0.0",
95
95
  "eslint-import-resolver-typescript": "^3.5.2",
@@ -100,11 +100,11 @@
100
100
  "eslint-plugin-promise": "^6.1.1",
101
101
  "eslint-plugin-standard": "^5.0.0",
102
102
  "husky": "4.3.8",
103
- "jest": "^29.2.2",
103
+ "jest": "^29.3.1",
104
104
  "jest-junit": "^14.0.1",
105
105
  "lint-staged": "^13.0.3",
106
106
  "npm-audit-resolver": "^3.0.0-7",
107
- "npm-check-updates": "^16.3.16",
107
+ "npm-check-updates": "^16.3.18",
108
108
  "prettier": "^2.7.1",
109
109
  "standard-version": "^9.5.0",
110
110
  "swagger-cli": "^4.0.4",
@@ -17,7 +17,6 @@ properties:
17
17
  information.
18
18
  type: array
19
19
  minItems: 1
20
- maxItems: 1000
21
20
  items:
22
21
  allOf:
23
22
  - $ref: ./bulkTransactionIndividualTransferAccept.yaml
@@ -13,7 +13,6 @@ properties:
13
13
  description: List of individual transfers in a bulk transfer.
14
14
  type: array
15
15
  minItems: 1
16
- maxItems: 1000
17
16
  items:
18
17
  allOf:
19
18
  - $ref: ./bulkTransactionIndividualTransferAccept.yaml
@@ -8,6 +8,8 @@ properties:
8
8
  between the Switch and DFSP backend systems.
9
9
  transactionId:
10
10
  $ref: ./CorrelationId.yaml
11
+ transferId:
12
+ $ref: ./CorrelationId.yaml
11
13
  required:
12
14
  - homeTransactionId
13
- - transactionId
15
+ - transferId