@kard-financial/sdk 16.1.3 → 16.2.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 (23) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/users/resources/rewards/types/LocationAttributes.d.ts +2 -0
  3. package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerId.d.ts +5 -0
  4. package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerId.js +3 -0
  5. package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerIdType.d.ts +4 -0
  6. package/dist/cjs/api/resources/users/resources/rewards/types/LocationPartnerIdType.js +7 -0
  7. package/dist/cjs/api/resources/users/resources/rewards/types/LocationsResponseObject.d.ts +5 -1
  8. package/dist/cjs/api/resources/users/resources/rewards/types/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/users/resources/rewards/types/index.js +2 -0
  10. package/dist/cjs/version.d.ts +1 -1
  11. package/dist/cjs/version.js +1 -1
  12. package/dist/esm/BaseClient.mjs +2 -2
  13. package/dist/esm/api/resources/users/resources/rewards/types/LocationAttributes.d.mts +2 -0
  14. package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerId.d.mts +5 -0
  15. package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerId.mjs +2 -0
  16. package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerIdType.d.mts +4 -0
  17. package/dist/esm/api/resources/users/resources/rewards/types/LocationPartnerIdType.mjs +4 -0
  18. package/dist/esm/api/resources/users/resources/rewards/types/LocationsResponseObject.d.mts +5 -1
  19. package/dist/esm/api/resources/users/resources/rewards/types/index.d.mts +2 -0
  20. package/dist/esm/api/resources/users/resources/rewards/types/index.mjs +2 -0
  21. package/dist/esm/version.d.mts +1 -1
  22. package/dist/esm/version.mjs +1 -1
  23. 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": "16.1.3",
47
- "User-Agent": "@kard-financial/sdk/16.1.3",
46
+ "X-Fern-SDK-Version": "16.2.0",
47
+ "User-Agent": "@kard-financial/sdk/16.2.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);
@@ -5,4 +5,6 @@ export interface LocationAttributes {
5
5
  coordinates: KardApi.users.Coordinates;
6
6
  phone: string;
7
7
  operationHours: KardApi.users.OperationHours;
8
+ /** List of ids associated with the location from third party partners. Only included on LOCAL locations. */
9
+ partnerIds?: KardApi.users.LocationPartnerId[] | undefined;
8
10
  }
@@ -0,0 +1,5 @@
1
+ import type * as KardApi from "../../../../../index.js";
2
+ export interface LocationPartnerId {
3
+ type: KardApi.users.LocationPartnerIdType;
4
+ id: string;
5
+ }
@@ -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,4 @@
1
+ export declare const LocationPartnerIdType: {
2
+ readonly Google: "google";
3
+ };
4
+ export type LocationPartnerIdType = (typeof LocationPartnerIdType)[keyof typeof LocationPartnerIdType];
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.LocationPartnerIdType = void 0;
5
+ exports.LocationPartnerIdType = {
6
+ Google: "google",
7
+ };
@@ -66,7 +66,11 @@ import type * as KardApi from "../../../../../index.js";
66
66
  * }
67
67
  * }],
68
68
  * weekdayText: ["Monday: 9:00 AM \u2013 5:00 PM", "Tuesday: 9:00 AM \u2013 5:00 PM", "Wednesday: 9:00 AM \u2013 5:00 PM", "Thursday: 9:00 AM \u2013 5:00 PM", "Friday: 9:00 AM \u2013 5:00 PM", "Saturday: Closed", "Sunday: Closed"]
69
- * }
69
+ * },
70
+ * partnerIds: [{
71
+ * type: KardApi.users.LocationPartnerIdType.Google,
72
+ * id: "3pafnweri4"
73
+ * }]
70
74
  * },
