@chrt-inc/typescript-sdk 1.906.0 → 1.917.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/client/Client.js +15 -10
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/index.js +3 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +186 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +695 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +29 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +30 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewCore1.d.ts +26 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewCore1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.d.ts +16 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +45 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/index.js +18 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.js +320 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.ts +25 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.ts +32 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.d.ts +10 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/index.js +47 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.js +388 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.d.ts +15 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.d.ts +10 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.js +320 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.d.ts +22 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.d.ts +10 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.d.ts +125 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.js +450 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.d.ts +10 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.d.ts +22 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.ts +20 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.d.ts +10 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +14 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +63 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.d.ts +11 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +6 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.ts +4 -3
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +1 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +1 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.js +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.js +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.js +2 -2
- package/dist/cjs/api/types/Cargo1.d.ts +1 -0
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -0
- package/dist/cjs/api/types/CargoClientUpdate1.d.ts +2 -0
- package/dist/cjs/api/types/Order1.d.ts +2 -1
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +2 -1
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +2 -1
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplateNew1.d.ts +31 -0
- package/dist/cjs/api/types/OrderTemplateNew1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewCargo1.d.ts +20 -0
- package/dist/cjs/api/types/OrderTemplateNewCargo1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewDateTimeWindow1.d.ts +9 -0
- package/dist/cjs/api/types/OrderTemplateNewDateTimeWindow1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewDateparserResolveRes.d.ts +11 -0
- package/dist/cjs/api/types/OrderTemplateNewDateparserResolveRes.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +8 -0
- package/dist/cjs/api/types/OrderTemplateNewListRes.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/OrderTemplateNewSortByEnum.js +12 -0
- package/dist/cjs/api/types/OrderTemplateNewTask1.d.ts +20 -0
- package/dist/cjs/api/types/OrderTemplateNewTask1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewTaskArtifact1.d.ts +10 -0
- package/dist/cjs/api/types/OrderTemplateNewTaskArtifact1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewTaskGroup1.d.ts +15 -0
- package/dist/cjs/api/types/OrderTemplateNewTaskGroup1.js +5 -0
- package/dist/cjs/api/types/ReelablesDataPoint1.d.ts +2 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +2 -1
- package/dist/cjs/api/types/VehicleTypeEnum.d.ts +2 -1
- package/dist/cjs/api/types/VehicleTypeEnum.js +1 -0
- package/dist/cjs/api/types/index.d.ts +9 -0
- package/dist/cjs/api/types/index.js +9 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/shipping/client/Client.mjs +5 -0
- package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/index.mjs +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +186 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +658 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +29 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +30 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewCore1.d.mts +26 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewCore1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.d.mts +16 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewDateparserResolveReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +45 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/index.mjs +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.mjs +283 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.mts +25 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.mts +32 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoReorderReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/index.mjs +8 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/Client.mjs +351 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.d.mts +15 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactMoveReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/OrderTemplateNewTaskArtifactReorderReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskArtifacts/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/Client.mjs +283 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.d.mts +22 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/OrderTemplateNewTaskGroupReorderReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/taskGroups/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.d.mts +125 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/Client.mjs +413 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskCargoAssociationsReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.d.mts +22 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.mts +20 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskMoveReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskReorderReq1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +14 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +63 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.d.mts +11 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersCreateDraftFromOrderTemplateNewReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +6 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/SetVehicleTypeReq.d.mts +4 -3
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +1 -1
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +1 -1
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.mjs +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.mjs +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.mjs +2 -2
- package/dist/esm/api/types/Cargo1.d.mts +1 -0
- package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -0
- package/dist/esm/api/types/CargoClientUpdate1.d.mts +2 -0
- package/dist/esm/api/types/Order1.d.mts +2 -1
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +2 -1
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +2 -1
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplateNew1.d.mts +31 -0
- package/dist/esm/api/types/OrderTemplateNew1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewCargo1.d.mts +20 -0
- package/dist/esm/api/types/OrderTemplateNewCargo1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewDateTimeWindow1.d.mts +9 -0
- package/dist/esm/api/types/OrderTemplateNewDateTimeWindow1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewDateparserResolveRes.d.mts +11 -0
- package/dist/esm/api/types/OrderTemplateNewDateparserResolveRes.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +8 -0
- package/dist/esm/api/types/OrderTemplateNewListRes.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/OrderTemplateNewSortByEnum.mjs +9 -0
- package/dist/esm/api/types/OrderTemplateNewTask1.d.mts +20 -0
- package/dist/esm/api/types/OrderTemplateNewTask1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewTaskArtifact1.d.mts +10 -0
- package/dist/esm/api/types/OrderTemplateNewTaskArtifact1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewTaskGroup1.d.mts +15 -0
- package/dist/esm/api/types/OrderTemplateNewTaskGroup1.mjs +4 -0
- package/dist/esm/api/types/ReelablesDataPoint1.d.mts +2 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +2 -1
- package/dist/esm/api/types/VehicleTypeEnum.d.mts +2 -1
- package/dist/esm/api/types/VehicleTypeEnum.mjs +1 -0
- package/dist/esm/api/types/index.d.mts +9 -0
- package/dist/esm/api/types/index.mjs +9 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2621 -487
|
@@ -402,6 +402,69 @@ class Drafts {
|
|
|
402
402
|
}
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* Creates a draft Order and its related records from an active OrderTemplateNew. | authz: min_org_role=operator | (OrdersCreateDraftFromOrderTemplateNewReq) -> (OrdersOpenDraftRes)
|
|
407
|
+
*
|
|
408
|
+
* @param {string} orderTemplateId
|
|
409
|
+
* @param {Chrt.shipping.orders.OrdersCreateDraftFromOrderTemplateNewReq} request
|
|
410
|
+
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
411
|
+
*
|
|
412
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
413
|
+
*
|
|
414
|
+
* @example
|
|
415
|
+
* await client.shipping.orders.drafts.createFromOrderTemplateNewV1("order_template_id")
|
|
416
|
+
*/
|
|
417
|
+
createFromOrderTemplateNewV1(orderTemplateId, request = {}, requestOptions) {
|
|
418
|
+
return core.HttpResponsePromise.fromPromise(this.__createFromOrderTemplateNewV1(orderTemplateId, request, requestOptions));
|
|
419
|
+
}
|
|
420
|
+
__createFromOrderTemplateNewV1(orderTemplateId_1) {
|
|
421
|
+
return __awaiter(this, arguments, void 0, function* (orderTemplateId, request = {}, requestOptions) {
|
|
422
|
+
var _a, _b, _c, _d;
|
|
423
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
424
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
425
|
+
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/create_from_order_template_new/v1/${encodeURIComponent(orderTemplateId)}`),
|
|
426
|
+
method: "POST",
|
|
427
|
+
headers: _headers,
|
|
428
|
+
contentType: "application/json",
|
|
429
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
430
|
+
requestType: "json",
|
|
431
|
+
body: request,
|
|
432
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
433
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
434
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
435
|
+
});
|
|
436
|
+
if (_response.ok) {
|
|
437
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
438
|
+
}
|
|
439
|
+
if (_response.error.reason === "status-code") {
|
|
440
|
+
switch (_response.error.statusCode) {
|
|
441
|
+
case 422:
|
|
442
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
443
|
+
default:
|
|
444
|
+
throw new errors.ChrtError({
|
|
445
|
+
statusCode: _response.error.statusCode,
|
|
446
|
+
body: _response.error.body,
|
|
447
|
+
rawResponse: _response.rawResponse,
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
switch (_response.error.reason) {
|
|
452
|
+
case "non-json":
|
|
453
|
+
throw new errors.ChrtError({
|
|
454
|
+
statusCode: _response.error.statusCode,
|
|
455
|
+
body: _response.error.rawBody,
|
|
456
|
+
rawResponse: _response.rawResponse,
|
|
457
|
+
});
|
|
458
|
+
case "timeout":
|
|
459
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/drafts/create_from_order_template_new/v1/{order_template_id}.");
|
|
460
|
+
case "unknown":
|
|
461
|
+
throw new errors.ChrtError({
|
|
462
|
+
message: _response.error.errorMessage,
|
|
463
|
+
rawResponse: _response.rawResponse,
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
}
|
|
405
468
|
/**
|
|
406
469
|
* Deletes a draft order and all associated entities. | authz_personas=[draft_creator_org_operator] | () -> (bool)
|
|
407
470
|
*
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { type DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request } from "./DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js";
|
|
2
|
+
export { type OrdersCreateDraftFromOrderTemplateNewReq } from "./OrdersCreateDraftFromOrderTemplateNewReq.js";
|
|
2
3
|
export { type OrdersDraftDeleteManyReq } from "./OrdersDraftDeleteManyReq.js";
|
|
3
4
|
export { type BodyPostShippingOrdersDraftsImageToTextV1 } from "./BodyPostShippingOrdersDraftsImageToTextV1.js";
|
|
4
5
|
export { type OrdersOpenDraftReq } from "./OrdersOpenDraftReq.js";
|
|
@@ -163,9 +163,11 @@ export declare class TaskGroup {
|
|
|
163
163
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
|
-
* await client.shipping.orders.drafts.taskGroup.setVehicleTypeV1("task_group_id"
|
|
166
|
+
* await client.shipping.orders.drafts.taskGroup.setVehicleTypeV1("task_group_id", {
|
|
167
|
+
* vehicle_type: "sedan"
|
|
168
|
+
* })
|
|
167
169
|
*/
|
|
168
|
-
setVehicleTypeV1(taskGroupId: string, request
|
|
170
|
+
setVehicleTypeV1(taskGroupId: string, request: Chrt.shipping.orders.drafts.SetVehicleTypeReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
169
171
|
private __setVehicleTypeV1;
|
|
170
172
|
/**
|
|
171
173
|
* Assigns or swaps the driver on a draft task group. Only the executor org may assign drivers. | authz_personas=[executor_org_operators] | (OrderDraftUpdateDriverReq) -> (bool)
|
|
@@ -571,13 +571,15 @@ class TaskGroup {
|
|
|
571
571
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
572
572
|
*
|
|
573
573
|
* @example
|
|
574
|
-
* await client.shipping.orders.drafts.taskGroup.setVehicleTypeV1("task_group_id"
|
|
574
|
+
* await client.shipping.orders.drafts.taskGroup.setVehicleTypeV1("task_group_id", {
|
|
575
|
+
* vehicle_type: "sedan"
|
|
576
|
+
* })
|
|
575
577
|
*/
|
|
576
|
-
setVehicleTypeV1(taskGroupId, request
|
|
578
|
+
setVehicleTypeV1(taskGroupId, request, requestOptions) {
|
|
577
579
|
return core.HttpResponsePromise.fromPromise(this.__setVehicleTypeV1(taskGroupId, request, requestOptions));
|
|
578
580
|
}
|
|
579
|
-
__setVehicleTypeV1(
|
|
580
|
-
return __awaiter(this,
|
|
581
|
+
__setVehicleTypeV1(taskGroupId, request, requestOptions) {
|
|
582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
581
583
|
var _a, _b, _c, _d;
|
|
582
584
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
583
585
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
import * as Chrt from "../../../../../../../../../../index.js";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* vehicle_type: "sedan"
|
|
9
|
+
* }
|
|
8
10
|
*/
|
|
9
11
|
export interface SetVehicleTypeReq {
|
|
10
|
-
vehicle_type
|
|
11
|
-
vehicle_type__set_to_None?: boolean;
|
|
12
|
+
vehicle_type: Chrt.VehicleTypeEnum;
|
|
12
13
|
}
|
|
@@ -31,7 +31,7 @@ export declare class Assets {
|
|
|
31
31
|
protected readonly _options: Assets.Options;
|
|
32
32
|
constructor(_options?: Assets.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Refreshes and retrieves a Reelables asset by its external ID. | authz: min_org_role=operator | () -> (ReelablesAsset1)
|
|
34
|
+
* Refreshes and retrieves a Reelables asset by its external ID. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAsset1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} assetId
|
|
37
37
|
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -44,7 +44,7 @@ export declare class Assets {
|
|
|
44
44
|
getV1(assetId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAsset1>;
|
|
45
45
|
private __getV1;
|
|
46
46
|
/**
|
|
47
|
-
* Lists cached Reelables assets for a workspace. | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
|
|
47
|
+
* Lists cached Reelables assets for a workspace. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
|
|
48
48
|
*
|
|
49
49
|
* @param {string} workspaceId
|
|
50
50
|
* @param {Chrt.trackingIntegrations.reelables.AssetsListV1Request} request
|
|
@@ -56,7 +56,7 @@ class Assets {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Refreshes and retrieves a Reelables asset by its external ID. | authz: min_org_role=operator | () -> (ReelablesAsset1)
|
|
59
|
+
* Refreshes and retrieves a Reelables asset by its external ID. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAsset1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} assetId
|
|
62
62
|
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ class Assets {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
* Lists cached Reelables assets for a workspace. | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
|
|
118
|
+
* Lists cached Reelables assets for a workspace. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
|
|
119
119
|
*
|
|
120
120
|
* @param {string} workspaceId
|
|
121
121
|
* @param {Chrt.trackingIntegrations.reelables.AssetsListV1Request} request
|
|
@@ -31,7 +31,7 @@ export declare class Timeseries {
|
|
|
31
31
|
protected readonly _options: Timeseries.Options;
|
|
32
32
|
constructor(_options?: Timeseries.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Refreshes and returns Reelables location data points within the requested time range. | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
|
|
34
|
+
* Refreshes and returns Reelables location data points within the requested time range. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} assetId
|
|
37
37
|
* @param {Chrt.trackingIntegrations.reelables.TimeseriesDataPointsV1Request} request
|
|
@@ -56,7 +56,7 @@ class Timeseries {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Refreshes and returns Reelables location data points within the requested time range. | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
|
|
59
|
+
* Refreshes and returns Reelables location data points within the requested time range. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesTimeseriesRes)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} assetId
|
|
62
62
|
* @param {Chrt.trackingIntegrations.reelables.TimeseriesDataPointsV1Request} request
|
|
@@ -31,7 +31,7 @@ export declare class Workspaces {
|
|
|
31
31
|
protected readonly _options: Workspaces.Options;
|
|
32
32
|
constructor(_options?: Workspaces.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Lists cached Reelables workspaces for the caller's organization. | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
|
|
34
|
+
* Lists cached Reelables workspaces for the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.trackingIntegrations.reelables.WorkspacesListV1Request} request
|
|
37
37
|
* @param {Workspaces.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class Workspaces {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Lists cached Reelables workspaces for the caller's organization. | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
|
|
59
|
+
* Lists cached Reelables workspaces for the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (ReelablesWorkspaceListRes)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.trackingIntegrations.reelables.WorkspacesListV1Request} request
|
|
62
62
|
* @param {Workspaces.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Devices {
|
|
|
31
31
|
protected readonly _options: Devices.Options;
|
|
32
32
|
constructor(_options?: Devices.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves a single Tive device by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDevice1)
|
|
34
|
+
* Retrieves a single Tive device by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDevice1)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.trackingIntegrations.tive.DevicesGetV1Request} request
|
|
37
37
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -46,7 +46,7 @@ export declare class Devices {
|
|
|
46
46
|
getV1(request: Chrt.trackingIntegrations.tive.DevicesGetV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.TiveDevice1>;
|
|
47
47
|
private __getV1;
|
|
48
48
|
/**
|
|
49
|
-
* Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDeviceListRes)
|
|
49
|
+
* Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDeviceListRes)
|
|
50
50
|
*
|
|
51
51
|
* @param {Chrt.trackingIntegrations.tive.DevicesListV1Request} request
|
|
52
52
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class Devices {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a single Tive device by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDevice1)
|
|
59
|
+
* Retrieves a single Tive device by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDevice1)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.trackingIntegrations.tive.DevicesGetV1Request} request
|
|
62
62
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -120,7 +120,7 @@ class Devices {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDeviceListRes)
|
|
123
|
+
* Lists Tive devices with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDeviceListRes)
|
|
124
124
|
*
|
|
125
125
|
* @param {Chrt.trackingIntegrations.tive.DevicesListV1Request} request
|
|
126
126
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Shipments {
|
|
|
31
31
|
protected readonly _options: Shipments.Options;
|
|
32
32
|
constructor(_options?: Shipments.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipment1)
|
|
34
|
+
* Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipment1)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.trackingIntegrations.tive.ShipmentsGetV1Request} request
|
|
37
37
|
* @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -46,7 +46,7 @@ export declare class Shipments {
|
|
|
46
46
|
getV1(request: Chrt.trackingIntegrations.tive.ShipmentsGetV1Request, requestOptions?: Shipments.RequestOptions): core.HttpResponsePromise<Chrt.TiveShipment1>;
|
|
47
47
|
private __getV1;
|
|
48
48
|
/**
|
|
49
|
-
* Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipmentListRes)
|
|
49
|
+
* Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipmentListRes)
|
|
50
50
|
*
|
|
51
51
|
* @param {Chrt.trackingIntegrations.tive.ShipmentsListV1Request} request
|
|
52
52
|
* @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class Shipments {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipment1)
|
|
59
|
+
* Retrieves a single Tive shipment by its ID. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipment1)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.trackingIntegrations.tive.ShipmentsGetV1Request} request
|
|
62
62
|
* @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -120,7 +120,7 @@ class Shipments {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveShipmentListRes)
|
|
123
|
+
* Lists Tive shipments with filtering, sorting, and pagination. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveShipmentListRes)
|
|
124
124
|
*
|
|
125
125
|
* @param {Chrt.trackingIntegrations.tive.ShipmentsListV1Request} request
|
|
126
126
|
* @param {Shipments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Timeseries {
|
|
|
31
31
|
protected readonly _options: Timeseries.Options;
|
|
32
32
|
constructor(_options?: Timeseries.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
|
|
34
|
+
* Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request} request
|
|
37
37
|
* @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -48,7 +48,7 @@ export declare class Timeseries {
|
|
|
48
48
|
dataPointsV1(request: Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request, requestOptions?: Timeseries.RequestOptions): core.HttpResponsePromise<Chrt.TiveTimeseriesRes>;
|
|
49
49
|
private __dataPointsV1;
|
|
50
50
|
/**
|
|
51
|
-
* Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
|
|
51
|
+
* Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
|
|
52
52
|
*
|
|
53
53
|
* @param {Chrt.trackingIntegrations.tive.TimeseriesLastSeenV1Request} request
|
|
54
54
|
* @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class Timeseries {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
|
|
59
|
+
* Returns raw Tive data points for a shipment within the given time range. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveTimeseriesRes)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.trackingIntegrations.tive.TimeseriesDataPointsV1Request} request
|
|
62
62
|
* @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -124,7 +124,7 @@ class Timeseries {
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
|
|
127
|
+
* Returns the most recent Tive data point for a shipment. Scoped to the caller's organization. | auth: api_key | authz: min_org_role=operator | () -> (TiveDataPoint1 | None)
|
|
128
128
|
*
|
|
129
129
|
* @param {Chrt.trackingIntegrations.tive.TimeseriesLastSeenV1Request} request
|
|
130
130
|
* @param {Timeseries.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -17,6 +17,7 @@ export interface Cargo1 {
|
|
|
17
17
|
device_ids?: string[];
|
|
18
18
|
draft_started_at_timestamp: string;
|
|
19
19
|
exception_at_timestamp?: string | null;
|
|
20
|
+
girth_inches?: number | null;
|
|
20
21
|
height_inches?: number | null;
|
|
21
22
|
in_transit_at_timestamp?: string | null;
|
|
22
23
|
length_inches?: number | null;
|
|
@@ -9,6 +9,8 @@ export interface CargoClientUpdate1 {
|
|
|
9
9
|
cargo_type?: Chrt.CargoTypeEnum1 | null;
|
|
10
10
|
description?: string | null;
|
|
11
11
|
description__set_to_None?: boolean;
|
|
12
|
+
girth_inches?: number | null;
|
|
13
|
+
girth_inches__set_to_None?: boolean;
|
|
12
14
|
height_inches?: number | null;
|
|
13
15
|
height_inches__set_to_None?: boolean;
|
|
14
16
|
length_inches?: number | null;
|
|
@@ -17,7 +17,7 @@ export interface Order1 {
|
|
|
17
17
|
/** Must be a string starting with `org_` */
|
|
18
18
|
created_by_org_id: string;
|
|
19
19
|
/** Must be a string starting with `user_` */
|
|
20
|
-
created_by_user_id
|
|
20
|
+
created_by_user_id: string;
|
|
21
21
|
/** Client-supplied key for use by agentic order builder */
|
|
22
22
|
creation_idempotency_key?: string | null;
|
|
23
23
|
draft_started_at_timestamp: string;
|
|
@@ -31,6 +31,7 @@ export interface Order1 {
|
|
|
31
31
|
order_schedule_id?: string | null;
|
|
32
32
|
order_schedule_run_idempotency_key?: string | null;
|
|
33
33
|
order_template_id?: string | null;
|
|
34
|
+
order_template_new_id?: string | null;
|
|
34
35
|
schema_version: number;
|
|
35
36
|
service_line?: Chrt.ServiceLineEnum;
|
|
36
37
|
/** Must be a string starting with `org_` */
|
|
@@ -21,7 +21,7 @@ export interface OrderLimitedForCoordinator1 {
|
|
|
21
21
|
/** Must be a string starting with `org_` */
|
|
22
22
|
created_by_org_id: string;
|
|
23
23
|
/** Must be a string starting with `user_` */
|
|
24
|
-
created_by_user_id
|
|
24
|
+
created_by_user_id: string;
|
|
25
25
|
/** Client-supplied key for use by agentic order builder */
|
|
26
26
|
creation_idempotency_key?: string | null;
|
|
27
27
|
draft_started_at_timestamp: string;
|
|
@@ -35,6 +35,7 @@ export interface OrderLimitedForCoordinator1 {
|
|
|
35
35
|
order_schedule_id?: string | null;
|
|
36
36
|
order_schedule_run_idempotency_key?: string | null;
|
|
37
37
|
order_template_id?: string | null;
|
|
38
|
+
order_template_new_id?: string | null;
|
|
38
39
|
schema_version: number;
|
|
39
40
|
service_line?: Chrt.ServiceLineEnum;
|
|
40
41
|
/** Must be a string starting with `org_` */
|
|
@@ -35,6 +35,7 @@ export interface OrderLimitedForProvider1 {
|
|
|
35
35
|
order_schedule_id?: string | null;
|
|
36
36
|
order_schedule_run_idempotency_key?: string | null;
|
|
37
37
|
order_template_id?: string | null;
|
|
38
|
+
order_template_new_id?: string | null;
|
|
38
39
|
schema_version: number;
|
|
39
40
|
service_line?: Chrt.ServiceLineEnum;
|
|
40
41
|
/** Must be a string starting with `org_` */
|
|
@@ -16,7 +16,7 @@ export interface OrderLimitedForShipper1 {
|
|
|
16
16
|
/** Must be a string starting with `org_` */
|
|
17
17
|
created_by_org_id: string;
|
|
18
18
|
/** Must be a string starting with `user_` */
|
|
19
|
-
created_by_user_id
|
|
19
|
+
created_by_user_id: string;
|
|
20
20
|
/** Client-supplied key for use by agentic order builder */
|
|
21
21
|
creation_idempotency_key?: string | null;
|
|
22
22
|
draft_started_at_timestamp: string;
|
|
@@ -30,6 +30,7 @@ export interface OrderLimitedForShipper1 {
|
|
|
30
30
|
order_schedule_id?: string | null;
|
|
31
31
|
order_schedule_run_idempotency_key?: string | null;
|
|
32
32
|
order_template_id?: string | null;
|
|
33
|
+
order_template_new_id?: string | null;
|
|
33
34
|
schema_version: number;
|
|
34
35
|
service_line?: Chrt.ServiceLineEnum;
|
|
35
36
|
/** Must be a string starting with `org_` */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
/**
|
|
6
|
-
* Shared seed of an order build: the order text + long-lived references. Reused by the library template (OrderTemplateBase1) and the ad-hoc kickoff payload so the fields the builder seeds from can't drift.
|
|
6
|
+
* Shared seed of an order build: the order text + long-lived references. Reused by the library template (OrderTemplateBase1) and the ad-hoc kickoff payload so the fields the builder seeds from can't drift.
|
|
7
7
|
*
|
|
8
8
|
* NOTE - some fields have multiple values and must be properly mapped to an entity by the order builder, e.g. for `driver_ids` each resolves to a single task group
|
|
9
9
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface OrderTemplateNew1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
archived_at_timestamp?: string | null;
|
|
8
|
+
cargos?: Chrt.OrderTemplateNewCargo1[];
|
|
9
|
+
coordinator_department_id?: string | null;
|
|
10
|
+
coordinator_label?: string | null;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
coordinator_org_id?: string | null;
|
|
13
|
+
created_at_timestamp: string;
|
|
14
|
+
description?: string | null;
|
|
15
|
+
last_edited_at_timestamp: string;
|
|
16
|
+
last_used_at_timestamp?: string | null;
|
|
17
|
+
name: string;
|
|
18
|
+
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
19
|
+
off_chrt_reference_id?: string | null;
|
|
20
|
+
off_chrt_shipper_org_data_id?: string | null;
|
|
21
|
+
/** Must be a string starting with `org_` */
|
|
22
|
+
owned_by_org_id: string;
|
|
23
|
+
/** Must be a string starting with `user_` */
|
|
24
|
+
owned_by_user_id: string;
|
|
25
|
+
schema_version: number;
|
|
26
|
+
/** Must be a string starting with `org_` */
|
|
27
|
+
shipper_org_id?: string | null;
|
|
28
|
+
task_groups?: Chrt.OrderTemplateNewTaskGroup1[];
|
|
29
|
+
task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
|
|
30
|
+
task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface OrderTemplateNewCargo1 {
|
|
6
|
+
/** IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'. */
|
|
7
|
+
awb_number?: string | null;
|
|
8
|
+
cargo_key: string;
|
|
9
|
+
cargo_type: Chrt.CargoTypeEnum1;
|
|
10
|
+
description?: string | null;
|
|
11
|
+
girth_inches?: number | null;
|
|
12
|
+
height_inches?: number | null;
|
|
13
|
+
length_inches?: number | null;
|
|
14
|
+
quantity?: number | null;
|
|
15
|
+
schema_version?: number;
|
|
16
|
+
stackable?: boolean | null;
|
|
17
|
+
turnable?: boolean | null;
|
|
18
|
+
weight_pounds?: number | null;
|
|
19
|
+
width_inches?: number | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OrderTemplateNewDateTimeWindow1 {
|
|
5
|
+
left_boundary_dateparser_str?: string | null;
|
|
6
|
+
right_boundary_dateparser_str?: string | null;
|
|
7
|
+
/** IANA time zone name (e.g. `America/New_York`). */
|
|
8
|
+
time_zone_name: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OrderTemplateNewDateparserResolveRes {
|
|
5
|
+
anchor_timestamp: string;
|
|
6
|
+
dateparser_str: string;
|
|
7
|
+
dateparser_str_has_time_zone: boolean;
|
|
8
|
+
resolved_to_timestamp: string;
|
|
9
|
+
/** IANA time zone name (e.g. `America/New_York`). */
|
|
10
|
+
time_zone_name: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type OrderTemplateNewSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "last_used_at_timestamp" | "name";
|
|
5
|
+
export declare const OrderTemplateNewSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
|
|
8
|
+
readonly LastUsedAtTimestamp: "last_used_at_timestamp";
|
|
9
|
+
readonly Name: "name";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.OrderTemplateNewSortByEnum = void 0;
|
|
7
|
+
exports.OrderTemplateNewSortByEnum = {
|
|
8
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
9
|
+
LastEditedAtTimestamp: "last_edited_at_timestamp",
|
|
10
|
+
LastUsedAtTimestamp: "last_used_at_timestamp",
|
|
11
|
+
Name: "name",
|
|
12
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface OrderTemplateNewTask1 {
|
|
6
|
+
action?: OrderTemplateNewTask1.Action | null;
|
|
7
|
+
cargo_keys?: string[];
|
|
8
|
+
contact_ids?: string[];
|
|
9
|
+
coordinator_shipper_account_ids?: string[];
|
|
10
|
+
datetime_windows_dateparser_str?: Chrt.OrderTemplateNewDateTimeWindow1[];
|
|
11
|
+
geofence_distance_miles?: number;
|
|
12
|
+
location?: Chrt.LocationFeature | null;
|
|
13
|
+
order_placer_comments?: string | null;
|
|
14
|
+
schema_version?: number;
|
|
15
|
+
task_artifacts?: Chrt.OrderTemplateNewTaskArtifact1[];
|
|
16
|
+
task_key: string;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace OrderTemplateNewTask1 {
|
|
19
|
+
type Action = Chrt.ChrtGroundProviderTaskActionEnum1 | Chrt.CargoOnFlightTaskActionEnum1 | Chrt.OnboardCourierTaskActionEnum1;
|
|
20
|
+
}
|