@kard-financial/sdk 30.0.0 → 30.1.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": "30.0.0",
47
- "User-Agent": "@kard-financial/sdk/30.0.0",
46
+ "X-Fern-SDK-Version": "30.1.0",
47
+ "User-Agent": "@kard-financial/sdk/30.1.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);
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Metadata about the placement.
3
+ */
4
+ export interface BatchesMeta {
5
+ /** Display name of the placement, resolved server-side from its id. */
6
+ placementName?: string | undefined;
7
+ }
@@ -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 });
@@ -4,4 +4,5 @@ import type * as KardApi from "../../../../../index.js";
4
4
  */
5
5
  export interface BatchesResponseObject {
6
6
  data: KardApi.users.PlacementBatchData[];
7
+ meta?: KardApi.users.BatchesMeta | undefined;
7
8
  }
@@ -5,4 +5,6 @@ import type * as KardApi from "../../../../../index.js";
5
5
  export interface OffersMeta {
6
6
  /** All distinct categories available across the entire filtered result set, not just the current page */
7
7
  availableCategories?: KardApi.users.CategoryIncluded[] | undefined;
8
+ /** Display name of the placement, resolved server-side from its id. Populated only on the Get Placement Content endpoint; absent on the Get Offers By User endpoint. */
9
+ placementName?: string | undefined;
8
10
  }
@@ -1,6 +1,7 @@
1
1
  export * from "./Amount.js";
2
2
  export * from "./AmountType.js";
3
3
  export * from "./Asset.js";
4
+ export * from "./BatchesMeta.js";
4
5
  export * from "./BatchesResponseObject.js";
5
6
  export * from "./ButtonStyle.js";
6
7
  export * from "./CategoryData.js";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Amount.js"), exports);
18
18
  __exportStar(require("./AmountType.js"), exports);
19
19
  __exportStar(require("./Asset.js"), exports);
20
+ __exportStar(require("./BatchesMeta.js"), exports);
20
21
  __exportStar(require("./BatchesResponseObject.js"), exports);
21
22
  __exportStar(require("./ButtonStyle.js"), exports);
22
23
  __exportStar(require("./CategoryData.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "30.0.0";
1
+ export declare const SDK_VERSION = "30.1.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 = "30.0.0";
4
+ exports.SDK_VERSION = "30.1.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": "30.0.0",
10
- "User-Agent": "@kard-financial/sdk/30.0.0",
9
+ "X-Fern-SDK-Version": "30.1.0",
10
+ "User-Agent": "@kard-financial/sdk/30.1.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);
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Metadata about the placement.
3
+ */
4
+ export interface BatchesMeta {
5
+ /** Display name of the placement, resolved server-side from its id. */
6
+ placementName?: string | undefined;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -4,4 +4,5 @@ import type * as KardApi from "../../../../../index.mjs";
4
4
  */
5
5
  export interface BatchesResponseObject {
6
6
  data: KardApi.users.PlacementBatchData[];
7
+ meta?: KardApi.users.BatchesMeta | undefined;
7
8
  }
@@ -5,4 +5,6 @@ import type * as KardApi from "../../../../../index.mjs";
5
5
  export interface OffersMeta {
6
6
  /** All distinct categories available across the entire filtered result set, not just the current page */
7
7
  availableCategories?: KardApi.users.CategoryIncluded[] | undefined;
8
+ /** Display name of the placement, resolved server-side from its id. Populated only on the Get Placement Content endpoint; absent on the Get Offers By User endpoint. */
9
+ placementName?: string | undefined;
8
10
  }
@@ -1,6 +1,7 @@
1
1
  export * from "./Amount.mjs";
2
2
  export * from "./AmountType.mjs";
3
3
  export * from "./Asset.mjs";
4
+ export * from "./BatchesMeta.mjs";
4
5
  export * from "./BatchesResponseObject.mjs";
5
6
  export * from "./ButtonStyle.mjs";
6
7
  export * from "./CategoryData.mjs";
@@ -1,6 +1,7 @@
1
1
  export * from "./Amount.mjs";
2
2
  export * from "./AmountType.mjs";
3
3
  export * from "./Asset.mjs";
4
+ export * from "./BatchesMeta.mjs";
4
5
  export * from "./BatchesResponseObject.mjs";
5
6
  export * from "./ButtonStyle.mjs";
6
7
  export * from "./CategoryData.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "30.0.0";
1
+ export declare const SDK_VERSION = "30.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "30.0.0";
1
+ export const SDK_VERSION = "30.1.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "30.0.0",
3
+ "version": "30.1.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",