@chrt-inc/typescript-sdk 1.842.0 → 1.847.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,8 +57,8 @@ class ChrtClient {
57
57
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
58
58
  "X-Fern-Language": "JavaScript",
59
59
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
60
- "X-Fern-SDK-Version": "1.842.0",
61
- "User-Agent": "@chrt-inc/typescript-sdk/1.842.0",
60
+ "X-Fern-SDK-Version": "1.847.0",
61
+ "User-Agent": "@chrt-inc/typescript-sdk/1.847.0",
62
62
  "X-Fern-Runtime": core.RUNTIME.type,
63
63
  "X-Fern-Runtime-Version": core.RUNTIME.version,
64
64
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -73,10 +73,21 @@ export declare class OrderTemplates {
73
73
  * search: "search",
74
74
  * filter_archived: true,
75
75
  * filter_owned_by_user_id: "filter_owned_by_user_id",
76
+ * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
77
+ * filter_shipper_org_id: "filter_shipper_org_id",
78
+ * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
79
+ * filter_coordinator_org_id: "filter_coordinator_org_id",
80
+ * filter_department_id: "filter_department_id",
81
+ * filter_case_tag: "filter_case_tag",
82
+ * filter_driver_id: "filter_driver_id",
83
+ * filter_directory_entry_id: "filter_directory_entry_id",
84
+ * filter_task_list_id: "filter_task_list_id",
76
85
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
77
86
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
78
87
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
79
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
88
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
89
+ * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
90
+ * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
80
91
  * })
81
92
  */
82
93
  listV1(request?: Chrt.shipping.OrderTemplatesListV1Request, requestOptions?: OrderTemplates.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateListRes>;
@@ -190,10 +190,21 @@ class OrderTemplates {
190
190
  * search: "search",
191
191
  * filter_archived: true,
192
192
  * filter_owned_by_user_id: "filter_owned_by_user_id",
193
+ * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
194
+ * filter_shipper_org_id: "filter_shipper_org_id",
195
+ * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
196
+ * filter_coordinator_org_id: "filter_coordinator_org_id",
197
+ * filter_department_id: "filter_department_id",
198
+ * filter_case_tag: "filter_case_tag",
199
+ * filter_driver_id: "filter_driver_id",
200
+ * filter_directory_entry_id: "filter_directory_entry_id",
201
+ * filter_task_list_id: "filter_task_list_id",
193
202
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
194
203
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
195
204
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
196
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
205
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
206
+ * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
207
+ * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
197
208
  * })
198
209
  */
