@kard-financial/sdk 10.0.1 → 11.0.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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@kard-financial/sdk",
46
- "X-Fern-SDK-Version": "10.0.1",
47
- "User-Agent": "@kard-financial/sdk/10.0.1",
46
+ "X-Fern-SDK-Version": "11.0.0",
47
+ "User-Agent": "@kard-financial/sdk/11.0.0",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -168,6 +168,7 @@ export declare class TransactionsClient {
168
168
  * settledDate: "2024-10-15T14:30:00Z",
169
169
  * authorizationDate: "2024-10-15T14:25:00Z",
170
170
  * financialInstitutionName: "west union bank",
171
+ * financialInstitutionId: "fin-inst-001",
171
172
  * cardLastFours: ["4321"]
172
173
  * }
173
174
  * }]
@@ -211,6 +211,7 @@ class TransactionsClient {
211
211
  * settledDate: "2024-10-15T14:30:00Z",
212
212
  * authorizationDate: "2024-10-15T14:25:00Z",
213
213
  * financialInstitutionName: "west union bank",
214
+ * financialInstitutionId: "fin-inst-001",
214
215
  * cardLastFours: ["4321"]
215
216
  * }
216
217
  * }]
@@ -18,8 +18,10 @@ export interface CoreTransactionAttributes {
18
18
  settledDate: string;
19
19
  /** Timestamp for transaction authorization. Date string should be in ISO 8601 format i.e.'YYYY-MM-DDThh:mm:ss.sTZD' where TZD = time zone designator (Z or +hh:mm or -hh:mm) i.e. 1994-11-05T08:15:30-05:00 OR 1994-11-05T08:15:30Z */
20
20
  authorizationDate: string;
21
- /** Name of the financial institution */
22
- financialInstitutionName: string;
21
+ /** Deprecated. Use `financialInstitutionId` instead. Name of the financial institution. */
22
+ financialInstitutionName?: string;
23
+ /** Unique identifier of the financial institution */
24
+ financialInstitutionId?: string;
23
25
  /** Last four digits of the card(s) that may have been used for the transaction. When the issuer cannot determine which specific card was used, multiple values are provided as candidates. */
24
26
  cardLastFours?: string[];
25
27
  }
@@ -137,6 +137,7 @@ import type * as KardApi from "../../../index.js";
137
137
  * settledDate: "2024-10-15T14:30:00Z",
138
138
  * authorizationDate: "2024-10-15T14:25:00Z",
139
139
  * financialInstitutionName: "west union bank",
140
+ * financialInstitutionId: "fin-inst-001",
140
141
  * cardLastFours: ["4321"]
141
142
  * }
142
143
  * }]
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "10.0.1";
1
+ export declare const SDK_VERSION = "11.0.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "10.0.1";
4
+ exports.SDK_VERSION = "11.0.0";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@kard-financial/sdk",
9
- "X-Fern-SDK-Version": "10.0.1",
10
- "User-Agent": "@kard-financial/sdk/10.0.1",
9
+ "X-Fern-SDK-Version": "11.0.0",
10
+ "User-Agent": "@kard-financial/sdk/11.0.0",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -168,6 +168,7 @@ export declare class TransactionsClient {
168
168
  * settledDate: "2024-10-15T14:30:00Z",
169
169
  * authorizationDate: "2024-10-15T14:25:00Z",
170
170
  * financialInstitutionName: "west union bank",
171
+ * financialInstitutionId: "fin-inst-001",
171
172
  * cardLastFours: ["4321"]
172
173
  * }
173
174
  * }]
@@ -175,6 +175,7 @@ export class TransactionsClient {
175
175
  * settledDate: "2024-10-15T14:30:00Z",
176
176
  * authorizationDate: "2024-10-15T14:25:00Z",
177
177
  * financialInstitutionName: "west union bank",
178
+ * financialInstitutionId: "fin-inst-001",
178
179
  * cardLastFours: ["4321"]
179
180
  * }
180
181
  * }]
@@ -18,8 +18,10 @@ export interface CoreTransactionAttributes {
18
18
  settledDate: string;
19
19
  /** Timestamp for transaction authorization. Date string should be in ISO 8601 format i.e.'YYYY-MM-DDThh:mm:ss.sTZD' where TZD = time zone designator (Z or +hh:mm or -hh:mm) i.e. 1994-11-05T08:15:30-05:00 OR 1994-11-05T08:15:30Z */
20
20
  authorizationDate: string;
21
- /** Name of the financial institution */
22
- financialInstitutionName: string;
21
+ /** Deprecated. Use `financialInstitutionId` instead. Name of the financial institution. */
22
+ financialInstitutionName?: string;
23
+ /** Unique identifier of the financial institution */
24
+ financialInstitutionId?: string;
23
25
  /** Last four digits of the card(s) that may have been used for the transaction. When the issuer cannot determine which specific card was used, multiple values are provided as candidates. */
24
26
  cardLastFours?: string[];
25
27
  }
@@ -137,6 +137,7 @@ import type * as KardApi from "../../../index.mjs";
137
137
  * settledDate: "2024-10-15T14:30:00Z",
138
138
  * authorizationDate: "2024-10-15T14:25:00Z",
139
139
  * financialInstitutionName: "west union bank",
140
+ * financialInstitutionId: "fin-inst-001",
140
141
  * cardLastFours: ["4321"]
141
142
  * }
142
143
  * }]
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "10.0.1";
1
+ export declare const SDK_VERSION = "11.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "10.0.1";
1
+ export const SDK_VERSION = "11.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "10.0.1",
3
+ "version": "11.0.0",
4
4
  "private": false,
5
5
  "repository": "github:KardFinancial/kard-node-sdk",
6
6
  "type": "commonjs",