@mojaloop/api-snippets 17.7.1 → 17.7.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 CHANGED
@@ -1,4 +1,11 @@
1
1
  # Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
2
+ ### [17.7.2](https://github.com/mojaloop/api-snippets/compare/v17.7.1...v17.7.2) (2024-10-14)
3
+
4
+
5
+ ### Maintenance
6
+
7
+ * add minor iso fixes ([#181](https://github.com/mojaloop/api-snippets/issues/181)) ([51ae289](https://github.com/mojaloop/api-snippets/commit/51ae289318bc05e85feb98b593c15c666212fd2e))
8
+
2
9
  ### [17.7.1](https://github.com/mojaloop/api-snippets/compare/v17.7.0...v17.7.1) (2024-10-10)
3
10
 
4
11
 
@@ -2968,13 +2968,12 @@ components:
2968
2968
  "COMM": "COMMITED",
2969
2969
  "RESV": "RESERVED",
2970
2970
  "RECV": "RECEIVED",
2971
- "ABOR": "ABORTED",
2972
- "SETT": "SETTLED"
2971
+ "ABOR": "ABORTED"
2973
2972
  }
2974
2973
  type: string
2975
2974
  minLength: 1
2976
2975
  maxLength: 4
2977
- example: SETT
2976
+ example: COMM
2978
2977
  ExternalPersonIdentification1Code:
2979
2978
  title: ExternalPersonIdentification1Code
2980
2979
  description: Specifies the external person identification code.
@@ -6577,6 +6576,11 @@ components:
6577
6576
  #/components/schemas/BranchAndFinancialInstitutionIdentification8
6578
6577
  - description: |
6579
6578
  Financial institution servicing an account for the creditor.
6579
+ required:
6580
+ - Dbtr
6581
+ - Cdtr
6582
+ - DbtrAgt
6583
+ - CdtrAgt
6580
6584
  VerificationReason1Choice:
6581
6585
  title: VerificationReason1Choice
6582
6586
  type: object
@@ -7,10 +7,9 @@ description: |
7
7
  "COMM": "COMMITED",
8
8
  "RESV": "RESERVED",
9
9
  "RECV": "RECEIVED",
10
- "ABOR": "ABORTED",
11
- "SETT": "SETTLED"
10
+ "ABOR": "ABORTED"
12
11
  }
13
12
  type: string
14
13
  minLength: 1
15
14
  maxLength: 4
16
- example: SETT
15
+ example: COMM
@@ -29,4 +29,8 @@ properties:
29
29
  - $ref: ./BranchAndFinancialInstitutionIdentification8.yaml
30
30
  - description: >
31
31
  Financial institution servicing an account for the creditor.
32
-
32
+ required:
33
+ - Dbtr
34
+ - Cdtr
35
+ - DbtrAgt
36
+ - CdtrAgt
@@ -9739,7 +9739,13 @@
9739
9739
  }
9740
9740
  ]
9741
9741
  }
9742
- }
9742
+ },
9743
+ "required": [
9744
+ "Dbtr",
9745
+ "Cdtr",
9746
+ "DbtrAgt",
9747
+ "CdtrAgt"
9748
+ ]
9743
9749
  },
9744
9750
  {
9745
9751
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -22967,7 +22973,13 @@
22967
22973
  }
22968
22974
  ]
22969
22975
  }
22970
- }
22976
+ },
22977
+ "required": [
22978
+ "Dbtr",
22979
+ "Cdtr",
22980
+ "DbtrAgt",
22981
+ "CdtrAgt"
22982
+ ]
22971
22983
  },
22972
22984
  {
22973
22985
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -32970,7 +32982,13 @@
32970
32982
  }
32971
32983
  ]
32972
32984
  }
32973
- }
32985
+ },
32986
+ "required": [
32987
+ "Dbtr",
32988
+ "Cdtr",
32989
+ "DbtrAgt",
32990
+ "CdtrAgt"
32991
+ ]
32974
32992
  },