71
75
  * relationships: {
72
76
  * offers: {
@@ -19,6 +19,8 @@ export * from "./EligibilityOfferIncluded.js";
19
19
  export * from "./EligibilityOfferRelationship.js";
20
20
  export * from "./LocationAttributes.js";
21
21
  export * from "./LocationData.js";
22
+ export * from "./LocationPartnerId.js";
23
+ export * from "./LocationPartnerIdType.js";
22
24
  export * from "./LocationRelationships.js";
23
25
  export * from "./LocationSortOptions.js";
24
26
  export * from "./LocationsResponseObject.js";
@@ -35,6 +35,8 @@ __exportStar(require("./EligibilityOfferIncluded.js"), exports);
35
35
  __exportStar(require("./EligibilityOfferRelationship.js"), exports);
36
36
  __exportStar(require("./LocationAttributes.js"), exports);
37
37
  __exportStar(require("./LocationData.js"), exports);
38
+ __exportStar(require("./LocationPartnerId.js"), exports);
39
+ __exportStar(require("./LocationPartnerIdType.js"), exports);
38
40
  __exportStar(require("./LocationRelationships.js"), exports);
39
41
  __exportStar(require("./LocationSortOptions.js"), exports);
40
42
  __exportStar(require("./LocationsResponseObject.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "16.1.3";
1
+ export declare const SDK_VERSION = "16.2.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 = "16.1.3";
4
+ exports.SDK_VERSION = "16.2.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": "16.1.3",
10
- "User-Agent": "@kard-financial/sdk/16.1.3",
9
+ "X-Fern-SDK-Version": "16.2.0",
10
+ "User-Agent": "@kard-financial/sdk/16.2.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);
@@ -5,4 +5,6 @@ export interface LocationAttributes {
5
5
  coordinates: KardApi.users.Coordinates;
6
6
  phone: string;
7
7
  operationHours: KardApi.users.OperationHours;
8
+ /** List of ids associated with the location from third party partners. Only included on LOCAL locations. */
9
+ partnerIds?: KardApi.users.LocationPartnerId[] | undefined;
8
10
  }
@@ -0,0 +1,5 @@
1
+ import type * as KardApi from "../../../../../index.mjs";
2
+ export interface LocationPartnerId {
3
+ type: KardApi.users.LocationPartnerIdType;
4
+ id: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const LocationPartnerIdType: {
2
+ readonly Google: "google";
3
+ };
4
+ export type LocationPartnerIdType = (typeof LocationPartnerIdType)[keyof typeof LocationPartnerIdType];
@@ -0,0 +1,4 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export const LocationPartnerIdType = {
3
+ Google: "google",
4
+ };
@@ -66,7 +66,11 @@ import type * as KardApi from "../../../../../index.mjs";
66
66
  * }
67
67
  * }],
68
68
  * weekdayText: ["Monday: 9:00 AM \u2013 5:00 PM", "Tuesday: 9:00 AM \u2013 5:00 PM", "Wednesday: 9:00 AM \u2013 5:00 PM", "Thursday: 9:00 AM \u2013 5:00 PM", "Friday: 9:00 AM \u2013 5:00 PM", "Saturday: Closed", "Sunday: Closed"]
69
- * }
69
+ * },
70
+ * partnerIds: [{
71
+ * type: KardApi.users.LocationPartnerIdType.Google,
72
+ * id: "3pafnweri4"
73
+ * }]
70
74
  * },
71
75
  * relationships: {
72
76
  * offers: {
@@ -19,6 +19,8 @@ export * from "./EligibilityOfferIncluded.mjs";
19
19
  export * from "./EligibilityOfferRelationship.mjs";
20
20
  export * from "./LocationAttributes.mjs";
21
21
  export * from "./LocationData.mjs";
22
+ export * from "./LocationPartnerId.mjs";
23
+ export * from "./LocationPartnerIdType.mjs";
22
24
  export * from "./LocationRelationships.mjs";
23
25
  export * from "./LocationSortOptions.mjs";
24
26
  export * from "./LocationsResponseObject.mjs";
@@ -19,6 +19,8 @@ export * from "./EligibilityOfferIncluded.mjs";
19
19
  export * from "./EligibilityOfferRelationship.mjs";
20
20
  export * from "./LocationAttributes.mjs";
21
21
  export * from "./LocationData.mjs";
22
+ export * from "./LocationPartnerId.mjs";
23
+ export * from "./LocationPartnerIdType.mjs";
22
24
  export * from "./LocationRelationships.mjs";
23
25
  export * from "./LocationSortOptions.mjs";
24
26
  export * from "./LocationsResponseObject.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "16.1.3";
1
+ export declare const SDK_VERSION = "16.2.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "16.1.3";
1
+ export const SDK_VERSION = "16.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kard-financial/sdk",
3
- "version": "16.1.3",
3
+ "version": "16.2.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",