@chrt-inc/typescript-sdk 1.326.0 → 1.333.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 +3 -0
- package/dist/cjs/Client.js +41 -36
- package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/courierPayDriverLineItemGroups/client/Client.js +4 -4
- package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +4 -4
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +6 -6
- package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.js +4 -4
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/drivers/client/Client.js +20 -3
- package/dist/cjs/api/resources/drivers/client/requests/DriverClientCreate1.d.ts +2 -0
- package/dist/cjs/api/resources/{tracking/resources/cargoByDevice → flights}/client/Client.d.ts +13 -16
- package/dist/cjs/api/resources/{tracking/resources/taskGroupByDriver → flights}/client/Client.js +19 -27
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +5 -7
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.js +8 -10
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/resources/expanded/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/orders/resources/expanded/client/Client.js +2 -2
- package/dist/cjs/api/resources/payments/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/payments/client/Client.js +5 -5
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +5 -5
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.js +1 -1
- 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/removeLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/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/shipperPayCourierPayments/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +7 -7
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +5 -5
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.js +7 -7
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +5 -7
- package/dist/cjs/api/resources/taskGroups/client/Client.js +8 -10
- package/dist/cjs/api/resources/taskGroups/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/tracking/client/Client.d.ts +9 -12
- package/dist/cjs/api/resources/tracking/client/Client.js +15 -20
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +25 -25
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +73 -73
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +10 -14
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +9 -13
- package/dist/cjs/api/resources/tracking/resources/driver/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tracking/resources/driver/client/index.js +0 -15
- package/dist/cjs/api/resources/tracking/resources/index.d.ts +5 -9
- package/dist/cjs/api/resources/tracking/resources/index.js +6 -10
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +164 -0
- package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → sessions}/client/Client.js +50 -394
- package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.d.ts → sessions/client/requests/SessionCreateSessionRequest1.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.d.ts → sessions/client/requests/SessionUpdateRequest1.d.ts} +1 -1
- package/dist/{esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceGetV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsDeleteV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceGetV1Request.d.ts → sessions/client/requests/SessionsGetV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.d.ts → sessions/client/requests/SessionsPauseRecordingV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsResumeRecordingV1Request.d.ts +12 -0
- package/dist/{esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceStartV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsStartV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceStartV1Request.d.ts → sessions/client/requests/SessionsTerminateV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +330 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.ts +18 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.ts +18 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.ts +16 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/client/Client.js +32 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/index.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/index.js +18 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +414 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +346 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/index.js +47 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +406 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +96 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +338 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.js +5 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.js +17 -0
- package/dist/cjs/api/types/{TrackingCargoByDeviceDataPoint1.d.ts → CargoByDeviceDataPoint1.d.ts} +2 -2
- package/dist/cjs/api/types/CargoByDeviceDataPoint1.js +5 -0
- package/dist/cjs/api/types/{TrackingCargoByDeviceDataPointMetadata1.d.ts → CargoByDeviceDataPointMetadata1.d.ts} +3 -3
- package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.js +5 -0
- package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.d.ts +7 -0
- package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.js +5 -0
- package/dist/cjs/api/types/CargoByDeviceSharingSettings1.d.ts +16 -0
- package/dist/cjs/api/types/CargoByDeviceSharingSettings1.js +5 -0
- package/dist/cjs/api/types/{TrackingCargoByDriverDataPoint1.d.ts → CargoByDriverDataPoint1.d.ts} +2 -2
- package/dist/cjs/api/types/CargoByDriverDataPoint1.js +5 -0
- package/dist/cjs/api/types/{TrackingCargoByDriverDataPointMetadata1.d.ts → CargoByDriverDataPointMetadata1.d.ts} +3 -3
- package/dist/cjs/api/types/CargoByDriverDataPointMetadata1.js +5 -0
- package/dist/cjs/api/types/CargoByDriverSharingSettings1.d.ts +16 -0
- package/dist/cjs/api/types/CargoByDriverSharingSettings1.js +5 -0
- package/dist/cjs/api/types/Driver1.d.ts +1 -1
- package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -1
- package/dist/cjs/api/types/FlightInfoForTaskRes.d.ts +10 -0
- package/dist/cjs/api/types/FlightInfoForTaskRes.js +5 -0
- package/dist/cjs/api/types/{TrackingSessionByDeviceDataPoint1.d.ts → SessionByDeviceDataPoint1.d.ts} +2 -2
- package/dist/cjs/api/types/SessionByDeviceDataPoint1.js +5 -0
- package/dist/cjs/api/types/{TrackingSessionByDeviceDataPointMetadata1.d.ts → SessionByDeviceDataPointMetadata1.d.ts} +1 -1
- package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.js +5 -0
- package/dist/cjs/api/types/{SessionByDeviceDeleteResponse1.d.ts → SessionDeleteResponse1.d.ts} +1 -1
- package/dist/cjs/api/types/SessionDeleteResponse1.js +5 -0
- package/dist/cjs/api/types/SetFlightInfoReq.d.ts +9 -0
- package/dist/cjs/api/types/SetFlightInfoReq.js +5 -0
- package/dist/cjs/api/types/Task1.d.ts +0 -1
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +0 -1
- 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/{TrackingTaskGroupByDriverDataPoint1.d.ts → TaskGroupByDriverDataPoint1.d.ts} +2 -2
- package/dist/cjs/api/types/TaskGroupByDriverDataPoint1.js +5 -0
- package/dist/cjs/api/types/{TrackingTaskGroupByDriverDataPointMetadata1.d.ts → TaskGroupByDriverDataPointMetadata1.d.ts} +2 -2
- package/dist/cjs/api/types/TaskGroupByDriverDataPointMetadata1.js +5 -0
- package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.d.ts +15 -0
- package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.js +5 -0
- package/dist/cjs/api/types/TrackingSharingSettingsRes.d.ts +11 -0
- package/dist/cjs/api/types/TrackingSharingSettingsRes.js +5 -0
- package/dist/cjs/api/types/index.d.ts +16 -9
- package/dist/cjs/api/types/index.js +16 -9
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/courierPayDriverLineItemGroups/client/Client.mjs +4 -4
- package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/addLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroups/resources/removeLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +4 -4
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +6 -6
- package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +4 -4
- package/dist/esm/api/resources/drivers/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/drivers/client/Client.mjs +20 -3
- package/dist/esm/api/resources/drivers/client/requests/DriverClientCreate1.d.mts +2 -0
- package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/client/Client.d.mts +13 -16
- package/dist/esm/api/resources/{tracking/resources/taskGroupByDriver → flights}/client/Client.mjs +17 -25
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +5 -7
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.mjs +8 -10
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/resources/expanded/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/orders/resources/expanded/client/Client.mjs +2 -2
- package/dist/esm/api/resources/payments/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/payments/client/Client.mjs +5 -5
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +5 -5
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/addLineItems/client/Client.mjs +1 -1
- 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/removeLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/removeLineItems/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/shipperPayCourierPayments/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +7 -7
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +5 -5
- package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.mjs +7 -7
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +5 -7
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +8 -10
- package/dist/esm/api/resources/taskGroups/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/tracking/client/Client.d.mts +9 -12
- package/dist/esm/api/resources/tracking/client/Client.mjs +11 -16
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +25 -25
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +73 -73
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +10 -14
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +9 -13
- package/dist/esm/api/resources/tracking/resources/driver/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tracking/resources/driver/client/index.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/index.d.mts +5 -9
- package/dist/esm/api/resources/tracking/resources/index.mjs +5 -9
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +164 -0
- package/dist/esm/api/resources/tracking/resources/{sessionByDevice → sessions}/client/Client.mjs +48 -392
- package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.d.mts → sessions/client/requests/SessionCreateSessionRequest1.d.mts} +1 -1
- package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.d.mts → sessions/client/requests/SessionUpdateRequest1.d.mts} +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsDeleteV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsGetV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.d.mts → sessions/client/requests/SessionsPauseRecordingV1Request.d.mts} +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsResumeRecordingV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsStartV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsTerminateV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +293 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.mts +18 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.mts +18 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.mts +16 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/client/Client.mjs +28 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/client/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/client/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/index.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/index.mjs +2 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +377 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.d.mts +16 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.d.mts +16 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +309 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.d.mts +16 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.d.mts +16 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/index.mjs +8 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +369 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +96 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +301 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/index.mjs +1 -0
- package/dist/esm/api/types/{TrackingCargoByDeviceDataPoint1.d.mts → CargoByDeviceDataPoint1.d.mts} +2 -2
- package/dist/esm/api/types/CargoByDeviceDataPoint1.mjs +4 -0
- package/dist/esm/api/types/{TrackingCargoByDeviceDataPointMetadata1.d.mts → CargoByDeviceDataPointMetadata1.d.mts} +3 -3
- package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.mjs +4 -0
- package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.d.mts +7 -0
- package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.mjs +4 -0
- package/dist/esm/api/types/CargoByDeviceSharingSettings1.d.mts +16 -0
- package/dist/esm/api/types/CargoByDeviceSharingSettings1.mjs +4 -0
- package/dist/esm/api/types/{TrackingCargoByDriverDataPoint1.d.mts → CargoByDriverDataPoint1.d.mts} +2 -2
- package/dist/esm/api/types/CargoByDriverDataPoint1.mjs +4 -0
- package/dist/esm/api/types/{TrackingCargoByDriverDataPointMetadata1.d.mts → CargoByDriverDataPointMetadata1.d.mts} +3 -3
- package/dist/esm/api/types/CargoByDriverDataPointMetadata1.mjs +4 -0
- package/dist/esm/api/types/CargoByDriverSharingSettings1.d.mts +16 -0
- package/dist/esm/api/types/CargoByDriverSharingSettings1.mjs +4 -0
- package/dist/esm/api/types/Driver1.d.mts +1 -1
- package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -1
- package/dist/esm/api/types/FlightInfoForTaskRes.d.mts +10 -0
- package/dist/esm/api/types/FlightInfoForTaskRes.mjs +4 -0
- package/dist/esm/api/types/{TrackingSessionByDeviceDataPoint1.d.mts → SessionByDeviceDataPoint1.d.mts} +2 -2
- package/dist/esm/api/types/SessionByDeviceDataPoint1.mjs +4 -0
- package/dist/esm/api/types/{TrackingSessionByDeviceDataPointMetadata1.d.mts → SessionByDeviceDataPointMetadata1.d.mts} +1 -1
- package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.mjs +4 -0
- package/dist/esm/api/types/{SessionByDeviceDeleteResponse1.d.mts → SessionDeleteResponse1.d.mts} +1 -1
- package/dist/esm/api/types/SessionDeleteResponse1.mjs +4 -0
- package/dist/esm/api/types/SetFlightInfoReq.d.mts +9 -0
- package/dist/esm/api/types/SetFlightInfoReq.mjs +4 -0
- package/dist/esm/api/types/Task1.d.mts +0 -1
- package/dist/esm/api/types/TaskClientCreate1.d.mts +0 -1
- 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/{TrackingTaskGroupByDriverDataPoint1.d.mts → TaskGroupByDriverDataPoint1.d.mts} +2 -2
- package/dist/esm/api/types/TaskGroupByDriverDataPoint1.mjs +4 -0
- package/dist/esm/api/types/{TrackingTaskGroupByDriverDataPointMetadata1.d.mts → TaskGroupByDriverDataPointMetadata1.d.mts} +2 -2
- package/dist/esm/api/types/TaskGroupByDriverDataPointMetadata1.mjs +4 -0
- package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.d.mts +15 -0
- package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.mjs +4 -0
- package/dist/esm/api/types/TrackingSharingSettingsRes.d.mts +11 -0
- package/dist/esm/api/types/TrackingSharingSettingsRes.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +16 -9
- package/dist/esm/api/types/index.mjs +16 -9
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1227 -236
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.d.ts +0 -13
- package/dist/cjs/api/resources/taskGroups/client/requests/SetFlightNumberReq.d.ts +0 -13
- package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/Client.js +0 -137
- package/dist/cjs/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.d.ts +0 -50
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/Client.js +0 -137
- package/dist/cjs/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/DriverUpdateReq.d.ts +0 -26
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +0 -242
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.ts +0 -13
- package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.ts +0 -49
- package/dist/cjs/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.ts +0 -1
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.d.mts +0 -13
- package/dist/esm/api/resources/taskGroups/client/requests/SetFlightNumberReq.d.mts +0 -13
- package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/Client.mjs +0 -100
- package/dist/esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.d.mts +0 -50
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/Client.mjs +0 -100
- package/dist/esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/DriverUpdateReq.d.mts +0 -26
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +0 -242
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.d.mts +0 -12
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.d.mts +0 -12
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.d.mts +0 -12
- package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/requests/index.d.mts +0 -13
- package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/Client.d.mts +0 -49
- package/dist/esm/api/resources/tracking/resources/taskGroupByDriver/client/requests/index.d.mts +0 -1
- /package/dist/{esm/api/resources/tracking/resources/cargoByDevice/client/requests/index.mjs → cjs/api/resources/flights/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/cargoByDevice/client/requests → flights/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/cargoByDevice → flights}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/cargoByDevice → flights}/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.js → tracking/resources/sessions/client/requests/SessionCreateSessionRequest1.js} +0 -0
- /package/dist/cjs/api/resources/{taskGroups/client/requests/SetFlightNumberReq.js → tracking/resources/sessions/client/requests/SessionUpdateRequest1.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.js → sessions/client/requests/SessionsDeleteV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.js → sessions/client/requests/SessionsGetV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{driver/client/requests/DriverUpdateReq.js → sessions/client/requests/SessionsPauseRecordingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.js → sessions/client/requests/SessionsResumeRecordingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.js → sessions/client/requests/SessionsStartV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.js → sessions/client/requests/SessionsTerminateV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sessions}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sessions}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sessions}/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.js → sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceGetV1Request.js → sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.js → sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{driver → sharingSettings}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.js +0 -0
- /package/dist/{esm/api/resources/tracking/resources/cargoByDriver/client/requests/index.mjs → cjs/api/resources/tracking/resources/timeseries/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests → timeseries/client}/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDevice → timeseries/resources/cargoByDevice}/client/requests/CargoByDeviceLastSeenV1Request.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceStartV1Request.js → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.js +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.js → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.js → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.js → timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{cargoByDriver → timeseries/resources/cargoByDriver}/client/requests/CargoByDriverLastSeenV1Request.d.ts +0 -0
- /package/dist/cjs/api/{types/SessionByDeviceDeleteResponse1.js → resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsPublicV1Request.d.ts +0 -0
- /package/dist/cjs/api/{types/TrackingCargoByDeviceDataPoint1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsV1Request.d.ts +0 -0
- /package/dist/cjs/api/{types/TrackingCargoByDeviceDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenPublicV1Request.d.ts +0 -0
- /package/dist/cjs/api/{types/TrackingCargoByDriverDataPoint1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenV1Request.d.ts +0 -0
- /package/dist/cjs/api/{types/TrackingCargoByDriverDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +0 -0
- /package/dist/cjs/api/{types/TrackingSessionByDeviceDataPoint1.js → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.js} +0 -0
- /package/dist/cjs/api/{types/TrackingSessionByDeviceDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.js} +0 -0
- /package/dist/cjs/api/{types/TrackingTaskGroupByDriverDataPoint1.js → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/TrackingTaskGroupByDriverDataPointMetadata1.js → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/taskGroupByDriver}/client/requests/TaskGroupByDriverLastSeenV1Request.d.ts +0 -0
- /package/dist/esm/api/resources/{tracking/resources/driver/client/requests/index.mjs → flights/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessionByDevice/client/requests → flights/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDevice → sessions}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{orderDrafts/resources/taskGroup/client/requests/SetFlightNumberDraftReq.mjs → tracking/resources/sessions/client/requests/SessionCreateSessionRequest1.mjs} +0 -0
- /package/dist/esm/api/resources/{taskGroups/client/requests/SetFlightNumberReq.mjs → tracking/resources/sessions/client/requests/SessionUpdateRequest1.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.mjs → sessions/client/requests/SessionsDeleteV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.mjs → sessions/client/requests/SessionsGetV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{driver/client/requests/DriverUpdateReq.mjs → sessions/client/requests/SessionsPauseRecordingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceCreateSessionRequest1.mjs → sessions/client/requests/SessionsResumeRecordingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.mjs → sessions/client/requests/SessionsStartV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.mjs → sessions/client/requests/SessionsTerminateV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → sessions}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sessions}/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sessions}/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → sharingSettings}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceDeleteV1Request.mjs → sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceGetV1Request.mjs → sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.mjs → sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → sharingSettings}/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/cargoByDevice}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceDataPointsV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDevicePauseRecordingV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDevice → timeseries/resources/cargoByDevice}/client/requests/CargoByDeviceLastSeenV1Request.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceResumeRecordingV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceLastSeenV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceStartV1Request.mjs → timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDevice}/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/cargoByDriver}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceTerminateV1Request.mjs → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice/client/requests/SessionByDeviceUpdateRequest1.mjs → timeseries/resources/cargoByDriver/client/requests/CargoByDriverDataPointsV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenV1Request.mjs → timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{cargoByDriver → timeseries/resources/cargoByDriver}/client/requests/CargoByDriverLastSeenV1Request.d.mts +0 -0
- /package/dist/esm/api/{types/SessionByDeviceDeleteResponse1.mjs → resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/CargoByDriverLastSeenV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsPublicV1Request.d.mts +0 -0
- /package/dist/esm/api/{types/TrackingCargoByDeviceDataPoint1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceDataPointsV1Request.d.mts +0 -0
- /package/dist/esm/api/{types/TrackingCargoByDeviceDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceDataPointsV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenPublicV1Request.d.mts +0 -0
- /package/dist/esm/api/{types/TrackingCargoByDriverDataPoint1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceLastSeenV1Request.d.mts +0 -0
- /package/dist/esm/api/{types/TrackingCargoByDriverDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceLastSeenV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessionByDevice → timeseries/resources/sessionByDevice}/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +0 -0
- /package/dist/esm/api/{types/TrackingSessionByDeviceDataPoint1.mjs → resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.mjs} +0 -0
- /package/dist/esm/api/{types/TrackingSessionByDeviceDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/TrackingTaskGroupByDriverDataPoint1.mjs → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverDataPointsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/TrackingTaskGroupByDriverDataPointMetadata1.mjs → resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/TaskGroupByDriverLastSeenPublicV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{taskGroupByDriver → timeseries/resources/taskGroupByDriver}/client/requests/TaskGroupByDriverLastSeenV1Request.d.mts +0 -0
|
@@ -31,7 +31,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
31
31
|
protected readonly _options: ShipperPayCourierPayments.Options;
|
|
32
32
|
constructor(_options?: ShipperPayCourierPayments.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves a shipper pay courier payment by its ID with Stripe invoice sync.
|
|
34
|
+
* Retrieves a shipper pay courier payment by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} shipperPayCourierPaymentId
|
|
37
37
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -44,7 +44,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
44
44
|
getByIdV1(shipperPayCourierPaymentId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierStatement1>;
|
|
45
45
|
private __getByIdV1;
|
|
46
46
|
/**
|
|
47
|
-
* Deletes a shipper-to-courier payment record if invoice not yet created.
|
|
47
|
+
* Deletes a shipper-to-courier payment record if invoice not yet created. | () -> (bool)
|
|
48
48
|
*
|
|
49
49
|
* @param {string} shipperPayCourierPaymentId
|
|
50
50
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -57,7 +57,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
57
57
|
deleteV1(shipperPayCourierPaymentId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
58
58
|
private __deleteV1;
|
|
59
59
|
/**
|
|
60
|
-
* Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync.
|
|
60
|
+
* Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
61
61
|
*
|
|
62
62
|
* @param {string} orderIdOrShortId
|
|
63
63
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -70,7 +70,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
70
70
|
getByOrderIdOrShortIdV1(orderIdOrShortId: string, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierStatement1>;
|
|
71
71
|
private __getByOrderIdOrShortIdV1;
|
|
72
72
|
/**
|
|
73
|
-
* Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync.
|
|
73
|
+
* Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync. | (ListPaymentsByShipperReq) -> (GetShipperPayCourierPaymentsForShipperRes)
|
|
74
74
|
*
|
|
75
75
|
* @param {Chrt.ListPaymentsByShipperReq} request
|
|
76
76
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -85,7 +85,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
85
85
|
listByShipperOrgIdV1(request: Chrt.ListPaymentsByShipperReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierPaymentsForShipperRes>;
|
|
86
86
|
private __listByShipperOrgIdV1;
|
|
87
87
|
/**
|
|
88
|
-
* Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync.
|
|
88
|
+
* Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync. | (ListPaymentsByCourierReq) -> (GetShipperPayCourierPaymentsForShipperRes)
|
|
89
89
|
*
|
|
90
90
|
* @param {Chrt.ListPaymentsByCourierReq} request
|
|
91
91
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -100,7 +100,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
100
100
|
listByCourierOrgIdV1(request: Chrt.ListPaymentsByCourierReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierPaymentsForShipperRes>;
|
|
101
101
|
private __listByCourierOrgIdV1;
|
|
102
102
|
/**
|
|
103
|
-
* Creates a shipper-to-courier payment record based on all task groups in an order.
|
|
103
|
+
* Creates a shipper-to-courier payment record based on all task groups in an order. | (CreateShipperPayCourierPaymentReq) -> (PydanticObjectId)
|
|
104
104
|
*
|
|
105
105
|
* @param {Chrt.CreateShipperPayCourierPaymentReq} request
|
|
106
106
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ export declare class ShipperPayCourierPayments {
|
|
|
115
115
|
createV1(request: Chrt.CreateShipperPayCourierPaymentReq, requestOptions?: ShipperPayCourierPayments.RequestOptions): core.HttpResponsePromise<string>;
|
|
116
116
|
private __createV1;
|
|
117
117
|
/**
|
|
118
|
-
* Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status.
|
|
118
|
+
* Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status. | (CreateShipperPayCourierPaymentReq) -> (PaymentPreviewResponse)
|
|
119
119
|
*
|
|
120
120
|
* @param {Chrt.CreateShipperPayCourierPaymentReq} request
|
|
121
121
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class ShipperPayCourierPayments {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a shipper pay courier payment by its ID with Stripe invoice sync.
|
|
59
|
+
* Retrieves a shipper pay courier payment by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} shipperPayCourierPaymentId
|
|
62
62
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ class ShipperPayCourierPayments {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
* Deletes a shipper-to-courier payment record if invoice not yet created.
|
|
118
|
+
* Deletes a shipper-to-courier payment record if invoice not yet created. | () -> (bool)
|
|
119
119
|
*
|
|
120
120
|
* @param {string} shipperPayCourierPaymentId
|
|
121
121
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -174,7 +174,7 @@ class ShipperPayCourierPayments {
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync.
|
|
177
|
+
* Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
178
178
|
*
|
|
179
179
|
* @param {string} orderIdOrShortId
|
|
180
180
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -233,7 +233,7 @@ class ShipperPayCourierPayments {
|
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync.
|
|
236
|
+
* Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync. | (ListPaymentsByShipperReq) -> (GetShipperPayCourierPaymentsForShipperRes)
|
|
237
237
|
*
|
|
238
238
|
* @param {Chrt.ListPaymentsByShipperReq} request
|
|
239
239
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -300,7 +300,7 @@ class ShipperPayCourierPayments {
|
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
|
-
* Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync.
|
|
303
|
+
* Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync. | (ListPaymentsByCourierReq) -> (GetShipperPayCourierPaymentsForShipperRes)
|
|
304
304
|
*
|
|
305
305
|
* @param {Chrt.ListPaymentsByCourierReq} request
|
|
306
306
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -367,7 +367,7 @@ class ShipperPayCourierPayments {
|
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
/**
|
|
370
|
-
* Creates a shipper-to-courier payment record based on all task groups in an order.
|
|
370
|
+
* Creates a shipper-to-courier payment record based on all task groups in an order. | (CreateShipperPayCourierPaymentReq) -> (PydanticObjectId)
|
|
371
371
|
*
|
|
372
372
|
* @param {Chrt.CreateShipperPayCourierPaymentReq} request
|
|
373
373
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -431,7 +431,7 @@ class ShipperPayCourierPayments {
|
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
|
-
* Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status.
|
|
434
|
+
* Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status. | (CreateShipperPayCourierPaymentReq) -> (PaymentPreviewResponse)
|
|
435
435
|
*
|
|
436
436
|
* @param {Chrt.CreateShipperPayCourierPaymentReq} request
|
|
437
437
|
* @param {ShipperPayCourierPayments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class ShipperPayCourierRateSheets {
|
|
|
31
31
|
protected readonly _options: ShipperPayCourierRateSheets.Options;
|
|
32
32
|
constructor(_options?: ShipperPayCourierRateSheets.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Lists all rate sheets created by the authenticated courier organization.
|
|
34
|
+
* Lists all rate sheets created by the authenticated courier organization. | () -> (list[ShipperPayCourierRateSheet1])
|
|
35
35
|
*
|
|
36
36
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export declare class ShipperPayCourierRateSheets {
|
|
|
41
41
|
listByCourierOrgIdV1(requestOptions?: ShipperPayCourierRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierRateSheet1[]>;
|
|
42
42
|
private __listByCourierOrgIdV1;
|
|
43
43
|
/**
|
|
44
|
-
* Creates a new rate sheet for a courier to charge shippers.
|
|
44
|
+
* Creates a new rate sheet for a courier to charge shippers. | (ShipperPayCourierRateSheetClientCreate1) -> (PydanticObjectId)
|
|
45
45
|
*
|
|
46
46
|
* @param {Chrt.ShipperPayCourierRateSheetClientCreate1} request
|
|
47
47
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -69,7 +69,7 @@ export declare class ShipperPayCourierRateSheets {
|
|
|
69
69
|
createV1(request: Chrt.ShipperPayCourierRateSheetClientCreate1, requestOptions?: ShipperPayCourierRateSheets.RequestOptions): core.HttpResponsePromise<string>;
|
|
70
70
|
private __createV1;
|
|
71
71
|
/**
|
|
72
|
-
* Retrieves a single rate sheet by its ID (courier access only).
|
|
72
|
+
* Retrieves a single rate sheet by its ID (courier access only). | () -> (ShipperPayCourierRateSheet1)
|
|
73
73
|
*
|
|
74
74
|
* @param {string} id
|
|
75
75
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -82,7 +82,7 @@ export declare class ShipperPayCourierRateSheets {
|
|
|
82
82
|
getV1(id: string, requestOptions?: ShipperPayCourierRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierRateSheet1>;
|
|
83
83
|
private __getV1;
|
|
84
84
|
/**
|
|
85
|
-
* Deletes a rate sheet owned by the authenticated courier organization.
|
|
85
|
+
* Deletes a rate sheet owned by the authenticated courier organization. | () -> (bool)
|
|
86
86
|
*
|
|
87
87
|
* @param {string} id
|
|
88
88
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -95,7 +95,7 @@ export declare class ShipperPayCourierRateSheets {
|
|
|
95
95
|
deleteByIdV1(id: string, requestOptions?: ShipperPayCourierRateSheets.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
96
96
|
private __deleteByIdV1;
|
|
97
97
|
/**
|
|
98
|
-
* Updates an existing rate sheet owned by the authenticated courier organization.
|
|
98
|
+
* Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)
|
|
99
99
|
*
|
|
100
100
|
* @param {string} id
|
|
101
101
|
* @param {Chrt.ShipperPayCourierRateSheetClientUpdate1} request
|
|
@@ -56,7 +56,7 @@ class ShipperPayCourierRateSheets {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Lists all rate sheets created by the authenticated courier organization.
|
|
59
|
+
* Lists all rate sheets created by the authenticated courier organization. | () -> (list[ShipperPayCourierRateSheet1])
|
|
60
60
|
*
|
|
61
61
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
62
|
*
|
|
@@ -107,7 +107,7 @@ class ShipperPayCourierRateSheets {
|
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* Creates a new rate sheet for a courier to charge shippers.
|
|
110
|
+
* Creates a new rate sheet for a courier to charge shippers. | (ShipperPayCourierRateSheetClientCreate1) -> (PydanticObjectId)
|
|
111
111
|
*
|
|
112
112
|
* @param {Chrt.ShipperPayCourierRateSheetClientCreate1} request
|
|
113
113
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -184,7 +184,7 @@ class ShipperPayCourierRateSheets {
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
* Retrieves a single rate sheet by its ID (courier access only).
|
|
187
|
+
* Retrieves a single rate sheet by its ID (courier access only). | () -> (ShipperPayCourierRateSheet1)
|
|
188
188
|
*
|
|
189
189
|
* @param {string} id
|
|
190
190
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -243,7 +243,7 @@ class ShipperPayCourierRateSheets {
|
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
/**
|
|
246
|
-
* Deletes a rate sheet owned by the authenticated courier organization.
|
|
246
|
+
* Deletes a rate sheet owned by the authenticated courier organization. | () -> (bool)
|
|
247
247
|
*
|
|
248
248
|
* @param {string} id
|
|
249
249
|
* @param {ShipperPayCourierRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -302,7 +302,7 @@ class ShipperPayCourierRateSheets {
|
|
|
302
302
|
});
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
|
-
* Updates an existing rate sheet owned by the authenticated courier organization.
|
|
305
|
+
* Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)
|
|
306
306
|
*
|
|
307
307
|
* @param {string} id
|
|
308
308
|
* @param {Chrt.ShipperPayCourierRateSheetClientUpdate1} request
|
|
@@ -31,7 +31,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
31
31
|
protected readonly _options: ShipperPayCourierStatements.Options;
|
|
32
32
|
constructor(_options?: ShipperPayCourierStatements.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves a shipper pay courier statement by its ID with Stripe invoice sync.
|
|
34
|
+
* Retrieves a shipper pay courier statement by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} shipperPayCourierStatementId
|
|
37
37
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -44,7 +44,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
44
44
|
getByIdV1(shipperPayCourierStatementId: string, requestOptions?: ShipperPayCourierStatements.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierStatement1>;
|
|
45
45
|
private __getByIdV1;
|
|
46
46
|
/**
|
|
47
|
-
* Deletes a shipper-to-courier statement record if invoice not yet created.
|
|
47
|
+
* Deletes a shipper-to-courier statement record if invoice not yet created. | () -> (bool)
|
|
48
48
|
*
|
|
49
49
|
* @param {string} shipperPayCourierStatementId
|
|
50
50
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -57,7 +57,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
57
57
|
deleteV1(shipperPayCourierStatementId: string, requestOptions?: ShipperPayCourierStatements.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
58
58
|
private __deleteV1;
|
|
59
59
|
/**
|
|
60
|
-
* Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync.
|
|
60
|
+
* Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
61
61
|
*
|
|
62
62
|
* @param {string} orderIdOrShortId
|
|
63
63
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -70,7 +70,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
70
70
|
getByOrderIdOrShortIdV1(orderIdOrShortId: string, requestOptions?: ShipperPayCourierStatements.RequestOptions): core.HttpResponsePromise<Chrt.ShipperPayCourierStatement1>;
|
|
71
71
|
private __getByOrderIdOrShortIdV1;
|
|
72
72
|
/**
|
|
73
|
-
* Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync.
|
|
73
|
+
* Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync. | (ListStatementsByShipperReq) -> (GetShipperPayCourierStatementsForShipperRes)
|
|
74
74
|
*
|
|
75
75
|
* @param {Chrt.ListStatementsByShipperReq} request
|
|
76
76
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -85,7 +85,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
85
85
|
listByShipperOrgIdV1(request: Chrt.ListStatementsByShipperReq, requestOptions?: ShipperPayCourierStatements.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierStatementsForShipperRes>;
|
|
86
86
|
private __listByShipperOrgIdV1;
|
|
87
87
|
/**
|
|
88
|
-
* Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync.
|
|
88
|
+
* Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync. | (ListStatementsByCourierReq) -> (GetShipperPayCourierStatementsForShipperRes)
|
|
89
89
|
*
|
|
90
90
|
* @param {Chrt.ListStatementsByCourierReq} request
|
|
91
91
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -100,7 +100,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
100
100
|
listByCourierOrgIdV1(request: Chrt.ListStatementsByCourierReq, requestOptions?: ShipperPayCourierStatements.RequestOptions): core.HttpResponsePromise<Chrt.GetShipperPayCourierStatementsForShipperRes>;
|
|
101
101
|
private __listByCourierOrgIdV1;
|
|
102
102
|
/**
|
|
103
|
-
* Creates a shipper-to-courier statement record based on all task groups in an order.
|
|
103
|
+
* Creates a shipper-to-courier statement record based on all task groups in an order. | (CreateShipperPayCourierStatementReq) -> (PydanticObjectId)
|
|
104
104
|
*
|
|
105
105
|
* @param {Chrt.CreateShipperPayCourierStatementReq} request
|
|
106
106
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ export declare class ShipperPayCourierStatements {
|
|
|
115
115
|
createV1(request: Chrt.CreateShipperPayCourierStatementReq, requestOptions?: ShipperPayCourierStatements.RequestOptions): core.HttpResponsePromise<string>;
|
|
116
116
|
private __createV1;
|
|
117
117
|
/**
|
|
118
|
-
* Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status.
|
|
118
|
+
* Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status. | (CreateShipperPayCourierStatementReq) -> (StatementPreviewResponse)
|
|
119
119
|
*
|
|
120
120
|
* @param {Chrt.CreateShipperPayCourierStatementReq} request
|
|
121
121
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class ShipperPayCourierStatements {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a shipper pay courier statement by its ID with Stripe invoice sync.
|
|
59
|
+
* Retrieves a shipper pay courier statement by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} shipperPayCourierStatementId
|
|
62
62
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ class ShipperPayCourierStatements {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
* Deletes a shipper-to-courier statement record if invoice not yet created.
|
|
118
|
+
* Deletes a shipper-to-courier statement record if invoice not yet created. | () -> (bool)
|
|
119
119
|
*
|
|
120
120
|
* @param {string} shipperPayCourierStatementId
|
|
121
121
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -174,7 +174,7 @@ class ShipperPayCourierStatements {
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync.
|
|
177
|
+
* Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
|
|
178
178
|
*
|
|
179
179
|
* @param {string} orderIdOrShortId
|
|
180
180
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -233,7 +233,7 @@ class ShipperPayCourierStatements {
|
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync.
|
|
236
|
+
* Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync. | (ListStatementsByShipperReq) -> (GetShipperPayCourierStatementsForShipperRes)
|
|
237
237
|
*
|
|
238
238
|
* @param {Chrt.ListStatementsByShipperReq} request
|
|
239
239
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -300,7 +300,7 @@ class ShipperPayCourierStatements {
|
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
|
-
* Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync.
|
|
303
|
+
* Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync. | (ListStatementsByCourierReq) -> (GetShipperPayCourierStatementsForShipperRes)
|
|
304
304
|
*
|
|
305
305
|
* @param {Chrt.ListStatementsByCourierReq} request
|
|
306
306
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -367,7 +367,7 @@ class ShipperPayCourierStatements {
|
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
/**
|
|
370
|
-
* Creates a shipper-to-courier statement record based on all task groups in an order.
|
|
370
|
+
* Creates a shipper-to-courier statement record based on all task groups in an order. | (CreateShipperPayCourierStatementReq) -> (PydanticObjectId)
|
|
371
371
|
*
|
|
372
372
|
* @param {Chrt.CreateShipperPayCourierStatementReq} request
|
|
373
373
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -431,7 +431,7 @@ class ShipperPayCourierStatements {
|
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
|
-
* Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status.
|
|
434
|
+
* Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status. | (CreateShipperPayCourierStatementReq) -> (StatementPreviewResponse)
|
|
435
435
|
*
|
|
436
436
|
* @param {Chrt.CreateShipperPayCourierStatementReq} request
|
|
437
437
|
* @param {ShipperPayCourierStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -69,21 +69,19 @@ export declare class TaskGroups {
|
|
|
69
69
|
setTaskOrderingV1(taskGroupId: string, request: Chrt.SetTaskOrderingReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
70
70
|
private __setTaskOrderingV1;
|
|
71
71
|
/**
|
|
72
|
-
* Sets the flight number
|
|
72
|
+
* Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
|
|
73
73
|
*
|
|
74
74
|
* @param {string} taskGroupId
|
|
75
|
-
* @param {Chrt.
|
|
75
|
+
* @param {Chrt.SetFlightInfoReq} request
|
|
76
76
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
|
-
* await client.taskGroups.
|
|
82
|
-
* flight_number: "flight_number"
|
|
83
|
-
* })
|
|
81
|
+
* await client.taskGroups.setFlightInfoV1("task_group_id", {})
|
|
84
82
|
*/
|
|
85
|
-
|
|
86
|
-
private
|
|
83
|
+
setFlightInfoV1(taskGroupId: string, request: Chrt.SetFlightInfoReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
84
|
+
private __setFlightInfoV1;
|
|
87
85
|
/**
|
|
88
86
|
* Updates the driver assigned to a task group. | authz_personas=[courier_org_operators] | (UpdateDriverReq) -> (bool)
|
|
89
87
|
*
|
|
@@ -195,28 +195,26 @@ class TaskGroups {
|
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
|
-
* Sets the flight number
|
|
198
|
+
* Sets the flight number and/or fa_flight_id on a task group. | authz_personas=[lig_org_operators] | (SetFlightInfoReq) -> (bool)
|
|
199
199
|
*
|
|
200
200
|
* @param {string} taskGroupId
|
|
201
|
-
* @param {Chrt.
|
|
201
|
+
* @param {Chrt.SetFlightInfoReq} request
|
|
202
202
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
203
203
|
*
|
|
204
204
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
205
205
|
*
|
|
206
206
|
* @example
|
|
207
|
-
* await client.taskGroups.
|
|
208
|
-
* flight_number: "flight_number"
|
|
209
|
-
* })
|
|
207
|
+
* await client.taskGroups.setFlightInfoV1("task_group_id", {})
|
|
210
208
|
*/
|
|
211
|
-
|
|
212
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
209
|
+
setFlightInfoV1(taskGroupId, request, requestOptions) {
|
|
210
|
+
return core.HttpResponsePromise.fromPromise(this.__setFlightInfoV1(taskGroupId, request, requestOptions));
|
|
213
211
|
}
|
|
214
|
-
|
|
212
|
+
__setFlightInfoV1(taskGroupId, request, requestOptions) {
|
|
215
213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
216
214
|
var _a, _b, _c, _d;
|
|
217
215
|
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);
|
|
218
216
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
219
|
-
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, `oort/task_groups/
|
|
217
|
+
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, `oort/task_groups/set_flight_info/v1/${encodeURIComponent(taskGroupId)}`),
|
|
220
218
|
method: "PATCH",
|
|
221
219
|
headers: _headers,
|
|
222
220
|
contentType: "application/json",
|
|
@@ -250,7 +248,7 @@ class TaskGroups {
|
|
|
250
248
|
rawResponse: _response.rawResponse,
|
|
251
249
|
});
|
|
252
250
|
case "timeout":
|
|
253
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/task_groups/
|
|
251
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/task_groups/set_flight_info/v1/{task_group_id}.");
|
|
254
252
|
case "unknown":
|
|
255
253
|
throw new errors.ChrtError({
|
|
256
254
|
message: _response.error.errorMessage,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { type SetTaskOrderingReq } from "./SetTaskOrderingReq.js";
|
|
2
|
-
export { type SetFlightNumberReq } from "./SetFlightNumberReq.js";
|
|
3
2
|
export { type UpdateDriverReq } from "./UpdateDriverReq.js";
|
|
4
3
|
export { type UpdateCourierOrgReq } from "./UpdateCourierOrgReq.js";
|
|
5
4
|
export { type AddMessageReq } from "./AddMessageReq.js";
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments.js";
|
|
5
5
|
import * as core from "../../../../core/index.js";
|
|
6
|
-
import { CargoByDevice } from "../resources/cargoByDevice/client/Client.js";
|
|
7
|
-
import { CargoByDriver } from "../resources/cargoByDriver/client/Client.js";
|
|
8
6
|
import { Devices } from "../resources/devices/client/Client.js";
|
|
9
7
|
import { Driver } from "../resources/driver/client/Client.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { Sessions } from "../resources/sessions/client/Client.js";
|
|
9
|
+
import { SharingSettings } from "../resources/sharingSettings/client/Client.js";
|
|
10
|
+
import { Timeseries } from "../resources/timeseries/client/Client.js";
|
|
12
11
|
export declare namespace Tracking {
|
|
13
12
|
interface Options {
|
|
14
13
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -22,17 +21,15 @@ export declare namespace Tracking {
|
|
|
22
21
|
}
|
|
23
22
|
export declare class Tracking {
|
|
24
23
|
protected readonly _options: Tracking.Options;
|
|
25
|
-
protected _cargoByDevice: CargoByDevice | undefined;
|
|
26
|
-
protected _cargoByDriver: CargoByDriver | undefined;
|
|
27
24
|
protected _devices: Devices | undefined;
|
|
28
25
|
protected _driver: Driver | undefined;
|
|
29
|
-
protected
|
|
30
|
-
protected
|
|
26
|
+
protected _sessions: Sessions | undefined;
|
|
27
|
+
protected _sharingSettings: SharingSettings | undefined;
|
|
28
|
+
protected _timeseries: Timeseries | undefined;
|
|
31
29
|
constructor(_options?: Tracking.Options);
|
|
32
|
-
get cargoByDevice(): CargoByDevice;
|
|
33
|
-
get cargoByDriver(): CargoByDriver;
|
|
34
30
|
get devices(): Devices;
|
|
35
31
|
get driver(): Driver;
|
|
36
|
-
get
|
|
37
|
-
get
|
|
32
|
+
get sessions(): Sessions;
|
|
33
|
+
get sharingSettings(): SharingSettings;
|
|
34
|
+
get timeseries(): Timeseries;
|
|
38
35
|
}
|
|
@@ -4,39 +4,34 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Tracking = void 0;
|
|
7
|
-
const Client_js_1 = require("../resources/
|
|
8
|
-
const Client_js_2 = require("../resources/
|
|
9
|
-
const Client_js_3 = require("../resources/
|
|
10
|
-
const Client_js_4 = require("../resources/
|
|
11
|
-
const Client_js_5 = require("../resources/
|
|
12
|
-
const Client_js_6 = require("../resources/taskGroupByDriver/client/Client.js");
|
|
7
|
+
const Client_js_1 = require("../resources/devices/client/Client.js");
|
|
8
|
+
const Client_js_2 = require("../resources/driver/client/Client.js");
|
|
9
|
+
const Client_js_3 = require("../resources/sessions/client/Client.js");
|
|
10
|
+
const Client_js_4 = require("../resources/sharingSettings/client/Client.js");
|
|
11
|
+
const Client_js_5 = require("../resources/timeseries/client/Client.js");
|
|
13
12
|
class Tracking {
|
|
14
13
|
constructor(_options = {}) {
|
|
15
14
|
this._options = _options;
|
|
16
15
|
}
|
|
17
|
-
get cargoByDevice() {
|
|
18
|
-
var _a;
|
|
19
|
-
return ((_a = this._cargoByDevice) !== null && _a !== void 0 ? _a : (this._cargoByDevice = new Client_js_1.CargoByDevice(this._options)));
|
|
20
|
-
}
|
|
21
|
-
get cargoByDriver() {
|
|
22
|
-
var _a;
|
|
23
|
-
return ((_a = this._cargoByDriver) !== null && _a !== void 0 ? _a : (this._cargoByDriver = new Client_js_2.CargoByDriver(this._options)));
|
|
24
|
-
}
|
|
25
16
|
get devices() {
|
|
26
17
|
var _a;
|
|
27
|
-
return ((_a = this._devices) !== null && _a !== void 0 ? _a : (this._devices = new
|
|
18
|
+
return ((_a = this._devices) !== null && _a !== void 0 ? _a : (this._devices = new Client_js_1.Devices(this._options)));
|
|
28
19
|
}
|
|
29
20
|
get driver() {
|
|
30
21
|
var _a;
|
|
31
|
-
return ((_a = this._driver) !== null && _a !== void 0 ? _a : (this._driver = new
|
|
22
|
+
return ((_a = this._driver) !== null && _a !== void 0 ? _a : (this._driver = new Client_js_2.Driver(this._options)));
|
|
23
|
+
}
|
|
24
|
+
get sessions() {
|
|
25
|
+
var _a;
|
|
26
|
+
return ((_a = this._sessions) !== null && _a !== void 0 ? _a : (this._sessions = new Client_js_3.Sessions(this._options)));
|
|
32
27
|
}
|
|
33
|
-
get
|
|
28
|
+
get sharingSettings() {
|
|
34
29
|
var _a;
|
|
35
|
-
return ((_a = this.
|
|
30
|
+
return ((_a = this._sharingSettings) !== null && _a !== void 0 ? _a : (this._sharingSettings = new Client_js_4.SharingSettings(this._options)));
|
|
36
31
|
}
|
|
37
|
-
get
|
|
32
|
+
get timeseries() {
|
|
38
33
|
var _a;
|
|
39
|
-
return ((_a = this.
|
|
34
|
+
return ((_a = this._timeseries) !== null && _a !== void 0 ? _a : (this._timeseries = new Client_js_5.Timeseries(this._options)));
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
37
|
exports.Tracking = Tracking;
|
|
@@ -75,61 +75,61 @@ export declare class Devices {
|
|
|
75
75
|
deleteV1(request?: Chrt.tracking.DevicesDeleteV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
76
76
|
private __deleteV1;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Links a device to cargo with bidirectional references. Device must not already be linked to a session or different cargo. | () -> (bool)
|
|
79
79
|
*
|
|
80
|
-
* @param {Chrt.tracking.
|
|
80
|
+
* @param {Chrt.tracking.DevicesLinkToCargoV1Request} request
|
|
81
81
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
|
-
* await client.tracking.devices.
|
|
86
|
+
* await client.tracking.devices.linkToCargoV1({
|
|
87
87
|
* device_mac_address: "device_mac_address",
|
|
88
|
-
*
|
|
88
|
+
* cargo_id: "cargo_id"
|
|
89
89
|
* })
|
|
90
90
|
*/
|
|
91
|
-
|
|
92
|
-
private
|
|
91
|
+
linkToCargoV1(request: Chrt.tracking.DevicesLinkToCargoV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
92
|
+
private __linkToCargoV1;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Unlinks a device from its linked cargo, removing the bidirectional reference. Returns false if device is not linked to any cargo. | () -> (bool)
|
|
95
95
|
*
|
|
96
|
+
* @param {Chrt.tracking.DevicesUnlinkFromCargoV1Request} request
|
|
96
97
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
98
|
*
|
|
99
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
100
|
+
*
|
|
98
101
|
* @example
|
|
99
|
-
* await client.tracking.devices.
|
|
102
|
+
* await client.tracking.devices.unlinkFromCargoV1({
|
|
103
|
+
* device_mac_address: "device_mac_address"
|
|
104
|
+
* })
|
|
100
105
|
*/
|
|
101
|
-
|
|
102
|
-
private
|
|
106
|
+
unlinkFromCargoV1(request: Chrt.tracking.DevicesUnlinkFromCargoV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
107
|
+
private __unlinkFromCargoV1;
|
|
103
108
|
/**
|
|
104
|
-
*
|
|
109
|
+
* Retrieves a single device by its MAC address or ID. Access restricted to the caller's organization. | authz: min_org_role=operator | () -> (Device1)
|
|
105
110
|
*
|
|
106
|
-
* @param {Chrt.tracking.
|
|
111
|
+
* @param {Chrt.tracking.DevicesGetV1Request} request
|
|
107
112
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
108
113
|
*
|
|
109
114
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
110
115
|
*
|
|
111
116
|
* @example
|
|
112
|
-
* await client.tracking.devices.
|
|
117
|
+
* await client.tracking.devices.getV1({
|
|
113
118
|
* device_mac_address: "device_mac_address",
|
|
114
|
-
*
|
|
119
|
+
* device_id: "device_id"
|
|
115
120
|
* })
|
|
116
121
|
*/
|
|
117
|
-
|
|
118
|
-
private
|
|
122
|
+
getV1(request?: Chrt.tracking.DevicesGetV1Request, requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.Device1>;
|
|
123
|
+
private __getV1;
|
|
119
124
|
/**
|
|
120
|
-
*
|
|
125
|
+
* Returns all tracking devices registered to the caller's organization. | authz: min_org_role=operator | () -> (list[Device1])
|
|
121
126
|
*
|
|
122
|
-
* @param {Chrt.tracking.DevicesUnlinkFromCargoV1Request} request
|
|
123
127
|
* @param {Devices.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
128
|
*
|
|
125
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
126
|
-
*
|
|
127
129
|
* @example
|
|
128
|
-
* await client.tracking.devices.
|
|
129
|
-
* device_mac_address: "device_mac_address"
|
|
130
|
-
* })
|
|
130
|
+
* await client.tracking.devices.listV1()
|
|
131
131
|
*/
|
|
132
|
-
|
|
133
|
-
private
|
|
132
|
+
listV1(requestOptions?: Devices.RequestOptions): core.HttpResponsePromise<Chrt.Device1[]>;
|
|
133
|
+
private __listV1;
|
|
134
134
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
135
135
|
}
|