@kard-financial/sdk 4.3.2 → 4.5.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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/transactions/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/client/Client.js +1 -1
- package/dist/cjs/api/resources/transactions/types/CoreTransactionAttributes.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/types/FinancialInstitutionName.d.ts +37 -0
- package/dist/cjs/api/resources/transactions/types/FinancialInstitutionName.js +40 -0
- package/dist/cjs/api/resources/transactions/types/TransactionsRequestBody.d.ts +1 -1
- package/dist/cjs/api/resources/transactions/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/transactions/types/index.js +1 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/CtaComponent.d.ts +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/transactions/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/transactions/client/Client.mjs +1 -1
- package/dist/esm/api/resources/transactions/types/CoreTransactionAttributes.d.mts +1 -1
- package/dist/esm/api/resources/transactions/types/FinancialInstitutionName.d.mts +37 -0
- package/dist/esm/api/resources/transactions/types/FinancialInstitutionName.mjs +37 -0
- package/dist/esm/api/resources/transactions/types/TransactionsRequestBody.d.mts +1 -1
- package/dist/esm/api/resources/transactions/types/index.d.mts +1 -0
- package/dist/esm/api/resources/transactions/types/index.mjs +1 -0
- package/dist/esm/api/resources/users/resources/rewards/types/CtaComponent.d.mts +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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": "4.
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/4.
|
|
46
|
+
"X-Fern-SDK-Version": "4.5.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/4.5.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);
|
|
@@ -167,7 +167,7 @@ export declare class TransactionsClient {
|
|
|
167
167
|
* status: "SETTLED",
|
|
168
168
|
* settledDate: "2024-10-15T14:30:00Z",
|
|
169
169
|
* authorizationDate: "2024-10-15T14:25:00Z",
|
|
170
|
-
* financialInstitutionName: "First
|
|
170
|
+
* financialInstitutionName: "First Financial Bank"
|
|
171
171
|
* }
|
|
172
172
|
* }]
|
|
173
173
|
* })
|
|
@@ -210,7 +210,7 @@ class TransactionsClient {
|
|
|
210
210
|
* status: "SETTLED",
|
|
211
211
|
* settledDate: "2024-10-15T14:30:00Z",
|
|
212
212
|
* authorizationDate: "2024-10-15T14:25:00Z",
|
|
213
|
-
* financialInstitutionName: "First
|
|
213
|
+
* financialInstitutionName: "First Financial Bank"
|
|
214
214
|
* }
|
|
215
215
|
* }]
|
|
216
216
|
* })
|
|
@@ -19,5 +19,5 @@ export interface CoreTransactionAttributes {
|
|
|
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
21
|
/** Name of the financial institution */
|
|
22
|
-
financialInstitutionName:
|
|
22
|
+
financialInstitutionName: KardApi.FinancialInstitutionName;
|
|
23
23
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const FinancialInstitutionName: {
|
|
2
|
+
readonly AffinityCreditUnion: "Affinity Credit Union";
|
|
3
|
+
readonly Bank21: "Bank 21";
|
|
4
|
+
readonly BluffViewBank: "Bluff View Bank";
|
|
5
|
+
readonly Centerbank: "CENTERBANK";
|
|
6
|
+
readonly CsBank: "CS Bank";
|
|
7
|
+
readonly CuHawaii: "CU Hawaii";
|
|
8
|
+
readonly CapitolCreditUnion: "Capitol Credit Union";
|
|
9
|
+
readonly ClearpathFcu: "Clearpath FCU";
|
|
10
|
+
readonly CoffeeCountyBank: "Coffee County Bank";
|
|
11
|
+
readonly CommonwealthOne: "CommonWealth One";
|
|
12
|
+
readonly ConnectionBank: "Connection Bank";
|
|
13
|
+
readonly CosdenFcu: "Cosden FCU";
|
|
14
|
+
readonly ElgaCreditUnion: "ELGA Credit Union";
|
|
15
|
+
readonly EmpriseBank: "Emprise Bank";
|
|
16
|
+
readonly FirstFinancialBank: "First Financial Bank";
|
|
17
|
+
readonly FrazerBank: "Frazer Bank";
|
|
18
|
+
readonly Keesler: "Keesler";
|
|
19
|
+
readonly Lcnb: "LCNB";
|
|
20
|
+
readonly MarshallCommunityCu: "Marshall Community CU";
|
|
21
|
+
readonly MembersAdvantageCu: "Members Advantage CU";
|
|
22
|
+
readonly MembersExchange: "Members Exchange";
|
|
23
|
+
readonly MctCreditUnion: "MCT Credit Union";
|
|
24
|
+
readonly Mtcu: "MTCU";
|
|
25
|
+
readonly NewDimensions: "New Dimensions";
|
|
26
|
+
readonly OldHickory: "Old Hickory";
|
|
27
|
+
readonly OxfordBank: "Oxford Bank";
|
|
28
|
+
readonly PeoplesBank: "Peoples Bank";
|
|
29
|
+
readonly PremierOneCreditUnion: "Premier one credit union";
|
|
30
|
+
readonly RiverfallCreditUnion: "Riverfall Credit Union";
|
|
31
|
+
readonly SeacoastBank: "SeaCoast Bank";
|
|
32
|
+
readonly SoonerStateBank: "Sooner State Bank";
|
|
33
|
+
readonly SturgisBank: "Sturgis Bank";
|
|
34
|
+
readonly UnitedEquityCreditUnion: "United Equity Credit Union";
|
|
35
|
+
readonly WayneCountyBank: "Wayne County Bank";
|
|
36
|
+
};
|
|
37
|
+
export type FinancialInstitutionName = (typeof FinancialInstitutionName)[keyof typeof FinancialInstitutionName];
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.FinancialInstitutionName = void 0;
|
|
5
|
+
exports.FinancialInstitutionName = {
|
|
6
|
+
AffinityCreditUnion: "Affinity Credit Union",
|
|
7
|
+
Bank21: "Bank 21",
|
|
8
|
+
BluffViewBank: "Bluff View Bank",
|
|
9
|
+
Centerbank: "CENTERBANK",
|
|
10
|
+
CsBank: "CS Bank",
|
|
11
|
+
CuHawaii: "CU Hawaii",
|
|
12
|
+
CapitolCreditUnion: "Capitol Credit Union",
|
|
13
|
+
ClearpathFcu: "Clearpath FCU",
|
|
14
|
+
CoffeeCountyBank: "Coffee County Bank",
|
|
15
|
+
CommonwealthOne: "CommonWealth One",
|
|
16
|
+
ConnectionBank: "Connection Bank",
|
|
17
|
+
CosdenFcu: "Cosden FCU",
|
|
18
|
+
ElgaCreditUnion: "ELGA Credit Union",
|
|
19
|
+
EmpriseBank: "Emprise Bank",
|
|
20
|
+
FirstFinancialBank: "First Financial Bank",
|
|
21
|
+
FrazerBank: "Frazer Bank",
|
|
22
|
+
Keesler: "Keesler",
|
|
23
|
+
Lcnb: "LCNB",
|
|
24
|
+
MarshallCommunityCu: "Marshall Community CU",
|
|
25
|
+
MembersAdvantageCu: "Members Advantage CU",
|
|
26
|
+
MembersExchange: "Members Exchange",
|
|
27
|
+
MctCreditUnion: "MCT Credit Union",
|
|
28
|
+
Mtcu: "MTCU",
|
|
29
|
+
NewDimensions: "New Dimensions",
|
|
30
|
+
OldHickory: "Old Hickory",
|
|
31
|
+
OxfordBank: "Oxford Bank",
|
|
32
|
+
PeoplesBank: "Peoples Bank",
|
|
33
|
+
PremierOneCreditUnion: "Premier one credit union",
|
|
34
|
+
RiverfallCreditUnion: "Riverfall Credit Union",
|
|
35
|
+
SeacoastBank: "SeaCoast Bank",
|
|
36
|
+
SoonerStateBank: "Sooner State Bank",
|
|
37
|
+
SturgisBank: "Sturgis Bank",
|
|
38
|
+
UnitedEquityCreditUnion: "United Equity Credit Union",
|
|
39
|
+
WayneCountyBank: "Wayne County Bank",
|
|
40
|
+
};
|
|
@@ -136,7 +136,7 @@ import type * as KardApi from "../../../index.js";
|
|
|
136
136
|
* status: "SETTLED",
|
|
137
137
|
* settledDate: "2024-10-15T14:30:00Z",
|
|
138
138
|
* authorizationDate: "2024-10-15T14:25:00Z",
|
|
139
|
-
* financialInstitutionName:
|
|
139
|
+
* financialInstitutionName: KardApi.FinancialInstitutionName.FirstFinancialBank
|
|
140
140
|
* }
|
|
141
141
|
* }]
|
|
142
142
|
* }
|
|
@@ -13,6 +13,7 @@ export * from "./CreateAuditRequestDataUnion.js";
|
|
|
13
13
|
export * from "./CreateAuditResponseBody.js";
|
|
14
14
|
export * from "./CreateAuditResponseDataUnion.js";
|
|
15
15
|
export * from "./DirectionType.js";
|
|
16
|
+
export * from "./FinancialInstitutionName.js";
|
|
16
17
|
export * from "./FraudulentTransactionAttributes.js";
|
|
17
18
|
export * from "./FraudulentTransactionData.js";
|
|
18
19
|
export * from "./FraudulentTransactionObject.js";
|
|
@@ -29,6 +29,7 @@ __exportStar(require("./CreateAuditRequestDataUnion.js"), exports);
|
|
|
29
29
|
__exportStar(require("./CreateAuditResponseBody.js"), exports);
|
|
30
30
|
__exportStar(require("./CreateAuditResponseDataUnion.js"), exports);
|
|
31
31
|
__exportStar(require("./DirectionType.js"), exports);
|
|
32
|
+
__exportStar(require("./FinancialInstitutionName.js"), exports);
|
|
32
33
|
__exportStar(require("./FraudulentTransactionAttributes.js"), exports);
|
|
33
34
|
__exportStar(require("./FraudulentTransactionData.js"), exports);
|
|
34
35
|
__exportStar(require("./FraudulentTransactionObject.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.
|
|
1
|
+
export declare const SDK_VERSION = "4.5.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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": "4.
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/4.
|
|
9
|
+
"X-Fern-SDK-Version": "4.5.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/4.5.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);
|
|
@@ -167,7 +167,7 @@ export declare class TransactionsClient {
|
|
|
167
167
|
* status: "SETTLED",
|
|
168
168
|
* settledDate: "2024-10-15T14:30:00Z",
|
|
169
169
|
* authorizationDate: "2024-10-15T14:25:00Z",
|
|
170
|
-
* financialInstitutionName: "First
|
|
170
|
+
* financialInstitutionName: "First Financial Bank"
|
|
171
171
|
* }
|
|
172
172
|
* }]
|
|
173
173
|
* })
|
|
@@ -174,7 +174,7 @@ export class TransactionsClient {
|
|
|
174
174
|
* status: "SETTLED",
|
|
175
175
|
* settledDate: "2024-10-15T14:30:00Z",
|
|
176
176
|
* authorizationDate: "2024-10-15T14:25:00Z",
|
|
177
|
-
* financialInstitutionName: "First
|
|
177
|
+
* financialInstitutionName: "First Financial Bank"
|
|
178
178
|
* }
|
|
179
179
|
* }]
|
|
180
180
|
* })
|
|
@@ -19,5 +19,5 @@ export interface CoreTransactionAttributes {
|
|
|
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
21
|
/** Name of the financial institution */
|
|
22
|
-
financialInstitutionName:
|
|
22
|
+
financialInstitutionName: KardApi.FinancialInstitutionName;
|
|
23
23
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const FinancialInstitutionName: {
|
|
2
|
+
readonly AffinityCreditUnion: "Affinity Credit Union";
|
|
3
|
+
readonly Bank21: "Bank 21";
|
|
4
|
+
readonly BluffViewBank: "Bluff View Bank";
|
|
5
|
+
readonly Centerbank: "CENTERBANK";
|
|
6
|
+
readonly CsBank: "CS Bank";
|
|
7
|
+
readonly CuHawaii: "CU Hawaii";
|
|
8
|
+
readonly CapitolCreditUnion: "Capitol Credit Union";
|
|
9
|
+
readonly ClearpathFcu: "Clearpath FCU";
|
|
10
|
+
readonly CoffeeCountyBank: "Coffee County Bank";
|
|
11
|
+
readonly CommonwealthOne: "CommonWealth One";
|
|
12
|
+
readonly ConnectionBank: "Connection Bank";
|
|
13
|
+
readonly CosdenFcu: "Cosden FCU";
|
|
14
|
+
readonly ElgaCreditUnion: "ELGA Credit Union";
|
|
15
|
+
readonly EmpriseBank: "Emprise Bank";
|
|
16
|
+
readonly FirstFinancialBank: "First Financial Bank";
|
|
17
|
+
readonly FrazerBank: "Frazer Bank";
|
|
18
|
+
readonly Keesler: "Keesler";
|
|
19
|
+
readonly Lcnb: "LCNB";
|
|
20
|
+
readonly MarshallCommunityCu: "Marshall Community CU";
|
|
21
|
+
readonly MembersAdvantageCu: "Members Advantage CU";
|
|
22
|
+
readonly MembersExchange: "Members Exchange";
|
|
23
|
+
readonly MctCreditUnion: "MCT Credit Union";
|
|
24
|
+
readonly Mtcu: "MTCU";
|
|
25
|
+
readonly NewDimensions: "New Dimensions";
|
|
26
|
+
readonly OldHickory: "Old Hickory";
|
|
27
|
+
readonly OxfordBank: "Oxford Bank";
|
|
28
|
+
readonly PeoplesBank: "Peoples Bank";
|
|
29
|
+
readonly PremierOneCreditUnion: "Premier one credit union";
|
|
30
|
+
readonly RiverfallCreditUnion: "Riverfall Credit Union";
|
|
31
|
+
readonly SeacoastBank: "SeaCoast Bank";
|
|
32
|
+
readonly SoonerStateBank: "Sooner State Bank";
|
|
33
|
+
readonly SturgisBank: "Sturgis Bank";
|
|
34
|
+
readonly UnitedEquityCreditUnion: "United Equity Credit Union";
|
|
35
|
+
readonly WayneCountyBank: "Wayne County Bank";
|
|
36
|
+
};
|
|
37
|
+
export type FinancialInstitutionName = (typeof FinancialInstitutionName)[keyof typeof FinancialInstitutionName];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export const FinancialInstitutionName = {
|
|
3
|
+
AffinityCreditUnion: "Affinity Credit Union",
|
|
4
|
+
Bank21: "Bank 21",
|
|
5
|
+
BluffViewBank: "Bluff View Bank",
|
|
6
|
+
Centerbank: "CENTERBANK",
|
|
7
|
+
CsBank: "CS Bank",
|
|
8
|
+
CuHawaii: "CU Hawaii",
|
|
9
|
+
CapitolCreditUnion: "Capitol Credit Union",
|
|
10
|
+
ClearpathFcu: "Clearpath FCU",
|
|
11
|
+
CoffeeCountyBank: "Coffee County Bank",
|
|
12
|
+
CommonwealthOne: "CommonWealth One",
|
|
13
|
+
ConnectionBank: "Connection Bank",
|
|
14
|
+
CosdenFcu: "Cosden FCU",
|
|
15
|
+
ElgaCreditUnion: "ELGA Credit Union",
|
|
16
|
+
EmpriseBank: "Emprise Bank",
|
|
17
|
+
FirstFinancialBank: "First Financial Bank",
|
|
18
|
+
FrazerBank: "Frazer Bank",
|
|
19
|
+
Keesler: "Keesler",
|
|
20
|
+
Lcnb: "LCNB",
|
|
21
|
+
MarshallCommunityCu: "Marshall Community CU",
|
|
22
|
+
MembersAdvantageCu: "Members Advantage CU",
|
|
23
|
+
MembersExchange: "Members Exchange",
|
|
24
|
+
MctCreditUnion: "MCT Credit Union",
|
|
25
|
+
Mtcu: "MTCU",
|
|
26
|
+
NewDimensions: "New Dimensions",
|
|
27
|
+
OldHickory: "Old Hickory",
|
|
28
|
+
OxfordBank: "Oxford Bank",
|
|
29
|
+
PeoplesBank: "Peoples Bank",
|
|
30
|
+
PremierOneCreditUnion: "Premier one credit union",
|
|
31
|
+
RiverfallCreditUnion: "Riverfall Credit Union",
|
|
32
|
+
SeacoastBank: "SeaCoast Bank",
|
|
33
|
+
SoonerStateBank: "Sooner State Bank",
|
|
34
|
+
SturgisBank: "Sturgis Bank",
|
|
35
|
+
UnitedEquityCreditUnion: "United Equity Credit Union",
|
|
36
|
+
WayneCountyBank: "Wayne County Bank",
|
|
37
|
+
};
|
|
@@ -136,7 +136,7 @@ import type * as KardApi from "../../../index.mjs";
|
|
|
136
136
|
* status: "SETTLED",
|
|
137
137
|
* settledDate: "2024-10-15T14:30:00Z",
|
|
138
138
|
* authorizationDate: "2024-10-15T14:25:00Z",
|
|
139
|
-
* financialInstitutionName:
|
|
139
|
+
* financialInstitutionName: KardApi.FinancialInstitutionName.FirstFinancialBank
|
|
140
140
|
* }
|
|
141
141
|
* }]
|
|
142
142
|
* }
|
|
@@ -13,6 +13,7 @@ export * from "./CreateAuditRequestDataUnion.mjs";
|
|
|
13
13
|
export * from "./CreateAuditResponseBody.mjs";
|
|
14
14
|
export * from "./CreateAuditResponseDataUnion.mjs";
|
|
15
15
|
export * from "./DirectionType.mjs";
|
|
16
|
+
export * from "./FinancialInstitutionName.mjs";
|
|
16
17
|
export * from "./FraudulentTransactionAttributes.mjs";
|
|
17
18
|
export * from "./FraudulentTransactionData.mjs";
|
|
18
19
|
export * from "./FraudulentTransactionObject.mjs";
|
|
@@ -13,6 +13,7 @@ export * from "./CreateAuditRequestDataUnion.mjs";
|
|
|
13
13
|
export * from "./CreateAuditResponseBody.mjs";
|
|
14
14
|
export * from "./CreateAuditResponseDataUnion.mjs";
|
|
15
15
|
export * from "./DirectionType.mjs";
|
|
16
|
+
export * from "./FinancialInstitutionName.mjs";
|
|
16
17
|
export * from "./FraudulentTransactionAttributes.mjs";
|
|
17
18
|
export * from "./FraudulentTransactionData.mjs";
|
|
18
19
|
export * from "./FraudulentTransactionObject.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.
|
|
1
|
+
export declare const SDK_VERSION = "4.5.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.
|
|
1
|
+
export const SDK_VERSION = "4.5.0";
|