@mojaloop/api-snippets 18.2.3 → 18.3.1

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 CHANGED
@@ -1,4 +1,18 @@
1
1
  # Changelog: [mojaloop/api-snippets](https://github.com/mojaloop/api-snippets)
2
+ ### [18.3.1](https://github.com/mojaloop/api-snippets/compare/v18.3.0...v18.3.1) (2026-02-13)
3
+
4
+
5
+ ### Maintenance
6
+
7
+ * **ci:** update CircleCI orb to 1.1.10 ([8e5eba8](https://github.com/mojaloop/api-snippets/commit/8e5eba8a2dc640262301141bd055334b1d10f11e))
8
+
9
+ ## [18.3.0](https://github.com/mojaloop/api-snippets/compare/v18.2.3...v18.3.0) (2026-01-20)
10
+
11
+
12
+ ### Features
13
+
14
+ * add granular expiry for outbound transfers ([#215](https://github.com/mojaloop/api-snippets/issues/215)) ([9b769b6](https://github.com/mojaloop/api-snippets/commit/9b769b6961ebb0a7e5ee407b1c62a1ff4f7b9929))
15
+
2
16
  ### [18.2.3](https://github.com/mojaloop/api-snippets/compare/v18.2.2...v18.2.3) (2026-01-13)
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.2.3",
3
+ "version": "18.3.1",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -85,12 +85,12 @@
85
85
  "dependencies": {
86
86
  "@apidevtools/json-schema-ref-parser": "^9.1.2",
87
87
  "@redocly/openapi-core": "^1.5.0",
88
- "commander": "^14.0.2",
88
+ "commander": "^14.0.3",
89
89
  "jest-ts-auto-mock": "^2.1.0",
90
90
  "js-yaml": "4.1.1",
91
91
  "json-refs": "^3.0.15",
92
92
  "openapi-types": "^12.1.3",
93
- "openapi-typescript": "^7.10.1",
93
+ "openapi-typescript": "^7.13.0",
94
94
  "ts-auto-mock": "^3.7.4"
95
95
  },
96
96
  "overrides": {
@@ -101,20 +101,23 @@
101
101
  "form-data": "4.0.4",
102
102
  "glob": "11.1.0",
103
103
  "js-yaml": "4.1.1",
104
- "qs": "6.14.1"
104
+ "qs": "6.14.2",
105
+ "lodash": "4.17.23",
106
+ "lodash-es": "4.17.23",
107
+ "undici": "6.23.0"
105
108
  },
106
109
  "devDependencies": {
107
- "@commitlint/cli": "^20.3.1",
108
- "@commitlint/config-conventional": "^20.3.1",
110
+ "@commitlint/cli": "^20.4.1",
111
+ "@commitlint/config-conventional": "^20.4.1",
109
112
  "@redocly/cli": "^1.5.0",
110
113
  "@redocly/openapi-cli": "^1.0.0-beta.95",
111
114
  "@types/jest": "^30.0.0",
112
115
  "@types/js-yaml": "^4.0.9",
113
- "@typescript-eslint/eslint-plugin": "^8.53.0",
114
- "@typescript-eslint/parser": "^8.53.0",
116
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
117
+ "@typescript-eslint/parser": "^8.55.0",
115
118
  "audit-ci": "^7.1.0",
116
119
  "browser-sync": "^3.0.4",
117
- "diff": "^8.0.3",
120
+ "diff": "8.0.3",
118
121
  "eslint": "^8.55.0",
119
122
  "eslint-config-prettier": "^10.1.8",
120
123
  "eslint-config-standard": "^17.1.0",
@@ -122,7 +125,7 @@
122
125
  "eslint-plugin-cucumber": "^2.0.0",
123
126
  "eslint-plugin-import": "^2.32.0",
124
127
  "eslint-plugin-node": "^11.1.0",
125
- "eslint-plugin-prettier": "^5.5.4",
128
+ "eslint-plugin-prettier": "^5.5.5",
126
129
  "eslint-plugin-promise": "^6.2.0",
127
130
  "eslint-plugin-standard": "^5.0.0",
128
131
  "husky": "9.1.7",
@@ -130,8 +133,8 @@
130
133
  "jest-junit": "^16.0.0",
131
134
  "json-schema-to-ts": "^3.1.1",
132
135
  "lint-staged": "^16.2.7",
133
- "npm-check-updates": "^19.3.1",
134
- "prettier": "^3.7.4",
136
+ "npm-check-updates": "^19.3.2",
137
+ "prettier": "^3.8.1",
135
138
  "standard-version": "^9.5.0",
136
139
  "swagger-cli": "^4.0.4",
137
140
  "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