@mojaloop/api-snippets 18.2.3 → 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 +7 -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 +5 -5
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +28 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
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
|
+
|
|
2
9
|
### [18.2.3](https://github.com/mojaloop/api-snippets/compare/v18.2.2...v18.2.3) (2026-01-13)
|
|
3
10
|
|
|
4
11
|
|
|
@@ -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",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"@redocly/openapi-cli": "^1.0.0-beta.95",
|
|
111
111
|
"@types/jest": "^30.0.0",
|
|
112
112
|
"@types/js-yaml": "^4.0.9",
|
|
113
|
-
"@typescript-eslint/eslint-plugin": "^8.53.
|
|
114
|
-
"@typescript-eslint/parser": "^8.53.
|
|
113
|
+
"@typescript-eslint/eslint-plugin": "^8.53.1",
|
|
114
|
+
"@typescript-eslint/parser": "^8.53.1",
|
|
115
115
|
"audit-ci": "^7.1.0",
|
|
116
116
|
"browser-sync": "^3.0.4",
|
|
117
117
|
"diff": "^8.0.3",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"eslint-plugin-cucumber": "^2.0.0",
|
|
123
123
|
"eslint-plugin-import": "^2.32.0",
|
|
124
124
|
"eslint-plugin-node": "^11.1.0",
|
|
125
|
-
"eslint-plugin-prettier": "^5.5.
|
|
125
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
126
126
|
"eslint-plugin-promise": "^6.2.0",
|
|
127
127
|
"eslint-plugin-standard": "^5.0.0",
|
|
128
128
|
"husky": "9.1.7",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"json-schema-to-ts": "^3.1.1",
|
|
132
132
|
"lint-staged": "^16.2.7",
|
|
133
133
|
"npm-check-updates": "^19.3.1",
|
|
134
|
-
"prettier": "^3.
|
|
134
|
+
"prettier": "^3.8.0",
|
|
135
135
|
"standard-version": "^9.5.0",
|
|
136
136
|
"swagger-cli": "^4.0.4",
|
|
137
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
|