@chrt-inc/typescript-sdk 0.0.2 → 0.0.160

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 (70) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +3 -3
  3. package/api/resources/dev/client/Client.js +10 -10
  4. package/api/resources/directory/client/Client.js +2 -2
  5. package/api/resources/index.d.ts +2 -2
  6. package/api/resources/index.js +3 -3
  7. package/api/resources/mirror/client/Client.js +24 -24
  8. package/api/resources/oortConnections/client/Client.js +6 -6
  9. package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/Client.d.ts +16 -16
  10. package/{dist/api/resources/oortCourierPayDriverRateSheets → api/resources/oortCourierPayDriverRate}/client/Client.js +19 -19
  11. package/api/resources/oortDrivers/client/Client.js +18 -18
  12. package/api/resources/oortMilestones/client/Client.js +10 -10
  13. package/api/resources/oortNotificationPreferences/client/Client.js +4 -4
  14. package/api/resources/oortOrders/client/Client.js +14 -14
  15. package/api/resources/oortOrgConnectionInfos/client/Client.js +12 -12
  16. package/api/resources/oortOrgProfiles/client/Client.js +8 -8
  17. package/api/resources/oortShipperUserInfo/client/Client.js +8 -8
  18. package/api/resources/oortTaskGroups/client/Client.js +16 -16
  19. package/api/resources/orgs/client/Client.js +14 -14
  20. package/api/resources/payments/client/Client.js +6 -6
  21. package/api/resources/root/client/Client.js +14 -14
  22. package/api/resources/users/client/Client.js +2 -2
  23. package/dist/Client.d.ts +3 -3
  24. package/dist/Client.js +3 -3
  25. package/dist/api/resources/dev/client/Client.js +10 -10
  26. package/dist/api/resources/directory/client/Client.js +2 -2
  27. package/dist/api/resources/index.d.ts +2 -2
  28. package/dist/api/resources/index.js +3 -3
  29. package/dist/api/resources/mirror/client/Client.js +24 -24
  30. package/dist/api/resources/oortConnections/client/Client.js +6 -6
  31. package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/Client.d.ts +16 -16
  32. package/{api/resources/oortCourierPayDriverRateSheets → dist/api/resources/oortCourierPayDriverRate}/client/Client.js +19 -19
  33. package/dist/api/resources/oortDrivers/client/Client.js +18 -18
  34. package/dist/api/resources/oortMilestones/client/Client.js +10 -10
  35. package/dist/api/resources/oortNotificationPreferences/client/Client.js +4 -4
  36. package/dist/api/resources/oortOrders/client/Client.js +14 -14
  37. package/dist/api/resources/oortOrgConnectionInfos/client/Client.js +12 -12
  38. package/dist/api/resources/oortOrgProfiles/client/Client.js +8 -8
  39. package/dist/api/resources/oortShipperUserInfo/client/Client.js +8 -8
  40. package/dist/api/resources/oortTaskGroups/client/Client.js +16 -16
  41. package/dist/api/resources/orgs/client/Client.js +14 -14
  42. package/dist/api/resources/payments/client/Client.js +6 -6
  43. package/dist/api/resources/root/client/Client.js +14 -14
  44. package/dist/api/resources/users/client/Client.js +2 -2
  45. package/dist/environments.d.ts +5 -2
  46. package/dist/environments.js +4 -1
  47. package/dist/version.d.ts +1 -1
  48. package/dist/version.js +1 -1
  49. package/environments.d.ts +5 -2
  50. package/environments.js +4 -1
  51. package/package.json +1 -1
  52. package/reference.md +13 -13
  53. package/version.d.ts +1 -1
  54. package/version.js +1 -1
  55. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/index.d.ts +0 -0
  56. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/index.js +0 -0
  57. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -0
  58. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/CourierPayDriverRateSheetClientCreate1.js +0 -0
  59. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/index.d.ts +0 -0
  60. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/index.js +0 -0
  61. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/index.d.ts +0 -0
  62. /package/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/index.js +0 -0
  63. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/index.d.ts +0 -0
  64. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/index.js +0 -0
  65. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -0
  66. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/CourierPayDriverRateSheetClientCreate1.js +0 -0
  67. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/index.d.ts +0 -0
  68. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/client/requests/index.js +0 -0
  69. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/index.d.ts +0 -0
  70. /package/dist/api/resources/{oortCourierPayDriverRateSheets → oortCourierPayDriverRate}/index.js +0 -0
