@mojaloop/api-snippets 13.0.8 → 13.0.9

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
+ ### [13.0.9](https://github.com/mojaloop/api-snippets/compare/v13.0.8...v13.0.9) (2022-03-14)
3
+
4
+
5
+ ### Maintenance
6
+
7
+ * fix accounts property and transactionId and update codeowners ([#124](https://github.com/mojaloop/api-snippets/issues/124)) ([ba9e7eb](https://github.com/mojaloop/api-snippets/commit/ba9e7eb01781d52c8982ffeffdd330573e00db2e))
8
+
2
9
  ### [13.0.8](https://github.com/mojaloop/api-snippets/compare/v13.0.7...v13.0.8) (2022-03-08)
3
10
 
4
11
 
package/CODEOWNERS CHANGED
@@ -6,7 +6,7 @@
6
6
  ## @global-owner1 and @global-owner2 will be requested for
7
7
  ## review when someone opens a pull request.
8
8
  #* @global-owner1 @global-owner2
9
- * @eoln @kleyow @elnyry-sam-k @lewisdaly @vijayg10 @sridharvoruganti
9
+ * @kleyow @elnyry-sam-k @lewisdaly @vijayg10
10
10
 
11
11
  ## Order is important; the last matching pattern takes the most
12
12
  ## precedence. When someone opens a pull request that only
@@ -1632,7 +1632,7 @@ paths:
1632
1632
 
1633
1633
  https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31121--put-accountsid
1634
1634
  properties: &ref_102
1635
- accountList:
1635
+ accounts:
1636
1636
  title: AccountList
1637
1637
  type: array
1638
1638
  description: >-
@@ -6139,6 +6139,20 @@ paths:
6139
6139
 
6140
6140
  https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31721-put-thirdpartyrequeststransactionsid
6141
6141
  properties: &ref_139
6142
+ transactionId:
6143
+ title: CorrelationId
6144
+ type: string
6145
+ pattern: >-
6146
+ ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
6147
+ description: >-
6148
+ Identifier that correlates all messages of the same
6149
+ sequence. The API data type UUID (Universally Unique
6150
+ Identifier) is a JSON String in canonical format, conforming
6151
+ to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is
6152
+ restricted by a regular expression for interoperability
6153
+ reasons. A UUID is always 36 characters long, 32 hexadecimal
6154
+ symbols and 4 dashes (‘-‘).
6155
+ example: b51ec534-ee48-4575-b6a9-ead2955b8069
6142
6156
  transactionRequestState:
6143
6157
  title: TransactionRequestState
6144
6158
  type: string
@@ -2571,7 +2571,7 @@ export interface operations {
2571
2571
  * The AccountList data model is used to hold information about the accounts that a party controls.
2572
2572
  * https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#3213-accountlist
2573
2573
  */
2574
- accountList?: {
2574
+ accounts: {
2575
2575
  /**
2576
2576
  * The API data type Name is a JSON String, restricted by a regular expression to avoid characters which are generally not used in a name.
2577
2577
  *
@@ -13121,6 +13121,10 @@ export interface operations {
13121
13121
  };
13122
13122
  requestBody: {
13123
13123
  "application/json": {
13124
+ /**
13125
+ * 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 (‘-‘).
13126
+ */
13127
+ transactionId?: string;
13124
13128
  /**
13125
13129
  * Below are the allowed values for the enumeration.
13126
13130
  * - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
@@ -19324,7 +19328,7 @@ export interface components {
19324
19328
  * The AccountList data model is used to hold information about the accounts that a party controls.
19325
19329
  * https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#3213-accountlist
19326
19330
  */
19327
- accountList?: {
19331
+ accounts: {
19328
19332
  /**
19329
19333
  * The API data type Name is a JSON String, restricted by a regular expression to avoid characters which are generally not used in a name.
19330
19334
  *
@@ -20666,6 +20670,10 @@ export interface components {
20666
20670
  * https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31721-put-thirdpartyrequeststransactionsid
20667
20671
  */
20668
20672
  ThirdpartyRequestsTransactionsIDPutResponse: {
20673
+ /**
20674
+ * 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 (‘-‘).
20675
+ */
20676
+ transactionId?: string;
20669
20677
  /**
20670
20678
  * Below are the allowed values for the enumeration.
20671
20679
  * - RECEIVED - Payer FSP has received the transaction from the Payee FSP.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "13.0.8",
3
+ "version": "13.0.9",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -13,7 +13,7 @@ description: >-
13
13
 
14
14
  https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31121--put-accountsid
15
15
  properties:
16
- accountList:
16
+ accounts:
17
17
  $ref: ./AccountList.yaml
18
18
  extensionList:
19
19
  $ref: ./ExtensionList.yaml
@@ -10,6 +10,8 @@ description: >-
10
10
 
11
11
  https://github.com/mojaloop/documentation/blob/master/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31721-put-thirdpartyrequeststransactionsid
12
12
  properties:
13
+ transactionId:
14
+ $ref: ./CorrelationId.yaml
13
15
  transactionRequestState:
14
16
  $ref: ./TransactionRequestState.yaml
15
17
  extensionList: