@chrt-inc/typescript-sdk 1.719.0 → 1.726.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/analytics/resources/shipping/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.ts → AnalyticsTimePeriodReq.d.ts} +1 -1
- package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/operations/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/operations/client/Client.js +10 -5
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +5 -125
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +17 -494
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +3 -8
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +76 -0
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +246 -0
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +1 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -2
- package/dist/cjs/api/resources/operations/resources/index.js +5 -3
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +181 -0
- package/dist/cjs/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.js +206 -75
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.ts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts} +3 -2
- package/dist/{esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.mts → cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts} +2 -1
- package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.ts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.ts} +2 -2
- package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.ts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.ts} +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +13 -0
- package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.ts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts} +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +23 -5
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +108 -14
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +7 -2
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.ts → operationsTasks/client/requests/OperationsTaskStatusReq.d.ts} +3 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +15 -6
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +0 -14
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +0 -63
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +66 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.ts +15 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +64 -0
- package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.ts} +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +57 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +247 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +16 -1
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +65 -1
- package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts → shipping/resources/orders/client/requests/OrdersCancelManyReq.d.ts} +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -6
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +26 -34
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +4 -6
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +4 -6
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +26 -18
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +4 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +4 -2
- package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
- package/dist/cjs/api/types/{AnalyticsTimeBucketResponse.d.ts → AnalyticsTimeBucketRes.d.ts} +1 -1
- package/dist/cjs/api/types/Cargo1.d.ts +1 -0
- package/dist/cjs/api/types/CargoStatusEnum1.d.ts +2 -1
- package/dist/cjs/api/types/CargoStatusEnum1.js +1 -0
- package/dist/cjs/api/types/Case1.d.ts +1 -12
- package/dist/cjs/api/types/CaseSortByEnum.d.ts +1 -2
- package/dist/cjs/api/types/CaseSortByEnum.js +0 -1
- package/dist/cjs/api/types/Department1.d.ts +1 -0
- package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
- package/dist/cjs/api/types/DepartmentTypeEnum.d.ts +10 -10
- package/dist/cjs/api/types/DepartmentTypeEnum.js +9 -9
- package/dist/cjs/api/types/DriverStatsRes.d.ts +11 -0
- package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -1
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -1
- package/dist/cjs/api/types/OperationsTask1.d.ts +7 -2
- package/dist/cjs/api/types/{Checklist1.d.ts → OperationsTaskList1.d.ts} +3 -2
- package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +23 -0
- package/dist/cjs/api/types/{ChecklistListRes.d.ts → OperationsTaskListListRes.d.ts} +2 -2
- package/dist/cjs/api/types/OperationsTaskListListRes.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +13 -0
- package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.js +5 -0
- package/dist/{esm/api/types/ChecklistSortByEnum.d.mts → cjs/api/types/OperationsTaskListSortByEnum.d.ts} +2 -2
- package/dist/cjs/api/types/{ChecklistSortByEnum.js → OperationsTaskListSortByEnum.js} +2 -2
- package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +17 -0
- package/dist/cjs/api/types/{CheckStatusEnum.js → OperationsTaskStatusEnum.js} +4 -7
- package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +23 -0
- package/dist/cjs/api/types/OperationsTaskTypeEnum.js +20 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -2
- package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderSortByEnum.d.ts +2 -2
- package/dist/cjs/api/types/OrderSortByEnum.js +1 -1
- package/dist/cjs/api/types/OrderStatusEnum1.d.ts +2 -1
- package/dist/cjs/api/types/OrderStatusEnum1.js +1 -0
- package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +0 -1
- package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +8 -0
- package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +10 -0
- package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +0 -1
- package/dist/cjs/api/types/Task1.d.ts +1 -1
- package/dist/cjs/api/types/TaskArtifact1.d.ts +1 -0
- package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +2 -1
- package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +1 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupSortByEnum.d.ts +2 -1
- package/dist/cjs/api/types/TaskGroupSortByEnum.js +1 -0
- package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +2 -1
- package/dist/cjs/api/types/TaskGroupStatusEnum1.js +1 -0
- package/dist/cjs/api/types/TaskStatusEnum1.d.ts +2 -1
- package/dist/cjs/api/types/TaskStatusEnum1.js +1 -0
- package/dist/cjs/api/types/index.d.ts +11 -12
- package/dist/cjs/api/types/index.js +11 -12
- 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/analytics/resources/shipping/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
- package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.mts → AnalyticsTimePeriodReq.d.mts} +1 -1
- package/dist/esm/api/resources/analytics/resources/shipping/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/operations/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/operations/client/Client.mjs +8 -3
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +5 -125
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +17 -494
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +3 -8
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +76 -0
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +209 -0
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -1
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/index.d.mts +4 -2
- package/dist/esm/api/resources/operations/resources/index.mjs +4 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +181 -0
- package/dist/esm/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.mjs +204 -73
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.mts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts} +3 -2
- package/dist/{cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.ts → esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts} +2 -1
- package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.mts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.mts} +2 -2
- package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.mts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.mts} +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +13 -0
- package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.mts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts} +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +23 -5
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +108 -14
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +7 -2
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.mts → operationsTasks/client/requests/OperationsTaskStatusReq.d.mts} +3 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +15 -6
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +0 -14
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +0 -63
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +66 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.mts +15 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +64 -0
- package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.mts} +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +57 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +247 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +16 -1
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +65 -1
- package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts → shipping/resources/orders/client/requests/OrdersCancelManyReq.d.mts} +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -6
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +26 -34
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +4 -6
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +4 -6
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +26 -18
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +4 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +4 -2
- package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
- package/dist/esm/api/types/{AnalyticsTimeBucketResponse.d.mts → AnalyticsTimeBucketRes.d.mts} +1 -1
- package/dist/esm/api/types/Cargo1.d.mts +1 -0
- package/dist/esm/api/types/CargoStatusEnum1.d.mts +2 -1
- package/dist/esm/api/types/CargoStatusEnum1.mjs +1 -0
- package/dist/esm/api/types/Case1.d.mts +1 -12
- package/dist/esm/api/types/CaseSortByEnum.d.mts +1 -2
- package/dist/esm/api/types/CaseSortByEnum.mjs +0 -1
- package/dist/esm/api/types/Department1.d.mts +1 -0
- package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
- package/dist/esm/api/types/DepartmentTypeEnum.d.mts +10 -10
- package/dist/esm/api/types/DepartmentTypeEnum.mjs +9 -9
- package/dist/esm/api/types/DriverStatsRes.d.mts +11 -0
- package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -1
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -1
- package/dist/esm/api/types/OperationsTask1.d.mts +7 -2
- package/dist/esm/api/types/{Checklist1.d.mts → OperationsTaskList1.d.mts} +3 -2
- package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +23 -0
- package/dist/esm/api/types/{ChecklistListRes.d.mts → OperationsTaskListListRes.d.mts} +2 -2
- package/dist/esm/api/types/OperationsTaskListListRes.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +13 -0
- package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.mjs +4 -0
- package/dist/{cjs/api/types/ChecklistSortByEnum.d.ts → esm/api/types/OperationsTaskListSortByEnum.d.mts} +2 -2
- package/dist/esm/api/types/{ChecklistSortByEnum.mjs → OperationsTaskListSortByEnum.mjs} +1 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +17 -0
- package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +9 -0
- package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +23 -0
- package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +17 -0
- package/dist/esm/api/types/Order1.d.mts +1 -2
- package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderSortByEnum.d.mts +2 -2
- package/dist/esm/api/types/OrderSortByEnum.mjs +1 -1
- package/dist/esm/api/types/OrderStatusEnum1.d.mts +2 -1
- package/dist/esm/api/types/OrderStatusEnum1.mjs +1 -0
- package/dist/esm/api/types/ProviderProviderConnection1.d.mts +0 -1
- package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +8 -0
- package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +7 -0
- package/dist/esm/api/types/ShipperProviderConnection1.d.mts +0 -1
- package/dist/esm/api/types/Task1.d.mts +1 -1
- package/dist/esm/api/types/TaskArtifact1.d.mts +1 -0
- package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +2 -1
- package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +1 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupSortByEnum.d.mts +2 -1
- package/dist/esm/api/types/TaskGroupSortByEnum.mjs +1 -0
- package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +2 -1
- package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +1 -0
- package/dist/esm/api/types/TaskStatusEnum1.d.mts +2 -1
- package/dist/esm/api/types/TaskStatusEnum1.mjs +1 -0
- package/dist/esm/api/types/index.d.mts +11 -12
- package/dist/esm/api/types/index.mjs +11 -12
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +816 -516
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +0 -15
- package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +0 -150
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +0 -11
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +0 -5
- package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +0 -7
- package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +0 -8
- package/dist/cjs/api/types/CaseChecksSummary1.d.ts +0 -27
- package/dist/cjs/api/types/CaseStatusEnum.d.ts +0 -9
- package/dist/cjs/api/types/CaseStatusEnum.js +0 -11
- package/dist/cjs/api/types/Check1.d.ts +0 -33
- package/dist/cjs/api/types/CheckEnum.d.ts +0 -46
- package/dist/cjs/api/types/CheckEnum.js +0 -23
- package/dist/cjs/api/types/CheckStatusEnum.d.ts +0 -32
- package/dist/cjs/api/types/ChecklistCheck1.d.ts +0 -15
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +0 -15
- package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +0 -150
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +0 -11
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +0 -5
- package/dist/esm/api/types/CaseChecksDisableReq.d.mts +0 -7
- package/dist/esm/api/types/CaseChecksDismissReq.d.mts +0 -8
- package/dist/esm/api/types/CaseChecksSummary1.d.mts +0 -27
- package/dist/esm/api/types/CaseStatusEnum.d.mts +0 -9
- package/dist/esm/api/types/CaseStatusEnum.mjs +0 -8
- package/dist/esm/api/types/Check1.d.mts +0 -33
- package/dist/esm/api/types/CheckEnum.d.mts +0 -46
- package/dist/esm/api/types/CheckEnum.mjs +0 -20
- package/dist/esm/api/types/CheckStatusEnum.d.mts +0 -32
- package/dist/esm/api/types/CheckStatusEnum.mjs +0 -12
- package/dist/esm/api/types/ChecklistCheck1.d.mts +0 -15
- /package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.js → AnalyticsTimePeriodReq.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.js → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.js → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.js → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.js → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.js → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.js → operationsTasks/client/requests/OperationsTaskStatusReq.js} +0 -0
- /package/dist/cjs/api/resources/{operations/resources/checklists/client/requests/ChecklistsListV1Request.js → shipping/resources/drivers/client/requests/DriverStatsReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.js → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.js} +0 -0
- /package/dist/cjs/api/{types/AnalyticsTimeBucketResponse.js → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js} +0 -0
- /package/dist/cjs/api/{types/CaseChecksDisableReq.js → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js} +0 -0
- /package/dist/cjs/api/{types/CaseChecksDismissReq.js → resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.js} +0 -0
- /package/dist/cjs/api/types/{CaseChecksSummary1.js → AnalyticsTimeBucketRes.js} +0 -0
- /package/dist/cjs/api/types/{Check1.js → DepartmentRoutingRule1.js} +0 -0
- /package/dist/cjs/api/types/{Checklist1.js → DriverStatsRes.js} +0 -0
- /package/dist/cjs/api/types/{ChecklistCheck1.js → OperationsTaskList1.js} +0 -0
- /package/dist/cjs/api/types/{ChecklistListRes.js → OperationsTaskListEntry1.js} +0 -0
- /package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.mjs → AnalyticsTimePeriodReq.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.mjs → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.mjs → operationsTasks/client/requests/OperationsTaskStatusReq.mjs} +0 -0
- /package/dist/esm/api/resources/{operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs → shipping/resources/drivers/client/requests/DriverStatsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.mjs → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.mjs} +0 -0
- /package/dist/esm/api/{types/AnalyticsTimeBucketResponse.mjs → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs} +0 -0
- /package/dist/esm/api/{types/CaseChecksDisableReq.mjs → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs} +0 -0
- /package/dist/esm/api/{types/CaseChecksDismissReq.mjs → resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.mjs} +0 -0
- /package/dist/esm/api/types/{CaseChecksSummary1.mjs → AnalyticsTimeBucketRes.mjs} +0 -0
- /package/dist/esm/api/types/{Check1.mjs → DepartmentRoutingRule1.mjs} +0 -0
- /package/dist/esm/api/types/{Checklist1.mjs → DriverStatsRes.mjs} +0 -0
- /package/dist/esm/api/types/{ChecklistCheck1.mjs → OperationsTaskList1.mjs} +0 -0
- /package/dist/esm/api/types/{ChecklistListRes.mjs → OperationsTaskListEntry1.mjs} +0 -0
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs
CHANGED
|
@@ -168,11 +168,10 @@ export class Expanded {
|
|
|
168
168
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
169
169
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
170
170
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
171
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
172
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
171
173
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
172
174
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
173
|
-
* filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
174
|
-
* filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
175
|
-
* filter_order_cancelled: true,
|
|
176
175
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
177
176
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
178
177
|
* filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
@@ -184,8 +183,8 @@ export class Expanded {
|
|
|
184
183
|
}
|
|
185
184
|
__listForCoordinatorOperatorsV1(request, requestOptions) {
|
|
186
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
-
var _a, _b, _c, _d, _e, _f
|
|
188
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte,
|
|
186
|
+
var _a, _b, _c, _d, _e, _f;
|
|
187
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
|
|
189
188
|
const _queryParams = {};
|
|
190
189
|
if (sortBy !== undefined) {
|
|
191
190
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -234,21 +233,18 @@ export class Expanded {
|
|
|
234
233
|
if (filterCompletedAtTimestampGte !== undefined) {
|
|
235
234
|
_queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
|
|
236
235
|
}
|
|
236
|
+
if (filterCancelledAtTimestampLte !== undefined) {
|
|
237
|
+
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
238
|
+
}
|
|
239
|
+
if (filterCancelledAtTimestampGte !== undefined) {
|
|
240
|
+
_queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
|
|
241
|
+
}
|
|
237
242
|
if (filterExceptionAtTimestampLte !== undefined) {
|
|
238
243
|
_queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
|
|
239
244
|
}
|
|
240
245
|
if (filterExceptionAtTimestampGte !== undefined) {
|
|
241
246
|
_queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
|
|
242
247
|
}
|
|
243
|
-
if (filterOrderCancelledAtTimestampLte !== undefined) {
|
|
244
|
-
_queryParams["filter_order_cancelled_at_timestamp_lte"] = filterOrderCancelledAtTimestampLte;
|
|
245
|
-
}
|
|
246
|
-
if (filterOrderCancelledAtTimestampGte !== undefined) {
|
|
247
|
-
_queryParams["filter_order_cancelled_at_timestamp_gte"] = filterOrderCancelledAtTimestampGte;
|
|
248
|
-
}
|
|
249
|
-
if (filterOrderCancelled !== undefined) {
|
|
250
|
-
_queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
|
|
251
|
-
}
|
|
252
248
|
if (filterExecutorOrgId !== undefined) {
|
|
253
249
|
_queryParams["filter_executor_org_id"] = filterExecutorOrgId;
|
|
254
250
|
}
|
|
@@ -258,9 +254,9 @@ export class Expanded {
|
|
|
258
254
|
if (filterOffChrtShipperOrgId !== undefined) {
|
|
259
255
|
_queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
|
|
260
256
|
}
|
|
261
|
-
let _headers = mergeHeaders((
|
|
262
|
-
const _response = yield ((
|
|
263
|
-
url: core.url.join((
|
|
257
|
+
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
258
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
259
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
|
|
264
260
|
method: "POST",
|
|
265
261
|
headers: _headers,
|
|
266
262
|
contentType: "application/json",
|
|
@@ -326,11 +322,10 @@ export class Expanded {
|
|
|
326
322
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
327
323
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
328
324
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
325
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
326
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
329
327
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
330
328
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
331
|
-
* filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
332
|
-
* filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
333
|
-
* filter_order_cancelled: true,
|
|
334
329
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
335
330
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
336
331
|
* body: {}
|
|
@@ -341,8 +336,8 @@ export class Expanded {
|
|
|
341
336
|
}
|
|
342
337
|
__listForShipperOperatorsV1(request, requestOptions) {
|
|
343
338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
344
|
-
var _a, _b, _c, _d, _e, _f
|
|
345
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte,
|
|
339
|
+
var _a, _b, _c, _d, _e, _f;
|
|
340
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
346
341
|
const _queryParams = {};
|
|
347
342
|
if (sortBy !== undefined) {
|
|
348
343
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -391,30 +386,27 @@ export class Expanded {
|
|
|
391
386
|
if (filterCompletedAtTimestampGte !== undefined) {
|
|
392
387
|
_queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
|
|
393
388
|
}
|
|
389
|
+
if (filterCancelledAtTimestampLte !== undefined) {
|
|
390
|
+
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
391
|
+
}
|
|
392
|
+
if (filterCancelledAtTimestampGte !== undefined) {
|
|
393
|
+
_queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
|
|
394
|
+
}
|
|
394
395
|
if (filterExceptionAtTimestampLte !== undefined) {
|
|
395
396
|
_queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
|
|
396
397
|
}
|
|
397
398
|
if (filterExceptionAtTimestampGte !== undefined) {
|
|
398
399
|
_queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
|
|
399
400
|
}
|
|
400
|
-
if (filterOrderCancelledAtTimestampLte !== undefined) {
|
|
401
|
-
_queryParams["filter_order_cancelled_at_timestamp_lte"] = filterOrderCancelledAtTimestampLte;
|
|
402
|
-
}
|
|
403
|
-
if (filterOrderCancelledAtTimestampGte !== undefined) {
|
|
404
|
-
_queryParams["filter_order_cancelled_at_timestamp_gte"] = filterOrderCancelledAtTimestampGte;
|
|
405
|
-
}
|
|
406
|
-
if (filterOrderCancelled !== undefined) {
|
|
407
|
-
_queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
|
|
408
|
-
}
|
|
409
401
|
if (filterExecutorOrgId !== undefined) {
|
|
410
402
|
_queryParams["filter_executor_org_id"] = filterExecutorOrgId;
|
|
411
403
|
}
|
|
412
404
|
if (filterCoordinatorOrgId !== undefined) {
|
|
413
405
|
_queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
|
|
414
406
|
}
|
|
415
|
-
let _headers = mergeHeaders((
|
|
416
|
-
const _response = yield ((
|
|
417
|
-
url: core.url.join((
|
|
407
|
+
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
408
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
409
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_shipper_operators/v1"),
|
|
418
410
|
method: "POST",
|
|
419
411
|
headers: _headers,
|
|
420
412
|
contentType: "application/json",
|
|
@@ -18,11 +18,10 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
18
18
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
19
19
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
20
20
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
22
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
23
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
22
24
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
23
|
-
* filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
24
|
-
* filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
25
|
-
* filter_order_cancelled: true,
|
|
26
25
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
27
26
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
28
27
|
* filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
@@ -46,11 +45,10 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
|
|
|
46
45
|
filter_in_progress_at_timestamp_gte?: string | null;
|
|
47
46
|
filter_completed_at_timestamp_lte?: string | null;
|
|
48
47
|
filter_completed_at_timestamp_gte?: string | null;
|
|
48
|
+
filter_cancelled_at_timestamp_lte?: string | null;
|
|
49
|
+
filter_cancelled_at_timestamp_gte?: string | null;
|
|
49
50
|
filter_exception_at_timestamp_lte?: string | null;
|
|
50
51
|
filter_exception_at_timestamp_gte?: string | null;
|
|
51
|
-
filter_order_cancelled_at_timestamp_lte?: string | null;
|
|
52
|
-
filter_order_cancelled_at_timestamp_gte?: string | null;
|
|
53
|
-
filter_order_cancelled?: boolean | null;
|
|
54
52
|
filter_executor_org_id?: string | null;
|
|
55
53
|
filter_shipper_org_id?: string | null;
|
|
56
54
|
filter_off_chrt_shipper_org_id?: string | null;
|
|
@@ -18,11 +18,10 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
18
18
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
19
19
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
20
20
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
22
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
23
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
22
24
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
23
|
-
* filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
24
|
-
* filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
25
|
-
* filter_order_cancelled: true,
|
|
26
25
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
27
26
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
28
27
|
* body: {}
|
|
@@ -45,11 +44,10 @@ export interface ExpandedListForShipperOperatorsV1Request {
|
|
|
45
44
|
filter_in_progress_at_timestamp_gte?: string | null;
|
|
46
45
|
filter_completed_at_timestamp_lte?: string | null;
|
|
47
46
|
filter_completed_at_timestamp_gte?: string | null;
|
|
47
|
+
filter_cancelled_at_timestamp_lte?: string | null;
|
|
48
|
+
filter_cancelled_at_timestamp_gte?: string | null;
|
|
48
49
|
filter_exception_at_timestamp_lte?: string | null;
|
|
49
50
|
filter_exception_at_timestamp_gte?: string | null;
|
|
50
|
-
filter_order_cancelled_at_timestamp_lte?: string | null;
|
|
51
|
-
filter_order_cancelled_at_timestamp_gte?: string | null;
|
|
52
|
-
filter_order_cancelled?: boolean | null;
|
|
53
51
|
filter_executor_org_id?: string | null;
|
|
54
52
|
filter_coordinator_org_id?: string | null;
|
|
55
53
|
body: Chrt.OrderAndTaskGroupExpandedReq;
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -111,9 +111,10 @@ export declare class Expanded {
|
|
|
111
111
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
112
112
|
* filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
113
113
|
* filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
114
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
115
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
114
116
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
115
117
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
116
|
-
* filter_order_cancelled: true,
|
|
117
118
|
* filter_driver_id: "filter_driver_id",
|
|
118
119
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
119
120
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
@@ -148,9 +149,10 @@ export declare class Expanded {
|
|
|
148
149
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
149
150
|
* filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
150
151
|
* filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
152
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
153
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
151
154
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
152
155
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
153
|
-
* filter_order_cancelled: true,
|
|
154
156
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
155
157
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
156
158
|
* filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs
CHANGED
|
@@ -296,9 +296,10 @@ export class Expanded {
|
|
|
296
296
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
297
297
|
* filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
298
298
|
* filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
299
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
300
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
299
301
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
300
302
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
301
|
-
* filter_order_cancelled: true,
|
|
302
303
|
* filter_driver_id: "filter_driver_id",
|
|
303
304
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
304
305
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
@@ -311,8 +312,8 @@ export class Expanded {
|
|
|
311
312
|
}
|
|
312
313
|
__listForExecutorOperatorsV1(request, requestOptions) {
|
|
313
314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
-
var _a, _b, _c, _d, _e, _f
|
|
315
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte,
|
|
315
|
+
var _a, _b, _c, _d, _e, _f;
|
|
316
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
|
|
316
317
|
const _queryParams = {};
|
|
317
318
|
if (sortBy !== undefined) {
|
|
318
319
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -367,15 +368,18 @@ export class Expanded {
|
|
|
367
368
|
if (filterSkippedAtTimestampGte !== undefined) {
|
|
368
369
|
_queryParams["filter_skipped_at_timestamp_gte"] = filterSkippedAtTimestampGte;
|
|
369
370
|
}
|
|
371
|
+
if (filterCancelledAtTimestampLte !== undefined) {
|
|
372
|
+
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
373
|
+
}
|
|
374
|
+
if (filterCancelledAtTimestampGte !== undefined) {
|
|
375
|
+
_queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
|
|
376
|
+
}
|
|
370
377
|
if (filterExceptionAtTimestampLte !== undefined) {
|
|
371
378
|
_queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
|
|
372
379
|
}
|
|
373
380
|
if (filterExceptionAtTimestampGte !== undefined) {
|
|
374
381
|
_queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
|
|
375
382
|
}
|
|
376
|
-
if (filterOrderCancelled !== undefined) {
|
|
377
|
-
_queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
|
|
378
|
-
}
|
|
379
383
|
if (filterDriverId !== undefined) {
|
|
380
384
|
_queryParams["filter_driver_id"] = filterDriverId;
|
|
381
385
|
}
|
|
@@ -388,9 +392,9 @@ export class Expanded {
|
|
|
388
392
|
if (filterOffChrtShipperOrgId !== undefined) {
|
|
389
393
|
_queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
|
|
390
394
|
}
|
|
391
|
-
let _headers = mergeHeaders((
|
|
392
|
-
const _response = yield ((
|
|
393
|
-
url: core.url.join((
|
|
395
|
+
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
396
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
397
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/task_groups/expanded/list/for_executor_operators/v1"),
|
|
394
398
|
method: "POST",
|
|
395
399
|
headers: _headers,
|
|
396
400
|
contentType: "application/json",
|
|
@@ -458,9 +462,10 @@ export class Expanded {
|
|
|
458
462
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
459
463
|
* filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
460
464
|
* filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
465
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
466
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
461
467
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
462
468
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
463
|
-
* filter_order_cancelled: true,
|
|
464
469
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
465
470
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
466
471
|
* filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
@@ -472,8 +477,8 @@ export class Expanded {
|
|
|
472
477
|
}
|
|
473
478
|
__listForDriverForExecutorV1(request, requestOptions) {
|
|
474
479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
475
|
-
var _a, _b, _c, _d, _e, _f
|
|
476
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte,
|
|
480
|
+
var _a, _b, _c, _d, _e, _f;
|
|
481
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
|
|
477
482
|
const _queryParams = {};
|
|
478
483
|
if (sortBy !== undefined) {
|
|
479
484
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -528,15 +533,18 @@ export class Expanded {
|
|
|
528
533
|
if (filterSkippedAtTimestampGte !== undefined) {
|
|
529
534
|
_queryParams["filter_skipped_at_timestamp_gte"] = filterSkippedAtTimestampGte;
|
|
530
535
|
}
|
|
536
|
+
if (filterCancelledAtTimestampLte !== undefined) {
|
|
537
|
+
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
538
|
+
}
|
|
539
|
+
if (filterCancelledAtTimestampGte !== undefined) {
|
|
540
|
+
_queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
|
|
541
|
+
}
|
|
531
542
|
if (filterExceptionAtTimestampLte !== undefined) {
|
|
532
543
|
_queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
|
|
533
544
|
}
|
|
534
545
|
if (filterExceptionAtTimestampGte !== undefined) {
|
|
535
546
|
_queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
|
|
536
547
|
}
|
|
537
|
-
if (filterOrderCancelled !== undefined) {
|
|
538
|
-
_queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
|
|
539
|
-
}
|
|
540
548
|
if (filterCoordinatorOrgId !== undefined) {
|
|
541
549
|
_queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
|
|
542
550
|
}
|
|
@@ -546,9 +554,9 @@ export class Expanded {
|
|
|
546
554
|
if (filterOffChrtShipperOrgId !== undefined) {
|
|
547
555
|
_queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
|
|
548
556
|
}
|
|
549
|
-
let _headers = mergeHeaders((
|
|
550
|
-
const _response = yield ((
|
|
551
|
-
url: core.url.join((
|
|
557
|
+
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
558
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
559
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/task_groups/expanded/list/for_driver_for_executor/v1"),
|
|
552
560
|
method: "POST",
|
|
553
561
|
headers: _headers,
|
|
554
562
|
contentType: "application/json",
|
|
@@ -20,9 +20,10 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
20
20
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
21
|
* filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
22
22
|
* filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
23
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
24
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
23
25
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
24
26
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
25
|
-
* filter_order_cancelled: true,
|
|
26
27
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
27
28
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
28
29
|
* filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
@@ -48,9 +49,10 @@ export interface ExpandedListForDriverForExecutorV1Request {
|
|
|
48
49
|
filter_completed_at_timestamp_gte?: string | null;
|
|
49
50
|
filter_skipped_at_timestamp_lte?: string | null;
|
|
50
51
|
filter_skipped_at_timestamp_gte?: string | null;
|
|
52
|
+
filter_cancelled_at_timestamp_lte?: string | null;
|
|
53
|
+
filter_cancelled_at_timestamp_gte?: string | null;
|
|
51
54
|
filter_exception_at_timestamp_lte?: string | null;
|
|
52
55
|
filter_exception_at_timestamp_gte?: string | null;
|
|
53
|
-
filter_order_cancelled?: boolean | null;
|
|
54
56
|
filter_coordinator_org_id?: string | null;
|
|
55
57
|
filter_shipper_org_id?: string | null;
|
|
56
58
|
filter_off_chrt_shipper_org_id?: string | null;
|
|
@@ -20,9 +20,10 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
20
20
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
21
|
* filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
22
22
|
* filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
23
|
+
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
24
|
+
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
23
25
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
24
26
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
25
|
-
* filter_order_cancelled: true,
|
|
26
27
|
* filter_driver_id: "filter_driver_id",
|
|
27
28
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
28
29
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
@@ -49,9 +50,10 @@ export interface ExpandedListForExecutorOperatorsV1Request {
|
|
|
49
50
|
filter_completed_at_timestamp_gte?: string | null;
|
|
50
51
|
filter_skipped_at_timestamp_lte?: string | null;
|
|
51
52
|
filter_skipped_at_timestamp_gte?: string | null;
|
|
53
|
+
filter_cancelled_at_timestamp_lte?: string | null;
|
|
54
|
+
filter_cancelled_at_timestamp_gte?: string | null;
|
|
52
55
|
filter_exception_at_timestamp_lte?: string | null;
|
|
53
56
|
filter_exception_at_timestamp_gte?: string | null;
|
|
54
|
-
filter_order_cancelled?: boolean | null;
|
|
55
57
|
filter_driver_id?: string | null;
|
|
56
58
|
filter_coordinator_org_id?: string | null;
|
|
57
59
|
filter_shipper_org_id?: string | null;
|
|
@@ -6,7 +6,7 @@ import * as Chrt from "../index.mjs";
|
|
|
6
6
|
* Structured, factual description of a task-artifact image produced by an LLM.
|
|
7
7
|
*
|
|
8
8
|
* Stored on `TaskArtifactS3ObjectMetadata1.ai_image_description` so downstream
|
|
9
|
-
* consumers (Q&A, search, audit
|
|
9
|
+
* consumers (Q&A, search, audit) can answer questions about the
|
|
10
10
|
* artifact without re-sending the image. `model` records which LLM produced
|
|
11
11
|
* the description; `provider` is derived from `model` so the two can never
|
|
12
12
|
* disagree.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CargoStatusEnum1 = "draft" | "staged" | "in_transit" | "delivered" | "skipped" | "exception";
|
|
4
|
+
export type CargoStatusEnum1 = "draft" | "staged" | "in_transit" | "delivered" | "skipped" | "cancelled" | "exception";
|
|
5
5
|
export declare const CargoStatusEnum1: {
|
|
6
6
|
readonly Draft: "draft";
|
|
7
7
|
readonly Staged: "staged";
|
|
8
8
|
readonly InTransit: "in_transit";
|
|
9
9
|
readonly Delivered: "delivered";
|
|
10
10
|
readonly Skipped: "skipped";
|
|
11
|
+
readonly Cancelled: "cancelled";
|
|
11
12
|
readonly Exception: "exception";
|
|
12
13
|
};
|
|
@@ -5,23 +5,12 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface Case1 {
|
|
6
6
|
schema_version: number;
|
|
7
7
|
order_id: string;
|
|
8
|
-
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
9
|
-
order_ref?: string | null;
|
|
10
|
-
order_short_id?: string | null;
|
|
11
8
|
department_id?: string | null;
|
|
12
|
-
|
|
9
|
+
assigned_user_ids?: string[];
|
|
13
10
|
case_s3_object_metadata_ids?: string[];
|
|
14
11
|
_id: string;
|
|
15
12
|
/** Must be a string starting with `org_` */
|
|
16
13
|
org_id: string;
|
|
17
|
-
status?: Chrt.CaseStatusEnum;
|
|
18
|
-
needs_action?: boolean;
|
|
19
14
|
messages?: Chrt.CaseMessage1[];
|
|
20
|
-
enabled_check_keys?: Chrt.CheckEnum[];
|
|
21
|
-
disabled_check_keys?: Chrt.CheckEnum[];
|
|
22
|
-
checks?: Chrt.Check1[];
|
|
23
|
-
checks_summary?: Chrt.CaseChecksSummary1;
|
|
24
|
-
/** Must be a string starting with `user_` */
|
|
25
|
-
created_by_user_id: string;
|
|
26
15
|
created_at: string;
|
|
27
16
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CaseSortByEnum = "created_at" | "
|
|
4
|
+
export type CaseSortByEnum = "created_at" | "department_id";
|
|
5
5
|
export declare const CaseSortByEnum: {
|
|
6
6
|
readonly CreatedAt: "created_at";
|
|
7
|
-
readonly Status: "status";
|
|
8
7
|
readonly DepartmentId: "department_id";
|
|
9
8
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface DepartmentRoutingRule1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
counterparty_type: Chrt.RoutingCounterpartyTypeEnum;
|
|
8
|
+
counterparty_id: string;
|
|
9
|
+
department_id: string;
|
|
10
|
+
_id: string;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
owner_org_id: string;
|
|
13
|
+
/** Must be a string starting with `user_` */
|
|
14
|
+
created_by_user_id: string;
|
|
15
|
+
created_at: string;
|
|
16
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type DepartmentTypeEnum = "
|
|
4
|
+
export type DepartmentTypeEnum = "aerospace" | "agriculture" | "automotive" | "chemicals" | "electronics" | "energy" | "food_and_beverage" | "general" | "healthcare" | "industrials" | "life_sciences" | "live_animals" | "manufacturing" | "pharmaceutical" | "radiopharma" | "retail" | "semiconductor";
|
|
5
5
|
export declare const DepartmentTypeEnum: {
|
|
6
|
-
readonly Automotive: "automotive";
|
|
7
|
-
readonly Semiconductor: "semiconductor";
|
|
8
|
-
readonly Pharmaceutical: "pharmaceutical";
|
|
9
6
|
readonly Aerospace: "aerospace";
|
|
10
7
|
readonly Agriculture: "agriculture";
|
|
11
|
-
readonly
|
|
12
|
-
readonly Manufacturing: "manufacturing";
|
|
13
|
-
readonly Energy: "energy";
|
|
14
|
-
readonly FoodAndBeverage: "food_and_beverage";
|
|
8
|
+
readonly Automotive: "automotive";
|
|
15
9
|
readonly Chemicals: "chemicals";
|
|
16
10
|
readonly Electronics: "electronics";
|
|
11
|
+
readonly Energy: "energy";
|
|
12
|
+
readonly FoodAndBeverage: "food_and_beverage";
|
|
13
|
+
readonly General: "general";
|
|
17
14
|
readonly Healthcare: "healthcare";
|
|
18
15
|
readonly Industrials: "industrials";
|
|
19
|
-
readonly LiveAnimals: "live_animals";
|
|
20
16
|
readonly LifeSciences: "life_sciences";
|
|
17
|
+
readonly LiveAnimals: "live_animals";
|
|
18
|
+
readonly Manufacturing: "manufacturing";
|
|
19
|
+
readonly Pharmaceutical: "pharmaceutical";
|
|
21
20
|
readonly Radiopharma: "radiopharma";
|
|
22
|
-
readonly
|
|
21
|
+
readonly Retail: "retail";
|
|
22
|
+
readonly Semiconductor: "semiconductor";
|
|
23
23
|
};
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export const DepartmentTypeEnum = {
|
|
5
|
-
Automotive: "automotive",
|
|
6
|
-
Semiconductor: "semiconductor",
|
|
7
|
-
Pharmaceutical: "pharmaceutical",
|
|
8
5
|
Aerospace: "aerospace",
|
|
9
6
|
Agriculture: "agriculture",
|
|
10
|
-
|
|
11
|
-
Manufacturing: "manufacturing",
|
|
12
|
-
Energy: "energy",
|
|
13
|
-
FoodAndBeverage: "food_and_beverage",
|
|
7
|
+
Automotive: "automotive",
|
|
14
8
|
Chemicals: "chemicals",
|
|
15
9
|
Electronics: "electronics",
|
|
10
|
+
Energy: "energy",
|
|
11
|
+
FoodAndBeverage: "food_and_beverage",
|
|
12
|
+
General: "general",
|
|
16
13
|
Healthcare: "healthcare",
|
|
17
14
|
Industrials: "industrials",
|
|
18
|
-
LiveAnimals: "live_animals",
|
|
19
15
|
LifeSciences: "life_sciences",
|
|
16
|
+
LiveAnimals: "live_animals",
|
|
17
|
+
Manufacturing: "manufacturing",
|
|
18
|
+
Pharmaceutical: "pharmaceutical",
|
|
20
19
|
Radiopharma: "radiopharma",
|
|
21
|
-
|
|
20
|
+
Retail: "retail",
|
|
21
|
+
Semiconductor: "semiconductor",
|
|
22
22
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface DriverStatsRes {
|
|
6
|
+
task_groups: Chrt.TaskGroup1[];
|
|
7
|
+
excluded_task_groups: Chrt.TaskGroup1[];
|
|
8
|
+
cleaned_task_group_duration_hours: number;
|
|
9
|
+
overlap_detected: boolean;
|
|
10
|
+
total_mileage_observed?: number | null;
|
|
11
|
+
}
|
|
@@ -6,7 +6,6 @@ export interface OffChrtProviderOrg1 {
|
|
|
6
6
|
schema_version: number;
|
|
7
7
|
company_name?: string | null;
|
|
8
8
|
industry?: string | null;
|
|
9
|
-
department_id?: string | null;
|
|
10
9
|
street_address?: Chrt.LocationFeature | null;
|
|
11
10
|
contact_first_name?: string | null;
|
|
12
11
|
contact_last_name?: string | null;
|
|
@@ -6,7 +6,6 @@ export interface OffChrtShipperOrg1 {
|
|
|
6
6
|
schema_version: number;
|
|
7
7
|
company_name?: string | null;
|
|
8
8
|
industry?: string | null;
|
|
9
|
-
department_id?: string | null;
|
|
10
9
|
street_address?: Chrt.LocationFeature | null;
|
|
11
10
|
contact_first_name?: string | null;
|
|
12
11
|
contact_last_name?: string | null;
|