@mojaloop/api-snippets 16.0.1 → 16.0.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 +7 -0
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +16 -0
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +9 -0
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +14 -2
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +7 -0
- package/package.json +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/bulkTransferRequest.yaml +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
|
2
|
+
### [16.0.2](https://github.com/mojaloop/api-snippets/compare/v16.0.1...v16.0.2) (2022-09-22)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* added missing fields and required parameters to the SDK Scheme Adapter Outbound API ([#143](https://github.com/mojaloop/api-snippets/issues/143)) ([c2ddf0b](https://github.com/mojaloop/api-snippets/commit/c2ddf0b156f6cacfef6f367e94173fdf4f7a34db))
|
|
8
|
+
|
|
2
9
|
### [16.0.1](https://github.com/mojaloop/api-snippets/compare/v16.0.0...v16.0.1) (2022-09-22)
|
|
3
10
|
|
|
4
11
|
|
|
@@ -1987,7 +1987,9 @@ paths:
|
|
|
1987
1987
|
schema:
|
|
1988
1988
|
type: object
|
|
1989
1989
|
required: &ref_98
|
|
1990
|
+
- bulkTransferId
|
|
1990
1991
|
- homeTransactionId
|
|
1992
|
+
- bulkQuoteId
|
|
1991
1993
|
- from
|
|
1992
1994
|
- individualTransfers
|
|
1993
1995
|
properties: &ref_99
|
|
@@ -2010,6 +2012,20 @@ paths:
|
|
|
2010
2012
|
reasons. A UUID is always 36 characters long, 32 hexadecimal
|
|
2011
2013
|
symbols and 4 dashes (‘-‘).
|
|
2012
2014
|
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2015
|
+
bulkQuoteId:
|
|
2016
|
+
title: CorrelationId
|
|
2017
|
+
type: string
|
|
2018
|
+
pattern: >-
|
|
2019
|
+
^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
|
|
2020
|
+
description: >-
|
|
2021
|
+
Identifier that correlates all messages of the same
|
|
2022
|
+
sequence. The API data type UUID (Universally Unique
|
|
2023
|
+
Identifier) is a JSON String in canonical format, conforming
|
|
2024
|
+
to [RFC 4122](https://tools.ietf.org/html/rfc4122), that is
|
|
2025
|
+
restricted by a regular expression for interoperability
|
|
2026
|
+
reasons. A UUID is always 36 characters long, 32 hexadecimal
|
|
2027
|
+
symbols and 4 dashes (‘-‘).
|
|
2028
|
+
example: b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
2013
2029
|
from:
|
|
2014
2030
|
type: object
|
|
2015
2031
|
required: *ref_0
|
|
@@ -10225,7 +10225,9 @@
|
|
|
10225
10225
|
"bulkTransferRequest": {
|
|
10226
10226
|
"type": "object",
|
|
10227
10227
|
"required": [
|
|
10228
|
+
"bulkTransferId",
|
|
10228
10229
|
"homeTransactionId",
|
|
10230
|
+
"bulkQuoteId",
|
|
10229
10231
|
"from",
|
|
10230
10232
|
"individualTransfers"
|
|
10231
10233
|
],
|
|
@@ -10241,6 +10243,13 @@
|
|
|
10241
10243
|
"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 (‘-‘).",
|
|
10242
10244
|
"example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
|
|
10243
10245
|
},
|
|
10246
|
+
"bulkQuoteId": {
|
|
10247
|
+
"title": "CorrelationId",
|
|
10248
|
+
"type": "string",
|
|
10249
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
10250
|
+
"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 (‘-‘).",
|
|
10251
|
+
"example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
|
|
10252
|
+
},
|
|
10244
10253
|
"from": {
|
|
10245
10254
|
"type": "object",
|
|
10246
10255
|
"required": [
|
|
@@ -4943,7 +4943,13 @@ export interface paths {
|
|
|
4943
4943
|
* @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 (‘-‘).
|
|
4944
4944
|
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
4945
4945
|
*/
|
|
4946
|
-
bulkTransferId
|
|
4946
|
+
bulkTransferId: string;
|
|
4947
|
+
/**
|
|
4948
|
+
* CorrelationId
|
|
4949
|
+
* @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 (‘-‘).
|
|
4950
|
+
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
4951
|
+
*/
|
|
4952
|
+
bulkQuoteId: string;
|
|
4947
4953
|
from: {
|
|
4948
4954
|
/**
|
|
4949
4955
|
* TransactionInitiatorType
|
|
@@ -15403,7 +15409,13 @@ export interface components {
|
|
|
15403
15409
|
* @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 (‘-‘).
|
|
15404
15410
|
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
15405
15411
|
*/
|
|
15406
|
-
bulkTransferId
|
|
15412
|
+
bulkTransferId: string;
|
|
15413
|
+
/**
|
|
15414
|
+
* CorrelationId
|
|
15415
|
+
* @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 (‘-‘).
|
|
15416
|
+
* @example b51ec534-ee48-4575-b6a9-ead2955b8069
|
|
15417
|
+
*/
|
|
15418
|
+
bulkQuoteId: string;
|
|
15407
15419
|
from: {
|
|
15408
15420
|
/**
|
|
15409
15421
|
* TransactionInitiatorType
|
|
@@ -5435,6 +5435,13 @@ export declare namespace Schemas {
|
|
|
5435
5435
|
description: string;
|
|
5436
5436
|
example: string;
|
|
5437
5437
|
};
|
|
5438
|
+
bulkQuoteId: {
|
|
5439
|
+
title: string;
|
|
5440
|
+
type: string;
|
|
5441
|
+
pattern: string;
|
|
5442
|
+
description: string;
|
|
5443
|
+
example: string;
|
|
5444
|
+
};
|
|
5438
5445
|
from: {
|
|
5439
5446
|
type: string;
|
|
5440
5447
|
required: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
type: object
|
|
2
2
|
required:
|
|
3
|
+
- bulkTransferId
|
|
3
4
|
- homeTransactionId
|
|
5
|
+
- bulkQuoteId
|
|
4
6
|
- from
|
|
5
7
|
- individualTransfers
|
|
6
8
|
properties:
|
|
@@ -11,6 +13,8 @@ properties:
|
|
|
11
13
|
between the Switch and DFSP backend systems.
|
|
12
14
|
bulkTransferId:
|
|
13
15
|
$ref: ./CorrelationId.yaml
|
|
16
|
+
bulkQuoteId:
|
|
17
|
+
$ref: ./CorrelationId.yaml
|
|
14
18
|
from:
|
|
15
19
|
$ref: ./transferParty.yaml
|
|
16
20
|
individualTransfers:
|