@chrt-inc/typescript-sdk 1.866.0 → 1.869.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.866.0",
61
- "User-Agent": "@chrt-inc/typescript-sdk/1.866.0",
60
+ "X-Fern-SDK-Version": "1.869.0",
61
+ "User-Agent": "@chrt-inc/typescript-sdk/1.869.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) });
@@ -116,6 +116,8 @@ export declare class Expanded {
116
116
  * filter_executor_org_id: "filter_executor_org_id",
117
117
  * filter_shipper_org_id: "filter_shipper_org_id",
118
118
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
119
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
120
+ * filter_coordinator_label: "filter_coordinator_label",
119
121
  * body: {}
120
122
  * })
121
123
  */
@@ -188,6 +190,8 @@ export declare class Expanded {
188
190
  * filter_coordinator_org_id: "filter_coordinator_org_id",
189
191
  * filter_shipper_org_id: "filter_shipper_org_id",
190
192
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
193
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
194
+ * filter_coordinator_label: "filter_coordinator_label",
191
195
  * body: {}
192
196
  * })
193
197
  */
@@ -337,6 +337,8 @@ class Expanded {
337
337
  * filter_executor_org_id: "filter_executor_org_id",
338
338
  * filter_shipper_org_id: "filter_shipper_org_id",
339
339
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
340
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
341
+ * filter_coordinator_label: "filter_coordinator_label",
340
342
  * body: {}
341
343
  * })
342
344
  */
