@mojaloop/api-snippets 16.0.3 → 16.0.5
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 -2
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +71 -86
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/json-schemas.json +0 -3
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +3 -3
- package/lib/sdk-scheme-adapter/v2_0_0/inbound/schemas.d.ts +0 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +5 -20
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +31 -56
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +0 -17
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +0 -2
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/types.d.ts +0 -2
- package/package.json +15 -15
- 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/bulkTransactionRequest.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkTransactionResponse.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransfer.yaml +2 -2
- package/docs/sdk-scheme-adapter-outbound-openapi3-snippets.yaml +0 -4657
@@ -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",
|
@@ -9480,12 +9479,10 @@
|
|
9480
9479
|
"description": "List of individual transfer result in a bulk transfer response.",
|
9481
9480
|
"type": "array",
|
9482
9481
|
"minItems": 1,
|
9483
|
-
"maxItems": 1000,
|
9484
9482
|
"items": {
|
9485
9483
|
"type": "object",
|
9486
9484
|
"required": [
|
9487
9485
|
"homeTransactionId",
|
9488
|
-
"transactionId",
|
9489
9486
|
"to",
|
9490
9487
|
"amountType",
|
9491
9488
|
"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.
|
@@ -7914,7 +7914,6 @@
|
|
7914
7914
|
"description": "List of individual transfers in a bulk transfer.",
|
7915
7915
|
"type": "array",
|
7916
7916
|
"minItems": 1,
|
7917
|
-
"maxItems": 1000,
|
7918
7917
|
"items": {
|
7919
7918
|
"title": "BulkTransactionIndividualTransfer",
|
7920
7919
|
"type": "object",
|
@@ -9820,22 +9819,6 @@
|
|
9820
9819
|
}
|
9821
9820
|
]
|
9822
9821
|
},
|
9823
|
-
"ilpPacket": {
|
9824
|
-
"title": "IlpPacket",
|
9825
|
-
"type": "string",
|
9826
|
-
"pattern": "^[A-Za-z0-9-_]+[=]{0,2}$",
|
9827
|
-
"minLength": 1,
|
9828
|
-
"maxLength": 32768,
|
9829
|
-
"description": "Information for recipient (transport layer information).",
|
9830
|
-
"example": "AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA"
|
9831
|
-
},
|
9832
|
-
"ilpCondition": {
|
9833
|
-
"title": "IlpCondition",
|
9834
|
-
"type": "string",
|
9835
|
-
"pattern": "^[A-Za-z0-9-_]{43}$",
|
9836
|
-
"maxLength": 48,
|
9837
|
-
"description": "Condition that must be attached to the transfer by the Payer."
|
9838
|
-
},
|
9839
9822
|
"individualTransfer": {
|
9840
9823
|
"title": "IndividualTransfer",
|
9841
9824
|
"type": "object",
|
@@ -12985,7 +12968,8 @@
|
|
12985
12968
|
"required": [
|
12986
12969
|
"bulkQuoteId",
|
12987
12970
|
"individualQuoteResults",
|
12988
|
-
"currentState"
|
12971
|
+
"currentState",
|
12972
|
+
"expiration"
|
12989
12973
|
],
|
12990
12974
|
"properties": {
|
12991
12975
|
"bulkQuoteId": {
|
@@ -14025,7 +14009,7 @@
|
|
14025
14009
|
{
|
14026
14010
|
"type": "object",
|
14027
14011
|
"required": [
|
14028
|
-
"
|
14012
|
+
"bulkQuoteState"
|
14029
14013
|
],
|
14030
14014
|
"properties": {
|
14031
14015
|
"bulkQuoteState": {
|
@@ -14033,7 +14017,8 @@
|
|
14033
14017
|
"required": [
|
14034
14018
|
"bulkQuoteId",
|
14035
14019
|
"individualQuoteResults",
|
14036
|
-
"currentState"
|
14020
|
+
"currentState",
|
14021
|
+
"expiration"
|
14037
14022
|
],
|
14038
14023
|
"properties": {
|
14039
14024
|
"bulkQuoteId": {
|
@@ -5319,7 +5319,7 @@ export interface paths {
|
|
5319
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).
|
5320
5320
|
* @example 2016-05-24T08:38:08.699-04:00
|
5321
5321
|
*/
|
5322
|
-
expiration
|
5322
|
+
expiration: string;
|
5323
5323
|
/**
|
5324
5324
|
* ExtensionList
|
5325
5325
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -5525,8 +5525,8 @@ export interface paths {
|
|
5525
5525
|
statusCode?: string;
|
5526
5526
|
/** @description Error message text. */
|
5527
5527
|
message?: string;
|
5528
|
-
} &
|
5529
|
-
bulkQuoteState
|
5528
|
+
} & {
|
5529
|
+
bulkQuoteState: {
|
5530
5530
|
/**
|
5531
5531
|
* CorrelationId
|
5532
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 (‘-‘).
|
@@ -5540,7 +5540,7 @@ export interface paths {
|
|
5540
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).
|
5541
5541
|
* @example 2016-05-24T08:38:08.699-04:00
|
5542
5542
|
*/
|
5543
|
-
expiration
|
5543
|
+
expiration: string;
|
5544
5544
|
/**
|
5545
5545
|
* ExtensionList
|
5546
5546
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -5736,9 +5736,7 @@ export interface paths {
|
|
5736
5736
|
};
|
5737
5737
|
}[];
|
5738
5738
|
};
|
5739
|
-
}
|
5740
|
-
bulkTansferState: unknown;
|
5741
|
-
});
|
5739
|
+
};
|
5742
5740
|
};
|
5743
5741
|
};
|
5744
5742
|
/** An error occurred processing the bulk quote */
|
@@ -5749,8 +5747,8 @@ export interface paths {
|
|
5749
5747
|
statusCode?: string;
|
5750
5748
|
/** @description Error message text. */
|
5751
5749
|
message?: string;
|
5752
|
-
} &
|
5753
|
-
bulkQuoteState
|
5750
|
+
} & {
|
5751
|
+
bulkQuoteState: {
|
5754
5752
|
/**
|
5755
5753
|
* CorrelationId
|
5756
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 (‘-‘).
|
@@ -5764,7 +5762,7 @@ export interface paths {
|
|
5764
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).
|
5765
5763
|
* @example 2016-05-24T08:38:08.699-04:00
|
5766
5764
|
*/
|
5767
|
-
expiration
|
5765
|
+
expiration: string;
|
5768
5766
|
/**
|
5769
5767
|
* ExtensionList
|
5770
5768
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -5960,9 +5958,7 @@ export interface paths {
|
|
5960
5958
|
};
|
5961
5959
|
}[];
|
5962
5960
|
};
|
5963
|
-
}
|
5964
|
-
bulkTansferState: unknown;
|
5965
|
-
});
|
5961
|
+
};
|
5966
5962
|
};
|
5967
5963
|
};
|
5968
5964
|
/** Timeout occurred processing the bulk quote */
|
@@ -5973,8 +5969,8 @@ export interface paths {
|
|
5973
5969
|
statusCode?: string;
|
5974
5970
|
/** @description Error message text. */
|
5975
5971
|
message?: string;
|
5976
|
-
} &
|
5977
|
-
bulkQuoteState
|
5972
|
+
} & {
|
5973
|
+
bulkQuoteState: {
|
5978
5974
|
/**
|
5979
5975
|
* CorrelationId
|
5980
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 (‘-‘).
|
@@ -5988,7 +5984,7 @@ export interface paths {
|
|
5988
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).
|
5989
5985
|
* @example 2016-05-24T08:38:08.699-04:00
|
5990
5986
|
*/
|
5991
|
-
expiration
|
5987
|
+
expiration: string;
|
5992
5988
|
/**
|
5993
5989
|
* ExtensionList
|
5994
5990
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -6184,9 +6180,7 @@ export interface paths {
|
|
6184
6180
|
};
|
6185
6181
|
}[];
|
6186
6182
|
};
|
6187
|
-
}
|
6188
|
-
bulkTansferState: unknown;
|
6189
|
-
});
|
6183
|
+
};
|
6190
6184
|
};
|
6191
6185
|
};
|
6192
6186
|
};
|
@@ -15255,17 +15249,6 @@ export interface components {
|
|
15255
15249
|
} & {
|
15256
15250
|
bulkTansferState: unknown;
|
15257
15251
|
});
|
15258
|
-
/**
|
15259
|
-
* IlpPacket
|
15260
|
-
* @description Information for recipient (transport layer information).
|
15261
|
-
* @example AYIBgQAAAAAAAASwNGxldmVsb25lLmRmc3AxLm1lci45T2RTOF81MDdqUUZERmZlakgyOVc4bXFmNEpLMHlGTFGCAUBQU0svMS4wCk5vbmNlOiB1SXlweUYzY3pYSXBFdzVVc05TYWh3CkVuY3J5cHRpb246IG5vbmUKUGF5bWVudC1JZDogMTMyMzZhM2ItOGZhOC00MTYzLTg0NDctNGMzZWQzZGE5OGE3CgpDb250ZW50LUxlbmd0aDogMTM1CkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNvbgpTZW5kZXItSWRlbnRpZmllcjogOTI4MDYzOTEKCiJ7XCJmZWVcIjowLFwidHJhbnNmZXJDb2RlXCI6XCJpbnZvaWNlXCIsXCJkZWJpdE5hbWVcIjpcImFsaWNlIGNvb3BlclwiLFwiY3JlZGl0TmFtZVwiOlwibWVyIGNoYW50XCIsXCJkZWJpdElkZW50aWZpZXJcIjpcIjkyODA2MzkxXCJ9IgA
|
15262
|
-
*/
|
15263
|
-
ilpPacket: string;
|
15264
|
-
/**
|
15265
|
-
* IlpCondition
|
15266
|
-
* @description Condition that must be attached to the transfer by the Payer.
|
15267
|
-
*/
|
15268
|
-
ilpCondition: string;
|
15269
15252
|
/**
|
15270
15253
|
* IndividualTransfer
|
15271
15254
|
* @description Data model for the complex type 'individualTransfer'.
|
@@ -16411,7 +16394,7 @@ export interface components {
|
|
16411
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).
|
16412
16395
|
* @example 2016-05-24T08:38:08.699-04:00
|
16413
16396
|
*/
|
16414
|
-
expiration
|
16397
|
+
expiration: string;
|
16415
16398
|
/**
|
16416
16399
|
* ExtensionList
|
16417
16400
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -16612,8 +16595,8 @@ export interface components {
|
|
16612
16595
|
statusCode?: string;
|
16613
16596
|
/** @description Error message text. */
|
16614
16597
|
message?: string;
|
16615
|
-
} &
|
16616
|
-
bulkQuoteState
|
16598
|
+
} & {
|
16599
|
+
bulkQuoteState: {
|
16617
16600
|
/**
|
16618
16601
|
* CorrelationId
|
16619
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 (‘-‘).
|
@@ -16627,7 +16610,7 @@ export interface components {
|
|
16627
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).
|
16628
16611
|
* @example 2016-05-24T08:38:08.699-04:00
|
16629
16612
|
*/
|
16630
|
-
expiration
|
16613
|
+
expiration: string;
|
16631
16614
|
/**
|
16632
16615
|
* ExtensionList
|
16633
16616
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -16823,9 +16806,7 @@ export interface components {
|
|
16823
16806
|
};
|
16824
16807
|
}[];
|
16825
16808
|
};
|
16826
|
-
}
|
16827
|
-
bulkTansferState: unknown;
|
16828
|
-
});
|
16809
|
+
};
|
16829
16810
|
/** @enum {string} */
|
16830
16811
|
bulkQuoteStatus: "ERROR_OCCURRED" | "COMPLETED";
|
16831
16812
|
bulkQuoteStatusResponse: {
|
@@ -22596,7 +22577,7 @@ export interface components {
|
|
22596
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).
|
22597
22578
|
* @example 2016-05-24T08:38:08.699-04:00
|
22598
22579
|
*/
|
22599
|
-
expiration
|
22580
|
+
expiration: string;
|
22600
22581
|
/**
|
22601
22582
|
* ExtensionList
|
22602
22583
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -22802,8 +22783,8 @@ export interface components {
|
|
22802
22783
|
statusCode?: string;
|
22803
22784
|
/** @description Error message text. */
|
22804
22785
|
message?: string;
|
22805
|
-
} &
|
22806
|
-
bulkQuoteState
|
22786
|
+
} & {
|
22787
|
+
bulkQuoteState: {
|
22807
22788
|
/**
|
22808
22789
|
* CorrelationId
|
22809
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 (‘-‘).
|
@@ -22817,7 +22798,7 @@ export interface components {
|
|
22817
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).
|
22818
22799
|
* @example 2016-05-24T08:38:08.699-04:00
|
22819
22800
|
*/
|
22820
|
-
expiration
|
22801
|
+
expiration: string;
|
22821
22802
|
/**
|
22822
22803
|
* ExtensionList
|
22823
22804
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -23013,9 +22994,7 @@ export interface components {
|
|
23013
22994
|
};
|
23014
22995
|
}[];
|
23015
22996
|
};
|
23016
|
-
}
|
23017
|
-
bulkTansferState: unknown;
|
23018
|
-
});
|
22997
|
+
};
|
23019
22998
|
};
|
23020
22999
|
};
|
23021
23000
|
/** An error occurred processing the bulk quote */
|
@@ -23026,8 +23005,8 @@ export interface components {
|
|
23026
23005
|
statusCode?: string;
|
23027
23006
|
/** @description Error message text. */
|
23028
23007
|
message?: string;
|
23029
|
-
} &
|
23030
|
-
bulkQuoteState
|
23008
|
+
} & {
|
23009
|
+
bulkQuoteState: {
|
23031
23010
|
/**
|
23032
23011
|
* CorrelationId
|
23033
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 (‘-‘).
|
@@ -23041,7 +23020,7 @@ export interface components {
|
|
23041
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).
|
23042
23021
|
* @example 2016-05-24T08:38:08.699-04:00
|
23043
23022
|
*/
|
23044
|
-
expiration
|
23023
|
+
expiration: string;
|
23045
23024
|
/**
|
23046
23025
|
* ExtensionList
|
23047
23026
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -23237,9 +23216,7 @@ export interface components {
|
|
23237
23216
|
};
|
23238
23217
|
}[];
|
23239
23218
|
};
|
23240
|
-
}
|
23241
|
-
bulkTansferState: unknown;
|
23242
|
-
});
|
23219
|
+
};
|
23243
23220
|
};
|
23244
23221
|
};
|
23245
23222
|
/** Timeout occurred processing the bulk quote */
|
@@ -23250,8 +23227,8 @@ export interface components {
|
|
23250
23227
|
statusCode?: string;
|
23251
23228
|
/** @description Error message text. */
|
23252
23229
|
message?: string;
|
23253
|
-
} &
|
23254
|
-
bulkQuoteState
|
23230
|
+
} & {
|
23231
|
+
bulkQuoteState: {
|
23255
23232
|
/**
|
23256
23233
|
* CorrelationId
|
23257
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 (‘-‘).
|
@@ -23265,7 +23242,7 @@ export interface components {
|
|
23265
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).
|
23266
23243
|
* @example 2016-05-24T08:38:08.699-04:00
|
23267
23244
|
*/
|
23268
|
-
expiration
|
23245
|
+
expiration: string;
|
23269
23246
|
/**
|
23270
23247
|
* ExtensionList
|
23271
23248
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
@@ -23461,9 +23438,7 @@ export interface components {
|
|
23461
23438
|
};
|
23462
23439
|
}[];
|
23463
23440
|
};
|
23464
|
-
}
|
23465
|
-
bulkTansferState: unknown;
|
23466
|
-
});
|
23441
|
+
};
|
23467
23442
|
};
|
23468
23443
|
};
|
23469
23444
|
/** Request to Pay completed successfully */
|
@@ -3685,7 +3685,6 @@ export declare namespace Schemas {
|
|
3685
3685
|
description: string;
|
3686
3686
|
type: string;
|
3687
3687
|
minItems: number;
|
3688
|
-
maxItems: number;
|
3689
3688
|
items: {
|
3690
3689
|
title: string;
|
3691
3690
|
type: string;
|
@@ -5219,22 +5218,6 @@ export declare namespace Schemas {
|
|
5219
5218
|
};
|
5220
5219
|
})[];
|
5221
5220
|
};
|
5222
|
-
const ilpPacket: {
|
5223
|
-
title: string;
|
5224
|
-
type: string;
|
5225
|
-
pattern: string;
|
5226
|
-
minLength: number;
|
5227
|
-
maxLength: number;
|
5228
|
-
description: string;
|
5229
|
-
example: string;
|
5230
|
-
};
|
5231
|
-
const ilpCondition: {
|
5232
|
-
title: string;
|
5233
|
-
type: string;
|
5234
|
-
pattern: string;
|
5235
|
-
maxLength: number;
|
5236
|
-
description: string;
|
5237
|
-
};
|
5238
5221
|
const individualTransfer: {
|
5239
5222
|
title: string;
|
5240
5223
|
type: string;
|
@@ -76,8 +76,6 @@ var Schemas;
|
|
76
76
|
Schemas.bulkTransactionAcceptPartyErrorResponse = json_schemas_json_1.default.bulkTransactionAcceptPartyErrorResponse;
|
77
77
|
Schemas.quoteError = json_schemas_json_1.default.quoteError;
|
78
78
|
Schemas.bulkTransactionAcceptQuoteErrorResponse = json_schemas_json_1.default.bulkTransactionAcceptQuoteErrorResponse;
|
79
|
-
Schemas.ilpPacket = json_schemas_json_1.default.ilpPacket;
|
80
|
-
Schemas.ilpCondition = json_schemas_json_1.default.ilpCondition;
|
81
79
|
Schemas.individualTransfer = json_schemas_json_1.default.individualTransfer;
|
82
80
|
Schemas.bulkTransferRequest = json_schemas_json_1.default.bulkTransferRequest;
|
83
81
|
Schemas.individualTransferFulfilment = json_schemas_json_1.default.individualTransferFulfilment;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/outbound/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/outbound/schemas.ts"],"names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BAAW,CAAC,uBAAuB,CAAA;IAC7D,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,2BAAmB,GAAG,2BAAW,CAAC,mBAAmB,CAAA;IACrD,4BAAoB,GAAG,2BAAW,CAAC,oBAAoB,CAAA;IACvD,kCAA0B,GAAG,2BAAW,CAAC,0BAA0B,CAAA;IACnE,mCAA2B,GAAG,2BAAW,CAAC,2BAA2B,CAAA;IACrE,oCAA4B,GAAG,2BAAW,CAAC,4BAA4B,CAAA;AACtF,CAAC,EA9GgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA8GvB"}
|
@@ -70,8 +70,6 @@ export declare namespace Types {
|
|
70
70
|
type bulkTransactionAcceptPartyErrorResponse = components['schemas']['bulkTransactionAcceptPartyErrorResponse'];
|
71
71
|
type quoteError = components['schemas']['quoteError'];
|
72
72
|
type bulkTransactionAcceptQuoteErrorResponse = components['schemas']['bulkTransactionAcceptQuoteErrorResponse'];
|
73
|
-
type ilpPacket = components['schemas']['ilpPacket'];
|
74
|
-
type ilpCondition = components['schemas']['ilpCondition'];
|
75
73
|
type individualTransfer = components['schemas']['individualTransfer'];
|
76
74
|
type bulkTransferRequest = components['schemas']['bulkTransferRequest'];
|
77
75
|
type individualTransferFulfilment = components['schemas']['individualTransferFulfilment'];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mojaloop/api-snippets",
|
3
|
-
"version": "16.0.
|
3
|
+
"version": "16.0.5",
|
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",
|
@@ -82,36 +82,36 @@
|
|
82
82
|
"@types/responselike": "^1.0.0"
|
83
83
|
},
|
84
84
|
"devDependencies": {
|
85
|
-
"@commitlint/cli": "^17.
|
86
|
-
"@commitlint/config-conventional": "^17.
|
85
|
+
"@commitlint/cli": "^17.2.0",
|
86
|
+
"@commitlint/config-conventional": "^17.2.0",
|
87
87
|
"@redocly/openapi-cli": "^1.0.0-beta.94",
|
88
|
-
"@types/jest": "^29.
|
89
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
90
|
-
"@typescript-eslint/parser": "^5.
|
88
|
+
"@types/jest": "^29.2.1",
|
89
|
+
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
90
|
+
"@typescript-eslint/parser": "^5.42.0",
|
91
91
|
"diff": "^5.1.0",
|
92
|
-
"eslint": "^8.
|
92
|
+
"eslint": "^8.26.0",
|
93
93
|
"eslint-config-prettier": "^8.5.0",
|
94
94
|
"eslint-config-standard": "^17.0.0",
|
95
|
-
"eslint-import-resolver-typescript": "^3.5.
|
95
|
+
"eslint-import-resolver-typescript": "^3.5.2",
|
96
96
|
"eslint-plugin-cucumber": "^2.0.0",
|
97
97
|
"eslint-plugin-import": "^2.26.0",
|
98
98
|
"eslint-plugin-node": "^11.1.0",
|
99
99
|
"eslint-plugin-prettier": "^4.2.1",
|
100
|
-
"eslint-plugin-promise": "^6.
|
100
|
+
"eslint-plugin-promise": "^6.1.1",
|
101
101
|
"eslint-plugin-standard": "^5.0.0",
|
102
102
|
"husky": "4.3.8",
|
103
|
-
"jest": "^29.
|
103
|
+
"jest": "^29.2.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.16",
|
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
|
-
"tslib": "^2.4.
|
114
|
-
"typescript": "^4.8.
|
113
|
+
"tslib": "^2.4.1",
|
114
|
+
"typescript": "^4.8.4"
|
115
115
|
},
|
116
116
|
"publishConfig": {
|
117
117
|
"registry": "https://registry.npmjs.org/"
|
@@ -15,9 +15,9 @@ properties:
|
|
15
15
|
transactionType:
|
16
16
|
$ref: ./transferTransactionType.yaml
|
17
17
|
ilpPacket:
|
18
|
-
$ref: ./
|
18
|
+
$ref: ./IlpPacket.yaml
|
19
19
|
condition:
|
20
|
-
$ref: ./
|
20
|
+
$ref: ./IlpCondition.yaml
|
21
21
|
note:
|
22
22
|
$ref: ./Note.yaml
|
23
23
|
extensions:
|