@mojaloop/api-snippets 16.0.2 → 16.0.4
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 +14 -0
- package/docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml +0 -1
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +23 -1
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/json-schemas.json +0 -2
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +3 -3
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +43 -5
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +64 -45
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +32 -0
- package/package.json +10 -10
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkQuoteErrorResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkQuoteResponse.yaml +1 -0
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransfer.yaml +6 -0
- package/docs/sdk-scheme-adapter-outbound-openapi3-snippets.yaml +0 -4657
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,18 @@
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
2
|
+
### [16.0.4](https://github.com/mojaloop/api-snippets/compare/v16.0.3...v16.0.4) (2022-09-30)
|
3
|
+
|
4
|
+
|
5
|
+
### Bug Fixes
|
6
|
+
|
7
|
+
* required props ([#145](https://github.com/mojaloop/api-snippets/issues/145)) ([d615f4a](https://github.com/mojaloop/api-snippets/commit/d615f4aca0e5b6a49e1e944d180ebe2720bff7cb))
|
8
|
+
|
9
|
+
### [16.0.3](https://github.com/mojaloop/api-snippets/compare/v16.0.2...v16.0.3) (2022-09-23)
|
10
|
+
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
* updates to sdk-scheme-adapter individualTransfer ([#144](https://github.com/mojaloop/api-snippets/issues/144)) ([11285c4](https://github.com/mojaloop/api-snippets/commit/11285c4f9151219250873159171eefb2d9910efc))
|
15
|
+
|
2
16
|
### [16.0.2](https://github.com/mojaloop/api-snippets/compare/v16.0.1...v16.0.2) (2022-09-22)
|
3
17
|
|
4
18
|
|
@@ -2106,6 +2106,25 @@ paths:
|
|
2106
2106
|
type: string
|
2107
2107
|
enum: *ref_5
|
2108
2108
|
description: Type of transaction.
|
2109
|
+
ilpPacket:
|
2110
|
+
title: IlpPacket
|
2111
|
+
type: string
|
2112
|
+
pattern: ^[A-Za-z0-9-_]+[=]{0,2}$
|
2113
|
+
minLength: 1
|
2114
|
+
maxLength: 32768
|
2115
|
+
description: >-
|
2116
|
+
Information for recipient (transport layer
|
2117
|
+
information).
|
2118
|
+
example: >-
|
2119
|
+
AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
|
2120
|
+
condition:
|
2121
|
+
title: IlpCondition
|
2122
|
+
type: string
|
2123
|
+
pattern: ^[A-Za-z0-9-_]{43}$
|
2124
|
+
maxLength: 48
|
2125
|
+
description: >-
|
2126
|
+
Condition that must be attached to the transfer by the
|
2127
|
+
Payer.
|
2109
2128
|
note:
|
2110
2129
|
title: Note
|
2111
2130
|
type: string
|
@@ -2127,6 +2146,8 @@ paths:
|
|
2127
2146
|
- amountType
|
2128
2147
|
- currency
|
2129
2148
|
- amount
|
2149
|
+
- ilpPacket
|
2150
|
+
- condition
|
2130
2151
|
extensions:
|
2131
2152
|
title: ExtensionList
|
2132
2153
|
type: object
|
@@ -2406,6 +2427,7 @@ paths:
|
|
2406
2427
|
- bulkQuoteId
|
2407
2428
|
- individualQuoteResults
|
2408
2429
|
- currentState
|
2430
|
+
- expiration
|
2409
2431
|
properties: &ref_48
|
2410
2432
|
bulkQuoteId:
|
2411
2433
|
title: CorrelationId
|
@@ -2561,7 +2583,7 @@ paths:
|
|
2561
2583
|
properties: *ref_22
|
2562
2584
|
- type: object
|
2563
2585
|
required:
|
2564
|
-
-
|
2586
|
+
- bulkQuoteState
|
2565
2587
|
properties:
|
2566
2588
|
bulkQuoteState:
|
2567
2589
|
type: object
|
@@ -7684,7 +7684,6 @@
|
|
7684
7684
|
"type": "object",
|
7685
7685
|
"required": [
|
7686
7686
|
"homeTransactionId",
|
7687
|
-
"transactionId",
|
7688
7687
|
"to",
|
7689
7688
|
"amountType",
|
7690
7689
|
"currency",
|
@@ -9485,7 +9484,6 @@
|
|
9485
9484
|
"type": "object",
|
9486
9485
|
"required": [
|
9487
9486
|
"homeTransactionId",
|
9488
|
-
"transactionId",
|
9489
9487
|
"to",
|
9490
9488
|
"amountType",
|
9491
9489
|
"currency",
|
@@ -1170,7 +1170,7 @@ export interface paths {
|
|
1170
1170
|
* @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 (‘-‘).
|
1171
1171
|
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
1172
1172
|
*/
|
1173
|
-
transactionId
|
1173
|
+
transactionId?: string;
|
1174
1174
|
/**
|
1175
1175
|
* Party
|
1176
1176
|
* @description Data model for the complex type Party.
|
@@ -3403,7 +3403,7 @@ export interface components {
|
|
3403
3403
|
* @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 (‘-‘).
|
3404
3404
|
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
3405
3405
|
*/
|
3406
|
-
transactionId
|
3406
|
+
transactionId?: string;
|
3407
3407
|
/**
|
3408
3408
|
* Party
|
3409
3409
|
* @description Data model for the complex type Party.
|
@@ -3873,7 +3873,7 @@ export interface components {
|
|
3873
3873
|
* @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 (‘-‘).
|
3874
3874
|
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
3875
3875
|
*/
|
3876
|
-
transactionId
|
3876
|
+
transactionId?: string;
|
3877
3877
|
/**
|
3878
3878
|
* Party
|
3879
3879
|
* @description Data model for the complex type Party.
|
@@ -10164,6 +10164,22 @@
|
|
10164
10164
|
],
|
10165
10165
|
"description": "Type of transaction."
|
10166
10166
|
},
|
10167
|
+
"ilpPacket": {
|
10168
|
+
"title": "IlpPacket",
|
10169
|
+
"type": "string",
|
10170
|
+
"pattern": "^[A-Za-z0-9-_]+[=]{0,2}$",
|
10171
|
+
"minLength": 1,
|
10172
|
+
"maxLength": 32768,
|
10173
|
+
"description": "Information for recipient (transport layer information).",
|
10174
|
+
"example": "AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA"
|
10175
|
+
},
|
10176
|
+
"condition": {
|
10177
|
+
"title": "IlpCondition",
|
10178
|
+
"type": "string",
|
10179
|
+
"pattern": "^[A-Za-z0-9-_]{43}$",
|
10180
|
+
"maxLength": 48,
|
10181
|
+
"description": "Condition that must be attached to the transfer by the Payer."
|
10182
|
+
},
|
10167
10183
|
"note": {
|
10168
10184
|
"title": "Note",
|
10169
10185
|
"type": "string",
|
@@ -10219,7 +10235,9 @@
|
|
10219
10235
|
"to",
|
10220
10236
|
"amountType",
|
10221
10237
|
"currency",
|
10222
|
-
"amount"
|
10238
|
+
"amount",
|
10239
|
+
"ilpPacket",
|
10240
|
+
"condition"
|
10223
10241
|
]
|
10224
10242
|
},
|
10225
10243
|
"bulkTransferRequest": {
|
@@ -10733,6 +10751,22 @@
|
|
10733
10751
|
],
|
10734
10752
|
"description": "Type of transaction."
|
10735
10753
|
},
|
10754
|
+
"ilpPacket": {
|
10755
|
+
"title": "IlpPacket",
|
10756
|
+
"type": "string",
|
10757
|
+
"pattern": "^[A-Za-z0-9-_]+[=]{0,2}$",
|
10758
|
+
"minLength": 1,
|
10759
|
+
"maxLength": 32768,
|
10760
|
+
"description": "Information for recipient (transport layer information).",
|
10761
|
+
"example": "AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA"
|
10762
|
+
},
|
10763
|
+
"condition": {
|
10764
|
+
"title": "IlpCondition",
|
10765
|
+
"type": "string",
|
10766
|
+
"pattern": "^[A-Za-z0-9-_]{43}$",
|
10767
|
+
"maxLength": 48,
|
10768
|
+
"description": "Condition that must be attached to the transfer by the Payer."
|
10769
|
+
},
|
10736
10770
|
"note": {
|
10737
10771
|
"title": "Note",
|
10738
10772
|
"type": "string",
|
@@ -10788,7 +10822,9 @@
|
|
10788
10822
|
"to",
|
10789
10823
|
"amountType",
|
10790
10824
|
"currency",
|
10791
|
-
"amount"
|
10825
|
+
"amount",
|
10826
|
+
"ilpPacket",
|
10827
|
+
"condition"
|
10792
10828
|
]
|
10793
10829
|
}
|
10794
10830
|
},
|
@@ -12933,7 +12969,8 @@
|
|
12933
12969
|
"required": [
|
12934
12970
|
"bulkQuoteId",
|
12935
12971
|
"individualQuoteResults",
|
12936
|
-
"currentState"
|
12972
|
+
"currentState",
|
12973
|
+
"expiration"
|
12937
12974
|
],
|
12938
12975
|
"properties": {
|
12939
12976
|
"bulkQuoteId": {
|
@@ -13973,7 +14010,7 @@
|
|
13973
14010
|
{
|
13974
14011
|
"type": "object",
|
13975
14012
|
"required": [
|
13976
|
-
"
|
14013
|
+
"bulkQuoteState"
|
13977
14014
|
],
|
13978
14015
|
"properties": {
|
13979
14016
|
"bulkQuoteState": {
|
@@ -13981,7 +14018,8 @@
|
|
13981
14018
|
"required": [
|
13982
14019
|
"bulkQuoteId",
|
13983
14020
|
"individualQuoteResults",
|
13984
|
-
"currentState"
|
14021
|
+
"currentState",
|
14022
|
+
"expiration"
|
13985
14023
|
],
|
13986
14024
|
"properties": {
|
13987
14025
|
"bulkQuoteId": {
|
@@ -5171,6 +5171,17 @@ export interface paths {
|
|
5171
5171
|
* @enum {string}
|
5172
5172
|
*/
|
5173
5173
|
transactionType?: "TRANSFER";
|
5174
|
+
/**
|
5175
|
+
* IlpPacket
|
5176
|
+
* @description Information for recipient (transport layer information).
|
5177
|
+
* @example AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
|
5178
|
+
*/
|
5179
|
+
ilpPacket: string;
|
5180
|
+
/**
|
5181
|
+
* IlpCondition
|
5182
|
+
* @description Condition that must be attached to the transfer by the Payer.
|
5183
|
+
*/
|
5184
|
+
condition: string;
|
5174
5185
|
/**
|
5175
5186
|
* Note
|
5176
5187
|
* @description Memo assigned to transaction.
|
@@ -5308,7 +5319,7 @@ export interface paths {
|
|
5308
5319
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
5309
5320
|
* @example 2016-05-24T08:38:08.699-04:00
|
5310
5321
|
*/
|
5311
|
-
expiration
|
5322
|
+
expiration: string;
|
5312
5323
|
/**
|
5313
5324
|
* ExtensionList
|
5314
5325
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -5514,8 +5525,8 @@ export interface paths {
|
|
5514
5525
|
statusCode?: string;
|
5515
5526
|
/** @description Error message text. */
|
5516
5527
|
message?: string;
|
5517
|
-
} &
|
5518
|
-
bulkQuoteState
|
5528
|
+
} & {
|
5529
|
+
bulkQuoteState: {
|
5519
5530
|
/**
|
5520
5531
|
* CorrelationId
|
5521
5532
|
* @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 (‘-‘).
|
@@ -5529,7 +5540,7 @@ export interface paths {
|
|
5529
5540
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
5530
5541
|
* @example 2016-05-24T08:38:08.699-04:00
|
5531
5542
|
*/
|
5532
|
-
expiration
|
5543
|
+
expiration: string;
|
5533
5544
|
/**
|
5534
5545
|
* ExtensionList
|
5535
5546
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -5725,9 +5736,7 @@ export interface paths {
|
|
5725
5736
|
};
|
5726
5737
|
}[];
|
5727
5738
|
};
|
5728
|
-
}
|
5729
|
-
bulkTansferState: unknown;
|
5730
|
-
});
|
5739
|
+
};
|
5731
5740
|
};
|
5732
5741
|
};
|
5733
5742
|
/** An error occurred processing the bulk quote */
|
@@ -5738,8 +5747,8 @@ export interface paths {
|
|
5738
5747
|
statusCode?: string;
|
5739
5748
|
/** @description Error message text. */
|
5740
5749
|
message?: string;
|
5741
|
-
} &
|
5742
|
-
bulkQuoteState
|
5750
|
+
} & {
|
5751
|
+
bulkQuoteState: {
|
5743
5752
|
/**
|
5744
5753
|
* CorrelationId
|
5745
5754
|
* @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 (‘-‘).
|
@@ -5753,7 +5762,7 @@ export interface paths {
|
|
5753
5762
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
5754
5763
|
* @example 2016-05-24T08:38:08.699-04:00
|
5755
5764
|
*/
|
5756
|
-
expiration
|
5765
|
+
expiration: string;
|
5757
5766
|
/**
|
5758
5767
|
* ExtensionList
|
5759
5768
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -5949,9 +5958,7 @@ export interface paths {
|
|
5949
5958
|
};
|
5950
5959
|
}[];
|
5951
5960
|
};
|
5952
|
-
}
|
5953
|
-
bulkTansferState: unknown;
|
5954
|
-
});
|
5961
|
+
};
|
5955
5962
|
};
|
5956
5963
|
};
|
5957
5964
|
/** Timeout occurred processing the bulk quote */
|
@@ -5962,8 +5969,8 @@ export interface paths {
|
|
5962
5969
|
statusCode?: string;
|
5963
5970
|
/** @description Error message text. */
|
5964
5971
|
message?: string;
|
5965
|
-
} &
|
5966
|
-
bulkQuoteState
|
5972
|
+
} & {
|
5973
|
+
bulkQuoteState: {
|
5967
5974
|
/**
|
5968
5975
|
* CorrelationId
|
5969
5976
|
* @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 (‘-‘).
|
@@ -5977,7 +5984,7 @@ export interface paths {
|
|
5977
5984
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
5978
5985
|
* @example 2016-05-24T08:38:08.699-04:00
|
5979
5986
|
*/
|
5980
|
-
expiration
|
5987
|
+
expiration: string;
|
5981
5988
|
/**
|
5982
5989
|
* ExtensionList
|
5983
5990
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -6173,9 +6180,7 @@ export interface paths {
|
|
6173
6180
|
};
|
6174
6181
|
}[];
|
6175
6182
|
};
|
6176
|
-
}
|
6177
|
-
bulkTansferState: unknown;
|
6178
|
-
});
|
6183
|
+
};
|
6179
6184
|
};
|
6180
6185
|
};
|
6181
6186
|
};
|
@@ -15375,6 +15380,17 @@ export interface components {
|
|
15375
15380
|
* @enum {string}
|
15376
15381
|
*/
|
15377
15382
|
transactionType?: "TRANSFER";
|
15383
|
+
/**
|
15384
|
+
* IlpPacket
|
15385
|
+
* @description Information for recipient (transport layer information).
|
15386
|
+
* @example AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
|
15387
|
+
*/
|
15388
|
+
ilpPacket: string;
|
15389
|
+
/**
|
15390
|
+
* IlpCondition
|
15391
|
+
* @description Condition that must be attached to the transfer by the Payer.
|
15392
|
+
*/
|
15393
|
+
condition: string;
|
15378
15394
|
/**
|
15379
15395
|
* Note
|
15380
15396
|
* @description Memo assigned to transaction.
|
@@ -15637,6 +15653,17 @@ export interface components {
|
|
15637
15653
|
* @enum {string}
|
15638
15654
|
*/
|
15639
15655
|
transactionType?: "TRANSFER";
|
15656
|
+
/**
|
15657
|
+
* IlpPacket
|
15658
|
+
* @description Information for recipient (transport layer information).
|
15659
|
+
* @example AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
|
15660
|
+
*/
|
15661
|
+
ilpPacket: string;
|
15662
|
+
/**
|
15663
|
+
* IlpCondition
|
15664
|
+
* @description Condition that must be attached to the transfer by the Payer.
|
15665
|
+
*/
|
15666
|
+
condition: string;
|
15640
15667
|
/**
|
15641
15668
|
* Note
|
15642
15669
|
* @description Memo assigned to transaction.
|
@@ -16367,7 +16394,7 @@ export interface components {
|
|
16367
16394
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
16368
16395
|
* @example 2016-05-24T08:38:08.699-04:00
|
16369
16396
|
*/
|
16370
|
-
expiration
|
16397
|
+
expiration: string;
|
16371
16398
|
/**
|
16372
16399
|
* ExtensionList
|
16373
16400
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -16568,8 +16595,8 @@ export interface components {
|
|
16568
16595
|
statusCode?: string;
|
16569
16596
|
/** @description Error message text. */
|
16570
16597
|
message?: string;
|
16571
|
-
} &
|
16572
|
-
bulkQuoteState
|
16598
|
+
} & {
|
16599
|
+
bulkQuoteState: {
|
16573
16600
|
/**
|
16574
16601
|
* CorrelationId
|
16575
16602
|
* @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 (‘-‘).
|
@@ -16583,7 +16610,7 @@ export interface components {
|
|
16583
16610
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
16584
16611
|
* @example 2016-05-24T08:38:08.699-04:00
|
16585
16612
|
*/
|
16586
|
-
expiration
|
16613
|
+
expiration: string;
|
16587
16614
|
/**
|
16588
16615
|
* ExtensionList
|
16589
16616
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -16779,9 +16806,7 @@ export interface components {
|
|
16779
16806
|
};
|
16780
16807
|
}[];
|
16781
16808
|
};
|
16782
|
-
}
|
16783
|
-
bulkTansferState: unknown;
|
16784
|
-
});
|
16809
|
+
};
|
16785
16810
|
/** @enum {string} */
|
16786
16811
|
bulkQuoteStatus: "ERROR_OCCURRED" | "COMPLETED";
|
16787
16812
|
bulkQuoteStatusResponse: {
|
@@ -22552,7 +22577,7 @@ export interface components {
|
|
22552
22577
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
22553
22578
|
* @example 2016-05-24T08:38:08.699-04:00
|
22554
22579
|
*/
|
22555
|
-
expiration
|
22580
|
+
expiration: string;
|
22556
22581
|
/**
|
22557
22582
|
* ExtensionList
|
22558
22583
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -22758,8 +22783,8 @@ export interface components {
|
|
22758
22783
|
statusCode?: string;
|
22759
22784
|
/** @description Error message text. */
|
22760
22785
|
message?: string;
|
22761
|
-
} &
|
22762
|
-
bulkQuoteState
|
22786
|
+
} & {
|
22787
|
+
bulkQuoteState: {
|
22763
22788
|
/**
|
22764
22789
|
* CorrelationId
|
22765
22790
|
* @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 (‘-‘).
|
@@ -22773,7 +22798,7 @@ export interface components {
|
|
22773
22798
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
22774
22799
|
* @example 2016-05-24T08:38:08.699-04:00
|
22775
22800
|
*/
|
22776
|
-
expiration
|
22801
|
+
expiration: string;
|
22777
22802
|
/**
|
22778
22803
|
* ExtensionList
|
22779
22804
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -22969,9 +22994,7 @@ export interface components {
|
|
22969
22994
|
};
|
22970
22995
|
}[];
|
22971
22996
|
};
|
22972
|
-
}
|
22973
|
-
bulkTansferState: unknown;
|
22974
|
-
});
|
22997
|
+
};
|
22975
22998
|
};
|
22976
22999
|
};
|
22977
23000
|
/** An error occurred processing the bulk quote */
|
@@ -22982,8 +23005,8 @@ export interface components {
|
|
22982
23005
|
statusCode?: string;
|
22983
23006
|
/** @description Error message text. */
|
22984
23007
|
message?: string;
|
22985
|
-
} &
|
22986
|
-
bulkQuoteState
|
23008
|
+
} & {
|
23009
|
+
bulkQuoteState: {
|
22987
23010
|
/**
|
22988
23011
|
* CorrelationId
|
22989
23012
|
* @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 (‘-‘).
|
@@ -22997,7 +23020,7 @@ export interface components {
|
|
22997
23020
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
22998
23021
|
* @example 2016-05-24T08:38:08.699-04:00
|
22999
23022
|
*/
|
23000
|
-
expiration
|
23023
|
+
expiration: string;
|
23001
23024
|
/**
|
23002
23025
|
* ExtensionList
|
23003
23026
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -23193,9 +23216,7 @@ export interface components {
|
|
23193
23216
|
};
|
23194
23217
|
}[];
|
23195
23218
|
};
|
23196
|
-
}
|
23197
|
-
bulkTansferState: unknown;
|
23198
|
-
});
|
23219
|
+
};
|
23199
23220
|
};
|
23200
23221
|
};
|
23201
23222
|
/** Timeout occurred processing the bulk quote */
|
@@ -23206,8 +23227,8 @@ export interface components {
|
|
23206
23227
|
statusCode?: string;
|
23207
23228
|
/** @description Error message text. */
|
23208
23229
|
message?: string;
|
23209
|
-
} &
|
23210
|
-
bulkQuoteState
|
23230
|
+
} & {
|
23231
|
+
bulkQuoteState: {
|
23211
23232
|
/**
|
23212
23233
|
* CorrelationId
|
23213
23234
|
* @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 (‘-‘).
|
@@ -23221,7 +23242,7 @@ export interface components {
|
|
23221
23242
|
* @description The API data type DateTime is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. The format is according to [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), expressed in a combined date, time and time zone format. A more readable version of the format is yyyy-MM-ddTHH:mm:ss.SSS[-HH:MM]. Examples are "2016-05-24T08:38:08.699-04:00", "2016-05-24T08:38:08.699Z" (where Z indicates Zulu time zone, same as UTC).
|
23222
23243
|
* @example 2016-05-24T08:38:08.699-04:00
|
23223
23244
|
*/
|
23224
|
-
expiration
|
23245
|
+
expiration: string;
|
23225
23246
|
/**
|
23226
23247
|
* ExtensionList
|
23227
23248
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -23417,9 +23438,7 @@ export interface components {
|
|
23417
23438
|
};
|
23418
23439
|
}[];
|
23419
23440
|
};
|
23420
|
-
}
|
23421
|
-
bulkTansferState: unknown;
|
23422
|
-
});
|
23441
|
+
};
|
23423
23442
|
};
|
23424
23443
|
};
|
23425
23444
|
/** Request to Pay completed successfully */
|
@@ -5373,6 +5373,22 @@ export declare namespace Schemas {
|
|
5373
5373
|
enum: string[];
|
5374
5374
|
description: string;
|
5375
5375
|
};
|
5376
|
+
ilpPacket: {
|
5377
|
+
title: string;
|
5378
|
+
type: string;
|
5379
|
+
pattern: string;
|
5380
|
+
minLength: number;
|
5381
|
+
maxLength: number;
|
5382
|
+
description: string;
|
5383
|
+
example: string;
|
5384
|
+
};
|
5385
|
+
condition: {
|
5386
|
+
title: string;
|
5387
|
+
type: string;
|
5388
|
+
pattern: string;
|
5389
|
+
maxLength: number;
|
5390
|
+
description: string;
|
5391
|
+
};
|
5376
5392
|
note: {
|
5377
5393
|
title: string;
|
5378
5394
|
type: string;
|
@@ -5715,6 +5731,22 @@ export declare namespace Schemas {
|
|
5715
5731
|
enum: string[];
|
5716
5732
|
description: string;
|
5717
5733
|
};
|
5734
|
+
ilpPacket: {
|
5735
|
+
title: string;
|
5736
|
+
type: string;
|
5737
|
+
pattern: string;
|
5738
|
+
minLength: number;
|
5739
|
+
maxLength: number;
|
5740
|
+
description: string;
|
5741
|
+
example: string;
|
5742
|
+
};
|
5743
|
+
condition: {
|
5744
|
+
title: string;
|
5745
|
+
type: string;
|
5746
|
+
pattern: string;
|
5747
|
+
maxLength: number;
|
5748
|
+
description: string;
|
5749
|
+
};
|
5718
5750
|
note: {
|
5719
5751
|
title: string;
|
5720
5752
|
type: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mojaloop/api-snippets",
|
3
|
-
"version": "16.0.
|
3
|
+
"version": "16.0.4",
|
4
4
|
"description": "Mojaloop API specification reusable snippets",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"license": "Apache-2.0",
|
69
69
|
"dependencies": {
|
70
70
|
"@apidevtools/json-schema-ref-parser": "^9.0.9",
|
71
|
-
"commander": "^9.4.
|
71
|
+
"commander": "^9.4.1",
|
72
72
|
"jest-ts-auto-mock": "^2.1.0",
|
73
73
|
"js-yaml": "^4.1.0",
|
74
74
|
"json-refs": "^3.0.15",
|
@@ -85,11 +85,11 @@
|
|
85
85
|
"@commitlint/cli": "^17.1.2",
|
86
86
|
"@commitlint/config-conventional": "^17.1.0",
|
87
87
|
"@redocly/openapi-cli": "^1.0.0-beta.94",
|
88
|
-
"@types/jest": "^29.
|
89
|
-
"@typescript-eslint/eslint-plugin": "^5.38.
|
90
|
-
"@typescript-eslint/parser": "^5.38.
|
88
|
+
"@types/jest": "^29.1.1",
|
89
|
+
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
90
|
+
"@typescript-eslint/parser": "^5.38.1",
|
91
91
|
"diff": "^5.1.0",
|
92
|
-
"eslint": "^8.
|
92
|
+
"eslint": "^8.24.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.1",
|
@@ -100,18 +100,18 @@
|
|
100
100
|
"eslint-plugin-promise": "^6.0.1",
|
101
101
|
"eslint-plugin-standard": "^5.0.0",
|
102
102
|
"husky": "4.3.8",
|
103
|
-
"jest": "^29.
|
103
|
+
"jest": "^29.1.2",
|
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.
|
107
|
+
"npm-check-updates": "^16.3.4",
|
108
108
|
"prettier": "^2.7.1",
|
109
109
|
"standard-version": "^9.5.0",
|
110
110
|
"swagger-cli": "^4.0.4",
|
111
|
-
"ts-jest": "^29.0.
|
111
|
+
"ts-jest": "^29.0.3",
|
112
112
|
"ts-node": "^10.9.1",
|
113
113
|
"tslib": "^2.4.0",
|
114
|
-
"typescript": "^4.8.
|
114
|
+
"typescript": "^4.8.4"
|
115
115
|
},
|
116
116
|
"publishConfig": {
|
117
117
|
"registry": "https://registry.npmjs.org/"
|