@kard-financial/sdk 20.0.0 → 21.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": "20.0.0",
47
- "User-Agent": "@kard-financial/sdk/20.0.0",
46
+ "X-Fern-SDK-Version": "21.0.0",
47
+ "User-Agent": "@kard-financial/sdk/21.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);
@@ -15,8 +15,4 @@ export interface ContentStrategyAttributes {
15
15
  categoryExclusions: KardApi.CategoryOption[];
16
16
  /** Merchant IDs to exclude */
17
17
  merchantExclusions: string[];
18
- /** When the content strategy was created (ISO 8601 UTC) */
19
- createdAt: string;
20
- /** When the content strategy was last modified (ISO 8601 UTC) */
21
- lastModified: string;
22
18
  }
@@ -12,9 +12,7 @@ import type * as KardApi from "../../../../../index.js";
12
12
  * filter: KardApi.organizations.ContentStrategyFilter.HighestCashback,
13
13
  * categories: [KardApi.CategoryOption.Travel],
14
14
  * categoryExclusions: [KardApi.CategoryOption.Gas],
15
- * merchantExclusions: ["merchant-abc"],
16
- * createdAt: "2026-04-15T12:00:00Z",
17
- * lastModified: "2026-04-15T12:00:00Z"
15
+ * merchantExclusions: ["merchant-abc"]
18
16
  * }
19
17
  * }
20
18
  */
@@ -10,8 +10,4 @@ export interface MainPagePlacementAttributes {
10
10
  availableSlots: number;
11
11
  /** ID of the content strategy linked to this placement, if any */
12
12
  contentStrategyId?: string | undefined;
13
- /** When the placement was created (ISO 8601 UTC) */
14
- createdAt: string;
15
- /** When the placement was last modified (ISO 8601 UTC) */
16
- lastModified: string;
17
13
  }
@@ -9,9 +9,7 @@ import type * as KardApi from "../../../../../index.js";
9
9
  * attributes: {
10
10
  * name: "Homepage Banner",
11
11
  * organizationId: "org-123",
12
- * availableSlots: 5,
13
- * createdAt: "2026-04-15T12:00:00Z",
14
- * lastModified: "2026-04-15T12:00:00Z"
12
+ * availableSlots: 5
15
13
  * }
16
14
  * }
17
15
  *
@@ -25,9 +23,7 @@ import type * as KardApi from "../../../../../index.js";
25
23
  * cadence: {
26
24
  * frequency: KardApi.organizations.CadenceFrequency.Daily,
27
25
  * timeOfDay: "09:00"
28
- * },
29
- * createdAt: "2026-04-15T12:00:00Z",
30
- * lastModified: "2026-04-15T12:00:00Z"
26
+ * }
31
27
  * }
32
28
  * }
33
29
  */
@@ -11,8 +11,4 @@ export interface PushNotificationPlacementAttributes {
11
11
  cadence: KardApi.organizations.Cadence;
12
12
  /** ID of the content strategy linked to this placement, if any */
13
13
  contentStrategyId?: string | undefined;
14
- /** When the placement was created (ISO 8601 UTC) */
15
- createdAt: string;
16
- /** When the placement was last modified (ISO 8601 UTC) */
17
- lastModified: string;
18
14
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "20.0.0";
1
+ export declare const SDK_VERSION = "21.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 = "20.0.0";
4
+ exports.SDK_VERSION = "21.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": "20.0.0",
10
- "User-Agent": "@kard-financial/sdk/20.0.0",
9
+ "X-Fern-SDK-Version": "21.0.0",
10
+ "User-Agent": "@kard-financial/sdk/21.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);
@@ -15,8 +15,4 @@ export interface ContentStrategyAttributes {
15
15
  categoryExclusions: KardApi.CategoryOption[];
16
16
  /** Merchant IDs to exclude */
17
17
  merchantExclusions: string[];
18
- /** When the content strategy was created (ISO 8601 UTC) */
19
- createdAt: string;
20
- /** When the content strategy was last modified (ISO 8601 UTC) */
21
- lastModified: string;
22
18
  }
@@ -12,9 +12,7 @@ import type * as KardApi from "../../../../../index.mjs";
12
12
  * filter: KardApi.organizations.ContentStrategyFilter.HighestCashback,
13
13
  * categories: [KardApi.CategoryOption.Travel],
14
14
  * categoryExclusions: [KardApi.CategoryOption.Gas],
15
- * merchantExclusions: ["merchant-abc"],
16
- * createdAt: "2026-04-15T12:00:00Z",
17
- * lastModified: "2026-04-15T12:00:00Z"
15
+ * merchantExclusions: ["merchant-abc"]
18
16
  * }
19
17
  * }
20
18
  */
@@ -10,8 +10,4 @@ export interface MainPagePlacementAttributes {
10
10
  availableSlots: number;
11
11
  /** ID of the content strategy linked to this placement, if any */
12
12
  contentStrategyId?: string | undefined;
13
- /** When the placement was created (ISO 8601 UTC) */
14
- createdAt: string;
15
- /** When the placement was last modified (ISO 8601 UTC) */
16
- lastModified: string;
17
13
  }
@@ -9,9 +9,7 @@ import type * as KardApi from "../../../../../index.mjs";
9
9
  * attributes: {
10
10
  * name: "Homepage Banner",
11
11
  * organizationId: "org-123",
12
- * availableSlots: 5,
13
- * createdAt: "2026-04-15T12:00:00Z",
14
- * lastModified: "2026-04-15T12:00:00Z"
12
+ * availableSlots: 5
15
13
  * }
16
14
  * }
17
15
  *
@@ -25,9 +23,7 @@ import type * as KardApi from "../../../../../index.mjs";
25
23
  * cadence: {
26
24
  * frequency: KardApi.organizations.CadenceFrequency.Daily,
27
25
  * timeOfDay: "09:00"
28
- * },
29
- * createdAt: "2026-04-15T12:00:00Z",
30
- * lastModified: "2026-04-15T12:00:00Z"
26
+ * }
31
27
  * }
32
28
  * }
33
29
  */
@@ -11,8 +11,4 @@ export interface PushNotificationPlacementAttributes {
11
11
  cadence: KardApi.organizations.Cadence;
12
12
  /** ID of the content strategy linked to this placement, if any */
13
13
  contentStrategyId?: string | undefined;
14
- /** When the placement was created (ISO 8601 UTC) */
15
- createdAt: string;
16
- /** When the placement was last modified (ISO 8601 UTC) */
17
- lastModified: string;
18
14
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "20.0.0";
1
+ export declare const SDK_VERSION = "21.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "20.0.0";
1
+ export const SDK_VERSION = "21.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "20.0.0",
3
+ "version": "21.0.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",