@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
package/Client.d.ts CHANGED
@@ -8,7 +8,7 @@ import { Mirror } from "./api/resources/mirror/client/Client";
8
8
  import { Dev } from "./api/resources/dev/client/Client";
9
9
  import { Directory } from "./api/resources/directory/client/Client";
10
10
  import { OortConnections } from "./api/resources/oortConnections/client/Client";
11
- import { OortCourierPayDriverRateSheets } from "./api/resources/oortCourierPayDriverRateSheets/client/Client";
11
+ import { OortCourierPayDriverRate } from "./api/resources/oortCourierPayDriverRate/client/Client";
12
12
  import { OortDrivers } from "./api/resources/oortDrivers/client/Client";
13
13
  import { OortMilestones } from "./api/resources/oortMilestones/client/Client";
14
14
  import { OortNotificationPreferences } from "./api/resources/oortNotificationPreferences/client/Client";
@@ -46,7 +46,7 @@ export declare class ChrtClient {
46
46
  protected _dev: Dev | undefined;
47
47
  protected _directory: Directory | undefined;
48
48
  protected _oortConnections: OortConnections | undefined;
49
- protected _oortCourierPayDriverRateSheets: OortCourierPayDriverRateSheets | undefined;
49
+ protected _oortCourierPayDriverRate: OortCourierPayDriverRate | undefined;
50
50
  protected _oortDrivers: OortDrivers | undefined;
51
51
  protected _oortMilestones: OortMilestones | undefined;
52
52
  protected _oortNotificationPreferences: OortNotificationPreferences | undefined;
@@ -64,7 +64,7 @@ export declare class ChrtClient {
64
64
  get dev(): Dev;
65
65
  get directory(): Directory;
66
66
  get oortConnections(): OortConnections;
67
- get oortCourierPayDriverRateSheets(): OortCourierPayDriverRateSheets;
67
+ get oortCourierPayDriverRate(): OortCourierPayDriverRate;
68
68
  get oortDrivers(): OortDrivers;
69
69
  get oortMilestones(): OortMilestones;
70
70
  get oortNotificationPreferences(): OortNotificationPreferences;
package/Client.js CHANGED
@@ -9,7 +9,7 @@ const Client_2 = require("./api/resources/mirror/client/Client");
9
9
  const Client_3 = require("./api/resources/dev/client/Client");
10
10
  const Client_4 = require("./api/resources/directory/client/Client");
11
11
  const Client_5 = require("./api/resources/oortConnections/client/Client");
12
- const Client_6 = require("./api/resources/oortCourierPayDriverRateSheets/client/Client");
12
+ const Client_6 = require("./api/resources/oortCourierPayDriverRate/client/Client");
13
13
  const Client_7 = require("./api/resources/oortDrivers/client/Client");
14
14
  const Client_8 = require("./api/resources/oortMilestones/client/Client");
15
15
  const Client_9 = require("./api/resources/oortNotificationPreferences/client/Client");
@@ -45,9 +45,9 @@ class ChrtClient {
45
45
  var _a;
46
46
  return ((_a = this._oortConnections) !== null && _a !== void 0 ? _a : (this._oortConnections = new Client_5.OortConnections(this._options)));
47
47
  }
48
- get oortCourierPayDriverRateSheets() {
48
+ get oortCourierPayDriverRate() {
49
49
  var _a;
50
- return ((_a = this._oortCourierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverRateSheets = new Client_6.OortCourierPayDriverRateSheets(this._options)));
50
+ return ((_a = this._oortCourierPayDriverRate) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverRate = new Client_6.OortCourierPayDriverRate(this._options)));
51
51
  }
52
52
  get oortDrivers() {
53
53
  var _a;
@@ -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
  }