@kard-financial/sdk 5.3.0 → 6.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/users/resources/rewards/types/ProgressBar.d.ts +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabel.d.ts +10 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabel.js +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.d.ts +6 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.js +9 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabels.d.ts +10 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabels.js +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/index.js +3 -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/users/resources/rewards/types/ProgressBar.d.mts +3 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabel.d.mts +10 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabel.mjs +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.d.mts +6 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.mjs +6 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabels.d.mts +10 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabels.mjs +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/index.d.mts +3 -0
- package/dist/esm/api/resources/users/resources/rewards/types/index.mjs +3 -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": "
|
|
47
|
-
"User-Agent": "@kard-financial/sdk/
|
|
46
|
+
"X-Fern-SDK-Version": "6.0.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/6.0.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Kard-Target-Issuer": options === null || options === void 0 ? void 0 : options.xKardTargetIssuer,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* Progress bar component for tracking offer redemption progress
|
|
3
4
|
*/
|
|
@@ -12,4 +13,6 @@ export interface ProgressBar {
|
|
|
12
13
|
segmented: boolean;
|
|
13
14
|
/** SVG icon to use for each segment when the progress bar is segmented */
|
|
14
15
|
segmentIcon?: string;
|
|
16
|
+
/** Labels to render around the progress bar in different layouts */
|
|
17
|
+
labels: KardApi.users.ProgressBarLabels;
|
|
15
18
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Progress bar label configuration
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarLabel {
|
|
6
|
+
/** Text content for the label */
|
|
7
|
+
text: string;
|
|
8
|
+
/** Position where the label should render */
|
|
9
|
+
position: KardApi.users.ProgressBarLabelPosition;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ProgressBarLabelPosition = void 0;
|
|
5
|
+
/** Supported progress bar label positions */
|
|
6
|
+
exports.ProgressBarLabelPosition = {
|
|
7
|
+
Left: "LEFT",
|
|
8
|
+
Right: "RIGHT",
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Labels to render around the progress bar in different layouts
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarLabels {
|
|
6
|
+
/** Label configuration for the details view */
|
|
7
|
+
details: KardApi.users.ProgressBarLabel;
|
|
8
|
+
/** Label configuration for the default view */
|
|
9
|
+
default: KardApi.users.ProgressBarLabel;
|
|
10
|
+
}
|
|
@@ -37,6 +37,9 @@ export * from "./OperationHours.js";
|
|
|
37
37
|
export * from "./OperationPeriod.js";
|
|
38
38
|
export * from "./OperationTime.js";
|
|
39
39
|
export * from "./ProgressBar.js";
|
|
40
|
+
export * from "./ProgressBarLabel.js";
|
|
41
|
+
export * from "./ProgressBarLabelPosition.js";
|
|
42
|
+
export * from "./ProgressBarLabels.js";
|
|
40
43
|
export * from "./StandardOffer.js";
|
|
41
44
|
export * from "./StandardOfferCore.js";
|
|
42
45
|
export * from "./StandardOfferFields.js";
|
|
@@ -53,6 +53,9 @@ __exportStar(require("./OperationHours.js"), exports);
|
|
|
53
53
|
__exportStar(require("./OperationPeriod.js"), exports);
|
|
54
54
|
__exportStar(require("./OperationTime.js"), exports);
|
|
55
55
|
__exportStar(require("./ProgressBar.js"), exports);
|
|
56
|
+
__exportStar(require("./ProgressBarLabel.js"), exports);
|
|
57
|
+
__exportStar(require("./ProgressBarLabelPosition.js"), exports);
|
|
58
|
+
__exportStar(require("./ProgressBarLabels.js"), exports);
|
|
56
59
|
__exportStar(require("./StandardOffer.js"), exports);
|
|
57
60
|
__exportStar(require("./StandardOfferCore.js"), exports);
|
|
58
61
|
__exportStar(require("./StandardOfferFields.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "6.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": "6.0.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/6.0.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Kard-Target-Issuer": options === null || options === void 0 ? void 0 : options.xKardTargetIssuer,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* Progress bar component for tracking offer redemption progress
|
|
3
4
|
*/
|
|
@@ -12,4 +13,6 @@ export interface ProgressBar {
|
|
|
12
13
|
segmented: boolean;
|
|
13
14
|
/** SVG icon to use for each segment when the progress bar is segmented */
|
|
14
15
|
segmentIcon?: string;
|
|
16
|
+
/** Labels to render around the progress bar in different layouts */
|
|
17
|
+
labels: KardApi.users.ProgressBarLabels;
|
|
15
18
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Progress bar label configuration
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarLabel {
|
|
6
|
+
/** Text content for the label */
|
|
7
|
+
text: string;
|
|
8
|
+
/** Position where the label should render */
|
|
9
|
+
position: KardApi.users.ProgressBarLabelPosition;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Labels to render around the progress bar in different layouts
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarLabels {
|
|
6
|
+
/** Label configuration for the details view */
|
|
7
|
+
details: KardApi.users.ProgressBarLabel;
|
|
8
|
+
/** Label configuration for the default view */
|
|
9
|
+
default: KardApi.users.ProgressBarLabel;
|
|
10
|
+
}
|
|
@@ -37,6 +37,9 @@ export * from "./OperationHours.mjs";
|
|
|
37
37
|
export * from "./OperationPeriod.mjs";
|
|
38
38
|
export * from "./OperationTime.mjs";
|
|
39
39
|
export * from "./ProgressBar.mjs";
|
|
40
|
+
export * from "./ProgressBarLabel.mjs";
|
|
41
|
+
export * from "./ProgressBarLabelPosition.mjs";
|
|
42
|
+
export * from "./ProgressBarLabels.mjs";
|
|
40
43
|
export * from "./StandardOffer.mjs";
|
|
41
44
|
export * from "./StandardOfferCore.mjs";
|
|
42
45
|
export * from "./StandardOfferFields.mjs";
|
|
@@ -37,6 +37,9 @@ export * from "./OperationHours.mjs";
|
|
|
37
37
|
export * from "./OperationPeriod.mjs";
|
|
38
38
|
export * from "./OperationTime.mjs";
|
|
39
39
|
export * from "./ProgressBar.mjs";
|
|
40
|
+
export * from "./ProgressBarLabel.mjs";
|
|
41
|
+
export * from "./ProgressBarLabelPosition.mjs";
|
|
42
|
+
export * from "./ProgressBarLabels.mjs";
|
|
40
43
|
export * from "./StandardOffer.mjs";
|
|
41
44
|
export * from "./StandardOfferCore.mjs";
|
|
42
45
|
export * from "./StandardOfferFields.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "6.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "6.0.0";
|