@chrt-inc/typescript-sdk 1.269.0 → 1.271.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.
@@ -68,8 +68,8 @@ class ChrtClient {
68
68
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
69
69
  "X-Fern-Language": "JavaScript",
70
70
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
71
- "X-Fern-SDK-Version": "1.269.0",
72
- "User-Agent": "@chrt-inc/typescript-sdk/1.269.0",
71
+ "X-Fern-SDK-Version": "1.271.0",
72
+ "User-Agent": "@chrt-inc/typescript-sdk/1.271.0",
73
73
  "X-Fern-Runtime": core.RUNTIME.type,
74
74
  "X-Fern-Runtime-Version": core.RUNTIME.version,
75
75
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -917,7 +917,7 @@ class SessionByDevice {
917
917
  }
918
918
  let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
919
919
  const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
920
- url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points/public"),
920
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points_public"),
921
921
  method: "GET",
922
922
  headers: _headers,
923
923
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -951,7 +951,7 @@ class SessionByDevice {
951
951
  rawResponse: _response.rawResponse,
952
952
  });
953
953
  case "timeout":
954
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points/public.");
954
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points_public.");
955
955
  case "unknown":
956
956
  throw new errors.ChrtError({
957
957
  message: _response.error.errorMessage,
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.269.0";
1
+ export declare const SDK_VERSION = "1.271.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 = "1.269.0";
4
+ exports.SDK_VERSION = "1.271.0";
@@ -32,8 +32,8 @@ export class ChrtClient {
32
32
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
33
33
  "X-Fern-Language": "JavaScript",
34
34
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
35
- "X-Fern-SDK-Version": "1.269.0",
36
- "User-Agent": "@chrt-inc/typescript-sdk/1.269.0",
35
+ "X-Fern-SDK-Version": "1.271.0",
36
+ "User-Agent": "@chrt-inc/typescript-sdk/1.271.0",
37
37
  "X-Fern-Runtime": core.RUNTIME.type,
38
38
  "X-Fern-Runtime-Version": core.RUNTIME.version,
39
39
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -881,7 +881,7 @@ export class SessionByDevice {
881
881
  }
882
882
  let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
883
883
  const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
884
- url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points/public"),
884
+ url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "tracking/session_by_device/data_points_public"),
885
885
  method: "GET",
886
886
  headers: _headers,
887
887
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -915,7 +915,7 @@ export class SessionByDevice {
915
915
  rawResponse: _response.rawResponse,
916
916
  });
917
917
  case "timeout":
918
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points/public.");
918
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /tracking/session_by_device/data_points_public.");
919
919
  case "unknown":
920
920
  throw new errors.ChrtError({
921
921
  message: _response.error.errorMessage,
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.269.0";
1
+ export declare const SDK_VERSION = "1.271.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.269.0";
1
+ export const SDK_VERSION = "1.271.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.269.0",
3
+ "version": "1.271.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",