@chrt-inc/typescript-sdk 1.1016.0 → 1.1017.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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.ts +1 -8
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.js +0 -8
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +10 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.ts +2 -9
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.js +0 -9
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.js +10 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.mts +1 -8
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.mjs +1 -7
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +10 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.mts +2 -9
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.mjs +1 -8
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.mjs +7 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -0
package/dist/cjs/Client.js
CHANGED
|
@@ -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.
|
|
66
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
65
|
+
"X-Fern-SDK-Version": "1.1017.0",
|
|
66
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1017.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?:
|
|
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 = {}));
|
package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts
CHANGED
|
@@ -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",
|
package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js
CHANGED
|
@@ -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;
|
package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.ts
CHANGED
|
@@ -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:
|
|
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 = {}));
|
package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.ts
ADDED
|
@@ -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
|
+
};
|
package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.js
ADDED
|
@@ -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);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1017.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
30
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
29
|
+
"X-Fern-SDK-Version": "1.1017.0",
|
|
30
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1017.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?:
|
|
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
|
|
5
|
-
(function (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq) {
|
|
6
|
-
CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.FwbStatus = {
|
|
7
|
-
Accepted: "accepted",
|
|
8
|
-
Rejected: "rejected",
|
|
9
|
-
};
|
|
10
|
-
})(CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq || (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq = {}));
|
|
4
|
+
export {};
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -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",
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs
CHANGED
|
@@ -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;
|
package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.mts
CHANGED
|
@@ -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:
|
|
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
|
|
5
|
-
(function (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse) {
|
|
6
|
-
CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.Status = {
|
|
7
|
-
Succeeded: "succeeded",
|
|
8
|
-
Failed: "failed",
|
|
9
|
-
NoMatchingCharges: "no_matching_charges",
|
|
10
|
-
};
|
|
11
|
-
})(CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse || (CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse = {}));
|
|
4
|
+
export {};
|
package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseStatusEnum.d.mts
ADDED
|
@@ -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
|
+
};
|
|
@@ -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";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1017.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.1017.0";
|
package/package.json
CHANGED
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",
|