199
210
  listV1(request = {}, requestOptions) {
@@ -202,7 +213,7 @@ class OrderTemplates {
202
213
  __listV1() {
203
214
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
204
215
  var _a, _b, _c, _d, _e, _f, _g;
205
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
216
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_case_tag: filterCaseTag, filter_driver_id: filterDriverId, filter_directory_entry_id: filterDirectoryEntryId, filter_task_list_id: filterTaskListId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
206
217
  const _queryParams = {};
207
218
  if (sortBy !== undefined) {
208
219
  _queryParams["sort_by"] = sortBy;
@@ -225,6 +236,33 @@ class OrderTemplates {
225
236
  if (filterOwnedByUserId !== undefined) {
226
237
  _queryParams["filter_owned_by_user_id"] = filterOwnedByUserId;
227
238
  }
239
+ if (filterOffChrtReferenceIdStr !== undefined) {
240
+ _queryParams["filter_off_chrt_reference_id_str"] = filterOffChrtReferenceIdStr;
241
+ }
242
+ if (filterShipperOrgId !== undefined) {
243
+ _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
244
+ }
245
+ if (filterOffChrtShipperOrgId !== undefined) {
246
+ _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
247
+ }
248
+ if (filterCoordinatorOrgId !== undefined) {
249
+ _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
250
+ }
251
+ if (filterDepartmentId !== undefined) {
252
+ _queryParams["filter_department_id"] = filterDepartmentId;
253
+ }
254
+ if (filterCaseTag !== undefined) {
255
+ _queryParams["filter_case_tag"] = filterCaseTag;
256
+ }
257
+ if (filterDriverId !== undefined) {
258
+ _queryParams["filter_driver_id"] = filterDriverId;
259
+ }
260
+ if (filterDirectoryEntryId !== undefined) {
261
+ _queryParams["filter_directory_entry_id"] = filterDirectoryEntryId;
262
+ }
263
+ if (filterTaskListId !== undefined) {
264
+ _queryParams["filter_task_list_id"] = filterTaskListId;
265
+ }
228
266
  if (filterCreatedAtTimestampGte !== undefined) {
229
267
  _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
230
268
  }
@@ -237,6 +275,12 @@ class OrderTemplates {
237
275
  if (filterLastEditedAtTimestampLte !== undefined) {
238
276
  _queryParams["filter_last_edited_at_timestamp_lte"] = filterLastEditedAtTimestampLte;
239
277
  }
278
+ if (filterLastUsedAtTimestampGte !== undefined) {
279
+ _queryParams["filter_last_used_at_timestamp_gte"] = filterLastUsedAtTimestampGte;
280
+ }
281
+ if (filterLastUsedAtTimestampLte !== undefined) {
282
+ _queryParams["filter_last_used_at_timestamp_lte"] = filterLastUsedAtTimestampLte;
283
+ }
240
284
  let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
241
285
  const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
242
286
  url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/order_templates/list/v1"),
@@ -12,10 +12,21 @@ import * as Chrt from "../../../../../../index.js";
12
12
  * search: "search",
13
13
  * filter_archived: true,
14
14
  * filter_owned_by_user_id: "filter_owned_by_user_id",
15
+ * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
16
+ * filter_shipper_org_id: "filter_shipper_org_id",
17
+ * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
18
+ * filter_coordinator_org_id: "filter_coordinator_org_id",
19
+ * filter_department_id: "filter_department_id",
20
+ * filter_case_tag: "filter_case_tag",
21
+ * filter_driver_id: "filter_driver_id",
22
+ * filter_directory_entry_id: "filter_directory_entry_id",
23
+ * filter_task_list_id: "filter_task_list_id",
15
24
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
25
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
17
26
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
18
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
27
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
28
+ * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
29
+ * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
19
30
  * }
20
31
  */
21
32
  export interface OrderTemplatesListV1Request {
@@ -31,6 +42,24 @@ export interface OrderTemplatesListV1Request {
31
42
  filter_archived?: boolean | null;
32
43
  /** Filter by the user who owns the order template. */
33
44
  filter_owned_by_user_id?: string | null;
45
+ /** Filter by the off-CHRT reference ID string. */
46
+ filter_off_chrt_reference_id_str?: string | null;
47
+ /** Filter by on-CHRT shipper org ID. */
48
+ filter_shipper_org_id?: string | null;
49
+ /** Filter by off-CHRT shipper org shell ID. */
50
+ filter_off_chrt_shipper_org_id?: string | null;
51
+ /** Filter by coordinator org ID. */
52
+ filter_coordinator_org_id?: string | null;
53
+ /** Filter by coordinator department ID. */
54
+ filter_department_id?: string | null;
55
+ /** Filter by case tag. */
56
+ filter_case_tag?: string | null;
57
+ /** Filter by driver ID included in the template. */
58
+ filter_driver_id?: string | null;
59
+ /** Filter by directory entry ID included in the template. */
60
+ filter_directory_entry_id?: string | null;
61
+ /** Filter by task list ID included in the template. */
62
+ filter_task_list_id?: string | null;
34
63
  /** Filter created_at_timestamp >= value (inclusive). */
35
64
  filter_created_at_timestamp_gte?: string | null;
36
65
  /** Filter created_at_timestamp <= value (inclusive). */
@@ -39,4 +68,8 @@ export interface OrderTemplatesListV1Request {
39
68
  filter_last_edited_at_timestamp_gte?: string | null;
40
69
  /** Filter last_edited_at_timestamp <= value (inclusive). */
41
70
  filter_last_edited_at_timestamp_lte?: string | null;
71
+ /** Filter last_used_at_timestamp >= value (inclusive). */
72
+ filter_last_used_at_timestamp_gte?: string | null;
73
+ /** Filter last_used_at_timestamp <= value (inclusive). */
74
+ filter_last_used_at_timestamp_lte?: string | null;
42
75
  }
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name";
4
+ export type OrderTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "last_used_at_timestamp" | "name" | "off_chrt_reference_id_str";
5
5
  export declare const OrderTemplateSortByEnum: {
6
6
  readonly CreatedAtTimestamp: "created_at_timestamp";
7
7
  readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
8
+ readonly LastUsedAtTimestamp: "last_used_at_timestamp";
8
9
  readonly Name: "name";
10
+ readonly OffChrtReferenceIdStr: "off_chrt_reference_id_str";
9
11
  };
@@ -7,5 +7,7 @@ exports.OrderTemplateSortByEnum = void 0;
7
7
  exports.OrderTemplateSortByEnum = {
8
8
  CreatedAtTimestamp: "created_at_timestamp",
9
9
  LastEditedAtTimestamp: "last_edited_at_timestamp",
10
+ LastUsedAtTimestamp: "last_used_at_timestamp",
10
11
  Name: "name",
12
+ OffChrtReferenceIdStr: "off_chrt_reference_id_str",
11
13
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.842.0";
1
+ export declare const SDK_VERSION = "1.847.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.842.0";
4
+ exports.SDK_VERSION = "1.847.0";
@@ -21,8 +21,8 @@ export class ChrtClient {
21
21
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
22
22
  "X-Fern-Language": "JavaScript",
23
23
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
24
- "X-Fern-SDK-Version": "1.842.0",
25
- "User-Agent": "@chrt-inc/typescript-sdk/1.842.0",
24
+ "X-Fern-SDK-Version": "1.847.0",
25
+ "User-Agent": "@chrt-inc/typescript-sdk/1.847.0",
26
26
  "X-Fern-Runtime": core.RUNTIME.type,
27
27
  "X-Fern-Runtime-Version": core.RUNTIME.version,
28
28
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -73,10 +73,21 @@ export declare class OrderTemplates {
73
73
  * search: "search",
74
74
  * filter_archived: true,
75
75
  * filter_owned_by_user_id: "filter_owned_by_user_id",
76
+ * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
77
+ * filter_shipper_org_id: "filter_shipper_org_id",
78
+ * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
79
+ * filter_coordinator_org_id: "filter_coordinator_org_id",
80
+ * filter_department_id: "filter_department_id",
81
+ * filter_case_tag: "filter_case_tag",
82
+ * filter_driver_id: "filter_driver_id",
83
+ * filter_directory_entry_id: "filter_directory_entry_id",
84
+ * filter_task_list_id: "filter_task_list_id",
76
85
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
77
86
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
78
87
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
79
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
88
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
89
+ * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
90
+ * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
80
91
  * })
81
92
  */
82
93
  listV1(request?: Chrt.shipping.OrderTemplatesListV1Request, requestOptions?: OrderTemplates.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateListRes>;
@@ -154,10 +154,21 @@ export class OrderTemplates {
154
154
  * search: "search",
155
155
  * filter_archived: true,
156
156
  * filter_owned_by_user_id: "filter_owned_by_user_id",
157
+ * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
158
+ * filter_shipper_org_id: "filter_shipper_org_id",
159
+ * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
160
+ * filter_coordinator_org_id: "filter_coordinator_org_id",
161
+ * filter_department_id: "filter_department_id",
162
+ * filter_case_tag: "filter_case_tag",
163
+ * filter_driver_id: "filter_driver_id",
164
+ * filter_directory_entry_id: "filter_directory_entry_id",
165
+ * filter_task_list_id: "filter_task_list_id",
157
166
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
158
167
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
159
168
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
160
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
169
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
170
+ * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
171
+ * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
161
172
  * })
162
173
  */
163
174
  listV1(request = {}, requestOptions) {
@@ -166,7 +177,7 @@ export class OrderTemplates {
166
177
  __listV1() {
167
178
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
168
179
  var _a, _b, _c, _d, _e, _f, _g;
169
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
180
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_case_tag: filterCaseTag, filter_driver_id: filterDriverId, filter_directory_entry_id: filterDirectoryEntryId, filter_task_list_id: filterTaskListId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
170
181
  const _queryParams = {};
171
182
  if (sortBy !== undefined) {
172
183
  _queryParams["sort_by"] = sortBy;
@@ -189,6 +200,33 @@ export class OrderTemplates {
189
200
  if (filterOwnedByUserId !== undefined) {
190
201
  _queryParams["filter_owned_by_user_id"] = filterOwnedByUserId;
191
202
  }
203
+ if (filterOffChrtReferenceIdStr !== undefined) {
204
+ _queryParams["filter_off_chrt_reference_id_str"] = filterOffChrtReferenceIdStr;
205
+ }
206
+ if (filterShipperOrgId !== undefined) {
207
+ _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
208
+ }
209
+ if (filterOffChrtShipperOrgId !== undefined) {
210
+ _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
211
+ }
212
+ if (filterCoordinatorOrgId !== undefined) {
213
+ _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
214
+ }
215
+ if (filterDepartmentId !== undefined) {
216
+ _queryParams["filter_department_id"] = filterDepartmentId;
217
+ }
218
+ if (filterCaseTag !== undefined) {
219
+ _queryParams["filter_case_tag"] = filterCaseTag;
220
+ }
221
+ if (filterDriverId !== undefined) {
222
+ _queryParams["filter_driver_id"] = filterDriverId;
223
+ }
224
+ if (filterDirectoryEntryId !== undefined) {
225
+ _queryParams["filter_directory_entry_id"] = filterDirectoryEntryId;
226
+ }
227
+ if (filterTaskListId !== undefined) {
228
+ _queryParams["filter_task_list_id"] = filterTaskListId;
229
+ }
192
230
  if (filterCreatedAtTimestampGte !== undefined) {
193
231
  _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
194
232
  }
@@ -201,6 +239,12 @@ export class OrderTemplates {
201
239
  if (filterLastEditedAtTimestampLte !== undefined) {
202
240
  _queryParams["filter_last_edited_at_timestamp_lte"] = filterLastEditedAtTimestampLte;
203
241
  }
242
+ if (filterLastUsedAtTimestampGte !== undefined) {
243
+ _queryParams["filter_last_used_at_timestamp_gte"] = filterLastUsedAtTimestampGte;
244
+ }
245
+ if (filterLastUsedAtTimestampLte !== undefined) {
246
+ _queryParams["filter_last_used_at_timestamp_lte"] = filterLastUsedAtTimestampLte;
247
+ }
204
248
  let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
205
249
  const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
206
250
  url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/order_templates/list/v1"),
@@ -12,10 +12,21 @@ import * as Chrt from "../../../../../../index.mjs";
12
12
  * search: "search",
13
13
  * filter_archived: true,
14
14
  * filter_owned_by_user_id: "filter_owned_by_user_id",
15
+ * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
16
+ * filter_shipper_org_id: "filter_shipper_org_id",
17
+ * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
18
+ * filter_coordinator_org_id: "filter_coordinator_org_id",
19
+ * filter_department_id: "filter_department_id",
20
+ * filter_case_tag: "filter_case_tag",
21
+ * filter_driver_id: "filter_driver_id",
22
+ * filter_directory_entry_id: "filter_directory_entry_id",
23
+ * filter_task_list_id: "filter_task_list_id",
15
24
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
25
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
17
26
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
18
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
27
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
28
+ * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
29
+ * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
19
30
  * }
20
31
  */
21
32
  export interface OrderTemplatesListV1Request {
@@ -31,6 +42,24 @@ export interface OrderTemplatesListV1Request {
31
42
  filter_archived?: boolean | null;
32
43
  /** Filter by the user who owns the order template. */
33
44
  filter_owned_by_user_id?: string | null;
45
+ /** Filter by the off-CHRT reference ID string. */
46
+ filter_off_chrt_reference_id_str?: string | null;
47
+ /** Filter by on-CHRT shipper org ID. */
48
+ filter_shipper_org_id?: string | null;
49
+ /** Filter by off-CHRT shipper org shell ID. */
50
+ filter_off_chrt_shipper_org_id?: string | null;
51
+ /** Filter by coordinator org ID. */
52
+ filter_coordinator_org_id?: string | null;
53
+ /** Filter by coordinator department ID. */
54
+ filter_department_id?: string | null;
55
+ /** Filter by case tag. */
56
+ filter_case_tag?: string | null;
57
+ /** Filter by driver ID included in the template. */
58
+ filter_driver_id?: string | null;
59
+ /** Filter by directory entry ID included in the template. */
60
+ filter_directory_entry_id?: string | null;
61
+ /** Filter by task list ID included in the template. */
62
+ filter_task_list_id?: string | null;
34
63
  /** Filter created_at_timestamp >= value (inclusive). */
35
64
  filter_created_at_timestamp_gte?: string | null;
36
65
  /** Filter created_at_timestamp <= value (inclusive). */
@@ -39,4 +68,8 @@ export interface OrderTemplatesListV1Request {
39
68
  filter_last_edited_at_timestamp_gte?: string | null;
40
69
  /** Filter last_edited_at_timestamp <= value (inclusive). */
41
70
  filter_last_edited_at_timestamp_lte?: string | null;
71
+ /** Filter last_used_at_timestamp >= value (inclusive). */
72
+ filter_last_used_at_timestamp_gte?: string | null;
73
+ /** Filter last_used_at_timestamp <= value (inclusive). */
74
+ filter_last_used_at_timestamp_lte?: string | null;
42
75
  }
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name";
4
+ export type OrderTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "last_used_at_timestamp" | "name" | "off_chrt_reference_id_str";
5
5
  export declare const OrderTemplateSortByEnum: {
6
6
  readonly CreatedAtTimestamp: "created_at_timestamp";
7
7
  readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
8
+ readonly LastUsedAtTimestamp: "last_used_at_timestamp";
8
9
  readonly Name: "name";
10
+ readonly OffChrtReferenceIdStr: "off_chrt_reference_id_str";
9
11
  };
@@ -4,5 +4,7 @@
4
4
  export const OrderTemplateSortByEnum = {
5
5
  CreatedAtTimestamp: "created_at_timestamp",
6
6
  LastEditedAtTimestamp: "last_edited_at_timestamp",
7
+ LastUsedAtTimestamp: "last_used_at_timestamp",
7
8
  Name: "name",
9
+ OffChrtReferenceIdStr: "off_chrt_reference_id_str",
8
10
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.842.0";
1
+ export declare const SDK_VERSION = "1.847.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.842.0";
1
+ export const SDK_VERSION = "1.847.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.842.0",
3
+ "version": "1.847.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -21015,10 +21015,21 @@ await client.shipping.orderTemplates.listV1({
21015
21015
  search: "search",
21016
21016
  filter_archived: true,
21017
21017
  filter_owned_by_user_id: "filter_owned_by_user_id",
21018
+ filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
21019
+ filter_shipper_org_id: "filter_shipper_org_id",
21020
+ filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
21021
+ filter_coordinator_org_id: "filter_coordinator_org_id",
21022
+ filter_department_id: "filter_department_id",
21023
+ filter_case_tag: "filter_case_tag",
21024
+ filter_driver_id: "filter_driver_id",
21025
+ filter_directory_entry_id: "filter_directory_entry_id",
21026
+ filter_task_list_id: "filter_task_list_id",
21018
21027
  filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
21019
21028
  filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
21020
21029
  filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
21021
21030
  filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
21031
+ filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
21032
+ filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z",
21022
21033
  });
21023
21034
  ```
21024
21035