@kard-financial/sdk 22.4.0 → 23.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": "22.4.0",
47
- "User-Agent": "@kard-financial/sdk/22.4.0",
46
+ "X-Fern-SDK-Version": "23.0.0",
47
+ "User-Agent": "@kard-financial/sdk/23.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);
@@ -1,5 +1,6 @@
1
1
  import type * as KardApi from "../../../index.js";
2
2
  export interface EarnedRewardRelationships {
3
3
  user: KardApi.RelationshipSingle;
4
+ offer: KardApi.RelationshipSingle;
4
5
  transaction: KardApi.RelationshipSingle;
5
6
  }
@@ -31,6 +31,12 @@ import type * as KardApi from "../../../index.js";
31
31
  * type: "transaction",
32
32
  * id: "0987654321"
33
33
  * }
34
+ * },
35
+ * offer: {
36
+ * data: {
37
+ * type: "offer",
38
+ * id: "12309123879"
39
+ * }
34
40
  * }
35
41
  * }
36
42
  * }
@@ -63,6 +69,12 @@ import type * as KardApi from "../../../index.js";
63
69
  * type: "transaction",
64
70
  * id: "0987654321"
65
71
  * }
72
+ * },
73
+ * offer: {
74
+ * data: {
75
+ * type: "offer",
76
+ * id: "12309123879"
77
+ * }
66
78
  * }
67
79
  * }
68
80
  * }
@@ -15,8 +15,7 @@ export declare class UploadsClient {
15
15
  *
16
16
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
17
17
  *
18
- * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload
19
- * Part](/api/uploads/create-upload-part) endpoint, historical transactions can be sent in batches for further processing.
18
+ * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload Part](/2024-10-01/api/transactions/uploads/create-part) endpoint, historical transactions can be sent in batches for further processing.
20
19
  * <b>Required scopes:</b> `transaction:write`
21
20
  *
22
21
  * @param {KardApi.OrganizationId} organizationId
@@ -43,7 +42,7 @@ export declare class UploadsClient {
43
42
  *
44
43
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
45
44
  *
46
- * Call this endpoint using the upload ID provided in the [Create Upload](/api/uploads/create-upload) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
45
+ * Call this endpoint using the upload ID provided in the [Create Upload](/2024-10-01/api/transactions/uploads/create) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
47
46
  * <b>Required scopes:</b> `transaction:write`
48
47
  * <b>Note:</b> `Maximum of 500 transactions can be uploaded per request`.
49
48
  *
@@ -60,8 +60,7 @@ class UploadsClient {
60
60
  *
61
61
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
62
62
  *
63
- * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload
64
- * Part](/api/uploads/create-upload-part) endpoint, historical transactions can be sent in batches for further processing.
63
+ * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload Part](/2024-10-01/api/transactions/uploads/create-part) endpoint, historical transactions can be sent in batches for further processing.
65
64
  * <b>Required scopes:</b> `transaction:write`
66
65
  *
67
66
  * @param {KardApi.OrganizationId} organizationId
@@ -133,7 +132,7 @@ class UploadsClient {
133
132
  *
134
133
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
135
134
  *
136
- * Call this endpoint using the upload ID provided in the [Create Upload](/api/uploads/create-upload) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
135
+ * Call this endpoint using the upload ID provided in the [Create Upload](/2024-10-01/api/transactions/uploads/create) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
137
136
  * <b>Required scopes:</b> `transaction:write`
138
137
  * <b>Note:</b> `Maximum of 500 transactions can be uploaded per request`.
139
138
  *
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "22.4.0";
1
+ export declare const SDK_VERSION = "23.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 = "22.4.0";
4
+ exports.SDK_VERSION = "23.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": "22.4.0",
10
- "User-Agent": "@kard-financial/sdk/22.4.0",
9
+ "X-Fern-SDK-Version": "23.0.0",
10
+ "User-Agent": "@kard-financial/sdk/23.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);
@@ -1,5 +1,6 @@
1
1
  import type * as KardApi from "../../../index.mjs";
2
2
  export interface EarnedRewardRelationships {
3
3
  user: KardApi.RelationshipSingle;
4
+ offer: KardApi.RelationshipSingle;
4
5
  transaction: KardApi.RelationshipSingle;
5
6
  }
@@ -31,6 +31,12 @@ import type * as KardApi from "../../../index.mjs";
31
31
  * type: "transaction",
32
32
  * id: "0987654321"
33
33
  * }
34
+ * },
35
+ * offer: {
36
+ * data: {
37
+ * type: "offer",
38
+ * id: "12309123879"
39
+ * }
34
40
  * }
