@kard-financial/sdk 16.1.2 → 16.2.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/users/resources/rewards/types/LocationAttributes.d.ts +2 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerId.d.ts +5 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerId.js +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerIdType.d.ts +4 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerIdType.js +7 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/LocationsResponseObject.d.ts +5 -1
- package/dist/cjs/api/resources/users/resources/rewards/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/index.js +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/users/resources/rewards/types/LocationAttributes.d.mts +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerId.d.mts +5 -0
- package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerId.mjs +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerIdType.d.mts +4 -0
- package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerIdType.mjs +4 -0
- package/dist/esm/api/resources/users/resources/rewards/types/LocationsResponseObject.d.mts +5 -1
- package/dist/esm/api/resources/users/resources/rewards/types/index.d.mts +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +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": "16.
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/16.
|
|
46
|
+
"X-Fern-SDK-Version": "16.2.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/16.2.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);
|
|
@@ -239,7 +239,7 @@ export declare class TransactionsClient {
|
|
|
239
239
|
* binary file content as the body. If a URL expires before the upload completes, you must request a new one.
|
|
240
240
|
* Files can be uploaded as plain JSONL or as a gzip-compressed file.
|
|
241
241
|
* Supports both `incomingTransactionsFile` for daily transaction ingestion and `historicalTransactionsFile` for historical transaction ingestion. See the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide for details on the historical flow.
|
|
242
|
-
* <b>Required scopes:</b> `
|
|
242
|
+
* <b>Required scopes:</b> `files:write`
|
|
243
243
|
*
|
|
244
244
|
* @param {KardApi.OrganizationId} organizationId
|
|
245
245
|
* @param {KardApi.CreateFileUploadRequestBody} request
|
|
@@ -422,7 +422,7 @@ class TransactionsClient {
|
|
|
422
422
|
* binary file content as the body. If a URL expires before the upload completes, you must request a new one.
|
|
423
423
|
* Files can be uploaded as plain JSONL or as a gzip-compressed file.
|
|
424
424
|
* Supports both `incomingTransactionsFile` for daily transaction ingestion and `historicalTransactionsFile` for historical transaction ingestion. See the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide for details on the historical flow.
|
|
425
|
-
* <b>Required scopes:</b> `
|
|
425
|
+
* <b>Required scopes:</b> `files:write`
|
|
426
426
|
*
|
|
427
427
|
* @param {KardApi.OrganizationId} organizationId
|
|
428
428
|
* @param {KardApi.CreateFileUploadRequestBody} request
|
|
@@ -5,4 +5,6 @@ export interface LocationAttributes {
|
|
|
5
5
|
coordinates: KardApi.users.Coordinates;
|
|
6
6
|
phone: string;
|
|
7
7
|
operationHours: KardApi.users.OperationHours;
|
|
8
|
+
/** List of ids associated with the location from third party partners. Only included on LOCAL locations. */
|
|
9
|
+
partnerIds?: KardApi.users.LocationPartnerId[] | undefined;
|
|
8
10
|
}
|
|
@@ -66,7 +66,11 @@ import type * as KardApi from "../../../../../index.js";
|
|
|
66
66
|
* }
|
|
67
67
|
* }],
|
|
68
68
|
* weekdayText: ["Monday: 9:00 AM \u2013 5:00 PM", "Tuesday: 9:00 AM \u2013 5:00 PM", "Wednesday: 9:00 AM \u2013 5:00 PM", "Thursday: 9:00 AM \u2013 5:00 PM", "Friday: 9:00 AM \u2013 5:00 PM", "Saturday: Closed", "Sunday: Closed"]
|
|
69
|
-
* }
|
|
69
|
+
* },
|
|
70
|
+
* partnerIds: [{
|
|
71
|
+
* type: KardApi.users.LocationPartnerIdType.Google,
|
|
72
|
+
* id: "3pafnweri4"
|
|
73
|
+
* }]
|
|
70
74
|
* },
|
|
71
75
|
* relationships: {
|
|
72
76
|
* offers: {
|
|
@@ -19,6 +19,8 @@ export * from "./EligibilityOfferIncluded.js";
|
|
|
19
19
|
export * from "./EligibilityOfferRelationship.js";
|
|
20
20
|
export * from "./LocationAttributes.js";
|
|
21
21
|
export * from "./LocationData.js";
|
|
22
|
+
export * from "./LocationPartnerId.js";
|
|
23
|
+
export * from "./LocationPartnerIdType.js";
|
|
22
24
|
export * from "./LocationRelationships.js";
|
|
23
25
|
export * from "./LocationSortOptions.js";
|
|
24
26
|
export * from "./LocationsResponseObject.js";
|
|
@@ -35,6 +35,8 @@ __exportStar(require("./EligibilityOfferIncluded.js"), exports);
|
|
|
35
35
|
__exportStar(require("./EligibilityOfferRelationship.js"), exports);
|
|
36
36
|
__exportStar(require("./LocationAttributes.js"), exports);
|
|
37
37
|
__exportStar(require("./LocationData.js"), exports);
|
|
38
|
+
__exportStar(require("./LocationPartnerId.js"), exports);
|
|
39
|
+
__exportStar(require("./LocationPartnerIdType.js"), exports);
|
|
38
40
|
__exportStar(require("./LocationRelationships.js"), exports);
|
|
39
41
|
__exportStar(require("./LocationSortOptions.js"), exports);
|
|
40
42
|
__exportStar(require("./LocationsResponseObject.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "16.
|
|
1
|
+
export declare const SDK_VERSION = "16.2.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": "16.
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/16.
|
|
9
|
+
"X-Fern-SDK-Version": "16.2.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/16.2.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);
|
|
@@ -239,7 +239,7 @@ export declare class TransactionsClient {
|
|
|
239
239
|
* binary file content as the body. If a URL expires before the upload completes, you must request a new one.
|
|
240
240
|
* Files can be uploaded as plain JSONL or as a gzip-compressed file.
|
|
241
241
|
* Supports both `incomingTransactionsFile` for daily transaction ingestion and `historicalTransactionsFile` for historical transaction ingestion. See the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide for details on the historical flow.
|
|
242
|
-
* <b>Required scopes:</b> `
|
|
242
|
+
* <b>Required scopes:</b> `files:write`
|
|
243
243
|
*
|
|
244
244
|
* @param {KardApi.OrganizationId} organizationId
|
|
245
245
|
* @param {KardApi.CreateFileUploadRequestBody} request
|
|
@@ -386,7 +386,7 @@ export class TransactionsClient {
|
|
|
386
386
|
* binary file content as the body. If a URL expires before the upload completes, you must request a new one.
|
|
387
387
|
* Files can be uploaded as plain JSONL or as a gzip-compressed file.
|
|
388
388
|
* Supports both `incomingTransactionsFile` for daily transaction ingestion and `historicalTransactionsFile` for historical transaction ingestion. See the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide for details on the historical flow.
|
|
389
|
-
* <b>Required scopes:</b> `
|
|
389
|
+
* <b>Required scopes:</b> `files:write`
|
|
390
390
|
*
|
|
391
391
|
* @param {KardApi.OrganizationId} organizationId
|
|
392
392
|
* @param {KardApi.CreateFileUploadRequestBody} request
|
|
@@ -5,4 +5,6 @@ export interface LocationAttributes {
|
|
|
5
5
|
coordinates: KardApi.users.Coordinates;
|
|
6
6
|
phone: string;
|
|
7
7
|
operationHours: KardApi.users.OperationHours;
|
|
8
|
+
/** List of ids associated with the location from third party partners. Only included on LOCAL locations. */
|
|
9
|
+
partnerIds?: KardApi.users.LocationPartnerId[] | undefined;
|
|
8
10
|
}
|
|
@@ -66,7 +66,11 @@ import type * as KardApi from "../../../../../index.mjs";
|
|
|
66
66
|
* }
|
|
67
67
|
* }],
|
|
68
68
|
* weekdayText: ["Monday: 9:00 AM \u2013 5:00 PM", "Tuesday: 9:00 AM \u2013 5:00 PM", "Wednesday: 9:00 AM \u2013 5:00 PM", "Thursday: 9:00 AM \u2013 5:00 PM", "Friday: 9:00 AM \u2013 5:00 PM", "Saturday: Closed", "Sunday: Closed"]
|
|
69
|
-
* }
|
|
69
|
+
* },
|
|
70
|
+
* partnerIds: [{
|
|
71
|
+
* type: KardApi.users.LocationPartnerIdType.Google,
|
|
72
|
+
* id: "3pafnweri4"
|
|
73
|
+
* }]
|
|
70
74
|
* },
|
|
71
75
|
* relationships: {
|
|
72
76
|
* offers: {
|
|
@@ -19,6 +19,8 @@ export * from "./EligibilityOfferIncluded.mjs";
|
|
|
19
19
|
export * from "./EligibilityOfferRelationship.mjs";
|
|
20
20
|
export * from "./LocationAttributes.mjs";
|
|
21
21
|
export * from "./LocationData.mjs";
|
|
22
|
+
export * from "./LocationPartnerId.mjs";
|
|
23
|
+
export * from "./LocationPartnerIdType.mjs";
|
|
22
24
|
export * from "./LocationRelationships.mjs";
|
|
23
25
|
export * from "./LocationSortOptions.mjs";
|
|
24
26
|
export * from "./LocationsResponseObject.mjs";
|
|
@@ -19,6 +19,8 @@ export * from "./EligibilityOfferIncluded.mjs";
|
|
|
19
19
|
export * from "./EligibilityOfferRelationship.mjs";
|
|
20
20
|
export * from "./LocationAttributes.mjs";
|
|
21
21
|
export * from "./LocationData.mjs";
|
|
22
|
+
export * from "./LocationPartnerId.mjs";
|
|
23
|
+
export * from "./LocationPartnerIdType.mjs";
|
|
22
24
|
export * from "./LocationRelationships.mjs";
|
|
23
25
|
export * from "./LocationSortOptions.mjs";
|
|
24
26
|
export * from "./LocationsResponseObject.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "16.
|
|
1
|
+
export declare const SDK_VERSION = "16.2.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "16.
|
|
1
|
+
export const SDK_VERSION = "16.2.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1557,7 +1557,7 @@ to storage. Each URL is valid for 15 minutes. Use the returned URL to upload the
|
|
|
1557
1557
|
binary file content as the body. If a URL expires before the upload completes, you must request a new one.
|
|
1558
1558
|
Files can be uploaded as plain JSONL or as a gzip-compressed file.
|
|
1559
1559
|
Supports both `incomingTransactionsFile` for daily transaction ingestion and `historicalTransactionsFile` for historical transaction ingestion. See the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide for details on the historical flow.
|
|
1560
|
-
<b>Required scopes:</b> `
|
|
1560
|
+
<b>Required scopes:</b> `files:write`
|
|
1561
1561
|
</dd>
|
|
1562
1562
|
</dl>
|
|
1563
1563
|
</dd>
|