@@ -346,7 +348,7 @@ class Expanded {
346
348
  __listForCoordinatorOperatorsV1(request, requestOptions) {
347
349
  return __awaiter(this, void 0, void 0, function* () {
348
350
  var _a, _b, _c, _d, _e, _f;
349
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
351
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
350
352
  const _queryParams = {};
351
353
  if (sortBy !== undefined) {
352
354
  _queryParams["sort_by"] = sortBy;
@@ -416,6 +418,20 @@ class Expanded {
416
418
  if (filterOffChrtShipperOrgId !== undefined) {
417
419
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
418
420
  }
421
+ if (filterCoordinatorDepartmentId !== undefined) {
422
+ _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
423
+ }
424
+ if (filterCoordinatorAssignedUserIds !== undefined) {
425
+ if (Array.isArray(filterCoordinatorAssignedUserIds)) {
426
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds.map((item) => item);
427
+ }
428
+ else {
429
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
430
+ }
431
+ }
432
+ if (filterCoordinatorLabel !== undefined) {
433
+ _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
434
+ }
419
435
  let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
420
436
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
421
437
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
@@ -653,6 +669,8 @@ class Expanded {
653
669
  * filter_coordinator_org_id: "filter_coordinator_org_id",
654
670
  * filter_shipper_org_id: "filter_shipper_org_id",
655
671
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
672
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
673
+ * filter_coordinator_label: "filter_coordinator_label",
656
674
  * body: {}
657
675
  * })
658
676
  */
@@ -662,7 +680,7 @@ class Expanded {
662
680
  __listForProviderOperatorsV1(request, requestOptions) {
663
681
  return __awaiter(this, void 0, void 0, function* () {
664
682
  var _a, _b, _c, _d, _e, _f;
665
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
683
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
666
684
  const _queryParams = {};
667
685
  if (providerRole !== undefined) {
668
686
  _queryParams["provider_role"] = providerRole;
@@ -738,6 +756,20 @@ class Expanded {
738
756
  if (filterOffChrtShipperOrgId !== undefined) {
739
757
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
740
758
  }
759
+ if (filterCoordinatorDepartmentId !== undefined) {
760
+ _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
761
+ }
762
+ if (filterCoordinatorAssignedUserIds !== undefined) {
763
+ if (Array.isArray(filterCoordinatorAssignedUserIds)) {
764
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds.map((item) => item);
765
+ }
766
+ else {
767
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
768
+ }
769
+ }
770
+ if (filterCoordinatorLabel !== undefined) {
771
+ _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
772
+ }
741
773
  let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
742
774
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
743
775
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_provider_operators/v1"),
@@ -25,6 +25,8 @@ import * as Chrt from "../../../../../../../../index.js";
25
25
  * filter_executor_org_id: "filter_executor_org_id",
26
26
  * filter_shipper_org_id: "filter_shipper_org_id",
27
27
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
28
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
29
+ * filter_coordinator_label: "filter_coordinator_label",
28
30
  * body: {}
29
31
  * }
30
32
  */
@@ -52,5 +54,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
52
54
  filter_executor_org_id?: string | null;
53
55
  filter_shipper_org_id?: string | null;
54
56
  filter_off_chrt_shipper_org_id?: string | null;
57
+ filter_coordinator_department_id?: string | null;
58
+ filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
59
+ filter_coordinator_label?: string | null;
55
60
  body: Chrt.OrderAndTaskGroupExpandedReq;
56
61
  }
@@ -27,6 +27,8 @@ import * as Chrt from "../../../../../../../../index.js";
27
27
  * filter_coordinator_org_id: "filter_coordinator_org_id",
28
28
  * filter_shipper_org_id: "filter_shipper_org_id",
29
29
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
30
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
31
+ * filter_coordinator_label: "filter_coordinator_label",
30
32
  * body: {}
31
33
  * }
32
34
  */
@@ -56,5 +58,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
56
58
  filter_coordinator_org_id?: string | null;
57
59
  filter_shipper_org_id?: string | null;
58
60
  filter_off_chrt_shipper_org_id?: string | null;
61
+ filter_coordinator_department_id?: string | null;
62
+ filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
63
+ filter_coordinator_label?: string | null;
59
64
  body: Chrt.OrderAndTaskGroupExpandedReq;
60
65
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.866.0";
1
+ export declare const SDK_VERSION = "1.869.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.866.0";
4
+ exports.SDK_VERSION = "1.869.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.866.0",
25
- "User-Agent": "@chrt-inc/typescript-sdk/1.866.0",
24
+ "X-Fern-SDK-Version": "1.869.0",
25
+ "User-Agent": "@chrt-inc/typescript-sdk/1.869.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) });
@@ -116,6 +116,8 @@ export declare class Expanded {
116
116
  * filter_executor_org_id: "filter_executor_org_id",
117
117
  * filter_shipper_org_id: "filter_shipper_org_id",
118
118
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
119
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
120
+ * filter_coordinator_label: "filter_coordinator_label",
119
121
  * body: {}
120
122
  * })
121
123
  */
@@ -188,6 +190,8 @@ export declare class Expanded {
188
190
  * filter_coordinator_org_id: "filter_coordinator_org_id",
189
191
  * filter_shipper_org_id: "filter_shipper_org_id",
190
192
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
193
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
194
+ * filter_coordinator_label: "filter_coordinator_label",
191
195
  * body: {}
192
196
  * })
193
197
  */
@@ -301,6 +301,8 @@ export class Expanded {
301
301
  * filter_executor_org_id: "filter_executor_org_id",
302
302
  * filter_shipper_org_id: "filter_shipper_org_id",
303
303
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
304
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
305
+ * filter_coordinator_label: "filter_coordinator_label",
304
306
  * body: {}
305
307
  * })
306
308
  */
@@ -310,7 +312,7 @@ export class Expanded {
310
312
  __listForCoordinatorOperatorsV1(request, requestOptions) {
311
313
  return __awaiter(this, void 0, void 0, function* () {
312
314
  var _a, _b, _c, _d, _e, _f;
313
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
315
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
314
316
  const _queryParams = {};
315
317
  if (sortBy !== undefined) {
316
318
  _queryParams["sort_by"] = sortBy;
@@ -380,6 +382,20 @@ export class Expanded {
380
382
  if (filterOffChrtShipperOrgId !== undefined) {
381
383
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
382
384
  }
385
+ if (filterCoordinatorDepartmentId !== undefined) {
386
+ _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
387
+ }
388
+ if (filterCoordinatorAssignedUserIds !== undefined) {
389
+ if (Array.isArray(filterCoordinatorAssignedUserIds)) {
390
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds.map((item) => item);
391
+ }
392
+ else {
393
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
394
+ }
395
+ }
396
+ if (filterCoordinatorLabel !== undefined) {
397
+ _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
398
+ }
383
399
  let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
384
400
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
385
401
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
@@ -617,6 +633,8 @@ export class Expanded {
617
633
  * filter_coordinator_org_id: "filter_coordinator_org_id",
618
634
  * filter_shipper_org_id: "filter_shipper_org_id",
619
635
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
636
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
637
+ * filter_coordinator_label: "filter_coordinator_label",
620
638
  * body: {}
621
639
  * })
622
640
  */
@@ -626,7 +644,7 @@ export class Expanded {
626
644
  __listForProviderOperatorsV1(request, requestOptions) {
627
645
  return __awaiter(this, void 0, void 0, function* () {
628
646
  var _a, _b, _c, _d, _e, _f;
629
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
647
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
630
648
  const _queryParams = {};
631
649
  if (providerRole !== undefined) {
632
650
  _queryParams["provider_role"] = providerRole;
@@ -702,6 +720,20 @@ export class Expanded {
702
720
  if (filterOffChrtShipperOrgId !== undefined) {
703
721
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
704
722
  }
723
+ if (filterCoordinatorDepartmentId !== undefined) {
724
+ _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
725
+ }
726
+ if (filterCoordinatorAssignedUserIds !== undefined) {
727
+ if (Array.isArray(filterCoordinatorAssignedUserIds)) {
728
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds.map((item) => item);
729
+ }
730
+ else {
731
+ _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
732
+ }
733
+ }
734
+ if (filterCoordinatorLabel !== undefined) {
735
+ _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
736
+ }
705
737
  let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
706
738
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
707
739
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_provider_operators/v1"),
@@ -25,6 +25,8 @@ import * as Chrt from "../../../../../../../../index.mjs";
25
25
  * filter_executor_org_id: "filter_executor_org_id",
26
26
  * filter_shipper_org_id: "filter_shipper_org_id",
27
27
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
28
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
29
+ * filter_coordinator_label: "filter_coordinator_label",
28
30
  * body: {}
29
31
  * }
30
32
  */
@@ -52,5 +54,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
52
54
  filter_executor_org_id?: string | null;
53
55
  filter_shipper_org_id?: string | null;
54
56
  filter_off_chrt_shipper_org_id?: string | null;
57
+ filter_coordinator_department_id?: string | null;
58
+ filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
59
+ filter_coordinator_label?: string | null;
55
60
  body: Chrt.OrderAndTaskGroupExpandedReq;
56
61
  }
@@ -27,6 +27,8 @@ import * as Chrt from "../../../../../../../../index.mjs";
27
27
  * filter_coordinator_org_id: "filter_coordinator_org_id",
28
28
  * filter_shipper_org_id: "filter_shipper_org_id",
29
29
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
30
+ * filter_coordinator_department_id: "filter_coordinator_department_id",
31
+ * filter_coordinator_label: "filter_coordinator_label",
30
32
  * body: {}
31
33
  * }
32
34
  */
@@ -56,5 +58,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
56
58
  filter_coordinator_org_id?: string | null;
57
59
  filter_shipper_org_id?: string | null;
58
60
  filter_off_chrt_shipper_org_id?: string | null;
61
+ filter_coordinator_department_id?: string | null;
62
+ filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
63
+ filter_coordinator_label?: string | null;
59
64
  body: Chrt.OrderAndTaskGroupExpandedReq;
60
65
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.866.0";
1
+ export declare const SDK_VERSION = "1.869.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.866.0";
1
+ export const SDK_VERSION = "1.869.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.866.0",
3
+ "version": "1.869.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -25716,6 +25716,8 @@ await client.shipping.orders.expanded.listForCoordinatorOperatorsV1({
25716
25716
  filter_executor_org_id: "filter_executor_org_id",
25717
25717
  filter_shipper_org_id: "filter_shipper_org_id",
25718
25718
  filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
25719
+ filter_coordinator_department_id: "filter_coordinator_department_id",
25720
+ filter_coordinator_label: "filter_coordinator_label",
25719
25721
  body: {},
25720
25722
  });
25721
25723
  ```
@@ -25888,6 +25890,8 @@ await client.shipping.orders.expanded.listForProviderOperatorsV1({
25888
25890
  filter_coordinator_org_id: "filter_coordinator_org_id",
25889
25891
  filter_shipper_org_id: "filter_shipper_org_id",
25890
25892
  filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
25893
+ filter_coordinator_department_id: "filter_coordinator_department_id",
25894
+ filter_coordinator_label: "filter_coordinator_label",
25891
25895
  body: {},
25892
25896
  });
25893
25897
  ```