@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/organizations/resources/contentStrategies/types/ContentStrategyAttributes.d.ts +0 -4
- package/dist/cjs/api/resources/organizations/resources/contentStrategies/types/ContentStrategyResponse.d.ts +1 -3
- package/dist/cjs/api/resources/organizations/resources/placements/types/MainPagePlacementAttributes.d.ts +0 -4
- package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementFormatUnion.d.ts +2 -6
- package/dist/cjs/api/resources/organizations/resources/placements/types/PushNotificationPlacementAttributes.d.ts +0 -4
- 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/organizations/resources/contentStrategies/types/ContentStrategyAttributes.d.mts +0 -4
- package/dist/esm/api/resources/organizations/resources/contentStrategies/types/ContentStrategyResponse.d.mts +1 -3
- package/dist/esm/api/resources/organizations/resources/placements/types/MainPagePlacementAttributes.d.mts +0 -4
- package/dist/esm/api/resources/organizations/resources/placements/types/PlacementFormatUnion.d.mts +2 -6
- package/dist/esm/api/resources/organizations/resources/placements/types/PushNotificationPlacementAttributes.d.mts +0 -4
- 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": "
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/
|
|
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
|
}
|
package/dist/cjs/api/resources/organizations/resources/placements/types/PlacementFormatUnion.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "21.0.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": "
|
|
10
|
-
"User-Agent": "@kard-financial/sdk/
|
|
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
|
}
|
package/dist/esm/api/resources/organizations/resources/placements/types/PlacementFormatUnion.d.mts
CHANGED
|
@@ -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
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "21.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "21.0.0";
|