@mojaloop/api-snippets 18.2.2 → 18.3.0
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-outbound-v2_1_0-openapi3-snippets.yaml +20 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +24 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +20 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +24 -0
- package/package.json +11 -10
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +28 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
# Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
|
|
2
|
+
## [18.3.0](https://github.com/mojaloop/api-snippets/compare/v18.2.3...v18.3.0) (2026-01-20)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add granular expiry for outbound transfers ([#215](https://github.com/mojaloop/api-snippets/issues/215)) ([9b769b6](https://github.com/mojaloop/api-snippets/commit/9b769b6961ebb0a7e5ee407b1c62a1ff4f7b9929))
|
|
8
|
+
|
|
9
|
+
### [18.2.3](https://github.com/mojaloop/api-snippets/compare/v18.2.2...v18.2.3) (2026-01-13)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Maintenance
|
|
13
|
+
|
|
14
|
+
* maintenance updates ([#214](https://github.com/mojaloop/api-snippets/issues/214)) ([fda0e8f](https://github.com/mojaloop/api-snippets/commit/fda0e8f1c9c1009b6ee840cd48d6042e54feae64))
|
|
15
|
+
|
|
2
16
|
### [18.2.2](https://github.com/mojaloop/api-snippets/compare/v18.2.1...v18.2.2) (2025-12-05)
|
|
3
17
|
|
|
4
18
|
|
|
@@ -2799,6 +2799,26 @@ components:
|
|
|
2799
2799
|
skipPartyLookup:
|
|
2800
2800
|
description: Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful is a previous party resolution has been performed.
|
|
2801
2801
|
type: boolean
|
|
2802
|
+
prepareExpirySeconds:
|
|
2803
|
+
description: The number of seconds until the prepare expires. If not provided, the default value configured on the SDK will be used.
|
|
2804
|
+
type: integer
|
|
2805
|
+
format: int32
|
|
2806
|
+
minimum: 1
|
|
2807
|
+
fxPrepareExpirySeconds:
|
|
2808
|
+
description: The number of seconds until the FX prepare expires. If not provided, the default value configured on the SDK will be used.
|
|
2809
|
+
type: integer
|
|
2810
|
+
format: int32
|
|
2811
|
+
minimum: 1
|
|
2812
|
+
quoteExpirySeconds:
|
|
2813
|
+
description: The number of seconds until the quote expires. If not provided, the default value configured on the SDK will be used.
|
|
2814
|
+
type: integer
|
|
2815
|
+
format: int32
|
|
2816
|
+
minimum: 1
|
|
2817
|
+
fxQuoteExpirySeconds:
|
|
2818
|
+
description: The number of seconds until the FX quote expires. If not provided, the default value configured on the SDK will be used.
|
|
2819
|
+
type: integer
|
|
2820
|
+
format: int32
|
|
2821
|
+
minimum: 1s
|
|
2802
2822
|
transferStatusResponse:
|
|
2803
2823
|
type: object
|
|
2804
2824
|
additionalProperties: false
|
|
@@ -37968,6 +37968,30 @@
|
|
|
37968
37968
|
"skipPartyLookup": {
|
|
37969
37969
|
"description": "Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful is a previous party resolution has been performed.",
|
|
37970
37970
|
"type": "boolean"
|
|
37971
|
+
},
|
|
37972
|
+
"prepareExpirySeconds": {
|
|
37973
|
+
"description": "The number of seconds until the prepare expires. If not provided, the default value configured on the SDK will be used.",
|
|
37974
|
+
"type": "integer",
|
|
37975
|
+
"format": "int32",
|
|
37976
|
+
"minimum": 1
|
|
37977
|
+
},
|
|
37978
|
+
"fxPrepareExpirySeconds": {
|
|
37979
|
+
"description": "The number of seconds until the FX prepare expires. If not provided, the default value configured on the SDK will be used.",
|
|
37980
|
+
"type": "integer",
|
|
37981
|
+
"format": "int32",
|
|
37982
|
+
"minimum": 1
|
|
37983
|
+
},
|
|
37984
|
+
"quoteExpirySeconds": {
|
|
37985
|
+
"description": "The number of seconds until the quote expires. If not provided, the default value configured on the SDK will be used.",
|
|
37986
|
+
"type": "integer",
|
|
37987
|
+
"format": "int32",
|
|
37988
|
+
"minimum": 1
|
|
37989
|
+
},
|
|
37990
|
+
"fxQuoteExpirySeconds": {
|
|
37991
|
+
"description": "The number of seconds until the FX quote expires. If not provided, the default value configured on the SDK will be used.",
|
|
37992
|
+
"type": "integer",
|
|
37993
|
+
"format": "int32",
|
|
37994
|
+
"minimum": "1s"
|
|
37971
37995
|
}
|
|
37972
37996
|
}
|
|
37973
37997
|
},
|
|
@@ -1982,6 +1982,26 @@ export interface components {
|
|
|
1982
1982
|
transferRequestExtensions?: components["schemas"]["extensionListEmptiable"];
|
|
1983
1983
|
/** @description Set to true if supplying an FSPID for the payee party and no party resolution is needed. This may be useful is a previous party resolution has been performed. */
|
|
1984
1984
|
skipPartyLookup?: boolean;
|
|
1985
|
+
/**
|
|
1986
|
+
* Format: int32
|
|
1987
|
+
* @description The number of seconds until the prepare expires. If not provided, the default value configured on the SDK will be used.
|
|
1988
|
+
*/
|
|
1989
|
+
prepareExpirySeconds?: number;
|
|
1990
|
+
/**
|
|
1991
|
+
* Format: int32
|
|
1992
|
+
* @description The number of seconds until the FX prepare expires. If not provided, the default value configured on the SDK will be used.
|
|
1993
|
+
*/
|
|
1994
|
+
fxPrepareExpirySeconds?: number;
|
|
1995
|
+
/**
|
|
1996
|
+
* Format: int32
|
|
1997
|
+
* @description The number of seconds until the quote expires. If not provided, the default value configured on the SDK will be used.
|
|
1998
|
+
*/
|
|
1999
|
+
quoteExpirySeconds?: number;
|
|
2000
|
+
/**
|
|
2001
|
+
* Format: int32
|
|
2002
|
+
* @description The number of seconds until the FX quote expires. If not provided, the default value configured on the SDK will be used.
|
|
2003
|
+
*/
|
|
2004
|
+
fxQuoteExpirySeconds?: number;
|
|
1985
2005
|
};
|
|
1986
2006
|
transferStatusResponse: {
|
|
1987
2007
|
transferId: components["schemas"]["CorrelationId"];
|
|
@@ -15790,6 +15790,30 @@ export declare namespace Schemas {
|
|
|
15790
15790
|
description: string;
|
|
15791
15791
|
type: string;
|
|
15792
15792
|
};
|
|
15793
|
+
prepareExpirySeconds: {
|
|
15794
|
+
description: string;
|
|
15795
|
+
type: string;
|
|
15796
|
+
format: string;
|
|
15797
|
+
minimum: number;
|
|
15798
|
+
};
|
|
15799
|
+
fxPrepareExpirySeconds: {
|
|
15800
|
+
description: string;
|
|
15801
|
+
type: string;
|
|
15802
|
+
format: string;
|
|
15803
|
+
minimum: number;
|
|
15804
|
+
};
|
|
15805
|
+
quoteExpirySeconds: {
|
|
15806
|
+
description: string;
|
|
15807
|
+
type: string;
|
|
15808
|
+
format: string;
|
|
15809
|
+
minimum: number;
|
|
15810
|
+
};
|
|
15811
|
+
fxQuoteExpirySeconds: {
|
|
15812
|
+
description: string;
|
|
15813
|
+
type: string;
|
|
15814
|
+
format: string;
|
|
15815
|
+
minimum: string;
|
|
15816
|
+
};
|
|
15793
15817
|
};
|
|
15794
15818
|
};
|
|
15795
15819
|
const transferStatusResponse: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaloop/api-snippets",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.3.0",
|
|
4
4
|
"description": "Mojaloop API specification reusable snippets",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -100,20 +100,21 @@
|
|
|
100
100
|
"dompurify": "3.2.4",
|
|
101
101
|
"form-data": "4.0.4",
|
|
102
102
|
"glob": "11.1.0",
|
|
103
|
-
"js-yaml": "4.1.1"
|
|
103
|
+
"js-yaml": "4.1.1",
|
|
104
|
+
"qs": "6.14.1"
|
|
104
105
|
},
|
|
105
106
|
"devDependencies": {
|
|
106
|
-
"@commitlint/cli": "^20.1
|
|
107
|
-
"@commitlint/config-conventional": "^20.
|
|
107
|
+
"@commitlint/cli": "^20.3.1",
|
|
108
|
+
"@commitlint/config-conventional": "^20.3.1",
|
|
108
109
|
"@redocly/cli": "^1.5.0",
|
|
109
110
|
"@redocly/openapi-cli": "^1.0.0-beta.95",
|
|
110
111
|
"@types/jest": "^30.0.0",
|
|
111
112
|
"@types/js-yaml": "^4.0.9",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
113
|
-
"@typescript-eslint/parser": "^8.
|
|
113
|
+
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
|
114
|
+
"@typescript-eslint/parser": "^8.53.1",
|
|
114
115
|
"audit-ci": "^7.1.0",
|
|
115
116
|
"browser-sync": "^3.0.4",
|
|
116
|
-
"diff": "^8.0.
|
|
117
|
+
"diff": "^8.0.3",
|
|
117
118
|
"eslint": "^8.55.0",
|
|
118
119
|
"eslint-config-prettier": "^10.1.8",
|
|
119
120
|
"eslint-config-standard": "^17.1.0",
|
|
@@ -121,7 +122,7 @@
|
|
|
121
122
|
"eslint-plugin-cucumber": "^2.0.0",
|
|
122
123
|
"eslint-plugin-import": "^2.32.0",
|
|
123
124
|
"eslint-plugin-node": "^11.1.0",
|
|
124
|
-
"eslint-plugin-prettier": "^5.5.
|
|
125
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
125
126
|
"eslint-plugin-promise": "^6.2.0",
|
|
126
127
|
"eslint-plugin-standard": "^5.0.0",
|
|
127
128
|
"husky": "9.1.7",
|
|
@@ -129,8 +130,8 @@
|
|
|
129
130
|
"jest-junit": "^16.0.0",
|
|
130
131
|
"json-schema-to-ts": "^3.1.1",
|
|
131
132
|
"lint-staged": "^16.2.7",
|
|
132
|
-
"npm-check-updates": "^19.1
|
|
133
|
-
"prettier": "^3.
|
|
133
|
+
"npm-check-updates": "^19.3.1",
|
|
134
|
+
"prettier": "^3.8.0",
|
|
134
135
|
"standard-version": "^9.5.0",
|
|
135
136
|
"swagger-cli": "^4.0.4",
|
|
136
137
|
"ts-jest": "^29.4.6",
|
|
@@ -40,3 +40,31 @@ properties:
|
|
|
40
40
|
resolution is needed. This may be useful is a previous party resolution
|
|
41
41
|
has been performed.
|
|
42
42
|
type: boolean
|
|
43
|
+
prepareExpirySeconds:
|
|
44
|
+
description: >-
|
|
45
|
+
The number of seconds until the prepare expires. If not provided, the
|
|
46
|
+
default value configured on the SDK will be used.
|
|
47
|
+
type: integer
|
|
48
|
+
format: int32
|
|
49
|
+
minimum: 1
|
|
50
|
+
fxPrepareExpirySeconds:
|
|
51
|
+
description: >-
|
|
52
|
+
The number of seconds until the FX prepare expires. If not provided, the
|
|
53
|
+
default value configured on the SDK will be used.
|
|
54
|
+
type: integer
|
|
55
|
+
format: int32
|
|
56
|
+
minimum: 1
|
|
57
|
+
quoteExpirySeconds:
|
|
58
|
+
description: >-
|
|
59
|
+
The number of seconds until the quote expires. If not provided, the
|
|
60
|
+
default value configured on the SDK will be used.
|
|
61
|
+
type: integer
|
|
62
|
+
format: int32
|
|
63
|
+
minimum: 1
|
|
64
|
+
fxQuoteExpirySeconds:
|
|
65
|
+
description: >-
|
|
66
|
+
The number of seconds until the FX quote expires. If not provided, the
|
|
67
|
+
default value configured on the SDK will be used.
|
|
68
|
+
type: integer
|
|
69
|
+
format: int32
|
|
70
|
+
minimum: 1s
|