@chrt-inc/typescript-sdk 1.319.0 → 1.321.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.d.ts +6 -0
- package/dist/cjs/Client.js +38 -28
- package/dist/cjs/api/resources/cargos/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/cargos/client/Client.js +131 -0
- package/dist/cjs/api/resources/connections/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/connections/client/Client.js +4 -4
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +2 -2
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +3 -3
- package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.js +2 -2
- package/dist/cjs/api/resources/dev/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/dev/client/Client.js +4 -4
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +59 -61
- package/dist/cjs/api/resources/drivers/client/Client.js +140 -139
- package/dist/cjs/api/resources/drivers/client/requests/DriverClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/drivers/client/requests/{UpdateDriverDetailsReq.d.ts → DriverClientUpdate1.d.ts} +4 -5
- package/dist/cjs/api/resources/drivers/client/requests/DriverLastSeenReq.d.ts +1 -0
- package/dist/cjs/api/resources/drivers/client/requests/index.d.ts +2 -3
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
- package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.js +3 -3
- package/dist/cjs/api/resources/orders/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/orders/client/Client.js +59 -0
- package/dist/cjs/api/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgInfoForConnections/resources/courier/client/Client.js +1 -1
- package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/Client.js +1 -1
- package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/Client.js +1 -1
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgProfiles/client/Client.js +1 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/orgs/client/Client.js +5 -5
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +36 -23
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +94 -35
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.js +3 -3
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +2 -2
- package/dist/cjs/api/resources/taskArtifacts/client/Client.d.ts +37 -24
- package/dist/cjs/api/resources/taskArtifacts/client/Client.js +96 -40
- package/dist/cjs/api/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +19 -0
- package/dist/cjs/api/resources/taskArtifacts/client/requests/index.d.ts +1 -2
- package/dist/cjs/api/resources/taskArtifacts/resources/index.d.ts +2 -3
- package/dist/cjs/api/resources/taskArtifacts/resources/index.js +3 -7
- package/dist/cjs/api/resources/taskArtifacts/resources/{blurhash → s3Object}/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/taskArtifacts/resources/{blurhash → s3Object}/client/Client.js +11 -11
- package/dist/cjs/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/Client.js +127 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/index.js +2 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/s3ObjectMetadata/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/s3ObjectMetadata/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +79 -33
- package/dist/cjs/api/resources/taskGroups/client/Client.js +220 -67
- package/dist/cjs/api/resources/taskGroups/client/requests/AddMessageReq.d.ts +13 -0
- package/dist/cjs/api/resources/{taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.ts → taskGroups/client/requests/BodyPostAddS3ObjectV1OortTaskGroupsAddS3ObjectV1TaskGroupIdPost.d.ts} +2 -2
- package/dist/cjs/api/resources/taskGroups/client/requests/SetFlightNumberReq.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/client/requests/SetTaskOrderingReq.d.ts +3 -2
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.ts +13 -0
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateDriverReq.d.ts +13 -0
- package/dist/cjs/api/resources/taskGroups/client/requests/index.d.ts +4 -2
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.js +18 -2
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +4 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +4 -0
- package/dist/cjs/api/resources/taskGroups/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/taskGroups/resources/index.js +4 -1
- package/dist/cjs/api/resources/taskGroups/resources/s3Object/client/Client.d.ts +46 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3Object/client/Client.js +127 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3Object/client/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3Object/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3Object/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3ObjectMetadata/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3ObjectMetadata/client/Client.js +127 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3ObjectMetadata/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3ObjectMetadata/client/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3ObjectMetadata/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/s3ObjectMetadata/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +59 -0
- package/dist/cjs/api/resources/{taskArtifacts/resources/images → taskGroups/resources/taskGroupId}/client/Client.js +24 -87
- package/dist/cjs/api/resources/taskGroups/resources/taskGroupId/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/taskGroupId/client/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/taskGroupId/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/taskGroupId/index.js +17 -0
- package/dist/cjs/api/resources/tasks/client/Client.d.ts +107 -0
- package/dist/cjs/api/resources/tasks/client/Client.js +377 -0
- package/dist/cjs/api/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +21 -0
- package/dist/cjs/api/resources/tasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/tasks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tasks/index.d.ts +1 -0
- package/dist/cjs/api/resources/tasks/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +3 -3
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +3 -3
- package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.js +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/ChrtGroundCourierTaskActionEnum1.d.ts +3 -3
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +2 -2
- package/dist/cjs/api/types/Driver1.d.ts +6 -4
- package/dist/cjs/api/types/DriverStatusEnum.d.ts +3 -3
- package/dist/cjs/api/types/DriverStatusEnum.js +2 -2
- package/dist/cjs/api/types/DriverUpdateAvailabilityReq.d.ts +6 -0
- package/dist/cjs/api/types/DriverUpdateAvailabilityReq.js +5 -0
- package/dist/cjs/api/types/Task1.d.ts +1 -0
- package/dist/cjs/api/types/TaskArtifact1.d.ts +1 -0
- package/dist/cjs/api/types/TaskArtifactClientCreate1.d.ts +8 -0
- package/dist/cjs/api/types/TaskArtifactClientCreate1.js +5 -0
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +15 -0
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.js +5 -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/TaskClientUpdate1.d.ts +0 -1
- package/dist/cjs/api/types/TaskGroup1.d.ts +1 -0
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +15 -0
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.js +5 -0
- 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 +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +12 -2
- package/dist/esm/api/resources/cargos/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/cargos/client/Client.mjs +94 -0
- package/dist/esm/api/resources/cargos/client/index.d.mts +1 -0
- package/dist/esm/api/resources/cargos/client/index.mjs +1 -0
- package/dist/esm/api/resources/connections/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/connections/client/Client.mjs +4 -4
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +2 -2
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +3 -3
- package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +2 -2
- package/dist/esm/api/resources/dev/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/dev/client/Client.mjs +4 -4
- package/dist/esm/api/resources/drivers/client/Client.d.mts +59 -61
- package/dist/esm/api/resources/drivers/client/Client.mjs +140 -139
- package/dist/esm/api/resources/drivers/client/requests/DriverClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/drivers/client/requests/{UpdateDriverDetailsReq.d.mts → DriverClientUpdate1.d.mts} +4 -5
- package/dist/esm/api/resources/drivers/client/requests/DriverLastSeenReq.d.mts +1 -0
- package/dist/esm/api/resources/drivers/client/requests/index.d.mts +2 -3
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
- package/dist/esm/api/resources/offChrtShipperOrg/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/offChrtShipperOrg/client/Client.mjs +3 -3
- package/dist/esm/api/resources/orders/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/orders/client/Client.mjs +59 -0
- package/dist/esm/api/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgInfoForConnections/resources/courier/client/Client.mjs +1 -1
- package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +1 -1
- package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +1 -1
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgProfiles/client/Client.mjs +1 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/orgs/client/Client.mjs +5 -5
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +36 -23
- package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +94 -35
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +3 -3
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +2 -2
- package/dist/esm/api/resources/taskArtifacts/client/Client.d.mts +37 -24
- package/dist/esm/api/resources/taskArtifacts/client/Client.mjs +96 -40
- package/dist/esm/api/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +19 -0
- package/dist/esm/api/resources/taskArtifacts/client/requests/index.d.mts +1 -2
- package/dist/esm/api/resources/taskArtifacts/resources/index.d.mts +2 -3
- package/dist/esm/api/resources/taskArtifacts/resources/index.mjs +2 -3
- package/dist/esm/api/resources/taskArtifacts/resources/{blurhash → s3Object}/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/taskArtifacts/resources/{blurhash → s3Object}/client/Client.mjs +9 -9
- package/dist/esm/api/resources/taskArtifacts/resources/s3Object/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3Object/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/Client.mjs +90 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3ObjectMetadata/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/s3ObjectMetadata/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +79 -33
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +218 -65
- package/dist/esm/api/resources/taskGroups/client/requests/AddMessageReq.d.mts +13 -0
- package/dist/esm/api/resources/{taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.mts → taskGroups/client/requests/BodyPostAddS3ObjectV1OortTaskGroupsAddS3ObjectV1TaskGroupIdPost.d.mts} +2 -2
- package/dist/esm/api/resources/taskGroups/client/requests/SetFlightNumberReq.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/client/requests/SetTaskOrderingReq.d.mts +3 -2
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.mts +13 -0
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateDriverReq.d.mts +13 -0
- package/dist/esm/api/resources/taskGroups/client/requests/index.d.mts +4 -2
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.mjs +18 -2
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +4 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +4 -0
- package/dist/esm/api/resources/taskGroups/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/taskGroups/resources/index.mjs +3 -0
- package/dist/esm/api/resources/taskGroups/resources/s3Object/client/Client.d.mts +46 -0
- package/dist/esm/api/resources/taskGroups/resources/s3Object/client/Client.mjs +90 -0
- package/dist/esm/api/resources/taskGroups/resources/s3Object/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3Object/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3Object/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3Object/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3ObjectMetadata/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/taskGroups/resources/s3ObjectMetadata/client/Client.mjs +90 -0
- package/dist/esm/api/resources/taskGroups/resources/s3ObjectMetadata/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3ObjectMetadata/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3ObjectMetadata/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/s3ObjectMetadata/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +59 -0
- package/dist/esm/api/resources/{taskArtifacts/resources/images → taskGroups/resources/taskGroupId}/client/Client.mjs +22 -85
- package/dist/esm/api/resources/taskGroups/resources/taskGroupId/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/taskGroupId/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/taskGroupId/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/taskGroupId/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/client/Client.d.mts +107 -0
- package/dist/esm/api/resources/tasks/client/Client.mjs +340 -0
- package/dist/esm/api/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +21 -0
- package/dist/esm/api/resources/tasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/tasks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tasks/index.d.mts +1 -0
- package/dist/esm/api/resources/tasks/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +3 -3
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +3 -3
- package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.mjs +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/ChrtGroundCourierTaskActionEnum1.d.mts +3 -3
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +2 -2
- package/dist/esm/api/types/Driver1.d.mts +6 -4
- package/dist/esm/api/types/DriverStatusEnum.d.mts +3 -3
- package/dist/esm/api/types/DriverStatusEnum.mjs +2 -2
- package/dist/esm/api/types/DriverUpdateAvailabilityReq.d.mts +6 -0
- package/dist/esm/api/types/DriverUpdateAvailabilityReq.mjs +4 -0
- package/dist/esm/api/types/Task1.d.mts +1 -0
- package/dist/esm/api/types/TaskArtifact1.d.mts +1 -0
- package/dist/esm/api/types/TaskArtifactClientCreate1.d.mts +8 -0
- package/dist/esm/api/types/TaskArtifactClientCreate1.mjs +4 -0
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +15 -0
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.mjs +4 -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/TaskClientUpdate1.d.mts +0 -1
- package/dist/esm/api/types/TaskGroup1.d.mts +1 -0
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +15 -0
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.mjs +4 -0
- 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 +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1163 -267
- package/dist/cjs/api/resources/drivers/client/requests/DriverCreateReq.d.ts +0 -17
- package/dist/cjs/api/resources/drivers/client/requests/SetDriverActivationReq.d.ts +0 -14
- package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.ts +0 -19
- package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.ts +0 -14
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/Client.d.ts +0 -70
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupCourierOrgReq.d.ts +0 -12
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupDriverReq.d.ts +0 -11
- package/dist/esm/api/resources/drivers/client/requests/DriverCreateReq.d.mts +0 -17
- package/dist/esm/api/resources/drivers/client/requests/SetDriverActivationReq.d.mts +0 -14
- package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.mts +0 -19
- package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.mts +0 -14
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/Client.d.mts +0 -70
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupCourierOrgReq.d.mts +0 -12
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupDriverReq.d.mts +0 -11
- /package/dist/cjs/api/resources/{taskArtifacts/resources/blurhash → cargos}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/resources/blurhash → cargos}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/resources/blurhash → cargos}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/resources/blurhash → cargos}/index.js +0 -0
- /package/dist/cjs/api/resources/drivers/client/requests/{DriverCreateReq.js → DriverClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/drivers/client/requests/{SetDriverActivationReq.js → DriverClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{drivers/client/requests/UpdateDriverDetailsReq.js → taskArtifacts/client/requests/AddTaskArtifactReq.js} +0 -0
- /package/dist/{esm/api/resources/taskArtifacts/resources/blurhash/client/index.d.mts → cjs/api/resources/taskArtifacts/resources/s3Object/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/taskArtifacts/resources/{images/client/requests → s3Object/client}/index.js +0 -0
- /package/dist/cjs/api/resources/taskArtifacts/resources/{images → s3Object}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/taskArtifacts/resources/{images → s3Object}/index.js +0 -0
- /package/dist/{esm/api/resources/taskArtifacts/resources/blurhash/client/index.mjs → cjs/api/resources/taskArtifacts/resources/s3ObjectMetadata/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/client/requests/TaskArtifactAddToTaskReq.js → taskGroups/client/requests/AddMessageReq.js} +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.js → taskGroups/client/requests/BodyPostAddS3ObjectV1OortTaskGroupsAddS3ObjectV1TaskGroupIdPost.js} +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.js → taskGroups/client/requests/UpdateCourierOrgReq.js} +0 -0
- /package/dist/cjs/api/resources/taskGroups/client/requests/{UpdateTaskGroupCourierOrgReq.js → UpdateDriverReq.js} +0 -0
- /package/dist/{esm/api/resources/taskArtifacts/resources/images/client/requests/index.mjs → cjs/api/resources/taskGroups/resources/s3Object/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/resources/images → tasks}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{taskArtifacts/resources/images → tasks}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{taskGroups/client/requests/UpdateTaskGroupDriverReq.js → tasks/client/requests/AddTaskToGroupReq.js} +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/resources/blurhash → cargos}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/resources/blurhash → cargos}/index.mjs +0 -0
- /package/dist/esm/api/resources/drivers/client/requests/{DriverCreateReq.mjs → DriverClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/drivers/client/requests/{SetDriverActivationReq.mjs → DriverClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{drivers/client/requests/UpdateDriverDetailsReq.mjs → taskArtifacts/client/requests/AddTaskArtifactReq.mjs} +0 -0
- /package/dist/esm/api/resources/taskArtifacts/resources/{images → s3Object}/index.d.mts +0 -0
- /package/dist/esm/api/resources/taskArtifacts/resources/{images → s3Object}/index.mjs +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/client/requests/TaskArtifactAddToTaskReq.mjs → taskGroups/client/requests/AddMessageReq.mjs} +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.mjs → taskGroups/client/requests/BodyPostAddS3ObjectV1OortTaskGroupsAddS3ObjectV1TaskGroupIdPost.mjs} +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.mjs → taskGroups/client/requests/UpdateCourierOrgReq.mjs} +0 -0
- /package/dist/esm/api/resources/taskGroups/client/requests/{UpdateTaskGroupCourierOrgReq.mjs → UpdateDriverReq.mjs} +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/resources/images → tasks}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{taskArtifacts/resources/images → tasks}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{taskGroups/client/requests/UpdateTaskGroupDriverReq.mjs → tasks/client/requests/AddTaskToGroupReq.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -31,7 +31,7 @@ export declare class Devices {
|
|
|
31
31
|
protected readonly _options: Devices.Options;
|
|
32
32
|
constructor(_options?: Devices.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Registers a tracking device to the
|
|
34
|
+
* Registers a tracking device to the caller's organization. If device is already registered to a different organization, registration is blocked. | (DevicesRegisterToOrgReq1) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.tracking.DevicesRegisterToOrgReq1} request
|
|
37
37
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -75,7 +75,7 @@ export declare class Devices {
|
|
|
75
75
|
deleteV1(request?: Chrt.tracking.DevicesDeleteV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
76
76
|
private __deleteV1;
|
|
77
77
|
/**
|
|
78
|
-
* Retrieves a single device by its MAC address or ID. Access restricted to the
|
|
78
|
+
* Retrieves a single device by its MAC address or ID. Access restricted to the caller's organization. | () -> (Device1)
|
|
79
79
|
*
|
|
80
80
|
* @param {Chrt.tracking.DevicesGetV1Request} request
|
|
81
81
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -91,7 +91,7 @@ export declare class Devices {
|
|
|
91
91
|
getV1(request?: Chrt.tracking.DevicesGetV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.Device1>;
|
|
92
92
|
private __getV1;
|
|
93
93
|
/**
|
|
94
|
-
* Returns all tracking devices registered to the
|
|
94
|
+
* Returns all tracking devices registered to the caller's organization. | () -> (list[Device1])
|
|
95
95
|
*
|
|
96
96
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
97
|
*
|
|
@@ -20,7 +20,7 @@ export class Devices {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Registers a tracking device to the
|
|
23
|
+
* Registers a tracking device to the caller's organization. If device is already registered to a different organization, registration is blocked. | (DevicesRegisterToOrgReq1) -> (PydanticObjectId)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.tracking.DevicesRegisterToOrgReq1} request
|
|
26
26
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -216,7 +216,7 @@ export class Devices {
|
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
|
-
* Retrieves a single device by its MAC address or ID. Access restricted to the
|
|
219
|
+
* Retrieves a single device by its MAC address or ID. Access restricted to the caller's organization. | () -> (Device1)
|
|
220
220
|
*
|
|
221
221
|
* @param {Chrt.tracking.DevicesGetV1Request} request
|
|
222
222
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -286,7 +286,7 @@ export class Devices {
|
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
|
-
* Returns all tracking devices registered to the
|
|
289
|
+
* Returns all tracking devices registered to the caller's organization. | () -> (list[Device1])
|
|
290
290
|
*
|
|
291
291
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
292
292
|
*
|
|
@@ -31,7 +31,7 @@ export declare class SessionByDevice {
|
|
|
31
31
|
protected readonly _options: SessionByDevice.Options;
|
|
32
32
|
constructor(_options?: SessionByDevice.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns all tracking sessions for the
|
|
34
|
+
* Returns all tracking sessions for the caller's organization. | () -> (list[Session1])
|
|
35
35
|
*
|
|
36
36
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export declare class SessionByDevice {
|
|
|
41
41
|
listV1(requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.Session1[]>;
|
|
42
42
|
private __listV1;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves a single session by its ID. Access restricted to the
|
|
44
|
+
* Retrieves a single session by its ID. Access restricted to the caller's organization. | () -> (Session1)
|
|
45
45
|
*
|
|
46
46
|
* @param {Chrt.tracking.SessionByDeviceGetV1Request} request
|
|
47
47
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ export declare class SessionByDevice {
|
|
|
56
56
|
getV1(request: Chrt.tracking.SessionByDeviceGetV1Request, requestOptions?: SessionByDevice.RequestOptions): core.HttpResponsePromise<Chrt.Session1>;
|
|
57
57
|
private __getV1;
|
|
58
58
|
/**
|
|
59
|
-
* Returns the most recent data point for a session, excluding outliers. Access restricted to the
|
|
59
|
+
* Returns the most recent data point for a session, excluding outliers. Access restricted to the caller's organization. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.tracking.SessionByDeviceLastSeenV1Request} request
|
|
62
62
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class SessionByDevice {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns all tracking sessions for the
|
|
23
|
+
* Returns all tracking sessions for the caller's organization. | () -> (list[Session1])
|
|
24
24
|
*
|
|
25
25
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
26
|
*
|
|
@@ -71,7 +71,7 @@ export class SessionByDevice {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves a single session by its ID. Access restricted to the
|
|
74
|
+
* Retrieves a single session by its ID. Access restricted to the caller's organization. | () -> (Session1)
|
|
75
75
|
*
|
|
76
76
|
* @param {Chrt.tracking.SessionByDeviceGetV1Request} request
|
|
77
77
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -135,7 +135,7 @@ export class SessionByDevice {
|
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
|
-
* Returns the most recent data point for a session, excluding outliers. Access restricted to the
|
|
138
|
+
* Returns the most recent data point for a session, excluding outliers. Access restricted to the caller's organization. | () -> (TrackingSessionByDeviceDataPoint1 | None)
|
|
139
139
|
*
|
|
140
140
|
* @param {Chrt.tracking.SessionByDeviceLastSeenV1Request} request
|
|
141
141
|
* @param {SessionByDevice.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Users {
|
|
|
31
31
|
protected readonly _options: Users.Options;
|
|
32
32
|
constructor(_options?: Users.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves public user data for the
|
|
34
|
+
* Retrieves public user data for the caller. | () -> (UserPublicData1)
|
|
35
35
|
*
|
|
36
36
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -19,7 +19,7 @@ export class Users {
|
|
|
19
19
|
this._options = _options;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Retrieves public user data for the
|
|
22
|
+
* Retrieves public user data for the caller. | () -> (UserPublicData1)
|
|
23
23
|
*
|
|
24
24
|
* @param {Users.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
@@ -1,11 +1,12 @@
|
|
|
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" | "exception";
|
|
4
|
+
export type CargoStatusEnum1 = "draft" | "staged" | "in_transit" | "delivered" | "skipped" | "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
|
+
readonly Skipped: "skipped";
|
|
10
11
|
readonly Exception: "exception";
|
|
11
12
|
};
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
* - OTHER then PICKUP then no more tasks (because the cargo is not released after PICKUP)
|
|
19
19
|
* - DELIVER then OTHER (because the cargo is not obtained before DELIVER)
|
|
20
20
|
*/
|
|
21
|
-
export type ChrtGroundCourierTaskActionEnum1 = "chrt_ground_courier__pickup" | "
|
|
21
|
+
export type ChrtGroundCourierTaskActionEnum1 = "chrt_ground_courier__pickup" | "chrt_ground_courier__deliver" | "chrt_ground_courier__recover_from_airline" | "chrt_ground_courier__tender_to_airline" | "chrt_ground_courier__consolidate" | "chrt_ground_courier__hold" | "chrt_ground_courier__other";
|
|
22
22
|
export declare const ChrtGroundCourierTaskActionEnum1: {
|
|
23
23
|
readonly ChrtGroundCourierPickup: "chrt_ground_courier__pickup";
|
|
24
|
-
readonly ChrtGroundCourierRecoverFromAirline: "chrt_ground_courier__recover_from_airline";
|
|
25
24
|
readonly ChrtGroundCourierDeliver: "chrt_ground_courier__deliver";
|
|
26
|
-
readonly
|
|
25
|
+
readonly ChrtGroundCourierRecoverFromAirline: "chrt_ground_courier__recover_from_airline";
|
|
26
|
+
readonly ChrtGroundCourierTenderToAirline: "chrt_ground_courier__tender_to_airline";
|
|
27
27
|
readonly ChrtGroundCourierConsolidate: "chrt_ground_courier__consolidate";
|
|
28
28
|
readonly ChrtGroundCourierHold: "chrt_ground_courier__hold";
|
|
29
29
|
readonly ChrtGroundCourierOther: "chrt_ground_courier__other";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const ChrtGroundCourierTaskActionEnum1 = {
|
|
5
5
|
ChrtGroundCourierPickup: "chrt_ground_courier__pickup",
|
|
6
|
-
ChrtGroundCourierRecoverFromAirline: "chrt_ground_courier__recover_from_airline",
|
|
7
6
|
ChrtGroundCourierDeliver: "chrt_ground_courier__deliver",
|
|
8
|
-
|
|
7
|
+
ChrtGroundCourierRecoverFromAirline: "chrt_ground_courier__recover_from_airline",
|
|
8
|
+
ChrtGroundCourierTenderToAirline: "chrt_ground_courier__tender_to_airline",
|
|
9
9
|
ChrtGroundCourierConsolidate: "chrt_ground_courier__consolidate",
|
|
10
10
|
ChrtGroundCourierHold: "chrt_ground_courier__hold",
|
|
11
11
|
ChrtGroundCourierOther: "chrt_ground_courier__other",
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface Driver1 {
|
|
6
6
|
schema_version: number;
|
|
7
|
-
active?: boolean | null;
|
|
8
7
|
email_address_primary?: string | null;
|
|
9
8
|
email_address_secondary?: string | null;
|
|
10
9
|
phone_number_primary?: string | null;
|
|
@@ -12,12 +11,15 @@ export interface Driver1 {
|
|
|
12
11
|
first_name?: string | null;
|
|
13
12
|
last_name?: string | null;
|
|
14
13
|
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
15
|
-
status?: Chrt.DriverStatusEnum;
|
|
16
|
-
last_seen_at_location?: Chrt.LocationFeature | null;
|
|
17
|
-
last_seen_at_timestamp?: string | null;
|
|
18
14
|
_id: string;
|
|
19
15
|
/** Must be a string starting with `org_` */
|
|
20
16
|
org_id: string;
|
|
21
17
|
/** Must be a string starting with `user_` */
|
|
22
18
|
user_id: string;
|
|
19
|
+
status?: Chrt.DriverStatusEnum;
|
|
20
|
+
available_according_to_driver?: boolean;
|
|
21
|
+
available_according_to_operators?: boolean;
|
|
22
|
+
non_terminal_task_group_ids?: string[];
|
|
23
|
+
last_seen_at_location?: Chrt.LocationFeature | null;
|
|
24
|
+
last_seen_at_timestamp?: string | null;
|
|
23
25
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type DriverStatusEnum = "
|
|
4
|
+
export type DriverStatusEnum = "unassigned" | "assigned" | "in_progress";
|
|
5
5
|
export declare const DriverStatusEnum: {
|
|
6
|
-
readonly
|
|
6
|
+
readonly Unassigned: "unassigned";
|
|
7
7
|
readonly Assigned: "assigned";
|
|
8
|
-
readonly
|
|
8
|
+
readonly InProgress: "in_progress";
|
|
9
9
|
};
|
|
@@ -28,6 +28,7 @@ export interface Task1 {
|
|
|
28
28
|
draft_started_at_timestamp: string;
|
|
29
29
|
staged_at_timestamp?: string | null;
|
|
30
30
|
completed_at_timestamp?: string | null;
|
|
31
|
+
skipped_at_timestamp?: string | null;
|
|
31
32
|
exception_at_timestamp?: string | null;
|
|
32
33
|
order_cancelled?: boolean;
|
|
33
34
|
task_notification_email_ids?: string[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TaskArtifactS3ObjectMetadata1 {
|
|
5
|
+
schema_version: number;
|
|
6
|
+
_id: string;
|
|
7
|
+
task_artifact_id: string;
|
|
8
|
+
uploaded_at_timestamp: string;
|
|
9
|
+
/** Must be a string starting with `user_` */
|
|
10
|
+
uploaded_by_user_id: string;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
uploaded_by_org_id: string;
|
|
13
|
+
s3_key_prefix?: "oort/task_artifact_s3_object_metadata";
|
|
14
|
+
blurhash?: string | null;
|
|
15
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TaskArtifactStatusEnum1 = "draft" | "staged" | "completed" | "exception";
|
|
4
|
+
export type TaskArtifactStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "exception";
|
|
5
5
|
export declare const TaskArtifactStatusEnum1: {
|
|
6
6
|
readonly Draft: "draft";
|
|
7
7
|
readonly Staged: "staged";
|
|
8
8
|
readonly Completed: "completed";
|
|
9
|
+
readonly Skipped: "skipped";
|
|
9
10
|
readonly Exception: "exception";
|
|
10
11
|
};
|
|
@@ -6,7 +6,6 @@ export interface TaskClientUpdate1 {
|
|
|
6
6
|
location?: Chrt.LocationFeature | null;
|
|
7
7
|
action?: TaskClientUpdate1.Action | null;
|
|
8
8
|
time_windows?: Chrt.TimeWindow1[];
|
|
9
|
-
order_placer_comments?: string | null;
|
|
10
9
|
shipper_contact_ids?: string[];
|
|
11
10
|
flight_number?: string | null;
|
|
12
11
|
}
|
|
@@ -21,6 +21,7 @@ export interface TaskGroup1 {
|
|
|
21
21
|
staged_at_timestamp?: string | null;
|
|
22
22
|
in_progress_at_timestamp?: string | null;
|
|
23
23
|
completed_at_timestamp?: string | null;
|
|
24
|
+
skipped_at_timestamp?: string | null;
|
|
24
25
|
exception_at_timestamp?: string | null;
|
|
25
26
|
order_cancelled?: boolean;
|
|
26
27
|
task_group_type: Chrt.TaskGroupTypeEnum1;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TaskGroupS3ObjectMetadata1 {
|
|
5
|
+
schema_version: number;
|
|
6
|
+
_id: string;
|
|
7
|
+
task_group_id: string;
|
|
8
|
+
uploaded_at_timestamp: string;
|
|
9
|
+
/** Must be a string starting with `user_` */
|
|
10
|
+
uploaded_by_user_id: string;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
uploaded_by_org_id: string;
|
|
13
|
+
s3_key_prefix?: "oort/task_group_s3_object_metadata";
|
|
14
|
+
blurhash?: string | null;
|
|
15
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TaskGroupSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "exception_at_timestamp";
|
|
4
|
+
export type TaskGroupSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "skipped_at_timestamp" | "exception_at_timestamp";
|
|
5
5
|
export declare const TaskGroupSortByEnum: {
|
|
6
6
|
readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
|
|
7
7
|
readonly StagedAtTimestamp: "staged_at_timestamp";
|
|
8
8
|
readonly InProgressAtTimestamp: "in_progress_at_timestamp";
|
|
9
9
|
readonly CompletedAtTimestamp: "completed_at_timestamp";
|
|
10
|
+
readonly SkippedAtTimestamp: "skipped_at_timestamp";
|
|
10
11
|
readonly ExceptionAtTimestamp: "exception_at_timestamp";
|
|
11
12
|
};
|
|
@@ -6,5 +6,6 @@ export const TaskGroupSortByEnum = {
|
|
|
6
6
|
StagedAtTimestamp: "staged_at_timestamp",
|
|
7
7
|
InProgressAtTimestamp: "in_progress_at_timestamp",
|
|
8
8
|
CompletedAtTimestamp: "completed_at_timestamp",
|
|
9
|
+
SkippedAtTimestamp: "skipped_at_timestamp",
|
|
9
10
|
ExceptionAtTimestamp: "exception_at_timestamp",
|
|
10
11
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TaskGroupStatusEnum1 = "draft" | "staged" | "in_progress" | "completed" | "exception";
|
|
4
|
+
export type TaskGroupStatusEnum1 = "draft" | "staged" | "in_progress" | "completed" | "skipped" | "exception";
|
|
5
5
|
export declare const TaskGroupStatusEnum1: {
|
|
6
6
|
readonly Draft: "draft";
|
|
7
7
|
readonly Staged: "staged";
|
|
8
8
|
readonly InProgress: "in_progress";
|
|
9
9
|
readonly Completed: "completed";
|
|
10
|
+
readonly Skipped: "skipped";
|
|
10
11
|
readonly Exception: "exception";
|
|
11
12
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TaskStatusEnum1 = "draft" | "staged" | "completed" | "exception";
|
|
4
|
+
export type TaskStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "exception";
|
|
5
5
|
export declare const TaskStatusEnum1: {
|
|
6
6
|
readonly Draft: "draft";
|
|
7
7
|
readonly Staged: "staged";
|
|
8
8
|
readonly Completed: "completed";
|
|
9
|
+
readonly Skipped: "skipped";
|
|
9
10
|
readonly Exception: "exception";
|
|
10
11
|
};
|
|
@@ -28,6 +28,7 @@ export * from "./DecodedJwtWithOrgAndUserId.mjs";
|
|
|
28
28
|
export * from "./Device1.mjs";
|
|
29
29
|
export * from "./Driver1.mjs";
|
|
30
30
|
export * from "./DriverStatusEnum.mjs";
|
|
31
|
+
export * from "./DriverUpdateAvailabilityReq.mjs";
|
|
31
32
|
export * from "./DriverUpdateRes.mjs";
|
|
32
33
|
export * from "./FlightTaskActionEnum1.mjs";
|
|
33
34
|
export * from "./ForwarderConnectionRes.mjs";
|
|
@@ -100,7 +101,9 @@ export * from "./StatementStatusEnum.mjs";
|
|
|
100
101
|
export * from "./StripeConnectInvoiceStatusEnum.mjs";
|
|
101
102
|
export * from "./Task1.mjs";
|
|
102
103
|
export * from "./TaskArtifact1.mjs";
|
|
104
|
+
export * from "./TaskArtifactClientCreate1.mjs";
|
|
103
105
|
export * from "./TaskArtifactNotificationPreferences1.mjs";
|
|
106
|
+
export * from "./TaskArtifactS3ObjectMetadata1.mjs";
|
|
104
107
|
export * from "./TaskArtifactStatusEnum1.mjs";
|
|
105
108
|
export * from "./TaskArtifactTypeEnum1.mjs";
|
|
106
109
|
export * from "./TaskClientCreate1.mjs";
|
|
@@ -111,6 +114,7 @@ export * from "./TaskGroupExpanded.mjs";
|
|
|
111
114
|
export * from "./TaskGroupExpandedListRes.mjs";
|
|
112
115
|
export * from "./TaskGroupMessage1.mjs";
|
|
113
116
|
export * from "./TaskGroupMileage1.mjs";
|
|
117
|
+
export * from "./TaskGroupS3ObjectMetadata1.mjs";
|
|
114
118
|
export * from "./TaskGroupSortByEnum.mjs";
|
|
115
119
|
export * from "./TaskGroupStatusEnum1.mjs";
|
|
116
120
|
export * from "./TaskGroupTypeEnum1.mjs";
|
|
@@ -28,6 +28,7 @@ export * from "./DecodedJwtWithOrgAndUserId.mjs";
|
|
|
28
28
|
export * from "./Device1.mjs";
|
|
29
29
|
export * from "./Driver1.mjs";
|
|
30
30
|
export * from "./DriverStatusEnum.mjs";
|
|
31
|
+
export * from "./DriverUpdateAvailabilityReq.mjs";
|
|
31
32
|
export * from "./DriverUpdateRes.mjs";
|
|
32
33
|
export * from "./FlightTaskActionEnum1.mjs";
|
|
33
34
|
export * from "./ForwarderConnectionRes.mjs";
|
|
@@ -100,7 +101,9 @@ export * from "./StatementStatusEnum.mjs";
|
|
|
100
101
|
export * from "./StripeConnectInvoiceStatusEnum.mjs";
|
|
101
102
|
export * from "./Task1.mjs";
|
|
102
103
|
export * from "./TaskArtifact1.mjs";
|
|
104
|
+
export * from "./TaskArtifactClientCreate1.mjs";
|
|
103
105
|
export * from "./TaskArtifactNotificationPreferences1.mjs";
|
|
106
|
+
export * from "./TaskArtifactS3ObjectMetadata1.mjs";
|
|
104
107
|
export * from "./TaskArtifactStatusEnum1.mjs";
|
|
105
108
|
export * from "./TaskArtifactTypeEnum1.mjs";
|
|
106
109
|
export * from "./TaskClientCreate1.mjs";
|
|
@@ -111,6 +114,7 @@ export * from "./TaskGroupExpanded.mjs";
|
|
|
111
114
|
export * from "./TaskGroupExpandedListRes.mjs";
|
|
112
115
|
export * from "./TaskGroupMessage1.mjs";
|
|
113
116
|
export * from "./TaskGroupMileage1.mjs";
|
|
117
|
+
export * from "./TaskGroupS3ObjectMetadata1.mjs";
|
|
114
118
|
export * from "./TaskGroupSortByEnum.mjs";
|
|
115
119
|
export * from "./TaskGroupStatusEnum1.mjs";
|
|
116
120
|
export * from "./TaskGroupTypeEnum1.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.321.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.321.0";
|