@kard-financial/sdk 6.0.0 → 7.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 +2 -2
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabelPair.d.ts +9 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabels.d.ts +2 -2
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarSegment.d.ts +10 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarSegment.js +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarSegmentPosition.d.ts +7 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/{ProgressBarLabelPosition.js → ProgressBarSegmentPosition.js} +4 -3
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarSegments.d.ts +10 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarSegments.js +3 -0
- package/dist/cjs/api/resources/users/resources/rewards/types/index.d.ts +4 -2
- package/dist/cjs/api/resources/users/resources/rewards/types/index.js +4 -2
- 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 +2 -2
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPair.d.mts +9 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabels.d.mts +2 -2
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarSegment.d.mts +10 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarSegment.mjs +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarSegmentPosition.d.mts +7 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarSegmentPosition.mjs +7 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarSegments.d.mts +10 -0
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarSegments.mjs +2 -0
- package/dist/esm/api/resources/users/resources/rewards/types/index.d.mts +4 -2
- package/dist/esm/api/resources/users/resources/rewards/types/index.mjs +4 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabel.d.ts +0 -10
- package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.d.ts +0 -6
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabel.d.mts +0 -10
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.d.mts +0 -6
- package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.mjs +0 -6
- /package/dist/cjs/api/resources/users/resources/rewards/types/{ProgressBarLabel.js → ProgressBarLabelPair.js} +0 -0
- /package/dist/esm/api/resources/users/resources/rewards/types/{ProgressBarLabel.mjs → ProgressBarLabelPair.mjs} +0 -0
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": "7.0.0",
|
|
47
|
+
"User-Agent": "@kard-financial/sdk/7.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,
|
|
@@ -11,8 +11,8 @@ export interface ProgressBar {
|
|
|
11
11
|
label: string;
|
|
12
12
|
/** Whether the progress bar should be displayed as segmented */
|
|
13
13
|
segmented: boolean;
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/** Segment configuration for the progress bar in different layouts */
|
|
15
|
+
segments?: KardApi.users.ProgressBarSegments;
|
|
16
16
|
/** Labels to render around the progress bar in different layouts */
|
|
17
17
|
labels: KardApi.users.ProgressBarLabels;
|
|
18
18
|
}
|
|
@@ -4,7 +4,7 @@ import type * as KardApi from "../../../../../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ProgressBarLabels {
|
|
6
6
|
/** Label configuration for the details view */
|
|
7
|
-
details
|
|
7
|
+
details?: KardApi.users.ProgressBarLabelPair;
|
|
8
8
|
/** Label configuration for the default view */
|
|
9
|
-
default: KardApi.users.
|
|
9
|
+
default: KardApi.users.ProgressBarLabelPair;
|
|
10
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Segment configuration for a specific layout
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarSegment {
|
|
6
|
+
/** SVG icon to use for each segment */
|
|
7
|
+
icon?: string;
|
|
8
|
+
/** Position of the segment within the layout */
|
|
9
|
+
position: KardApi.users.ProgressBarSegmentPosition;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Supported segment positions */
|
|
2
|
+
export declare const ProgressBarSegmentPosition: {
|
|
3
|
+
readonly Left: "LEFT";
|
|
4
|
+
readonly Right: "RIGHT";
|
|
5
|
+
readonly FullWidth: "FULL_WIDTH";
|
|
6
|
+
};
|
|
7
|
+
export type ProgressBarSegmentPosition = (typeof ProgressBarSegmentPosition)[keyof typeof ProgressBarSegmentPosition];
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
/** Supported
|
|
6
|
-
exports.
|
|
4
|
+
exports.ProgressBarSegmentPosition = void 0;
|
|
5
|
+
/** Supported segment positions */
|
|
6
|
+
exports.ProgressBarSegmentPosition = {
|
|
7
7
|
Left: "LEFT",
|
|
8
8
|
Right: "RIGHT",
|
|
9
|
+
FullWidth: "FULL_WIDTH",
|
|
9
10
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Segment configuration for the progress bar in different layouts
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarSegments {
|
|
6
|
+
/** Segment configuration for the details view */
|
|
7
|
+
details?: KardApi.users.ProgressBarSegment;
|
|
8
|
+
/** Segment configuration for the default view */
|
|
9
|
+
default: KardApi.users.ProgressBarSegment;
|
|
10
|
+
}
|
|
@@ -37,9 +37,11 @@ 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 "./
|
|
41
|
-
export * from "./ProgressBarLabelPosition.js";
|
|
40
|
+
export * from "./ProgressBarLabelPair.js";
|
|
42
41
|
export * from "./ProgressBarLabels.js";
|
|
42
|
+
export * from "./ProgressBarSegment.js";
|
|
43
|
+
export * from "./ProgressBarSegmentPosition.js";
|
|
44
|
+
export * from "./ProgressBarSegments.js";
|
|
43
45
|
export * from "./StandardOffer.js";
|
|
44
46
|
export * from "./StandardOfferCore.js";
|
|
45
47
|
export * from "./StandardOfferFields.js";
|
|
@@ -53,9 +53,11 @@ __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("./
|
|
57
|
-
__exportStar(require("./ProgressBarLabelPosition.js"), exports);
|
|
56
|
+
__exportStar(require("./ProgressBarLabelPair.js"), exports);
|
|
58
57
|
__exportStar(require("./ProgressBarLabels.js"), exports);
|
|
58
|
+
__exportStar(require("./ProgressBarSegment.js"), exports);
|
|
59
|
+
__exportStar(require("./ProgressBarSegmentPosition.js"), exports);
|
|
60
|
+
__exportStar(require("./ProgressBarSegments.js"), exports);
|
|
59
61
|
__exportStar(require("./StandardOffer.js"), exports);
|
|
60
62
|
__exportStar(require("./StandardOfferCore.js"), exports);
|
|
61
63
|
__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 = "7.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": "7.0.0",
|
|
10
|
+
"User-Agent": "@kard-financial/sdk/7.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,
|
|
@@ -11,8 +11,8 @@ export interface ProgressBar {
|
|
|
11
11
|
label: string;
|
|
12
12
|
/** Whether the progress bar should be displayed as segmented */
|
|
13
13
|
segmented: boolean;
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/** Segment configuration for the progress bar in different layouts */
|
|
15
|
+
segments?: KardApi.users.ProgressBarSegments;
|
|
16
16
|
/** Labels to render around the progress bar in different layouts */
|
|
17
17
|
labels: KardApi.users.ProgressBarLabels;
|
|
18
18
|
}
|
|
@@ -4,7 +4,7 @@ import type * as KardApi from "../../../../../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface ProgressBarLabels {
|
|
6
6
|
/** Label configuration for the details view */
|
|
7
|
-
details
|
|
7
|
+
details?: KardApi.users.ProgressBarLabelPair;
|
|
8
8
|
/** Label configuration for the default view */
|
|
9
|
-
default: KardApi.users.
|
|
9
|
+
default: KardApi.users.ProgressBarLabelPair;
|
|
10
10
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Segment configuration for a specific layout
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarSegment {
|
|
6
|
+
/** SVG icon to use for each segment */
|
|
7
|
+
icon?: string;
|
|
8
|
+
/** Position of the segment within the layout */
|
|
9
|
+
position: KardApi.users.ProgressBarSegmentPosition;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Supported segment positions */
|
|
2
|
+
export declare const ProgressBarSegmentPosition: {
|
|
3
|
+
readonly Left: "LEFT";
|
|
4
|
+
readonly Right: "RIGHT";
|
|
5
|
+
readonly FullWidth: "FULL_WIDTH";
|
|
6
|
+
};
|
|
7
|
+
export type ProgressBarSegmentPosition = (typeof ProgressBarSegmentPosition)[keyof typeof ProgressBarSegmentPosition];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as KardApi from "../../../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Segment configuration for the progress bar in different layouts
|
|
4
|
+
*/
|
|
5
|
+
export interface ProgressBarSegments {
|
|
6
|
+
/** Segment configuration for the details view */
|
|
7
|
+
details?: KardApi.users.ProgressBarSegment;
|
|
8
|
+
/** Segment configuration for the default view */
|
|
9
|
+
default: KardApi.users.ProgressBarSegment;
|
|
10
|
+
}
|
|
@@ -37,9 +37,11 @@ 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 "./
|
|
41
|
-
export * from "./ProgressBarLabelPosition.mjs";
|
|
40
|
+
export * from "./ProgressBarLabelPair.mjs";
|
|
42
41
|
export * from "./ProgressBarLabels.mjs";
|
|
42
|
+
export * from "./ProgressBarSegment.mjs";
|
|
43
|
+
export * from "./ProgressBarSegmentPosition.mjs";
|
|
44
|
+
export * from "./ProgressBarSegments.mjs";
|
|
43
45
|
export * from "./StandardOffer.mjs";
|
|
44
46
|
export * from "./StandardOfferCore.mjs";
|
|
45
47
|
export * from "./StandardOfferFields.mjs";
|
|
@@ -37,9 +37,11 @@ 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 "./
|
|
41
|
-
export * from "./ProgressBarLabelPosition.mjs";
|
|
40
|
+
export * from "./ProgressBarLabelPair.mjs";
|
|
42
41
|
export * from "./ProgressBarLabels.mjs";
|
|
42
|
+
export * from "./ProgressBarSegment.mjs";
|
|
43
|
+
export * from "./ProgressBarSegmentPosition.mjs";
|
|
44
|
+
export * from "./ProgressBarSegments.mjs";
|
|
43
45
|
export * from "./StandardOffer.mjs";
|
|
44
46
|
export * from "./StandardOfferCore.mjs";
|
|
45
47
|
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 = "7.0.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "
|
|
1
|
+
export const SDK_VERSION = "7.0.0";
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
}
|
|
File without changes
|
|
File without changes
|