32975
32993
  {
32976
32994
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -42030,11 +42048,11 @@
42030
42048
  },
42031
42049
  "ExternalPaymentTransactionStatus1Code": {
42032
42050
  "title": "ExternalPaymentTransactionStatus1Code",
42033
- "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\",\n \"SETT\": \"SETTLED\"\n}\n",
42051
+ "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\"\n}\n",
42034
42052
  "type": "string",
42035
42053
  "minLength": 1,
42036
42054
  "maxLength": 4,
42037
- "example": "SETT"
42055
+ "example": "COMM"
42038
42056
  },
42039
42057
  "ExternalPersonIdentification1Code": {
42040
42058
  "title": "ExternalPersonIdentification1Code",
@@ -48308,7 +48326,13 @@
48308
48326
  }
48309
48327
  ]
48310
48328
  }
48311
- }
48329
+ },
48330
+ "required": [
48331
+ "Dbtr",
48332
+ "Cdtr",
48333
+ "DbtrAgt",
48334
+ "CdtrAgt"
48335
+ ]
48312
48336
  },
48313
48337
  {
48314
48338
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -58323,7 +58347,13 @@
58323
58347
  }
58324
58348
  ]
58325
58349
  }
58326
- }
58350
+ },
58351
+ "required": [
58352
+ "Dbtr",
58353
+ "Cdtr",
58354
+ "DbtrAgt",
58355
+ "CdtrAgt"
58356
+ ]
58327
58357
  },
58328
58358
  {
58329
58359
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -68054,7 +68084,13 @@
68054
68084
  }
68055
68085
  ]
68056
68086
  }
68057
- }
68087
+ },
68088
+ "required": [
68089
+ "Dbtr",
68090
+ "Cdtr",
68091
+ "DbtrAgt",
68092
+ "CdtrAgt"
68093
+ ]
68058
68094
  },
68059
68095
  {
68060
68096
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -100417,11 +100453,11 @@
100417
100453
  "allOf": [
100418
100454
  {
100419
100455
  "title": "ExternalPaymentTransactionStatus1Code",
100420
- "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\",\n \"SETT\": \"SETTLED\"\n}\n",
100456
+ "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\"\n}\n",
100421
100457
  "type": "string",
100422
100458
  "minLength": 1,
100423
100459
  "maxLength": 4,
100424
- "example": "SETT"
100460
+ "example": "COMM"
100425
100461
  },
100426
100462
  {
100427
100463
  "description": "Specifies the status of the transaction.\n"
@@ -102009,11 +102045,11 @@
102009
102045
  "allOf": [
102010
102046
  {
102011
102047
  "title": "ExternalPaymentTransactionStatus1Code",
102012
- "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\",\n \"SETT\": \"SETTLED\"\n}\n",
102048
+ "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\"\n}\n",
102013
102049
  "type": "string",
102014
102050
  "minLength": 1,
102015
102051
  "maxLength": 4,
102016
- "example": "SETT"
102052
+ "example": "COMM"
102017
102053
  },
102018
102054
  {
102019
102055
  "description": "Specifies the status of the transaction.\n"
@@ -108534,11 +108570,11 @@
108534
108570
  "allOf": [
108535
108571
  {
108536
108572
  "title": "ExternalPaymentTransactionStatus1Code",
108537
- "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\",\n \"SETT\": \"SETTLED\"\n}\n",
108573
+ "description": "Specifies the external payment transaction status code.\n\nFor FSPIOP transfer state enumeration mappings:\n{\n \"COMM\": \"COMMITED\",\n \"RESV\": \"RESERVED\",\n \"RECV\": \"RECEIVED\",\n \"ABOR\": \"ABORTED\"\n}\n",
108538
108574
  "type": "string",
108539
108575
  "minLength": 1,
108540
108576
  "maxLength": 4,
108541
- "example": "SETT"
108577
+ "example": "COMM"
108542
108578
  },
108543
108579
  {
108544
108580
  "description": "Specifies the status of the transaction.\n"
@@ -122335,7 +122371,13 @@
122335
122371
  }
122336
122372
  ]
122337
122373
  }
122338
- }
122374
+ },
122375
+ "required": [
122376
+ "Dbtr",
122377
+ "Cdtr",
122378
+ "DbtrAgt",
122379
+ "CdtrAgt"
122380
+ ]
122339
122381
  },
122340
122382
  {
122341
122383
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -136001,7 +136043,13 @@
136001
136043
  }
136002
136044
  ]