35
41
  * }
36
42
  * }
@@ -63,6 +69,12 @@ import type * as KardApi from "../../../index.mjs";
63
69
  * type: "transaction",
64
70
  * id: "0987654321"
65
71
  * }
72
+ * },
73
+ * offer: {
74
+ * data: {
75
+ * type: "offer",
76
+ * id: "12309123879"
77
+ * }
66
78
  * }
67
79
  * }
68
80
  * }
@@ -15,8 +15,7 @@ export declare class UploadsClient {
15
15
  *
16
16
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
17
17
  *
18
- * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload
19
- * Part](/api/uploads/create-upload-part) endpoint, historical transactions can be sent in batches for further processing.
18
+ * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload Part](/2024-10-01/api/transactions/uploads/create-part) endpoint, historical transactions can be sent in batches for further processing.
20
19
  * <b>Required scopes:</b> `transaction:write`
21
20
  *
22
21
  * @param {KardApi.OrganizationId} organizationId
@@ -43,7 +42,7 @@ export declare class UploadsClient {
43
42
  *
44
43
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
45
44
  *
46
- * Call this endpoint using the upload ID provided in the [Create Upload](/api/uploads/create-upload) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
45
+ * Call this endpoint using the upload ID provided in the [Create Upload](/2024-10-01/api/transactions/uploads/create) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
47
46
  * <b>Required scopes:</b> `transaction:write`
48
47
  * <b>Note:</b> `Maximum of 500 transactions can be uploaded per request`.
49
48
  *
@@ -24,8 +24,7 @@ export class UploadsClient {
24
24
  *
25
25
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
26
26
  *
27
- * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload
28
- * Part](/api/uploads/create-upload-part) endpoint, historical transactions can be sent in batches for further processing.
27
+ * Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload Part](/2024-10-01/api/transactions/uploads/create-part) endpoint, historical transactions can be sent in batches for further processing.
29
28
  * <b>Required scopes:</b> `transaction:write`
30
29
  *
31
30
  * @param {KardApi.OrganizationId} organizationId
@@ -97,7 +96,7 @@ export class UploadsClient {
97
96
  *
98
97
  * <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
99
98
  *
100
- * Call this endpoint using the upload ID provided in the [Create Upload](/api/uploads/create-upload) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
99
+ * Call this endpoint using the upload ID provided in the [Create Upload](/2024-10-01/api/transactions/uploads/create) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
101
100
  * <b>Required scopes:</b> `transaction:write`
102
101
  * <b>Note:</b> `Maximum of 500 transactions can be uploaded per request`.
103
102
  *
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "22.4.0";
1
+ export declare const SDK_VERSION = "23.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "22.4.0";
1
+ export const SDK_VERSION = "23.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "22.4.0",
3
+ "version": "23.0.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -3263,8 +3263,7 @@ await client.users.rewards.locations("organization-123", "user-123", {
3263
3263
 
3264
3264
  <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
3265
3265
 
3266
- Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload
3267
- Part](/api/uploads/create-upload-part) endpoint, historical transactions can be sent in batches for further processing.
3266
+ Call this endpoint to create an upload session and retrieve an upload ID. Using the upload ID in the [Add Upload Part](/2024-10-01/api/transactions/uploads/create-part) endpoint, historical transactions can be sent in batches for further processing.
3268
3267
  <b>Required scopes:</b> `transaction:write`
3269
3268
  </dd>
3270
3269
  </dl>
@@ -3351,7 +3350,7 @@ await client.users.uploads.create("organization-123", "user-123", {
3351
3350
 
3352
3351
  <b>Deprecated.</b> This endpoint is deprecated in favor of the [Create Bulk Transactions Upload URL](/2024-10-01/api/transactions/create-bulk-transactions-upload-url) endpoint. New integrations should use the bulk flow outlined in the [Historical Transaction Uploads](/2024-10-01/api/integration-guides/historical-transaction-uploads) integration guide.
3353
3352
 
3354
- Call this endpoint using the upload ID provided in the [Create Upload](/api/uploads/create-upload) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
3353
+ Call this endpoint using the upload ID provided in the [Create Upload](/2024-10-01/api/transactions/uploads/create) endpoint to add parts to your upload. Currently, this endpoint supports adding historical transactions.
3355
3354
  <b>Required scopes:</b> `transaction:write`
3356
3355
  <b>Note:</b> `Maximum of 500 transactions can be uploaded per request`.
3357
3356
  </dd>