@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.
Files changed (25) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBar.d.ts +3 -0
  3. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabel.d.ts +10 -0
  4. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabel.js +3 -0
  5. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.d.ts +6 -0
  6. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.js +9 -0
  7. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabels.d.ts +10 -0
  8. package/dist/cjs/api/resources/users/resources/rewards/types/ProgressBarLabels.js +3 -0
  9. package/dist/cjs/api/resources/users/resources/rewards/types/index.d.ts +3 -0
  10. package/dist/cjs/api/resources/users/resources/rewards/types/index.js +3 -0
  11. package/dist/cjs/version.d.ts +1 -1
  12. package/dist/cjs/version.js +1 -1
  13. package/dist/esm/BaseClient.mjs +2 -2
  14. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBar.d.mts +3 -0
  15. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabel.d.mts +10 -0
  16. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabel.mjs +2 -0
  17. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.d.mts +6 -0
  18. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabelPosition.mjs +6 -0
  19. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabels.d.mts +10 -0
  20. package/dist/esm/api/resources/users/resources/rewards/types/ProgressBarLabels.mjs +2 -0
  21. package/dist/esm/api/resources/users/resources/rewards/types/index.d.mts +3 -0
  22. package/dist/esm/api/resources/users/resources/rewards/types/index.mjs +3 -0
  23. package/dist/esm/version.d.mts +1 -1
  24. package/dist/esm/version.mjs +1 -1
  25. package/package.json +1 -1
@@ -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": "5.3.0",
47
- "User-Agent": "@kard-financial/sdk/5.3.0",
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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /** Supported progress bar label positions */
2
+ export declare const ProgressBarLabelPosition: {
3
+ readonly Left: "LEFT";
4
+ readonly Right: "RIGHT";
5
+ };
6
+ export type ProgressBarLabelPosition = (typeof ProgressBarLabelPosition)[keyof typeof ProgressBarLabelPosition];
@@ -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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.3.0";
1
+ export declare const SDK_VERSION = "6.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 = "5.3.0";
4
+ exports.SDK_VERSION = "6.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": "5.3.0",
10
- "User-Agent": "@kard-financial/sdk/5.3.0",
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,6 @@
1
+ /** Supported progress bar label positions */
2
+ export declare const ProgressBarLabelPosition: {
3
+ readonly Left: "LEFT";
4
+ readonly Right: "RIGHT";
5
+ };
6
+ export type ProgressBarLabelPosition = (typeof ProgressBarLabelPosition)[keyof typeof ProgressBarLabelPosition];
@@ -0,0 +1,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ /** Supported progress bar label positions */
3
+ export const ProgressBarLabelPosition = {
4
+ Left: "LEFT",
5
+ Right: "RIGHT",
6
+ };
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "5.3.0";
1
+ export declare const SDK_VERSION = "6.0.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "5.3.0";
1
+ export const SDK_VERSION = "6.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "5.3.0",
3
+ "version": "6.0.0",
4
4
  "private": false,
5
5
  "repository": "github:KardFinancial/kard-node-sdk",
6
6
  "type": "commonjs",