@chrt-inc/typescript-sdk 1.861.0 → 1.866.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/operations/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/operations/client/Client.js +13 -13
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +1 -1
- package/dist/cjs/api/resources/operations/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/operations/resources/index.js +3 -3
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +14 -13
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +25 -21
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts +0 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListsApplyToCaseV1Request.d.ts → OperationsTaskListsApplyToOrderV1Request.d.ts} +4 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +29 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +138 -12
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +0 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +48 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -2
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/orderInternalMessages/client/Client.d.ts +80 -0
- package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/agentic → operations/resources/orderInternalMessages}/client/Client.js +52 -53
- package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.d.ts → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.d.ts} +1 -1
- package/dist/cjs/api/resources/operations/resources/orderInternalMessages/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.js +35 -32
- package/dist/cjs/api/resources/{shipping/resources/orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.d.ts → operations/resources/orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.d.ts} +2 -2
- package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +7 -2
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +21 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +90 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.ts +27 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
- package/dist/cjs/api/resources/orgs/resources/providers/client/Client.d.ts +54 -0
- package/dist/cjs/api/resources/orgs/resources/providers/client/Client.js +157 -0
- package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +26 -0
- package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/shipping/client/Client.js +16 -21
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -3
- package/dist/cjs/api/resources/shipping/resources/index.js +2 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +78 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +327 -2
- package/dist/{esm/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAssignReq.d.ts} +1 -1
- package/dist/{esm/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.d.ts} +2 -2
- package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseAssignReq.d.ts → shipping/resources/orders/client/requests/OrdersUnassignReq.d.ts} +1 -1
- package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseClientUpdate1.d.ts → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.ts} +3 -4
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/index.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +212 -0
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/Client.js +366 -117
- package/dist/cjs/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.d.ts → shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.ts} +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +14 -0
- package/dist/{esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts} +7 -7
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.js +2 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.d.ts +16 -16
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.js +24 -24
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.d.ts +13 -25
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.js +30 -74
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.d.ts +0 -3
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.js +1 -4
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.js +16 -16
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.js +12 -12
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.d.ts +26 -26
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.js +42 -42
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +108 -8
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +456 -5
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +56 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +60 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/index.js +4 -1
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +1 -1
- package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +3 -3
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +5 -5
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +4 -4
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +5 -5
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +4 -4
- package/dist/cjs/api/types/OperationsOrderDepartmentAssignedWebhookPayload.d.ts +16 -0
- package/dist/cjs/api/types/OperationsOrderInternalMessageWebhookPayload.d.ts +17 -0
- package/dist/cjs/api/types/OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.d.ts +16 -0
- package/dist/cjs/api/types/OperationsOrderOperatorAssignedWebhookPayload.d.ts +14 -0
- package/dist/cjs/api/types/OperationsTask1.d.ts +0 -1
- package/dist/cjs/api/types/OperationsTaskExpandedListItem.d.ts +9 -0
- package/dist/cjs/api/types/{OrdersExpandedListRes.d.ts → OperationsTaskExpandedListRes.d.ts} +2 -2
- package/dist/cjs/api/types/OperationsTaskList1.d.ts +0 -1
- package/dist/cjs/api/types/{OperationsTaskListRemoveFromCaseRes1.d.ts → OperationsTaskListRemoveFromOrderRes1.d.ts} +2 -2
- package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -2
- package/dist/cjs/api/types/Order1.d.ts +5 -3
- package/dist/cjs/api/types/OrderDraftExpandedForCoordinator.d.ts +15 -0
- package/dist/cjs/api/types/OrderDraftExpandedForShipper.d.ts +15 -0
- package/dist/cjs/api/types/{OrderDraftExpanded.d.ts → OrderExpandedForCoordinator.d.ts} +2 -3
- package/dist/cjs/api/types/OrderExpandedForExecutor.d.ts +14 -0
- package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +15 -0
- package/dist/cjs/api/types/{OrderExpanded.d.ts → OrderExpandedForShipper.d.ts} +2 -2
- package/dist/{esm/api/types/CaseMessage1.d.mts → cjs/api/types/OrderInternalMessage1.d.ts} +1 -1
- package/dist/cjs/api/types/{CaseS3ObjectMetadata1.d.ts → OrderInternalMessageS3ObjectMetadata1.d.ts} +3 -3
- package/dist/cjs/api/types/OrderInternalMessages1.d.ts +14 -0
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +41 -0
- package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +23 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +41 -0
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +37 -0
- package/dist/cjs/api/types/OrderProviderRoleEnum.d.ts +11 -0
- package/dist/cjs/api/types/{CaseSortByEnum.js → OrderProviderRoleEnum.js} +4 -4
- package/dist/cjs/api/types/OrderProviderRoleFilterEnum.d.ts +9 -0
- package/dist/cjs/api/types/OrderProviderRoleFilterEnum.js +11 -0
- package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +12 -0
- package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.js +5 -0
- package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +9 -0
- package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.js +5 -0
- package/dist/cjs/api/types/OrderTemplate1.d.ts +3 -3
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +3 -3
- package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.d.ts +8 -0
- package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.js +5 -0
- package/dist/cjs/api/types/{CaseListRes.d.ts → OrdersExpandedListForExecutorRes.d.ts} +2 -2
- package/dist/cjs/api/types/OrdersExpandedListForExecutorRes.js +5 -0
- package/dist/cjs/api/types/{CasesExpandedListRes.d.ts → OrdersExpandedListForProviderRes.d.ts} +2 -2
- package/dist/cjs/api/types/OrdersExpandedListForProviderRes.js +5 -0
- package/dist/cjs/api/types/{OrderDraftExpandedListRes.d.ts → OrdersExpandedListForShipperRes.d.ts} +2 -2
- package/dist/cjs/api/types/OrdersExpandedListForShipperRes.js +5 -0
- package/dist/cjs/api/types/{OrdersNewDraftRes.d.ts → OrdersOpenDraftRes.d.ts} +1 -1
- package/dist/cjs/api/types/OrdersOpenDraftRes.js +5 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +20 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +5 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.d.ts +8 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +5 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +8 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +5 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +8 -0
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +10 -0
- package/dist/cjs/api/types/ProviderProviderConnectionCallerRoleEnum.d.ts +8 -0
- package/dist/cjs/api/types/ProviderProviderConnectionCallerRoleEnum.js +10 -0
- package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +14 -0
- package/dist/cjs/api/types/ProviderProviderConnectionListItem.js +5 -0
- package/dist/cjs/api/types/ProviderProviderConnectionListRes.d.ts +8 -0
- package/dist/cjs/api/types/ProviderProviderConnectionListRes.js +5 -0
- package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +11 -0
- package/dist/cjs/api/types/TaskListToApplyToOrder1.js +5 -0
- package/dist/cjs/api/types/UngroupedOrderRow.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +37 -22
- package/dist/cjs/api/types/index.js +37 -22
- 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/operations/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/operations/client/Client.mjs +5 -5
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +1 -1
- package/dist/esm/api/resources/operations/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/operations/resources/index.mjs +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +14 -13
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +25 -21
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts +0 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListsApplyToCaseV1Request.d.mts → OperationsTaskListsApplyToOrderV1Request.d.mts} +4 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +29 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +138 -12
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +0 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +48 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -2
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/Client.d.mts +80 -0
- package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/agentic → operations/resources/orderInternalMessages}/client/Client.mjs +50 -51
- package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.d.mts → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.d.mts} +1 -1
- package/dist/esm/api/resources/operations/resources/orderInternalMessages/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/Client.mjs +35 -32
- package/dist/esm/api/resources/{shipping/resources/orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.d.mts → operations/resources/orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.d.mts} +2 -2
- package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +21 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +90 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +27 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
- package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +54 -0
- package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +120 -0
- package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +26 -0
- package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
- package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -3
- package/dist/esm/api/resources/shipping/resources/index.mjs +1 -3
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +78 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +325 -0
- package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.d.mts → shipping/resources/orders/client/requests/OrdersAssignReq.d.mts} +1 -1
- package/dist/{cjs/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.d.mts} +2 -2
- package/dist/{cjs/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersUnassignReq.d.mts} +1 -1
- package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseClientUpdate1.d.mts → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.d.mts} +3 -4
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/index.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +212 -0
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/Client.mjs +354 -105
- package/dist/esm/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.d.mts → shipping/resources/orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.d.mts} +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +14 -0
- package/dist/{cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts → esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts} +7 -7
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/index.mjs +2 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.d.mts +16 -16
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/Client.mjs +24 -24
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.d.mts +13 -25
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/expanded/client/Client.mjs +30 -74
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.d.mts +0 -3
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/index.mjs +0 -3
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/Client.mjs +16 -16
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/Client.mjs +12 -12
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.d.mts +26 -26
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/Client.mjs +42 -42
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +108 -8
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +456 -5
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +56 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +60 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/index.mjs +3 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +1 -1
- package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +3 -3
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +5 -5
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +4 -4
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +5 -5
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +4 -4
- package/dist/esm/api/types/OperationsOrderDepartmentAssignedWebhookPayload.d.mts +16 -0
- package/dist/esm/api/types/OperationsOrderInternalMessageWebhookPayload.d.mts +17 -0
- package/dist/esm/api/types/OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.d.mts +16 -0
- package/dist/esm/api/types/OperationsOrderOperatorAssignedWebhookPayload.d.mts +14 -0
- package/dist/esm/api/types/OperationsTask1.d.mts +0 -1
- package/dist/esm/api/types/OperationsTaskExpandedListItem.d.mts +9 -0
- package/dist/esm/api/types/{OrdersExpandedListRes.d.mts → OperationsTaskExpandedListRes.d.mts} +2 -2
- package/dist/esm/api/types/OperationsTaskList1.d.mts +0 -1
- package/dist/esm/api/types/{OperationsTaskListRemoveFromCaseRes1.d.mts → OperationsTaskListRemoveFromOrderRes1.d.mts} +2 -2
- package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -2
- package/dist/esm/api/types/Order1.d.mts +5 -3
- package/dist/esm/api/types/OrderDraftExpandedForCoordinator.d.mts +15 -0
- package/dist/esm/api/types/OrderDraftExpandedForShipper.d.mts +15 -0
- package/dist/esm/api/types/{OrderDraftExpanded.d.mts → OrderExpandedForCoordinator.d.mts} +2 -3
- package/dist/esm/api/types/OrderExpandedForExecutor.d.mts +14 -0
- package/dist/esm/api/types/OrderExpandedForProvider.d.mts +15 -0
- package/dist/esm/api/types/{OrderExpanded.d.mts → OrderExpandedForShipper.d.mts} +2 -2
- package/dist/{cjs/api/types/CaseMessage1.d.ts → esm/api/types/OrderInternalMessage1.d.mts} +1 -1
- package/dist/esm/api/types/{CaseS3ObjectMetadata1.d.mts → OrderInternalMessageS3ObjectMetadata1.d.mts} +3 -3
- package/dist/esm/api/types/OrderInternalMessages1.d.mts +14 -0
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +41 -0
- package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +23 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +41 -0
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +37 -0
- package/dist/esm/api/types/OrderProviderRoleEnum.d.mts +11 -0
- package/dist/esm/api/types/OrderProviderRoleEnum.mjs +7 -0
- package/dist/esm/api/types/OrderProviderRoleFilterEnum.d.mts +9 -0
- package/dist/esm/api/types/OrderProviderRoleFilterEnum.mjs +8 -0
- package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +12 -0
- package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.mjs +4 -0
- package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +9 -0
- package/dist/esm/api/types/OrderTaskGroupSharedDetails1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplate1.d.mts +3 -3
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +3 -3
- package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.d.mts +8 -0
- package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.mjs +4 -0
- package/dist/esm/api/types/{OrderDraftExpandedListRes.d.mts → OrdersExpandedListForExecutorRes.d.mts} +2 -2
- package/dist/esm/api/types/OrdersExpandedListForExecutorRes.mjs +4 -0
- package/dist/esm/api/types/{CasesExpandedListRes.d.mts → OrdersExpandedListForProviderRes.d.mts} +2 -2
- package/dist/esm/api/types/OrdersExpandedListForProviderRes.mjs +4 -0
- package/dist/esm/api/types/{CaseListRes.d.mts → OrdersExpandedListForShipperRes.d.mts} +2 -2
- package/dist/esm/api/types/OrdersExpandedListForShipperRes.mjs +4 -0
- package/dist/esm/api/types/{OrdersNewDraftRes.d.mts → OrdersOpenDraftRes.d.mts} +1 -1
- package/dist/esm/api/types/OrdersOpenDraftRes.mjs +4 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +20 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +4 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +8 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +4 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +8 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +4 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +8 -0
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +7 -0
- package/dist/esm/api/types/ProviderProviderConnectionCallerRoleEnum.d.mts +8 -0
- package/dist/esm/api/types/ProviderProviderConnectionCallerRoleEnum.mjs +7 -0
- package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +14 -0
- package/dist/esm/api/types/ProviderProviderConnectionListItem.mjs +4 -0
- package/dist/esm/api/types/ProviderProviderConnectionListRes.d.mts +8 -0
- package/dist/esm/api/types/ProviderProviderConnectionListRes.mjs +4 -0
- package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +11 -0
- package/dist/esm/api/types/TaskListToApplyToOrder1.mjs +4 -0
- package/dist/esm/api/types/UngroupedOrderRow.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +37 -22
- package/dist/esm/api/types/index.mjs +37 -22
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2191 -2125
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +0 -276
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +0 -1117
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.ts +0 -13
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +0 -31
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -8
- package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +0 -168
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.ts +0 -16
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +0 -6
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.ts +0 -65
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/index.js +0 -18
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +0 -37
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/types/Case1.d.ts +0 -19
- package/dist/cjs/api/types/CaseSortByEnum.d.ts +0 -8
- package/dist/cjs/api/types/CaseTypeaheadFieldEnum.d.ts +0 -4
- package/dist/cjs/api/types/CaseTypeaheadResult.d.ts +0 -8
- package/dist/cjs/api/types/CasesExpandedListItem.d.ts +0 -15
- package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.d.ts +0 -8
- package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.d.ts +0 -16
- package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.d.ts +0 -15
- package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.ts +0 -14
- package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.ts +0 -14
- package/dist/cjs/api/types/OrderDraftSortByEnum.d.ts +0 -4
- package/dist/cjs/api/types/TaskListToApplyToCase1.d.ts +0 -7
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +0 -276
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +0 -1080
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.mts +0 -13
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.mts +0 -17
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +0 -31
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -8
- package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +0 -168
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.mts +0 -16
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +0 -6
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.mts +0 -65
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/index.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +0 -37
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.mts +0 -1
- package/dist/esm/api/types/Case1.d.mts +0 -19
- package/dist/esm/api/types/CaseSortByEnum.d.mts +0 -8
- package/dist/esm/api/types/CaseSortByEnum.mjs +0 -7
- package/dist/esm/api/types/CaseTypeaheadFieldEnum.d.mts +0 -4
- package/dist/esm/api/types/CaseTypeaheadResult.d.mts +0 -8
- package/dist/esm/api/types/CasesExpandedListItem.d.mts +0 -15
- package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.d.mts +0 -8
- package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.d.mts +0 -16
- package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.d.mts +0 -15
- package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.mts +0 -14
- package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.mts +0 -14
- package/dist/esm/api/types/OrderDraftSortByEnum.d.mts +0 -4
- package/dist/esm/api/types/TaskListToApplyToCase1.d.mts +0 -7
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseAssignReq.js → operationsTasks/client/requests/OperationsTasksExpandedListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseClientUpdate1.js → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseSetBillingReviewStatusReq.js → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.js +0 -0
- /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.js → orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesExpandedListV1Request.js → orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.js +0 -0
- /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesListV1Request.js → shipping/resources/orders/client/requests/OrdersAssignReq.js} +0 -0
- /package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CasesTypeaheadV1Request.js → shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.js → shipping/resources/orders/client/requests/OrdersUnassignReq.js} +0 -0
- /package/dist/cjs/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.js → orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.js → orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/client/requests/OrdersNewDraftReq.js → orders/resources/drafts/client/requests/OrdersOpenDraftReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic/client → orders/resources/drafts/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts/resources/expanded}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests → orders/resources/drafts/resources/expanded/client}/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.d.ts +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.js → orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/Case1.js → resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.js} +0 -0
- /package/dist/cjs/api/types/{CaseListRes.js → OperationsOrderDepartmentAssignedWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{CaseMessage1.js → OperationsOrderInternalMessageWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{CaseS3ObjectMetadata1.js → OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{CaseTypeaheadFieldEnum.js → OperationsOrderOperatorAssignedWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{CaseTypeaheadResult.js → OperationsTaskExpandedListItem.js} +0 -0
- /package/dist/cjs/api/types/{CasesExpandedListItem.js → OperationsTaskExpandedListRes.js} +0 -0
- /package/dist/cjs/api/types/{CasesExpandedListRes.js → OperationsTaskListRemoveFromOrderRes1.js} +0 -0
- /package/dist/cjs/api/types/{CasesExpandedListShippingTaskGroup.js → OrderDraftExpandedForCoordinator.js} +0 -0
- /package/dist/cjs/api/types/{OperationsCaseGroupAssignedWebhookPayload.js → OrderDraftExpandedForShipper.js} +0 -0
- /package/dist/cjs/api/types/{OperationsCaseMessageWebhookPayload.js → OrderExpandedForCoordinator.js} +0 -0
- /package/dist/cjs/api/types/{OperationsCaseOperatorAssignedWebhookPayload.js → OrderExpandedForExecutor.js} +0 -0
- /package/dist/cjs/api/types/{OperationsCaseS3ObjectAddedWebhookPayload.js → OrderExpandedForProvider.js} +0 -0
- /package/dist/cjs/api/types/{OperationsTaskListRemoveFromCaseRes1.js → OrderExpandedForShipper.js} +0 -0
- /package/dist/cjs/api/types/{OrderDraftExpanded.js → OrderInternalMessage1.js} +0 -0
- /package/dist/cjs/api/types/{OrderDraftExpandedListRes.js → OrderInternalMessageS3ObjectMetadata1.js} +0 -0
- /package/dist/cjs/api/types/{OrderDraftSortByEnum.js → OrderInternalMessages1.js} +0 -0
- /package/dist/cjs/api/types/{OrderExpanded.js → OrderLimitedForCoordinator1.js} +0 -0
- /package/dist/cjs/api/types/{OrdersExpandedListRes.js → OrderLimitedForExecutor1.js} +0 -0
- /package/dist/cjs/api/types/{OrdersNewDraftRes.js → OrderLimitedForProvider1.js} +0 -0
- /package/dist/cjs/api/types/{TaskListToApplyToCase1.js → OrderLimitedForShipper1.js} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAddMessageReq.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseAssignReq.mjs → operationsTasks/client/requests/OperationsTasksExpandedListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseClientUpdate1.mjs → orderInternalMessages/client/requests/OrderInternalMessagesAddMessageReq.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseSetBillingReviewStatusReq.mjs → orderInternalMessages/resources/s3Objects/client/requests/BodyPostOrderInternalMessagesS3ObjectsAddV1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases → orderInternalMessages}/resources/s3Objects/index.mjs +0 -0
- /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseUnassignReq.mjs → orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesExpandedListV1Request.mjs → orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts → orgs/resources/providers}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/cargo → orgs/resources/providers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesListV1Request.mjs → shipping/resources/orders/client/requests/OrdersAssignReq.mjs} +0 -0
- /package/dist/esm/api/resources/{operations/resources/cases/client/requests/CasesTypeaheadV1Request.mjs → shipping/resources/orders/client/requests/OrdersTypeaheadLabelV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1.mjs → shipping/resources/orders/client/requests/OrdersUnassignReq.mjs} +0 -0
- /package/dist/esm/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs → shipping/resources/orders/client/requests/OrdersUpdateDepartmentAndLabelReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/cargo → orders/resources/drafts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/BodyPostShippingOrderDraftsImageToTextV1.mjs → orders/resources/drafts/client/requests/BodyPostShippingOrdersDraftsImageToTextV1.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.mjs → orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftDeleteManyReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/OrdersDraftUpdateReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/client/requests/OrdersNewDraftReq.mjs → orders/resources/drafts/client/requests/OrdersOpenDraftReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/client/requests/SetTaskGroupOrderingDraftReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic/client → orders/resources/drafts/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAddCargoReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/OrderDraftUpdateCargoReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/cargo/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded → orders/resources/drafts/resources/cargo}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts/resources/expanded}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests → orders/resources/drafts/resources/expanded/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/task → orders/resources/drafts/resources/expanded}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftAddTaskReqV1.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/OrderDraftUpdateTaskReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/task/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskArtifact → orders/resources/drafts/resources/task}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskArtifact/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/taskGroup → orders/resources/drafts/resources/taskArtifact}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetRateSheetsReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetTaskOrderingDraftReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/SetVehicleTypeReq.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts → orders/resources/drafts}/resources/taskGroup/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/OrderBuilderStreamEvent.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.d.mts +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/agentic → orders/resources/drafts}/types/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.mjs → orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/Case1.mjs → resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.mjs} +0 -0
- /package/dist/esm/api/types/{CaseListRes.mjs → OperationsOrderDepartmentAssignedWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{CaseMessage1.mjs → OperationsOrderInternalMessageWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{CaseS3ObjectMetadata1.mjs → OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{CaseTypeaheadFieldEnum.mjs → OperationsOrderOperatorAssignedWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{CaseTypeaheadResult.mjs → OperationsTaskExpandedListItem.mjs} +0 -0
- /package/dist/esm/api/types/{CasesExpandedListItem.mjs → OperationsTaskExpandedListRes.mjs} +0 -0
- /package/dist/esm/api/types/{CasesExpandedListRes.mjs → OperationsTaskListRemoveFromOrderRes1.mjs} +0 -0
- /package/dist/esm/api/types/{CasesExpandedListShippingTaskGroup.mjs → OrderDraftExpandedForCoordinator.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsCaseGroupAssignedWebhookPayload.mjs → OrderDraftExpandedForShipper.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsCaseMessageWebhookPayload.mjs → OrderExpandedForCoordinator.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsCaseOperatorAssignedWebhookPayload.mjs → OrderExpandedForExecutor.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsCaseS3ObjectAddedWebhookPayload.mjs → OrderExpandedForProvider.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsTaskListRemoveFromCaseRes1.mjs → OrderExpandedForShipper.mjs} +0 -0
- /package/dist/esm/api/types/{OrderDraftExpanded.mjs → OrderInternalMessage1.mjs} +0 -0
- /package/dist/esm/api/types/{OrderDraftExpandedListRes.mjs → OrderInternalMessageS3ObjectMetadata1.mjs} +0 -0
- /package/dist/esm/api/types/{OrderDraftSortByEnum.mjs → OrderInternalMessages1.mjs} +0 -0
- /package/dist/esm/api/types/{OrderExpanded.mjs → OrderLimitedForCoordinator1.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersExpandedListRes.mjs → OrderLimitedForExecutor1.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersNewDraftRes.mjs → OrderLimitedForProvider1.mjs} +0 -0
- /package/dist/esm/api/types/{TaskListToApplyToCase1.mjs → OrderLimitedForShipper1.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as environments from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
import * as Chrt from "
|
|
4
|
+
import * as environments from "../../../../../../../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../../../../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../../../../../../../index.mjs";
|
|
7
7
|
export declare namespace TaskGroup {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -33,32 +33,32 @@ export declare class TaskGroup {
|
|
|
33
33
|
/**
|
|
34
34
|
* Adds a task group to an existing order draft. The task group is created without an executor; use draft assignment routes to assign executor or driver before staging. | (OrderDraftAddTaskGroupReq) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
|
-
* @param {Chrt.shipping.
|
|
36
|
+
* @param {Chrt.shipping.orders.drafts.OrderDraftAddTaskGroupReq} request
|
|
37
37
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
* await client.shipping.
|
|
42
|
+
* await client.shipping.orders.drafts.taskGroup.addV1({
|
|
43
43
|
* order_id: "order_id",
|
|
44
44
|
* task_group_type: "chrt_ground_provider"
|
|
45
45
|
* })
|
|
46
46
|
*/
|
|
47
|
-
addV1(request: Chrt.shipping.
|
|
47
|
+
addV1(request: Chrt.shipping.orders.drafts.OrderDraftAddTaskGroupReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
48
|
private __addV1;
|
|
49
49
|
/**
|
|
50
50
|
* Assigns an executor organization to a draft task group. Coordinator-only; provider-provider direct assignments require auto-assign consent. | authz_personas=[task_group_coordinator_operators] | (OrderDraftAddExecutorReq) -> (bool)
|
|
51
51
|
*
|
|
52
52
|
* @param {string} taskGroupId
|
|
53
|
-
* @param {Chrt.shipping.
|
|
53
|
+
* @param {Chrt.shipping.orders.drafts.OrderDraftAddExecutorReq} request
|
|
54
54
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* await client.shipping.
|
|
59
|
+
* await client.shipping.orders.drafts.taskGroup.addExecutorV1("task_group_id")
|
|
60
60
|
*/
|
|
61
|
-
addExecutorV1(taskGroupId: string, request?: Chrt.shipping.
|
|
61
|
+
addExecutorV1(taskGroupId: string, request?: Chrt.shipping.orders.drafts.OrderDraftAddExecutorReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
62
62
|
private __addExecutorV1;
|
|
63
63
|
/**
|
|
64
64
|
* Deletes a task group and all associated entities (tasks, task artifacts, S3 metadata). The task group must belong to a DRAFT order. | () -> (bool)
|
|
@@ -69,7 +69,7 @@ export declare class TaskGroup {
|
|
|
69
69
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
|
-
* await client.shipping.
|
|
72
|
+
* await client.shipping.orders.drafts.taskGroup.deleteV1("task_group_id")
|
|
73
73
|
*/
|
|
74
74
|
deleteV1(taskGroupId: string, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
75
75
|
private __deleteV1;
|
|
@@ -82,12 +82,12 @@ export declare class TaskGroup {
|
|
|
82
82
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
|
-
* await client.shipping.
|
|
85
|
+
* await client.shipping.orders.drafts.taskGroup.removeDriverV1("task_group_id")
|
|
86
86
|
*/
|
|
87
87
|
removeDriverV1(taskGroupId: string, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
88
88
|
private __removeDriverV1;
|
|
89
89
|
/**
|
|
90
|
-
* Clears the executor, driver, and PPP/PPD billing attachments from a draft task group. Coordinator-only
|
|
90
|
+
* Clears the executor, driver, and PPP/PPD billing attachments from a draft task group. Coordinator-only. | authz_personas=[task_group_coordinator_operators] | () -> (bool)
|
|
91
91
|
*
|
|
92
92
|
* @param {string} taskGroupId
|
|
93
93
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -95,7 +95,7 @@ export declare class TaskGroup {
|
|
|
95
95
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
|
-
* await client.shipping.
|
|
98
|
+
* await client.shipping.orders.drafts.taskGroup.removeExecutorV1("task_group_id")
|
|
99
99
|
*/
|
|
100
100
|
removeExecutorV1(taskGroupId: string, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
101
101
|
private __removeExecutorV1;
|
|
@@ -109,7 +109,7 @@ export declare class TaskGroup {
|
|
|
109
109
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
|
-
* await client.shipping.
|
|
112
|
+
* await client.shipping.orders.drafts.taskGroup.setFlightInfoV1("task_group_id", {
|
|
113
113
|
* flight_legs: [{
|
|
114
114
|
* carrier_iata: "carrier_iata",
|
|
115
115
|
* destination_iata: "destination_iata",
|
|
@@ -127,61 +127,61 @@ export declare class TaskGroup {
|
|
|
127
127
|
* Sets rate sheet IDs on a draft task group. Forwarder mode (SPF/FPC) and direct shipper mode (SPC) are mutually exclusive. CPD is independent. | (SetRateSheetsReq) -> (bool)
|
|
128
128
|
*
|
|
129
129
|
* @param {string} taskGroupId
|
|
130
|
-
* @param {Chrt.shipping.
|
|
130
|
+
* @param {Chrt.shipping.orders.drafts.SetRateSheetsReq} request
|
|
131
131
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
132
132
|
*
|
|
133
133
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
|
-
* await client.shipping.
|
|
136
|
+
* await client.shipping.orders.drafts.taskGroup.setRateSheetsV1("task_group_id")
|
|
137
137
|
*/
|
|
138
|
-
setRateSheetsV1(taskGroupId: string, request?: Chrt.shipping.
|
|
138
|
+
setRateSheetsV1(taskGroupId: string, request?: Chrt.shipping.orders.drafts.SetRateSheetsReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
139
139
|
private __setRateSheetsV1;
|
|
140
140
|
/**
|
|
141
141
|
* Sets the ordering of tasks within a draft task group. Must provide all task IDs with no duplicates. | (SetTaskOrderingDraftReq) -> (bool)
|
|
142
142
|
*
|
|
143
143
|
* @param {string} taskGroupId
|
|
144
|
-
* @param {Chrt.shipping.
|
|
144
|
+
* @param {Chrt.shipping.orders.drafts.SetTaskOrderingDraftReq} request
|
|
145
145
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
146
|
*
|
|
147
147
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
|
-
* await client.shipping.
|
|
150
|
+
* await client.shipping.orders.drafts.taskGroup.setTaskOrderingV1("task_group_id", {
|
|
151
151
|
* task_ids: ["task_ids"]
|
|
152
152
|
* })
|
|
153
153
|
*/
|
|
154
|
-
setTaskOrderingV1(taskGroupId: string, request: Chrt.shipping.
|
|
154
|
+
setTaskOrderingV1(taskGroupId: string, request: Chrt.shipping.orders.drafts.SetTaskOrderingDraftReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
155
155
|
private __setTaskOrderingV1;
|
|
156
156
|
/**
|
|
157
157
|
* Sets the vehicle type on a draft task group. | authz_personas=[draft_creator_org_operator] | (SetVehicleTypeReq) -> (bool)
|
|
158
158
|
*
|
|
159
159
|
* @param {string} taskGroupId
|
|
160
|
-
* @param {Chrt.shipping.
|
|
160
|
+
* @param {Chrt.shipping.orders.drafts.SetVehicleTypeReq} request
|
|
161
161
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
162
162
|
*
|
|
163
163
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
|
-
* await client.shipping.
|
|
166
|
+
* await client.shipping.orders.drafts.taskGroup.setVehicleTypeV1("task_group_id")
|
|
167
167
|
*/
|
|
168
|
-
setVehicleTypeV1(taskGroupId: string, request?: Chrt.shipping.
|
|
168
|
+
setVehicleTypeV1(taskGroupId: string, request?: Chrt.shipping.orders.drafts.SetVehicleTypeReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
169
169
|
private __setVehicleTypeV1;
|
|
170
170
|
/**
|
|
171
171
|
* Assigns or swaps the driver on a draft task group. Only the executor org may assign drivers. | authz_personas=[executor_org_operators] | (OrderDraftUpdateDriverReq) -> (bool)
|
|
172
172
|
*
|
|
173
173
|
* @param {string} taskGroupId
|
|
174
|
-
* @param {Chrt.shipping.
|
|
174
|
+
* @param {Chrt.shipping.orders.drafts.OrderDraftUpdateDriverReq} request
|
|
175
175
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
176
176
|
*
|
|
177
177
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
|
-
* await client.shipping.
|
|
180
|
+
* await client.shipping.orders.drafts.taskGroup.updateDriverV1("task_group_id", {
|
|
181
181
|
* driver_id: "driver_id"
|
|
182
182
|
* })
|
|
183
183
|
*/
|
|
184
|
-
updateDriverV1(taskGroupId: string, request: Chrt.shipping.
|
|
184
|
+
updateDriverV1(taskGroupId: string, request: Chrt.shipping.orders.drafts.OrderDraftUpdateDriverReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
185
185
|
private __updateDriverV1;
|
|
186
186
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
187
187
|
}
|
|
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
|
-
import * as environments from "
|
|
14
|
-
import * as core from "
|
|
15
|
-
import * as Chrt from "
|
|
16
|
-
import { mergeHeaders, mergeOnlyDefinedHeaders } from "
|
|
17
|
-
import * as errors from "
|
|
13
|
+
import * as environments from "../../../../../../../../../../environments.mjs";
|
|
14
|
+
import * as core from "../../../../../../../../../../core/index.mjs";
|
|
15
|
+
import * as Chrt from "../../../../../../../../../index.mjs";
|
|
16
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../../../core/headers.mjs";
|
|
17
|
+
import * as errors from "../../../../../../../../../../errors/index.mjs";
|
|
18
18
|
export class TaskGroup {
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
@@ -22,13 +22,13 @@ export class TaskGroup {
|
|
|
22
22
|
/**
|
|
23
23
|
* Adds a task group to an existing order draft. The task group is created without an executor; use draft assignment routes to assign executor or driver before staging. | (OrderDraftAddTaskGroupReq) -> (PydanticObjectId)
|
|
24
24
|
*
|
|
25
|
-
* @param {Chrt.shipping.
|
|
25
|
+
* @param {Chrt.shipping.orders.drafts.OrderDraftAddTaskGroupReq} request
|
|
26
26
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
* await client.shipping.
|
|
31
|
+
* await client.shipping.orders.drafts.taskGroup.addV1({
|
|
32
32
|
* order_id: "order_id",
|
|
33
33
|
* task_group_type: "chrt_ground_provider"
|
|
34
34
|
* })
|
|
@@ -41,7 +41,7 @@ export class TaskGroup {
|
|
|
41
41
|
var _a, _b, _c, _d;
|
|
42
42
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
43
43
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
44
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/
|
|
44
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/orders/drafts/task_group/add/v1"),
|
|
45
45
|
method: "POST",
|
|
46
46
|
headers: _headers,
|
|
47
47
|
contentType: "application/json",
|
|
@@ -75,7 +75,7 @@ export class TaskGroup {
|
|
|
75
75
|
rawResponse: _response.rawResponse,
|
|
76
76
|
});
|
|
77
77
|
case "timeout":
|
|
78
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/
|
|
78
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/drafts/task_group/add/v1.");
|
|
79
79
|
case "unknown":
|
|
80
80
|
throw new errors.ChrtError({
|
|
81
81
|
message: _response.error.errorMessage,
|
|
@@ -88,13 +88,13 @@ export class TaskGroup {
|
|
|
88
88
|
* Assigns an executor organization to a draft task group. Coordinator-only; provider-provider direct assignments require auto-assign consent. | authz_personas=[task_group_coordinator_operators] | (OrderDraftAddExecutorReq) -> (bool)
|
|
89
89
|
*
|
|
90
90
|
* @param {string} taskGroupId
|
|
91
|
-
* @param {Chrt.shipping.
|
|
91
|
+
* @param {Chrt.shipping.orders.drafts.OrderDraftAddExecutorReq} request
|
|
92
92
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
93
|
*
|
|
94
94
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
|
-
* await client.shipping.
|
|
97
|
+
* await client.shipping.orders.drafts.taskGroup.addExecutorV1("task_group_id")
|
|
98
98
|
*/
|
|
99
99
|
addExecutorV1(taskGroupId, request = {}, requestOptions) {
|
|
100
100
|
return core.HttpResponsePromise.fromPromise(this.__addExecutorV1(taskGroupId, request, requestOptions));
|
|
@@ -104,7 +104,7 @@ export class TaskGroup {
|
|
|
104
104
|
var _a, _b, _c, _d;
|
|
105
105
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
106
106
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
107
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
107
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/add_executor/v1/${encodeURIComponent(taskGroupId)}`),
|
|
108
108
|
method: "PATCH",
|
|
109
109
|
headers: _headers,
|
|
110
110
|
contentType: "application/json",
|
|
@@ -138,7 +138,7 @@ export class TaskGroup {
|
|
|
138
138
|
rawResponse: _response.rawResponse,
|
|
139
139
|
});
|
|
140
140
|
case "timeout":
|
|
141
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
141
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/add_executor/v1/{task_group_id}.");
|
|
142
142
|
case "unknown":
|
|
143
143
|
throw new errors.ChrtError({
|
|
144
144
|
message: _response.error.errorMessage,
|
|
@@ -156,7 +156,7 @@ export class TaskGroup {
|
|
|
156
156
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
157
157
|
*
|
|
158
158
|
* @example
|
|
159
|
-
* await client.shipping.
|
|
159
|
+
* await client.shipping.orders.drafts.taskGroup.deleteV1("task_group_id")
|
|
160
160
|
*/
|
|
161
161
|
deleteV1(taskGroupId, requestOptions) {
|
|
162
162
|
return core.HttpResponsePromise.fromPromise(this.__deleteV1(taskGroupId, requestOptions));
|
|
@@ -166,7 +166,7 @@ export class TaskGroup {
|
|
|
166
166
|
var _a, _b, _c, _d;
|
|
167
167
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
168
168
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
169
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
169
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/delete/v1/${encodeURIComponent(taskGroupId)}`),
|
|
170
170
|
method: "DELETE",
|
|
171
171
|
headers: _headers,
|
|
172
172
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -197,7 +197,7 @@ export class TaskGroup {
|
|
|
197
197
|
rawResponse: _response.rawResponse,
|
|
198
198
|
});
|
|
199
199
|
case "timeout":
|
|
200
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/
|
|
200
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/task_group/delete/v1/{task_group_id}.");
|
|
201
201
|
case "unknown":
|
|
202
202
|
throw new errors.ChrtError({
|
|
203
203
|
message: _response.error.errorMessage,
|
|
@@ -215,7 +215,7 @@ export class TaskGroup {
|
|
|
215
215
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
216
216
|
*
|
|
217
217
|
* @example
|
|
218
|
-
* await client.shipping.
|
|
218
|
+
* await client.shipping.orders.drafts.taskGroup.removeDriverV1("task_group_id")
|
|
219
219
|
*/
|
|
220
220
|
removeDriverV1(taskGroupId, requestOptions) {
|
|
221
221
|
return core.HttpResponsePromise.fromPromise(this.__removeDriverV1(taskGroupId, requestOptions));
|
|
@@ -225,7 +225,7 @@ export class TaskGroup {
|
|
|
225
225
|
var _a, _b, _c, _d;
|
|
226
226
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
227
227
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
228
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
228
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/remove_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
229
229
|
method: "PATCH",
|
|
230
230
|
headers: _headers,
|
|
231
231
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -256,7 +256,7 @@ export class TaskGroup {
|
|
|
256
256
|
rawResponse: _response.rawResponse,
|
|
257
257
|
});
|
|
258
258
|
case "timeout":
|
|
259
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
259
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/remove_driver/v1/{task_group_id}.");
|
|
260
260
|
case "unknown":
|
|
261
261
|
throw new errors.ChrtError({
|
|
262
262
|
message: _response.error.errorMessage,
|
|
@@ -266,7 +266,7 @@ export class TaskGroup {
|
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
|
-
* Clears the executor, driver, and PPP/PPD billing attachments from a draft task group. Coordinator-only
|
|
269
|
+
* Clears the executor, driver, and PPP/PPD billing attachments from a draft task group. Coordinator-only. | authz_personas=[task_group_coordinator_operators] | () -> (bool)
|
|
270
270
|
*
|
|
271
271
|
* @param {string} taskGroupId
|
|
272
272
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -274,7 +274,7 @@ export class TaskGroup {
|
|
|
274
274
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
275
275
|
*
|
|
276
276
|
* @example
|
|
277
|
-
* await client.shipping.
|
|
277
|
+
* await client.shipping.orders.drafts.taskGroup.removeExecutorV1("task_group_id")
|
|
278
278
|
*/
|
|
279
279
|
removeExecutorV1(taskGroupId, requestOptions) {
|
|
280
280
|
return core.HttpResponsePromise.fromPromise(this.__removeExecutorV1(taskGroupId, requestOptions));
|
|
@@ -284,7 +284,7 @@ export class TaskGroup {
|
|
|
284
284
|
var _a, _b, _c, _d;
|
|
285
285
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
286
286
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
287
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
287
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/remove_executor/v1/${encodeURIComponent(taskGroupId)}`),
|
|
288
288
|
method: "PATCH",
|
|
289
289
|
headers: _headers,
|
|
290
290
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -315,7 +315,7 @@ export class TaskGroup {
|
|
|
315
315
|
rawResponse: _response.rawResponse,
|
|
316
316
|
});
|
|
317
317
|
case "timeout":
|
|
318
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
318
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/remove_executor/v1/{task_group_id}.");
|
|
319
319
|
case "unknown":
|
|
320
320
|
throw new errors.ChrtError({
|
|
321
321
|
message: _response.error.errorMessage,
|
|
@@ -334,7 +334,7 @@ export class TaskGroup {
|
|
|
334
334
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
335
335
|
*
|
|
336
336
|
* @example
|
|
337
|
-
* await client.shipping.
|
|
337
|
+
* await client.shipping.orders.drafts.taskGroup.setFlightInfoV1("task_group_id", {
|
|
338
338
|
* flight_legs: [{
|
|
339
339
|
* carrier_iata: "carrier_iata",
|
|
340
340
|
* destination_iata: "destination_iata",
|
|
@@ -354,7 +354,7 @@ export class TaskGroup {
|
|
|
354
354
|
var _a, _b, _c, _d;
|
|
355
355
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
356
356
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
357
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
357
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/set_flight_info/v1/${encodeURIComponent(taskGroupId)}`),
|
|
358
358
|
method: "PATCH",
|
|
359
359
|
headers: _headers,
|
|
360
360
|
contentType: "application/json",
|
|
@@ -388,7 +388,7 @@ export class TaskGroup {
|
|
|
388
388
|
rawResponse: _response.rawResponse,
|
|
389
389
|
});
|
|
390
390
|
case "timeout":
|
|
391
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
391
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/set_flight_info/v1/{task_group_id}.");
|
|
392
392
|
case "unknown":
|
|
393
393
|
throw new errors.ChrtError({
|
|
394
394
|
message: _response.error.errorMessage,
|
|
@@ -401,13 +401,13 @@ export class TaskGroup {
|
|
|
401
401
|
* Sets rate sheet IDs on a draft task group. Forwarder mode (SPF/FPC) and direct shipper mode (SPC) are mutually exclusive. CPD is independent. | (SetRateSheetsReq) -> (bool)
|
|
402
402
|
*
|
|
403
403
|
* @param {string} taskGroupId
|
|
404
|
-
* @param {Chrt.shipping.
|
|
404
|
+
* @param {Chrt.shipping.orders.drafts.SetRateSheetsReq} request
|
|
405
405
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
406
406
|
*
|
|
407
407
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
408
408
|
*
|
|
409
409
|
* @example
|
|
410
|
-
* await client.shipping.
|
|
410
|
+
* await client.shipping.orders.drafts.taskGroup.setRateSheetsV1("task_group_id")
|
|
411
411
|
*/
|
|
412
412
|
setRateSheetsV1(taskGroupId, request = {}, requestOptions) {
|
|
413
413
|
return core.HttpResponsePromise.fromPromise(this.__setRateSheetsV1(taskGroupId, request, requestOptions));
|
|
@@ -417,7 +417,7 @@ export class TaskGroup {
|
|
|
417
417
|
var _a, _b, _c, _d;
|
|
418
418
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
419
419
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
420
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
420
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/set_rate_sheets/v1/${encodeURIComponent(taskGroupId)}`),
|
|
421
421
|
method: "PATCH",
|
|
422
422
|
headers: _headers,
|
|
423
423
|
contentType: "application/json",
|
|
@@ -451,7 +451,7 @@ export class TaskGroup {
|
|
|
451
451
|
rawResponse: _response.rawResponse,
|
|
452
452
|
});
|
|
453
453
|
case "timeout":
|
|
454
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
454
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/set_rate_sheets/v1/{task_group_id}.");
|
|
455
455
|
case "unknown":
|
|
456
456
|
throw new errors.ChrtError({
|
|
457
457
|
message: _response.error.errorMessage,
|
|
@@ -464,13 +464,13 @@ export class TaskGroup {
|
|
|
464
464
|
* Sets the ordering of tasks within a draft task group. Must provide all task IDs with no duplicates. | (SetTaskOrderingDraftReq) -> (bool)
|
|
465
465
|
*
|
|
466
466
|
* @param {string} taskGroupId
|
|
467
|
-
* @param {Chrt.shipping.
|
|
467
|
+
* @param {Chrt.shipping.orders.drafts.SetTaskOrderingDraftReq} request
|
|
468
468
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
469
469
|
*
|
|
470
470
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
471
471
|
*
|
|
472
472
|
* @example
|
|
473
|
-
* await client.shipping.
|
|
473
|
+
* await client.shipping.orders.drafts.taskGroup.setTaskOrderingV1("task_group_id", {
|
|
474
474
|
* task_ids: ["task_ids"]
|
|
475
475
|
* })
|
|
476
476
|
*/
|
|
@@ -482,7 +482,7 @@ export class TaskGroup {
|
|
|
482
482
|
var _a, _b, _c, _d;
|
|
483
483
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
484
484
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
485
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
485
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/set_task_ordering/v1/${encodeURIComponent(taskGroupId)}`),
|
|
486
486
|
method: "PUT",
|
|
487
487
|
headers: _headers,
|
|
488
488
|
contentType: "application/json",
|
|
@@ -516,7 +516,7 @@ export class TaskGroup {
|
|
|
516
516
|
rawResponse: _response.rawResponse,
|
|
517
517
|
});
|
|
518
518
|
case "timeout":
|
|
519
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /shipping/
|
|
519
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /shipping/orders/drafts/task_group/set_task_ordering/v1/{task_group_id}.");
|
|
520
520
|
case "unknown":
|
|
521
521
|
throw new errors.ChrtError({
|
|
522
522
|
message: _response.error.errorMessage,
|
|
@@ -529,13 +529,13 @@ export class TaskGroup {
|
|
|
529
529
|
* Sets the vehicle type on a draft task group. | authz_personas=[draft_creator_org_operator] | (SetVehicleTypeReq) -> (bool)
|
|
530
530
|
*
|
|
531
531
|
* @param {string} taskGroupId
|
|
532
|
-
* @param {Chrt.shipping.
|
|
532
|
+
* @param {Chrt.shipping.orders.drafts.SetVehicleTypeReq} request
|
|
533
533
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
534
534
|
*
|
|
535
535
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
536
536
|
*
|
|
537
537
|
* @example
|
|
538
|
-
* await client.shipping.
|
|
538
|
+
* await client.shipping.orders.drafts.taskGroup.setVehicleTypeV1("task_group_id")
|
|
539
539
|
*/
|
|
540
540
|
setVehicleTypeV1(taskGroupId, request = {}, requestOptions) {
|
|
541
541
|
return core.HttpResponsePromise.fromPromise(this.__setVehicleTypeV1(taskGroupId, request, requestOptions));
|
|
@@ -545,7 +545,7 @@ export class TaskGroup {
|
|
|
545
545
|
var _a, _b, _c, _d;
|
|
546
546
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
547
547
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
548
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
548
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/set_vehicle_type/v1/${encodeURIComponent(taskGroupId)}`),
|
|
549
549
|
method: "PATCH",
|
|
550
550
|
headers: _headers,
|
|
551
551
|
contentType: "application/json",
|
|
@@ -579,7 +579,7 @@ export class TaskGroup {
|
|
|
579
579
|
rawResponse: _response.rawResponse,
|
|
580
580
|
});
|
|
581
581
|
case "timeout":
|
|
582
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
582
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/set_vehicle_type/v1/{task_group_id}.");
|
|
583
583
|
case "unknown":
|
|
584
584
|
throw new errors.ChrtError({
|
|
585
585
|
message: _response.error.errorMessage,
|
|
@@ -592,13 +592,13 @@ export class TaskGroup {
|
|
|
592
592
|
* Assigns or swaps the driver on a draft task group. Only the executor org may assign drivers. | authz_personas=[executor_org_operators] | (OrderDraftUpdateDriverReq) -> (bool)
|
|
593
593
|
*
|
|
594
594
|
* @param {string} taskGroupId
|
|
595
|
-
* @param {Chrt.shipping.
|
|
595
|
+
* @param {Chrt.shipping.orders.drafts.OrderDraftUpdateDriverReq} request
|
|
596
596
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
597
597
|
*
|
|
598
598
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
599
599
|
*
|
|
600
600
|
* @example
|
|
601
|
-
* await client.shipping.
|
|
601
|
+
* await client.shipping.orders.drafts.taskGroup.updateDriverV1("task_group_id", {
|
|
602
602
|
* driver_id: "driver_id"
|
|
603
603
|
* })
|
|
604
604
|
*/
|
|
@@ -610,7 +610,7 @@ export class TaskGroup {
|
|
|
610
610
|
var _a, _b, _c, _d;
|
|
611
611
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
612
612
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
613
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/
|
|
613
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/update_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
614
614
|
method: "PATCH",
|
|
615
615
|
headers: _headers,
|
|
616
616
|
contentType: "application/json",
|
|
@@ -644,7 +644,7 @@ export class TaskGroup {
|
|
|
644
644
|
rawResponse: _response.rawResponse,
|
|
645
645
|
});
|
|
646
646
|
case "timeout":
|
|
647
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/
|
|
647
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/task_group/update_driver/v1/{task_group_id}.");
|
|
648
648
|
case "unknown":
|
|
649
649
|
throw new errors.ChrtError({
|
|
650
650
|
message: _response.error.errorMessage,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|