@@ -68,9 +68,9 @@ class Dev {
68
68
  return __awaiter(this, void 0, void 0, function* () {
69
69
  var _a, _b, _c;
70
70
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
71
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "dev/decoded_jwt"),
71
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "dev/decoded_jwt"),
72
72
  method: "GET",
73
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
74
  contentType: "application/json",
75
75
  requestType: "json",
76
76
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,9 +111,9 @@ class Dev {
111
111
  return __awaiter(this, void 0, void 0, function* () {
112
112
  var _a, _b, _c;
113
113
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
114
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "dev/email"),
114
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "dev/email"),
115
115
  method: "GET",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -154,9 +154,9 @@ class Dev {
154
154
  return __awaiter(this, void 0, void 0, function* () {
155
155
  var _a, _b, _c;
156
156
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
157
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "dev/template"),
157
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "dev/template"),
158
158
  method: "GET",
159
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
160
  contentType: "application/json",
161
161
  requestType: "json",
162
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -204,9 +204,9 @@ class Dev {
204
204
  return __awaiter(this, void 0, void 0, function* () {
205
205
  var _a, _b, _c;
206
206
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
207
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "dev/template"),
207
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "dev/template"),
208
208
  method: "POST",
209
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
209
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
210
210
  contentType: "application/json",
211
211
  requestType: "json",
212
212
  body: request,
@@ -253,9 +253,9 @@ class Dev {
253
253
  return __awaiter(this, void 0, void 0, function* () {
254
254
  var _a, _b, _c;
255
255
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
256
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "dev/user_id"),
256
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "dev/user_id"),
257
257
  method: "GET",
258
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
258
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
259
259
  contentType: "application/json",
260
260
  requestType: "json",
261
261
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -73,9 +73,9 @@ class Directory {
73
73
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
74
74
  var _a, _b, _c;
75
75
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
76
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "directory/shippers"),
76
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "directory/shippers"),
77
77
  method: "POST",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  body: request,
@@ -4,7 +4,7 @@ export * as mirror from "./mirror";
4
4
  export * as dev from "./dev";
5
5
  export * as directory from "./directory";
6
6
  export * as oortConnections from "./oortConnections";
7
- export * as oortCourierPayDriverRateSheets from "./oortCourierPayDriverRateSheets";
7
+ export * as oortCourierPayDriverRate from "./oortCourierPayDriverRate";
8
8
  export * as oortDrivers from "./oortDrivers";
9
9
  export * as oortMilestones from "./oortMilestones";
10
10
  export * as oortNotificationPreferences from "./oortNotificationPreferences";
@@ -19,7 +19,7 @@ export * as users from "./users";
19
19
  export * from "./dev/client/requests";
20
20
  export * from "./directory/client/requests";
21
21
  export * from "./oortConnections/client/requests";
22
- export * from "./oortCourierPayDriverRateSheets/client/requests";
22
+ export * from "./oortCourierPayDriverRate/client/requests";
23
23
  export * from "./oortDrivers/client/requests";
24
24
  export * from "./oortMilestones/client/requests";
25
25
  export * from "./oortNotificationPreferences/client/requests";
@@ -36,14 +36,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.users = exports.payments = exports.orgs = exports.oortTaskGroups = exports.oortShipperUserInfo = exports.oortOrgProfiles = exports.oortOrgConnectionInfos = exports.oortOrders = exports.oortNotificationPreferences = exports.oortMilestones = exports.oortDrivers = exports.oortCourierPayDriverRateSheets = exports.oortConnections = exports.directory = exports.dev = exports.mirror = exports.root = void 0;
39
+ exports.users = exports.payments = exports.orgs = exports.oortTaskGroups = exports.oortShipperUserInfo = exports.oortOrgProfiles = exports.oortOrgConnectionInfos = exports.oortOrders = exports.oortNotificationPreferences = exports.oortMilestones = exports.oortDrivers = exports.oortCourierPayDriverRate = exports.oortConnections = exports.directory = exports.dev = exports.mirror = exports.root = void 0;
40
40
  exports.root = __importStar(require("./root"));
41
41
  __exportStar(require("./root/types"), exports);
42
42
  exports.mirror = __importStar(require("./mirror"));
43
43
  exports.dev = __importStar(require("./dev"));
44
44
  exports.directory = __importStar(require("./directory"));
45
45
  exports.oortConnections = __importStar(require("./oortConnections"));
46
- exports.oortCourierPayDriverRateSheets = __importStar(require("./oortCourierPayDriverRateSheets"));
46
+ exports.oortCourierPayDriverRate = __importStar(require("./oortCourierPayDriverRate"));
47
47
  exports.oortDrivers = __importStar(require("./oortDrivers"));
48
48
  exports.oortMilestones = __importStar(require("./oortMilestones"));
49
49
  exports.oortNotificationPreferences = __importStar(require("./oortNotificationPreferences"));
@@ -58,7 +58,7 @@ exports.users = __importStar(require("./users"));
58
58
  __exportStar(require("./dev/client/requests"), exports);
59
59
  __exportStar(require("./directory/client/requests"), exports);
60
60
  __exportStar(require("./oortConnections/client/requests"), exports);
61
- __exportStar(require("./oortCourierPayDriverRateSheets/client/requests"), exports);
61
+ __exportStar(require("./oortCourierPayDriverRate/client/requests"), exports);
62
62
  __exportStar(require("./oortDrivers/client/requests"), exports);
63
63
  __exportStar(require("./oortMilestones/client/requests"), exports);
64
64
  __exportStar(require("./oortNotificationPreferences/client/requests"), exports);
@@ -68,9 +68,9 @@ class Mirror {
68
68
  return __awaiter(this, void 0, void 0, function* () {
69
69
  var _a, _b, _c;
70
70
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
71
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "authd_mirror"),
71
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
72
72
  method: "GET",
73
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
74
  contentType: "application/json",
75
75
  requestType: "json",
76
76
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,9 +111,9 @@ class Mirror {
111
111
  return __awaiter(this, void 0, void 0, function* () {
112
112
  var _a, _b, _c;
113
113
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
114
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "authd_mirror"),
114
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
115
115
  method: "POST",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -154,9 +154,9 @@ class Mirror {
154
154
  return __awaiter(this, void 0, void 0, function* () {
155
155
  var _a, _b, _c;
156
156
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
157
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "authd_mirror"),
157
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
158
158
  method: "PUT",
159
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
159
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
160
160
  contentType: "application/json",
161
161
  requestType: "json",
162
162
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -197,9 +197,9 @@ class Mirror {
197
197
  return __awaiter(this, void 0, void 0, function* () {
198
198
  var _a, _b, _c;
199
199
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
200
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "authd_mirror"),
200
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
201
201
  method: "DELETE",
202
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
202
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
203
  contentType: "application/json",
204
204
  requestType: "json",
205
205
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -240,9 +240,9 @@ class Mirror {
240
240
  return __awaiter(this, void 0, void 0, function* () {
241
241
  var _a, _b, _c;
242
242
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
243
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "authd_mirror"),
243
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
244
244
  method: "PATCH",
245
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
245
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
246
246
  contentType: "application/json",
247
247
  requestType: "json",
248
248
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -283,9 +283,9 @@ class Mirror {
283
283
  return __awaiter(this, void 0, void 0, function* () {
284
284
  var _a, _b, _c;
285
285
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
286
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "mirror"),
286
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "mirror"),
287
287
  method: "GET",
288
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
288
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
289
289
  contentType: "application/json",
290
290
  requestType: "json",
291
291
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -326,9 +326,9 @@ class Mirror {
326
326
  return __awaiter(this, void 0, void 0, function* () {
327
327
  var _a, _b, _c;
328
328
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
329
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "mirror"),
329
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "mirror"),
330
330
  method: "POST",
331
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
331
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
332
332
  contentType: "application/json",
333
333
  requestType: "json",
334
334
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -369,9 +369,9 @@ class Mirror {
369
369
  return __awaiter(this, void 0, void 0, function* () {
370
370
  var _a, _b, _c;
371
371
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
372
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "mirror"),
372
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "mirror"),
373
373
  method: "PUT",
374
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
374
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
375
375
  contentType: "application/json",
376
376
  requestType: "json",
377
377
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -412,9 +412,9 @@ class Mirror {
412
412
  return __awaiter(this, void 0, void 0, function* () {
413
413
  var _a, _b, _c;
414
414
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
415
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "mirror"),
415
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "mirror"),
416
416
  method: "DELETE",
417
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
417
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
418
418
  contentType: "application/json",
419
419
  requestType: "json",
420
420
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -455,9 +455,9 @@ class Mirror {
455
455
  return __awaiter(this, void 0, void 0, function* () {
456
456
  var _a, _b, _c;
457
457
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
458
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "mirror"),
458
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "mirror"),
459
459
  method: "PATCH",
460
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
460
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
461
461
  contentType: "application/json",
462
462
  requestType: "json",
463
463
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -503,9 +503,9 @@ class Mirror {
503
503
  return __awaiter(this, void 0, void 0, function* () {
504
504
  var _a, _b, _c;
505
505
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
506
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "order_completed_email"),
506
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "order_completed_email"),
507
507
  method: "POST",
508
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
508
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
509
509
  contentType: "application/json",
510
510
  requestType: "json",
511
511
  body: request,
@@ -557,9 +557,9 @@ class Mirror {
557
557
  return __awaiter(this, void 0, void 0, function* () {
558
558
  var _a, _b, _c;
559
559
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
560
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "order_in_progress_email"),
560
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "order_in_progress_email"),
561
561
  method: "POST",
562
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
562
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
563
563
  contentType: "application/json",
564
564
  requestType: "json",
565
565
  body: request,
@@ -68,9 +68,9 @@ class OortConnections {
68
68
  return __awaiter(this, void 0, void 0, function* () {
69
69
  var _a, _b, _c;
70
70
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
71
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "oort/connections/connections_info_for_couriers"),
71
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/connections/connections_info_for_couriers"),
72
72
  method: "GET",
73
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
73
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
74
74
  contentType: "application/json",
75
75
  requestType: "json",
76
76
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -111,9 +111,9 @@ class OortConnections {
111
111
  return __awaiter(this, void 0, void 0, function* () {
112
112
  var _a, _b, _c;
113
113
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
114
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "oort/connections/connections_info_for_shippers"),
114
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/connections/connections_info_for_shippers"),
115
115
  method: "GET",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -161,9 +161,9 @@ class OortConnections {
161
161
  return __awaiter(this, void 0, void 0, function* () {
162
162
  var _a, _b, _c;
163
163
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
164
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "oort/connections/create_connection_to_courier"),
164
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/connections/create_connection_to_courier"),
165
165
  method: "POST",
166
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
166
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  body: request,
@@ -4,7 +4,7 @@
4
4
  import * as environments from "../../../../environments";
5
5
  import * as core from "../../../../core";
6
6
  import * as Chrt from "../../../index";
7
- export declare namespace OortCourierPayDriverRateSheets {
7
+ export declare namespace OortCourierPayDriverRate {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
@@ -23,49 +23,49 @@ export declare namespace OortCourierPayDriverRateSheets {
23
23
  headers?: Record<string, string>;
24
24
  }
25
25
  }
26
- export declare class OortCourierPayDriverRateSheets {
27
- protected readonly _options: OortCourierPayDriverRateSheets.Options;
28
- constructor(_options?: OortCourierPayDriverRateSheets.Options);
26
+ export declare class OortCourierPayDriverRate {
27
+ protected readonly _options: OortCourierPayDriverRate.Options;
28
+ constructor(_options?: OortCourierPayDriverRate.Options);
29
29
  /**
30
30
  * This is for getting a list of all rate sheets by courier org id from the JWT
31
31
  *
32
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
32
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
34
34
  * @example
35
- * await client.oortCourierPayDriverRateSheets.getRateSheetsByCourierOrgId()
35
+ * await client.oortCourierPayDriverRate.getRateSheetsByCourierOrgId()
36
36
  */
37
- getRateSheetsByCourierOrgId(requestOptions?: OortCourierPayDriverRateSheets.RequestOptions): Promise<Chrt.CourierPayDriverRateSheet1[]>;
37
+ getRateSheetsByCourierOrgId(requestOptions?: OortCourierPayDriverRate.RequestOptions): Promise<Chrt.CourierPayDriverRateSheet1[]>;
38
38
  /**
39
39
  * Get a rate sheet by driver ID, courier org id from JWT
40
40
  *
41
41
  * @param {string} driverId
42
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
42
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
43
43
  *
44
44
  * @throws {@link Chrt.UnprocessableEntityError}
45
45
  *
46
46
  * @example
47
- * await client.oortCourierPayDriverRateSheets.getRateSheetByDriverId("driver_id")
47
+ * await client.oortCourierPayDriverRate.getRateSheetByDriverId("driver_id")
48
48
  */
49
- getRateSheetByDriverId(driverId: string, requestOptions?: OortCourierPayDriverRateSheets.RequestOptions): Promise<Chrt.CourierPayDriverRateSheet1>;
49
+ getRateSheetByDriverId(driverId: string, requestOptions?: OortCourierPayDriverRate.RequestOptions): Promise<Chrt.CourierPayDriverRateSheet1>;
50
50
  /**
51
51
  * This is for getting a list of all rate sheets by shipper org id from the JWT
52
52
  *
53
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
53
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @example
56
- * await client.oortCourierPayDriverRateSheets.getRateSheetsByShipperOrgId()
56
+ * await client.oortCourierPayDriverRate.getRateSheetsByShipperOrgId()
57
57
  */
58
- getRateSheetsByShipperOrgId(requestOptions?: OortCourierPayDriverRateSheets.RequestOptions): Promise<Chrt.CourierPayDriverRateSheet1[]>;
58
+ getRateSheetsByShipperOrgId(requestOptions?: OortCourierPayDriverRate.RequestOptions): Promise<Chrt.CourierPayDriverRateSheet1[]>;
59
59
  /**
60
60
  * This is for creating a rate sheet
61
61
  *
62
62
  * @param {Chrt.CourierPayDriverRateSheetClientCreate1} request
63
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
63
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.oortCourierPayDriverRateSheets.postCreateRateSheet({
68
+ * await client.oortCourierPayDriverRate.postCreateRateSheet({
69
69
  * additional_mileage_rate_usd_per_mile: 1.1,
70
70
  * after_hours: 1.1,
71
71
  * base_mileage_distance_miles: 1.1,
@@ -83,6 +83,6 @@ export declare class OortCourierPayDriverRateSheets {
83
83
  * weekend: 1.1
84
84
  * })
85
85
  */
86
- postCreateRateSheet(request: Chrt.CourierPayDriverRateSheetClientCreate1, requestOptions?: OortCourierPayDriverRateSheets.RequestOptions): Promise<string>;
86
+ postCreateRateSheet(request: Chrt.CourierPayDriverRateSheetClientCreate1, requestOptions?: OortCourierPayDriverRate.RequestOptions): Promise<string>;
87
87
  protected _getAuthorizationHeader(): Promise<string | undefined>;
88
88
  }
@@ -48,31 +48,31 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
48
48
  return (mod && mod.__esModule) ? mod : { "default": mod };
49
49
  };
50
50
  Object.defineProperty(exports, "__esModule", { value: true });
51
- exports.OortCourierPayDriverRateSheets = void 0;
51
+ exports.OortCourierPayDriverRate = void 0;
52
52
  const environments = __importStar(require("../../../../environments"));
53
53
  const core = __importStar(require("../../../../core"));
54
54
  const Chrt = __importStar(require("../../../index"));
55
55
  const url_join_1 = __importDefault(require("url-join"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
- class OortCourierPayDriverRateSheets {
57
+ class OortCourierPayDriverRate {
58
58
  constructor(_options = {}) {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
62
62
  * This is for getting a list of all rate sheets by courier org id from the JWT
63
63
  *
64
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
64
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
65
65
  *
66
66
  * @example
67
- * await client.oortCourierPayDriverRateSheets.getRateSheetsByCourierOrgId()
67
+ * await client.oortCourierPayDriverRate.getRateSheetsByCourierOrgId()
68
68
  */
69
69
  getRateSheetsByCourierOrgId(requestOptions) {
70
70
  return __awaiter(this, void 0, void 0, function* () {
71
71
  var _a, _b, _c;
72
72
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
73
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "oort/courier_pay_driver_rate_sheets/by_courier_org_id"),
73
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_rate_sheets/by_courier_org_id"),
74
74
  method: "GET",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -107,20 +107,20 @@ class OortCourierPayDriverRateSheets {
107
107
  * Get a rate sheet by driver ID, courier org id from JWT
108
108
  *
109
109
  * @param {string} driverId
110
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
110
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
111
111
  *
112
112
  * @throws {@link Chrt.UnprocessableEntityError}
113
113
  *
114
114
  * @example
115
- * await client.oortCourierPayDriverRateSheets.getRateSheetByDriverId("driver_id")
115
+ * await client.oortCourierPayDriverRate.getRateSheetByDriverId("driver_id")
116
116
  */
117
117
  getRateSheetByDriverId(driverId, requestOptions) {
118
118
  return __awaiter(this, void 0, void 0, function* () {
119
119
  var _a, _b, _c;
120
120
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
121
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, `oort/courier_pay_driver_rate_sheets/by_driver_id/${encodeURIComponent(driverId)}`),
121
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_rate_sheets/by_driver_id/${encodeURIComponent(driverId)}`),
122
122
  method: "GET",
123
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
123
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
124
124
  contentType: "application/json",
125
125
  requestType: "json",
126
126
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -159,18 +159,18 @@ class OortCourierPayDriverRateSheets {
159
159
  /**
160
160
  * This is for getting a list of all rate sheets by shipper org id from the JWT
161
161
  *
162
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
162
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
163
163
  *
164
164
  * @example
165
- * await client.oortCourierPayDriverRateSheets.getRateSheetsByShipperOrgId()
165
+ * await client.oortCourierPayDriverRate.getRateSheetsByShipperOrgId()
166
166
  */
167
167
  getRateSheetsByShipperOrgId(requestOptions) {
168
168
  return __awaiter(this, void 0, void 0, function* () {
169
169
  var _a, _b, _c;
170
170
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
171
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "oort/courier_pay_driver_rate_sheets/by_shipper_org_id"),
171
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_rate_sheets/by_shipper_org_id"),
172
172
  method: "GET",
173
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
173
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
174
174
  contentType: "application/json",
175
175
  requestType: "json",
176
176
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -205,12 +205,12 @@ class OortCourierPayDriverRateSheets {
205
205
  * This is for creating a rate sheet
206
206
  *
207
207
  * @param {Chrt.CourierPayDriverRateSheetClientCreate1} request
208
- * @param {OortCourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
208
+ * @param {OortCourierPayDriverRate.RequestOptions} requestOptions - Request-specific configuration.
209
209
  *
210
210
  * @throws {@link Chrt.UnprocessableEntityError}
211
211
  *
212
212
  * @example
213
- * await client.oortCourierPayDriverRateSheets.postCreateRateSheet({
213
+ * await client.oortCourierPayDriverRate.postCreateRateSheet({
214
214
  * additional_mileage_rate_usd_per_mile: 1.1,
215
215
  * after_hours: 1.1,
216
216
  * base_mileage_distance_miles: 1.1,
@@ -232,9 +232,9 @@ class OortCourierPayDriverRateSheets {
232
232
  return __awaiter(this, void 0, void 0, function* () {
233
233
  var _a, _b, _c;
234
234
  const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
235
- url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Default, "oort/courier_pay_driver_rate_sheets/create"),
235
+ url: (0, url_join_1.default)((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_rate_sheets/create"),
236
236
  method: "POST",
237
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.2", "User-Agent": "@chrt-inc/typescript-sdk/0.0.2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
237
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk", "X-Fern-SDK-Version": "0.0.160", "User-Agent": "@chrt-inc/typescript-sdk/0.0.160", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
238
  contentType: "application/json",
239
239
  requestType: "json",
240
240
  body: request,
@@ -281,4 +281,4 @@ class OortCourierPayDriverRateSheets {
281
281
  });
282
282
  }
283
283
  }
284
- exports.OortCourierPayDriverRateSheets = OortCourierPayDriverRateSheets;
284
+ exports.OortCourierPayDriverRate = OortCourierPayDriverRate;