@chrt-inc/typescript-sdk 1.1016.0 → 1.1019.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.
Files changed (30) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.ts +1 -8
  3. package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.js +0 -8
  4. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +1 -0
  5. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +10 -1
  6. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  7. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.ts +2 -9
  8. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.js +0 -9
  9. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.ts +8 -0
  10. package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.js +10 -0
  11. package/dist/cjs/api/types/index.d.ts +1 -0
  12. package/dist/cjs/api/types/index.js +1 -0
  13. package/dist/cjs/version.d.ts +1 -1
  14. package/dist/cjs/version.js +1 -1
  15. package/dist/esm/Client.mjs +2 -2
  16. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.mts +1 -8
  17. package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.mjs +1 -7
  18. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +1 -0
  19. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +10 -1
  20. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  21. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.mts +2 -9
  22. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.mjs +1 -8
  23. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.mts +8 -0
  24. package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.mjs +7 -0
  25. package/dist/esm/api/types/index.d.mts +1 -0
  26. package/dist/esm/api/types/index.mjs +1 -0
  27. package/dist/esm/version.d.mts +1 -1
  28. package/dist/esm/version.mjs +1 -1
  29. package/package.json +1 -1
  30. package/reference.md +1 -0
@@ -62,8 +62,8 @@ class ChrtClient {
62
62
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
65
- "X-Fern-SDK-Version": "1.1016.0",
66
- "User-Agent": "@chrt-inc/typescript-sdk/1.1016.0",
65
+ "X-Fern-SDK-Version": "1.1019.0",
66
+ "User-Agent": "@chrt-inc/typescript-sdk/1.1019.0",
67
67
  "X-Fern-Runtime": core.RUNTIME.type,
68
68
  "X-Fern-Runtime-Version": core.RUNTIME.version,
69
69
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -8,13 +8,6 @@ import * as Chrt from "../../../../../../index.js";
8
8
  */
9
9
  export interface CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq {
10
10
  airline_response?: string;
11
- fwb_status?: CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.FwbStatus | null;
11
+ fwb_status?: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum | null;
12
12
  houses?: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse[];
13
13
  }
14
- export declare namespace CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq {
15
- type FwbStatus = "accepted" | "rejected";
16
- const FwbStatus: {
17
- readonly Accepted: "accepted";
18
- readonly Rejected: "rejected";
19
- };
20
- }
@@ -3,11 +3,3 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq = void 0;
7
- var CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq;
8
- (function (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq) {
9
- CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.FwbStatus = {
10
- Accepted: "accepted",
11
- Rejected: "rejected",
12
- };
13
- })(CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq || (exports.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq = CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq = {}));
@@ -128,6 +128,7 @@ export declare class Expanded {
128
128
  * page_size: 1,
129
129
  * search: "search",
130
130
  * filter_task_group_ids: ["filter_task_group_ids"],
131
+ * filter_order_ids: ["filter_order_ids"],
131
132
  * filter_status: ["draft"],
132
133
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
133
134
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -433,6 +433,7 @@ class Expanded {
433
433
  * page_size: 1,
434
434
  * search: "search",
435
435
  * filter_task_group_ids: ["filter_task_group_ids"],
436
+ * filter_order_ids: ["filter_order_ids"],
436
437
  * filter_status: ["draft"],
437
438
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
438
439
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -461,7 +462,7 @@ class Expanded {
461
462
  __listForProviderOperatorsV1(request, requestOptions) {
462
463
  return __awaiter(this, void 0, void 0, function* () {
463
464
  var _a, _b, _c, _d, _e, _f;
464
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_task_group_ids: filterTaskGroupIds, 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_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, 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_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
465
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_task_group_ids: filterTaskGroupIds, filter_order_ids: filterOrderIds, 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_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, 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_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
465
466
  const _queryParams = {};
466
467
  if (providerRole !== undefined) {
467
468
  _queryParams["provider_role"] = providerRole;
@@ -489,6 +490,14 @@ class Expanded {
489
490
  _queryParams["filter_task_group_ids"] = filterTaskGroupIds;
490
491
  }
491
492
  }
493
+ if (filterOrderIds !== undefined) {
494
+ if (Array.isArray(filterOrderIds)) {
495
+ _queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
496
+ }
497
+ else {
498
+ _queryParams["filter_order_ids"] = filterOrderIds;
499
+ }
500
+ }
492
501
  if (filterStatus !== undefined) {
493
502
  if (Array.isArray(filterStatus)) {
494
503
  _queryParams["filter_status"] = filterStatus.map((item) => item);
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../../../index.js";
12
12
  * page_size: 1,
13
13
  * search: "search",
14
14
  * filter_task_group_ids: ["filter_task_group_ids"],
15
+ * filter_order_ids: ["filter_order_ids"],
15
16
  * filter_status: ["draft"],
16
17
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
17
18
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -45,6 +46,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
45
46
  search?: string | null;
46
47
  /** Filter by selected task group ids */
47
48
  filter_task_group_ids?: (string | null) | (string | null)[];
49
+ /** Filter by selected order ids */
50
+ filter_order_ids?: (string | null) | (string | null)[];
48
51
  filter_status?: (Chrt.TaskGroupStatusEnum1 | null) | (Chrt.TaskGroupStatusEnum1 | null)[];
49
52
  filter_draft_started_at_timestamp_lte?: string | null;
50
53
  filter_draft_started_at_timestamp_gte?: string | null;
@@ -1,15 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.js";
4
5
  export interface CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse {
5
6
  cargo_on_flight_house_air_waybill_id: string;
6
- status: CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.Status;
7
- }
8
- export declare namespace CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse {
9
- type Status = "succeeded" | "failed" | "no_matching_charges";
10
- const Status: {
11
- readonly Succeeded: "succeeded";
12
- readonly Failed: "failed";
13
- readonly NoMatchingCharges: "no_matching_charges";
14
- };
7
+ status: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum;
15
8
  }
@@ -3,12 +3,3 @@
3
3
  * This file was auto-generated by Fern from our API Definition.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse = void 0;
7
- var CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse;
8
- (function (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse) {
9
- CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.Status = {
10
- Succeeded: "succeeded",
11
- Failed: "failed",
12
- NoMatchingCharges: "no_matching_charges",
13
- };
14
- })(CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse || (exports.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse = CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse = {}));
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum = "accepted" | "rejected";
5
+ export declare const CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum: {
6
+ readonly Accepted: "accepted";
7
+ readonly Rejected: "rejected";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum = void 0;
7
+ exports.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum = {
8
+ Accepted: "accepted",
9
+ Rejected: "rejected",
10
+ };
@@ -146,6 +146,7 @@ export * from "./CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.js";
146
146
  export * from "./CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.js";
147
147
  export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.js";
148
148
  export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.js";
149
+ export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.js";
149
150
  export * from "./CargoOnFlightIntegrationsCargoAiWebhookRes.js";
150
151
  export * from "./CargoOnFlightTaskActionEnum1.js";
151
152
  export * from "./CargoStatusEnum1.js";
@@ -162,6 +162,7 @@ __exportStar(require("./CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes
162
162
  __exportStar(require("./CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.js"), exports);
163
163
  __exportStar(require("./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.js"), exports);
164
164
  __exportStar(require("./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.js"), exports);
165
+ __exportStar(require("./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.js"), exports);
165
166
  __exportStar(require("./CargoOnFlightIntegrationsCargoAiWebhookRes.js"), exports);
166
167
  __exportStar(require("./CargoOnFlightTaskActionEnum1.js"), exports);
167
168
  __exportStar(require("./CargoStatusEnum1.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1016.0";
1
+ export declare const SDK_VERSION = "1.1019.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.1016.0";
4
+ exports.SDK_VERSION = "1.1019.0";
@@ -26,8 +26,8 @@ export class ChrtClient {
26
26
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
27
27
  "X-Fern-Language": "JavaScript",
28
28
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
29
- "X-Fern-SDK-Version": "1.1016.0",
30
- "User-Agent": "@chrt-inc/typescript-sdk/1.1016.0",
29
+ "X-Fern-SDK-Version": "1.1019.0",
30
+ "User-Agent": "@chrt-inc/typescript-sdk/1.1019.0",
31
31
  "X-Fern-Runtime": core.RUNTIME.type,
32
32
  "X-Fern-Runtime-Version": core.RUNTIME.version,
33
33
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -8,13 +8,6 @@ import * as Chrt from "../../../../../../index.mjs";
8
8
  */
9
9
  export interface CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq {
10
10
  airline_response?: string;
11
- fwb_status?: CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.FwbStatus | null;
11
+ fwb_status?: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum | null;
12
12
  houses?: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse[];
13
13
  }
14
- export declare namespace CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq {
15
- type FwbStatus = "accepted" | "rejected";
16
- const FwbStatus: {
17
- readonly Accepted: "accepted";
18
- readonly Rejected: "rejected";
19
- };
20
- }
@@ -1,10 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export var CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq;
5
- (function (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq) {
6
- CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.FwbStatus = {
7
- Accepted: "accepted",
8
- Rejected: "rejected",
9
- };
10
- })(CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq || (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq = {}));
4
+ export {};
@@ -128,6 +128,7 @@ export declare class Expanded {
128
128
  * page_size: 1,
129
129
  * search: "search",
130
130
  * filter_task_group_ids: ["filter_task_group_ids"],
131
+ * filter_order_ids: ["filter_order_ids"],
131
132
  * filter_status: ["draft"],
132
133
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
133
134
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -397,6 +397,7 @@ export class Expanded {
397
397
  * page_size: 1,
398
398
  * search: "search",
399
399
  * filter_task_group_ids: ["filter_task_group_ids"],
400
+ * filter_order_ids: ["filter_order_ids"],
400
401
  * filter_status: ["draft"],
401
402
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
402
403
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -425,7 +426,7 @@ export class Expanded {
425
426
  __listForProviderOperatorsV1(request, requestOptions) {
426
427
  return __awaiter(this, void 0, void 0, function* () {
427
428
  var _a, _b, _c, _d, _e, _f;
428
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_task_group_ids: filterTaskGroupIds, 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_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, 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_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
429
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_task_group_ids: filterTaskGroupIds, filter_order_ids: filterOrderIds, 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_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, 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_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
429
430
  const _queryParams = {};
430
431
  if (providerRole !== undefined) {
431
432
  _queryParams["provider_role"] = providerRole;
@@ -453,6 +454,14 @@ export class Expanded {
453
454
  _queryParams["filter_task_group_ids"] = filterTaskGroupIds;
454
455
  }
455
456
  }
457
+ if (filterOrderIds !== undefined) {
458
+ if (Array.isArray(filterOrderIds)) {
459
+ _queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
460
+ }
461
+ else {
462
+ _queryParams["filter_order_ids"] = filterOrderIds;
463
+ }
464
+ }
456
465
  if (filterStatus !== undefined) {
457
466
  if (Array.isArray(filterStatus)) {
458
467
  _queryParams["filter_status"] = filterStatus.map((item) => item);
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
12
12
  * page_size: 1,
13
13
  * search: "search",
14
14
  * filter_task_group_ids: ["filter_task_group_ids"],
15
+ * filter_order_ids: ["filter_order_ids"],
15
16
  * filter_status: ["draft"],
16
17
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
17
18
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -45,6 +46,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
45
46
  search?: string | null;
46
47
  /** Filter by selected task group ids */
47
48
  filter_task_group_ids?: (string | null) | (string | null)[];
49
+ /** Filter by selected order ids */
50
+ filter_order_ids?: (string | null) | (string | null)[];
48
51
  filter_status?: (Chrt.TaskGroupStatusEnum1 | null) | (Chrt.TaskGroupStatusEnum1 | null)[];
49
52
  filter_draft_started_at_timestamp_lte?: string | null;
50
53
  filter_draft_started_at_timestamp_gte?: string | null;
@@ -1,15 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.mjs";
4
5
  export interface CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse {
5
6
  cargo_on_flight_house_air_waybill_id: string;
6
- status: CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.Status;
7
- }
8
- export declare namespace CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse {
9
- type Status = "succeeded" | "failed" | "no_matching_charges";
10
- const Status: {
11
- readonly Succeeded: "succeeded";
12
- readonly Failed: "failed";
13
- readonly NoMatchingCharges: "no_matching_charges";
14
- };
7
+ status: Chrt.CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum;
15
8
  }
@@ -1,11 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export var CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse;
5
- (function (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse) {
6
- CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.Status = {
7
- Succeeded: "succeeded",
8
- Failed: "failed",
9
- NoMatchingCharges: "no_matching_charges",
10
- };
11
- })(CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse || (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse = {}));
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum = "accepted" | "rejected";
5
+ export declare const CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum: {
6
+ readonly Accepted: "accepted";
7
+ readonly Rejected: "rejected";
8
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum = {
5
+ Accepted: "accepted",
6
+ Rejected: "rejected",
7
+ };
@@ -146,6 +146,7 @@ export * from "./CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.mjs";
146
146
  export * from "./CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.mjs";
147
147
  export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.mjs";
148
148
  export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.mjs";
149
+ export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.mjs";
149
150
  export * from "./CargoOnFlightIntegrationsCargoAiWebhookRes.mjs";
150
151
  export * from "./CargoOnFlightTaskActionEnum1.mjs";
151
152
  export * from "./CargoStatusEnum1.mjs";
@@ -146,6 +146,7 @@ export * from "./CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.mjs";
146
146
  export * from "./CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.mjs";
147
147
  export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.mjs";
148
148
  export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.mjs";
149
+ export * from "./CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.mjs";
149
150
  export * from "./CargoOnFlightIntegrationsCargoAiWebhookRes.mjs";
150
151
  export * from "./CargoOnFlightTaskActionEnum1.mjs";
151
152
  export * from "./CargoStatusEnum1.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1016.0";
1
+ export declare const SDK_VERSION = "1.1019.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1016.0";
1
+ export const SDK_VERSION = "1.1019.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.1016.0",
3
+ "version": "1.1019.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -27515,6 +27515,7 @@ await client.shipping.taskGroups.expanded.listForProviderOperatorsV1({
27515
27515
  page_size: 1,
27516
27516
  search: "search",
27517
27517
  filter_task_group_ids: ["filter_task_group_ids"],
27518
+ filter_order_ids: ["filter_order_ids"],
27518
27519
  filter_status: ["draft"],
27519
27520
  filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
27520
27521
  filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",