@chrt-inc/typescript-sdk 1.984.0 → 1.992.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/billingNew/resources/orders/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +9 -4
- package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +3 -3
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +7 -7
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +1 -1
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +1 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +6 -2
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +5 -3
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +13 -5
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +38 -5
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +164 -11
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +6 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +6 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.ts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.ts} +5 -2
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/orgs/client/Client.js +11 -2
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +163 -16
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +15 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +10 -5
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +2 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +13 -12
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +23 -19
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/{OrdersUpdateLabelReq.d.ts → OrdersUpdateDepartmentsReq.d.ts} +2 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.js +5 -0
- package/dist/{esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.d.ts} +2 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +25 -10
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +9 -7
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +3 -5
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +5 -7
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.ts +3 -4
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +9 -1
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +6 -0
- package/dist/cjs/api/types/BidThreadForListing1.d.ts +19 -0
- package/dist/cjs/api/types/BidThreadForListing1.js +5 -0
- package/dist/cjs/api/types/BidThreadForListingListRes.d.ts +8 -0
- package/dist/cjs/api/types/BidThreadForListingListRes.js +5 -0
- package/dist/cjs/api/types/Driver1.d.ts +1 -0
- package/dist/cjs/api/types/DriverBiddingGroupListItemRes.d.ts +17 -0
- package/dist/cjs/api/types/DriverBiddingGroupListItemRes.js +5 -0
- package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +1 -1
- package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +1 -0
- package/dist/cjs/api/types/OperationsTask1.d.ts +1 -0
- package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
- package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
- package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -1
- package/dist/cjs/api/types/OperationsTaskTypeEnum.js +1 -0
- package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OperationsTaskTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +2 -2
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +2 -2
- package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +1 -1
- package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +1 -1
- package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -1
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateNew1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateNewCore1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +3 -2
- package/dist/cjs/api/types/OrgBiddingGroupListItemRes.d.ts +17 -0
- package/dist/cjs/api/types/OrgBiddingGroupListItemRes.js +5 -0
- package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +1 -1
- package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +2 -1
- package/dist/cjs/api/types/TaskArtifactTypeEnum1.js +1 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
- package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -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/billingNew/resources/orders/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +9 -4
- package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +3 -3
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +7 -7
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +1 -1
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +1 -1
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +6 -2
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +5 -3
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +13 -5
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.mts +4 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +38 -5
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +164 -11
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +6 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +6 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.mts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.mts} +5 -2
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/orgs/client/Client.mjs +11 -2
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +163 -16
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +15 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +10 -5
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +2 -4
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +13 -12
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +23 -19
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +25 -10
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +9 -7
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +3 -5
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +5 -7
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.mts +3 -4
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +9 -1
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +6 -0
- package/dist/esm/api/types/BidThreadForListing1.d.mts +19 -0
- package/dist/esm/api/types/BidThreadForListing1.mjs +4 -0
- package/dist/esm/api/types/BidThreadForListingListRes.d.mts +8 -0
- package/dist/esm/api/types/BidThreadForListingListRes.mjs +4 -0
- package/dist/esm/api/types/Driver1.d.mts +1 -0
- package/dist/esm/api/types/DriverBiddingGroupListItemRes.d.mts +17 -0
- package/dist/esm/api/types/DriverBiddingGroupListItemRes.mjs +4 -0
- package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +1 -1
- package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +1 -0
- package/dist/esm/api/types/OperationsTask1.d.mts +1 -0
- package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
- package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -1
- package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +1 -0
- package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OperationsTaskTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.d.mts +7 -0
- package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +2 -2
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +2 -2
- package/dist/esm/api/types/OrderBillingExecutor1.d.mts +1 -1
- package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +1 -1
- package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -1
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +2 -2
- package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateNew1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateNewCore1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +3 -2
- package/dist/esm/api/types/OrgBiddingGroupListItemRes.d.mts +17 -0
- package/dist/esm/api/types/OrgBiddingGroupListItemRes.mjs +4 -0
- package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +1 -1
- package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +2 -1
- package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +1 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
- package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +310 -40
- /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.js} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.mjs} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface DriverBiddingGroupListItemRes {
|
|
6
|
+
_id: string;
|
|
7
|
+
created_at_timestamp: string;
|
|
8
|
+
/** Must be a string starting with `user_` */
|
|
9
|
+
created_by_user_id: string;
|
|
10
|
+
driver_ids?: string[];
|
|
11
|
+
drivers?: Chrt.Driver1[];
|
|
12
|
+
group_name: string;
|
|
13
|
+
last_edited_at_timestamp: string;
|
|
14
|
+
/** Must be a string starting with `org_` */
|
|
15
|
+
owner_org_id: string;
|
|
16
|
+
schema_version: number;
|
|
17
|
+
}
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../index.mjs";
|
|
|
11
11
|
export interface DriverWithActiveTaskGroupIds1 {
|
|
12
12
|
_id: string;
|
|
13
13
|
active_task_group_ids?: string[];
|
|
14
|
+
archived_at_timestamp?: string | null;
|
|
14
15
|
auto_assign_enabled?: boolean;
|
|
15
16
|
available_according_to_driver?: boolean;
|
|
16
17
|
available_according_to_operators?: boolean;
|
|
@@ -12,6 +12,7 @@ export interface OperationsTask1 {
|
|
|
12
12
|
deadline_timestamp?: string;
|
|
13
13
|
department_id?: string | null;
|
|
14
14
|
description: string;
|
|
15
|
+
entry_tag?: string | null;
|
|
15
16
|
order_id: string;
|
|
16
17
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
17
18
|
order_off_chrt_reference_id?: string | null;
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* structurally parallel to the Check status model in anticipation of the
|
|
9
9
|
* eventual Task <-> Check merge.
|
|
10
10
|
*/
|
|
11
|
-
export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped" | "cancelled";
|
|
11
|
+
export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "blocked" | "completed" | "skipped" | "cancelled";
|
|
12
12
|
export declare const OperationsTaskStatusEnum: {
|
|
13
13
|
readonly NotStarted: "not_started";
|
|
14
14
|
readonly InProgress: "in_progress";
|
|
15
|
+
readonly Blocked: "blocked";
|
|
15
16
|
readonly Completed: "completed";
|
|
16
17
|
readonly Skipped: "skipped";
|
|
17
18
|
readonly Cancelled: "cancelled";
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
* *channel* (call vs. email) — the recipient is what a dispatcher batches
|
|
16
16
|
* around, and the channel is captured in title/description detail.
|
|
17
17
|
*/
|
|
18
|
-
export type OperationsTaskTypeEnum = "review_order_details" | "flight_check" | "facility_check" | "weather_check" | "book_cargo" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
|
|
18
|
+
export type OperationsTaskTypeEnum = "review_order_details" | "flight_check" | "facility_check" | "weather_check" | "book_cargo" | "customs" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
|
|
19
19
|
export declare const OperationsTaskTypeEnum: {
|
|
20
20
|
readonly ReviewOrderDetails: "review_order_details";
|
|
21
21
|
readonly FlightCheck: "flight_check";
|
|
22
22
|
readonly FacilityCheck: "facility_check";
|
|
23
23
|
readonly WeatherCheck: "weather_check";
|
|
24
24
|
readonly BookCargo: "book_cargo";
|
|
25
|
+
readonly Customs: "customs";
|
|
25
26
|
readonly TrackAndVerify: "track_and_verify";
|
|
26
27
|
readonly ContactCustomer: "contact_customer";
|
|
27
28
|
readonly ContactAgent: "contact_agent";
|
|
@@ -7,6 +7,7 @@ export const OperationsTaskTypeEnum = {
|
|
|
7
7
|
FacilityCheck: "facility_check",
|
|
8
8
|
WeatherCheck: "weather_check",
|
|
9
9
|
BookCargo: "book_cargo",
|
|
10
|
+
Customs: "customs",
|
|
10
11
|
TrackAndVerify: "track_and_verify",
|
|
11
12
|
ContactCustomer: "contact_customer",
|
|
12
13
|
ContactAgent: "contact_agent",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OperationsTasksUpdateDepartmentManyRes {
|
|
5
|
+
/** Matched tasks in the caller's org, including unchanged assignments; missing and other-org tasks are skipped. */
|
|
6
|
+
updated_count: number;
|
|
7
|
+
}
|
|
@@ -8,8 +8,8 @@ export interface Order1 {
|
|
|
8
8
|
cancelled_at_timestamp?: string | null;
|
|
9
9
|
completed_at_timestamp?: string | null;
|
|
10
10
|
coordinator_assigned_user_ids?: string[];
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
coordinator_department_ids?: string[];
|
|
12
|
+
coordinator_labels?: string[];
|
|
13
13
|
/** Must be a string starting with `org_` */
|
|
14
14
|
coordinator_org_id?: string | null;
|
|
15
15
|
coordinator_shipper_account_ids?: string[];
|
|
@@ -5,12 +5,12 @@ export interface OrderAndTaskGroupExpandedReq {
|
|
|
5
5
|
expand_accounts?: boolean;
|
|
6
6
|
expand_cargos?: boolean;
|
|
7
7
|
expand_contacts?: boolean;
|
|
8
|
-
|
|
8
|
+
expand_coordinator_departments?: boolean;
|
|
9
9
|
expand_coordinator_org_company_name?: boolean;
|
|
10
10
|
expand_coordinator_org_handle?: boolean;
|
|
11
11
|
expand_coordinator_task_lists_to_apply_at_order_staging?: boolean;
|
|
12
12
|
expand_driver?: boolean;
|
|
13
|
-
|
|
13
|
+
expand_executor_departments?: boolean;
|
|
14
14
|
expand_executor_org_company_name?: boolean;
|
|
15
15
|
expand_executor_org_handle?: boolean;
|
|
16
16
|
expand_notification_intents_ad_hoc?: boolean;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface OrderBillingExecutor1 {
|
|
5
|
-
|
|
5
|
+
executor_labels?: string[];
|
|
6
6
|
/** Must be a string starting with `org_` */
|
|
7
7
|
executor_org_id?: string | null;
|
|
8
8
|
name?: string | null;
|
|
@@ -6,7 +6,7 @@ export interface OrderBillingExpandedListItem1 {
|
|
|
6
6
|
accounts?: Chrt.OrderBillingAccount1[];
|
|
7
7
|
awb_numbers?: string[];
|
|
8
8
|
billing_periods?: Chrt.OrderBillingPeriod1[];
|
|
9
|
-
|
|
9
|
+
coordinator_labels?: string[];
|
|
10
10
|
executors?: Chrt.OrderBillingExecutor1[];
|
|
11
11
|
includes_air_waybill_invoice_line_item: boolean;
|
|
12
12
|
invoice_count: number;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface OrderExpandedForProvider {
|
|
6
|
-
|
|
6
|
+
coordinator_departments?: Chrt.Department1[];
|
|
7
7
|
coordinator_org_company_name?: string | null;
|
|
8
8
|
/** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
|
|
9
9
|
coordinator_org_handle?: string | null;
|
|
@@ -13,8 +13,8 @@ export interface OrderLimitedForProvider1 {
|
|
|
13
13
|
cancelled_at_timestamp?: string | null;
|
|
14
14
|
completed_at_timestamp?: string | null;
|
|
15
15
|
coordinator_assigned_user_ids?: string[];
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
coordinator_department_ids?: string[];
|
|
17
|
+
coordinator_labels?: string[];
|
|
18
18
|
/** Must be a string starting with `org_` */
|
|
19
19
|
coordinator_org_id?: string | null;
|
|
20
20
|
coordinator_shipper_account_ids?: string[];
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface OrderTaskGroupExecutorDetails1 {
|
|
6
6
|
executor_assigned_user_ids?: string[];
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
executor_department_ids?: string[];
|
|
8
|
+
executor_labels?: string[];
|
|
9
9
|
/** Must be a string starting with `org_` */
|
|
10
10
|
executor_org_id?: string | null;
|
|
11
11
|
off_chrt_executor_org_data_id?: string | null;
|
|
@@ -7,8 +7,8 @@ export interface OrderTemplateNew1 {
|
|
|
7
7
|
archived_at_timestamp?: string | null;
|
|
8
8
|
cargos?: Chrt.OrderTemplateNewCargo1[];
|
|
9
9
|
coordinator_assigned_user_ids?: string[];
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
coordinator_department_ids?: string[];
|
|
11
|
+
coordinator_labels?: string[];
|
|
12
12
|
/** Must be a string starting with `org_` */
|
|
13
13
|
coordinator_org_id?: string | null;
|
|
14
14
|
created_at_timestamp: string;
|
|
@@ -5,8 +5,8 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface OrderTemplateNewCore1 {
|
|
6
6
|
cargos?: Chrt.OrderTemplateNewCargo1[];
|
|
7
7
|
coordinator_assigned_user_ids?: string[];
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
coordinator_department_ids?: string[];
|
|
9
|
+
coordinator_labels?: string[];
|
|
10
10
|
/** Must be a string starting with `org_` */
|
|
11
11
|
coordinator_org_id?: string | null;
|
|
12
12
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
@@ -7,8 +7,9 @@ export interface OrderTemplateNewExpanded1 {
|
|
|
7
7
|
archived_at_timestamp?: string | null;
|
|
8
8
|
cargos?: Chrt.OrderTemplateNewCargo1[];
|
|
9
9
|
coordinator_assigned_user_ids?: string[];
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
coordinator_department_ids?: string[];
|
|
11
|
+
coordinator_departments?: Chrt.Department1[];
|
|
12
|
+
coordinator_labels?: string[];
|
|
12
13
|
coordinator_org?: Chrt.OrgPublicData1 | null;
|
|
13
14
|
/** Must be a string starting with `org_` */
|
|
14
15
|
coordinator_org_id?: string | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface OrgBiddingGroupListItemRes {
|
|
6
|
+
_id: string;
|
|
7
|
+
created_at_timestamp: string;
|
|
8
|
+
/** Must be a string starting with `user_` */
|
|
9
|
+
created_by_user_id: string;
|
|
10
|
+
group_name: string;
|
|
11
|
+
last_edited_at_timestamp: string;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
owner_org_id: string;
|
|
14
|
+
provider_org_ids?: string[];
|
|
15
|
+
providers?: Chrt.OrgPublicData1[];
|
|
16
|
+
schema_version: number;
|
|
17
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TaskArtifactTypeEnum1 = "image" | "signature" | "scan" | "other";
|
|
4
|
+
export type TaskArtifactTypeEnum1 = "image" | "file" | "signature" | "scan" | "other";
|
|
5
5
|
export declare const TaskArtifactTypeEnum1: {
|
|
6
6
|
readonly Image: "image";
|
|
7
|
+
readonly File: "file";
|
|
7
8
|
readonly Signature: "signature";
|
|
8
9
|
readonly Scan: "scan";
|
|
9
10
|
readonly Other: "other";
|
|
@@ -38,6 +38,6 @@ export interface TaskGroup1 {
|
|
|
38
38
|
task_group_s3_object_metadata_ids?: string[];
|
|
39
39
|
task_group_type: Chrt.TaskGroupTypeEnum1;
|
|
40
40
|
task_ids?: string[];
|
|
41
|
-
vehicle_type?: Chrt.VehicleTypeEnum;
|
|
41
|
+
vehicle_type?: Chrt.VehicleTypeEnum | null;
|
|
42
42
|
wait_time_total_minutes?: number | null;
|
|
43
43
|
}
|
|
@@ -10,7 +10,7 @@ export interface TaskGroupExpanded {
|
|
|
10
10
|
/** Must be a string starting with `org_` */
|
|
11
11
|
coordinator_org_id?: string | null;
|
|
12
12
|
driver?: Chrt.Driver1 | null;
|
|
13
|
-
|
|
13
|
+
executor_departments?: Chrt.Department1[];
|
|
14
14
|
executor_org_company_name?: string | null;
|
|
15
15
|
/** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
|
|
16
16
|
executor_org_handle?: string | null;
|
|
@@ -33,6 +33,8 @@ export * from "./Bid.mjs";
|
|
|
33
33
|
export * from "./BidActionEnum.mjs";
|
|
34
34
|
export * from "./BidAppendReq.mjs";
|
|
35
35
|
export * from "./BidThread1.mjs";
|
|
36
|
+
export * from "./BidThreadForListing1.mjs";
|
|
37
|
+
export * from "./BidThreadForListingListRes.mjs";
|
|
36
38
|
export * from "./BidThreadListRes.mjs";
|
|
37
39
|
export * from "./BidThreadSortByEnum.mjs";
|
|
38
40
|
export * from "./BidThreadStatusEnum.mjs";
|
|
@@ -202,6 +204,7 @@ export * from "./Driver1.mjs";
|
|
|
202
204
|
export * from "./DriverAnalyticsDay.mjs";
|
|
203
205
|
export * from "./DriverAnalyticsTaskGroup.mjs";
|
|
204
206
|
export * from "./DriverBiddingGroup1.mjs";
|
|
207
|
+
export * from "./DriverBiddingGroupListItemRes.mjs";
|
|
205
208
|
export * from "./DriverBiddingGroupListRes.mjs";
|
|
206
209
|
export * from "./DriverBiddingGroupSortByEnum.mjs";
|
|
207
210
|
export * from "./DriverComplianceDocument1.mjs";
|
|
@@ -353,8 +356,11 @@ export * from "./OperationsTaskListSortByEnum.mjs";
|
|
|
353
356
|
export * from "./OperationsTaskSortByEnum.mjs";
|
|
354
357
|
export * from "./OperationsTaskStatusEnum.mjs";
|
|
355
358
|
export * from "./OperationsTaskTypeEnum.mjs";
|
|
359
|
+
export * from "./OperationsTaskTypeaheadFieldEnum.mjs";
|
|
360
|
+
export * from "./OperationsTaskTypeaheadResult.mjs";
|
|
356
361
|
export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.mjs";
|
|
357
362
|
export * from "./OperationsTasksStatusUpdateRes1.mjs";
|
|
363
|
+
export * from "./OperationsTasksUpdateDepartmentManyRes.mjs";
|
|
358
364
|
export * from "./Order1.mjs";
|
|
359
365
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
360
366
|
export * from "./OrderAwbBillingAccount1.mjs";
|
|
@@ -416,6 +422,7 @@ export * from "./OrdersOpenDraftRes.mjs";
|
|
|
416
422
|
export * from "./OrdersUpdateDraftRes.mjs";
|
|
417
423
|
export * from "./OrdersUpdateOffChrtReferenceIdRes.mjs";
|
|
418
424
|
export * from "./OrgBiddingGroup1.mjs";
|
|
425
|
+
export * from "./OrgBiddingGroupListItemRes.mjs";
|
|
419
426
|
export * from "./OrgBiddingGroupListRes.mjs";
|
|
420
427
|
export * from "./OrgBiddingGroupSortByEnum.mjs";
|
|
421
428
|
export * from "./OrgComplianceDocument1.mjs";
|
|
@@ -33,6 +33,8 @@ export * from "./Bid.mjs";
|
|
|
33
33
|
export * from "./BidActionEnum.mjs";
|
|
34
34
|
export * from "./BidAppendReq.mjs";
|
|
35
35
|
export * from "./BidThread1.mjs";
|
|
36
|
+
export * from "./BidThreadForListing1.mjs";
|
|
37
|
+
export * from "./BidThreadForListingListRes.mjs";
|
|
36
38
|
export * from "./BidThreadListRes.mjs";
|
|
37
39
|
export * from "./BidThreadSortByEnum.mjs";
|
|
38
40
|
export * from "./BidThreadStatusEnum.mjs";
|
|
@@ -202,6 +204,7 @@ export * from "./Driver1.mjs";
|
|
|
202
204
|
export * from "./DriverAnalyticsDay.mjs";
|
|
203
205
|
export * from "./DriverAnalyticsTaskGroup.mjs";
|
|
204
206
|
export * from "./DriverBiddingGroup1.mjs";
|
|
207
|
+
export * from "./DriverBiddingGroupListItemRes.mjs";
|
|
205
208
|
export * from "./DriverBiddingGroupListRes.mjs";
|
|
206
209
|
export * from "./DriverBiddingGroupSortByEnum.mjs";
|
|
207
210
|
export * from "./DriverComplianceDocument1.mjs";
|
|
@@ -353,8 +356,11 @@ export * from "./OperationsTaskListSortByEnum.mjs";
|
|
|
353
356
|
export * from "./OperationsTaskSortByEnum.mjs";
|
|
354
357
|
export * from "./OperationsTaskStatusEnum.mjs";
|
|
355
358
|
export * from "./OperationsTaskTypeEnum.mjs";
|
|
359
|
+
export * from "./OperationsTaskTypeaheadFieldEnum.mjs";
|
|
360
|
+
export * from "./OperationsTaskTypeaheadResult.mjs";
|
|
356
361
|
export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.mjs";
|
|
357
362
|
export * from "./OperationsTasksStatusUpdateRes1.mjs";
|
|
363
|
+
export * from "./OperationsTasksUpdateDepartmentManyRes.mjs";
|
|
358
364
|
export * from "./Order1.mjs";
|
|
359
365
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
360
366
|
export * from "./OrderAwbBillingAccount1.mjs";
|
|
@@ -416,6 +422,7 @@ export * from "./OrdersOpenDraftRes.mjs";
|
|
|
416
422
|
export * from "./OrdersUpdateDraftRes.mjs";
|
|
417
423
|
export * from "./OrdersUpdateOffChrtReferenceIdRes.mjs";
|
|
418
424
|
export * from "./OrgBiddingGroup1.mjs";
|
|
425
|
+
export * from "./OrgBiddingGroupListItemRes.mjs";
|
|
419
426
|
export * from "./OrgBiddingGroupListRes.mjs";
|
|
420
427
|
export * from "./OrgBiddingGroupSortByEnum.mjs";
|
|
421
428
|
export * from "./OrgComplianceDocument1.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.992.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.992.0";
|