136003
136045
  }
136004
- }
136046
+ },
136047
+ "required": [
136048
+ "Dbtr",
136049
+ "Cdtr",
136050
+ "DbtrAgt",
136051
+ "CdtrAgt"
136052
+ ]
136005
136053
  },
136006
136054
  {
136007
136055
  "description": "Underlying Customer Credit Transfer\nTBD\n"
@@ -148940,7 +148988,13 @@
148940
148988
  }
148941
148989
  ]
148942
148990
  }
148943
- }
148991
+ },
148992
+ "required": [
148993
+ "Dbtr",
148994
+ "Cdtr",
148995
+ "DbtrAgt",
148996
+ "CdtrAgt"
148997
+ ]
148944
148998
  },
148945
148999
  "VerificationReason1Choice": {
148946
149000
  "title": "VerificationReason1Choice",
@@ -1417,11 +1417,10 @@ export interface components {
1417
1417
  * "COMM": "COMMITED",
1418
1418
  * "RESV": "RESERVED",
1419
1419
  * "RECV": "RECEIVED",
1420
- * "ABOR": "ABORTED",
1421
- * "SETT": "SETTLED"
1420
+ * "ABOR": "ABORTED"
1422
1421
  * }
1423
1422
  *
1424
- * @example SETT
1423
+ * @example COMM
1425
1424
  */
1426
1425
  ExternalPaymentTransactionStatus1Code: string;
1427
1426
  /**
@@ -3757,10 +3756,10 @@ export interface components {
3757
3756
  /** UnderlyingCustomerCreditTransfer */
3758
3757
  UnderlyingCustomerCreditTransfer: {
3759
3758
  InstdAmt?: components["schemas"]["ActiveOrHistoricCurrencyAndAmount"] & unknown;
3760
- Dbtr?: components["schemas"]["PartyIdentification272"] & unknown;
3761
- Cdtr?: components["schemas"]["PartyIdentification272"] & unknown;
3762
- DbtrAgt?: components["schemas"]["BranchAndFinancialInstitutionIdentification8"] & unknown;
3763
- CdtrAgt?: components["schemas"]["BranchAndFinancialInstitutionIdentification8"] & unknown;
3759
+ Dbtr: components["schemas"]["PartyIdentification272"] & unknown;
3760
+ Cdtr: components["schemas"]["PartyIdentification272"] & unknown;
3761
+ DbtrAgt: components["schemas"]["BranchAndFinancialInstitutionIdentification8"] & unknown;
3762
+ CdtrAgt: components["schemas"]["BranchAndFinancialInstitutionIdentification8"] & unknown;
3764
3763
  };
3765
3764
  /**
3766
3765
  * VerificationReason1Choice
@@ -9784,12 +9784,14 @@ export declare namespace Schemas {
9784
9784
  })[];
9785
9785
  };
9786
9786
  };
9787
+ required: string[];
9787
9788
  description?: undefined;
9788
9789
  } | {
9789
9790
  description: string;
9790
9791
  title?: undefined;
9791
9792
  type?: undefined;
9792
9793
  properties?: undefined;
9794
+ required?: undefined;
9793
9795
  })[];
9794
9796
  };
9795
9797
  IntrBkSttlmAmt: {
@@ -23161,12 +23163,14 @@ export declare namespace Schemas {
23161
23163
  })[];
23162
23164
  };
23163
23165
  };
23166
+ required: string[];
23164
23167
  description?: undefined;
23165
23168
  } | {
23166
23169
  description: string;
23167
23170
  title?: undefined;
23168
23171
  type?: undefined;
23169
23172
  properties?: undefined;
23173
+ required?: undefined;
23170
23174
  })[];
23171
23175
  };
23172
23176
  IntrBkSttlmAmt: {
@@ -33211,12 +33215,14 @@ export declare namespace Schemas {
33211
33215
  })[];
33212
33216
  };
33213
33217
  };
33218
+ required: string[];
33214
33219
  description?: undefined;
33215
33220
  } | {
33216
33221
  description: string;
33217
33222
  title?: undefined;
33218
33223
  type?: undefined;
33219
33224
  properties?: undefined;
33225
+ required?: undefined;
33220
33226
  })[];
33221
33227
  };
33222
33228
  IntrBkSttlmAmt: {
@@ -48671,12 +48677,14 @@ export declare namespace Schemas {
48671
48677
  })[];
48672
48678
  };
48673
48679
  };
48680
+ required: string[];
48674
48681
  description?: undefined;
48675
48682
  } | {
48676
48683
  description: string;
48677
48684
  title?: undefined;
48678
48685
  type?: undefined;
48679
48686
  properties?: undefined;
48687
+ required?: undefined;
48680
48688
  })[];
48681
48689
  };
48682
48690
  IntrBkSttlmAmt: {
@@ -58743,12 +58751,14 @@ export declare namespace Schemas {
58743
58751
  })[];
58744
58752
  };
58745
58753
  };
58754
+ required: string[];
58746
58755
  description?: undefined;
58747
58756
  } | {
58748
58757
  description: string;
58749
58758
  title?: undefined;
58750
58759
  type?: undefined;
58751
58760
  properties?: undefined;
58761
+ required?: undefined;
58752
58762
  })[];
58753
58763
  };
58754
58764
  IntrBkSttlmAmt: {
@@ -68542,12 +68552,14 @@ export declare namespace Schemas {
68542
68552
  })[];
68543
68553
  };
68544
68554
  };
68555
+ required: string[];
68545
68556
  description?: undefined;
68546
68557
  } | {
68547
68558
  description: string;
68548
68559
  title?: undefined;
68549
68560
  type?: undefined;
68550
68561
  properties?: undefined;
68562
+ required?: undefined;
68551
68563
  })[];
68552
68564
  };
68553
68565
  IntrBkSttlmAmt: {
@@ -123266,12 +123278,14 @@ export declare namespace Schemas {
123266
123278
  })[];
123267
123279
  };
123268
123280
  };
123281
+ required: string[];
123269
123282
  description?: undefined;
123270
123283
  } | {
123271
123284
  description: string;
123272
123285
  title?: undefined;
123273
123286
  type?: undefined;
123274
123287
  properties?: undefined;
123288
+ required?: undefined;
123275
123289
  })[];
123276
123290
  };
123277
123291
  IntrBkSttlmAmt: {
@@ -137066,12 +137080,14 @@ export declare namespace Schemas {
137066
137080
  })[];
137067
137081
  };
137068
137082
  };
137083
+ required: string[];
137069
137084
  description?: undefined;
137070
137085
  } | {
137071
137086
  description: string;
137072
137087
  title?: undefined;
137073
137088
  type?: undefined;
137074
137089
  properties?: undefined;
137090
+ required?: undefined;
137075
137091
  })[];
137076
137092
  };
137077
137093
  IntrBkSttlmAmt: {
@@ -150151,6 +150167,7 @@ export declare namespace Schemas {
150151
150167
  })[];
150152
150168
  };
150153
150169
  };
150170
+ required: string[];
150154
150171
  };
150155
150172
  const VerificationReason1Choice: {
150156
150173
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.7.1",
3
+ "version": "17.7.2",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",