@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
|
@@ -20,7 +20,7 @@ export class CourierPayDriverPayouts {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieves a specific courier driver payout
|
|
23
|
+
* Retrieves a specific courier driver payout for the caller's organization. | () -> (CourierPayDriverStatement1)
|
|
24
24
|
*
|
|
25
25
|
* @param {string} id
|
|
26
26
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -79,7 +79,7 @@ export class CourierPayDriverPayouts {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Lists all payouts for a specific driver within the caller's organization.
|
|
82
|
+
* Lists all payouts for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
|
|
83
83
|
*
|
|
84
84
|
* @param {string} driverId
|
|
85
85
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -138,7 +138,7 @@ export class CourierPayDriverPayouts {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* Creates a new driver payout from selected line item groups and calculates the total amount.
|
|
141
|
+
* Creates a new driver payout from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
|
|
142
142
|
*
|
|
143
143
|
* @param {Chrt.CourierPayDriverStatementClientCreate1} request
|
|
144
144
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -203,7 +203,7 @@ export class CourierPayDriverPayouts {
|
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
* Updates the status of a courier driver payout with validation of allowed state transitions.
|
|
206
|
+
* Updates the status of a courier driver payout with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
|
|
207
207
|
*
|
|
208
208
|
* @param {string} id
|
|
209
209
|
* @param {Chrt.CourierPayDriverStatementClientUpdate1} request
|
|
@@ -31,7 +31,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
31
31
|
protected readonly _options: CourierPayDriverRateSheets.Options;
|
|
32
32
|
constructor(_options?: CourierPayDriverRateSheets.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Lists all driver rate sheets for the caller's courier organization.
|
|
34
|
+
* Lists all driver rate sheets for the caller's courier organization. | () -> (list[CourierPayDriverRateSheet1])
|
|
35
35
|
*
|
|
36
36
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
@@ -41,7 +41,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
41
41
|
listByCourierOrgIdV1(requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1[]>;
|
|
42
42
|
private __listByCourierOrgIdV1;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves all rate sheets assigned to a specific driver.
|
|
44
|
+
* Retrieves all rate sheets assigned to a specific driver. | () -> (list[CourierPayDriverRateSheet1])
|
|
45
45
|
*
|
|
46
46
|
* @param {string} driverId
|
|
47
47
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -54,7 +54,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
54
54
|
listByDriverIdV1(driverId: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1[]>;
|
|
55
55
|
private __listByDriverIdV1;
|
|
56
56
|
/**
|
|
57
|
-
* Creates a new driver rate sheet for calculating courier payments.
|
|
57
|
+
* Creates a new driver rate sheet for calculating courier payments. | (CourierPayDriverRateSheetClientCreate1) -> (PydanticObjectId)
|
|
58
58
|
*
|
|
59
59
|
* @param {Chrt.CourierPayDriverRateSheetClientCreate1} request
|
|
60
60
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -83,7 +83,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
83
83
|
createV1(request: Chrt.CourierPayDriverRateSheetClientCreate1, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<string>;
|
|
84
84
|
private __createV1;
|
|
85
85
|
/**
|
|
86
|
-
* Retrieves a single rate sheet by its ID.
|
|
86
|
+
* Retrieves a single rate sheet by its ID. | () -> (CourierPayDriverRateSheet1)
|
|
87
87
|
*
|
|
88
88
|
* @param {string} id
|
|
89
89
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -96,7 +96,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
96
96
|
getV1(id: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1>;
|
|
97
97
|
private __getV1;
|
|
98
98
|
/**
|
|
99
|
-
* Deletes a driver rate sheet owned by the caller's organization.
|
|
99
|
+
* Deletes a driver rate sheet owned by the caller's organization. | () -> (bool)
|
|
100
100
|
*
|
|
101
101
|
* @param {string} id
|
|
102
102
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -109,7 +109,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
109
109
|
deleteByIdV1(id: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
110
110
|
private __deleteByIdV1;
|
|
111
111
|
/**
|
|
112
|
-
* Updates an existing driver rate sheet owned by the caller's organization.
|
|
112
|
+
* Updates an existing driver rate sheet owned by the caller's organization. | (CourierPayDriverRateSheetClientUpdate1) -> (CourierPayDriverRateSheet1)
|
|
113
113
|
*
|
|
114
114
|
* @param {string} id
|
|
115
115
|
* @param {Chrt.CourierPayDriverRateSheetClientUpdate1} request
|
|
@@ -20,7 +20,7 @@ export class CourierPayDriverRateSheets {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Lists all driver rate sheets for the caller's courier organization.
|
|
23
|
+
* Lists all driver rate sheets for the caller's courier organization. | () -> (list[CourierPayDriverRateSheet1])
|
|
24
24
|
*
|
|
25
25
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
26
|
*
|
|
@@ -71,7 +71,7 @@ export class CourierPayDriverRateSheets {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves all rate sheets assigned to a specific driver.
|
|
74
|
+
* Retrieves all rate sheets assigned to a specific driver. | () -> (list[CourierPayDriverRateSheet1])
|
|
75
75
|
*
|
|
76
76
|
* @param {string} driverId
|
|
77
77
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -130,7 +130,7 @@ export class CourierPayDriverRateSheets {
|
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* Creates a new driver rate sheet for calculating courier payments.
|
|
133
|
+
* Creates a new driver rate sheet for calculating courier payments. | (CourierPayDriverRateSheetClientCreate1) -> (PydanticObjectId)
|
|
134
134
|
*
|
|
135
135
|
* @param {Chrt.CourierPayDriverRateSheetClientCreate1} request
|
|
136
136
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -208,7 +208,7 @@ export class CourierPayDriverRateSheets {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Retrieves a single rate sheet by its ID.
|
|
211
|
+
* Retrieves a single rate sheet by its ID. | () -> (CourierPayDriverRateSheet1)
|
|
212
212
|
*
|
|
213
213
|
* @param {string} id
|
|
214
214
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -267,7 +267,7 @@ export class CourierPayDriverRateSheets {
|
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
|
-
* Deletes a driver rate sheet owned by the caller's organization.
|
|
270
|
+
* Deletes a driver rate sheet owned by the caller's organization. | () -> (bool)
|
|
271
271
|
*
|
|
272
272
|
* @param {string} id
|
|
273
273
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -326,7 +326,7 @@ export class CourierPayDriverRateSheets {
|
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
|
-
* Updates an existing driver rate sheet owned by the caller's organization.
|
|
329
|
+
* Updates an existing driver rate sheet owned by the caller's organization. | (CourierPayDriverRateSheetClientUpdate1) -> (CourierPayDriverRateSheet1)
|
|
330
330
|
*
|
|
331
331
|
* @param {string} id
|
|
332
332
|
* @param {Chrt.CourierPayDriverRateSheetClientUpdate1} request
|
|
@@ -31,7 +31,7 @@ export declare class CourierPayDriverStatements {
|
|
|
31
31
|
protected readonly _options: CourierPayDriverStatements.Options;
|
|
32
32
|
constructor(_options?: CourierPayDriverStatements.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves a specific courier driver statement
|
|
34
|
+
* Retrieves a specific courier driver statement for the caller's organization. | () -> (CourierPayDriverStatement1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} id
|
|
37
37
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -44,7 +44,7 @@ export declare class CourierPayDriverStatements {
|
|
|
44
44
|
getByIdV1(id: string, requestOptions?: CourierPayDriverStatements.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverStatement1>;
|
|
45
45
|
private __getByIdV1;
|
|
46
46
|
/**
|
|
47
|
-
* Lists all statements for a specific driver within the caller's organization.
|
|
47
|
+
* Lists all statements for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
|
|
48
48
|
*
|
|
49
49
|
* @param {string} driverId
|
|
50
50
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -57,7 +57,7 @@ export declare class CourierPayDriverStatements {
|
|
|
57
57
|
listByDriverIdV1(driverId: string, requestOptions?: CourierPayDriverStatements.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverStatement1[]>;
|
|
58
58
|
private __listByDriverIdV1;
|
|
59
59
|
/**
|
|
60
|
-
* Creates a new driver statement from selected line item groups and calculates the total amount.
|
|
60
|
+
* Creates a new driver statement from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
|
|
61
61
|
*
|
|
62
62
|
* @param {Chrt.CourierPayDriverStatementClientCreate1} request
|
|
63
63
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -73,7 +73,7 @@ export declare class CourierPayDriverStatements {
|
|
|
73
73
|
createV1(request: Chrt.CourierPayDriverStatementClientCreate1, requestOptions?: CourierPayDriverStatements.RequestOptions): core.HttpResponsePromise<string>;
|
|
74
74
|
private __createV1;
|
|
75
75
|
/**
|
|
76
|
-
* Updates the status of a courier driver statement with validation of allowed state transitions.
|
|
76
|
+
* Updates the status of a courier driver statement with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
|
|
77
77
|
*
|
|
78
78
|
* @param {string} id
|
|
79
79
|
* @param {Chrt.CourierPayDriverStatementClientUpdate1} request
|
|
@@ -20,7 +20,7 @@ export class CourierPayDriverStatements {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieves a specific courier driver statement
|
|
23
|
+
* Retrieves a specific courier driver statement for the caller's organization. | () -> (CourierPayDriverStatement1)
|
|
24
24
|
*
|
|
25
25
|
* @param {string} id
|
|
26
26
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -79,7 +79,7 @@ export class CourierPayDriverStatements {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Lists all statements for a specific driver within the caller's organization.
|
|
82
|
+
* Lists all statements for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
|
|
83
83
|
*
|
|
84
84
|
* @param {string} driverId
|
|
85
85
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -138,7 +138,7 @@ export class CourierPayDriverStatements {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
|
-
* Creates a new driver statement from selected line item groups and calculates the total amount.
|
|
141
|
+
* Creates a new driver statement from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
|
|
142
142
|
*
|
|
143
143
|
* @param {Chrt.CourierPayDriverStatementClientCreate1} request
|
|
144
144
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -203,7 +203,7 @@ export class CourierPayDriverStatements {
|
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
|
-
* Updates the status of a courier driver statement with validation of allowed state transitions.
|
|
206
|
+
* Updates the status of a courier driver statement with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
|
|
207
207
|
*
|
|
208
208
|
* @param {string} id
|
|
209
209
|
* @param {Chrt.CourierPayDriverStatementClientUpdate1} request
|
|
@@ -86,7 +86,7 @@ export declare class Drivers {
|
|
|
86
86
|
listV1(request?: Chrt.DriversListV1Request, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.Driver1[]>;
|
|
87
87
|
private __listV1;
|
|
88
88
|
/**
|
|
89
|
-
* Creates a new driver profile for the caller.
|
|
89
|
+
* Creates a new driver profile for the target user (defaults to caller). Drivers can create themselves; operators+ can create any org member. Courier orgs only. | (DriverClientCreate1) -> (PydanticObjectId)
|
|
90
90
|
*
|
|
91
91
|
* @param {Chrt.DriverClientCreate1} request
|
|
92
92
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -95,6 +95,7 @@ export declare class Drivers {
|
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
97
|
* await client.drivers.createV1({
|
|
98
|
+
* target_user_id: "target_user_id",
|
|
98
99
|
* schema_version: 1
|
|
99
100
|
* })
|
|
100
101
|
*/
|
|
@@ -10,6 +10,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
+
t[p] = s[p];
|
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
+
t[p[i]] = s[p[i]];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
13
24
|
import * as environments from "../../../../environments.mjs";
|
|
14
25
|
import * as core from "../../../../core/index.mjs";
|
|
15
26
|
import * as Chrt from "../../../index.mjs";
|
|
@@ -270,7 +281,7 @@ export class Drivers {
|
|
|
270
281
|
});
|
|
271
282
|
}
|
|
272
283
|
/**
|
|
273
|
-
* Creates a new driver profile for the caller.
|
|
284
|
+
* Creates a new driver profile for the target user (defaults to caller). Drivers can create themselves; operators+ can create any org member. Courier orgs only. | (DriverClientCreate1) -> (PydanticObjectId)
|
|
274
285
|
*
|
|
275
286
|
* @param {Chrt.DriverClientCreate1} request
|
|
276
287
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -279,6 +290,7 @@ export class Drivers {
|
|
|
279
290
|
*
|
|
280
291
|
* @example
|
|
281
292
|
* await client.drivers.createV1({
|
|
293
|
+
* target_user_id: "target_user_id",
|
|
282
294
|
* schema_version: 1
|
|
283
295
|
* })
|
|
284
296
|
*/
|
|
@@ -288,15 +300,20 @@ export class Drivers {
|
|
|
288
300
|
__createV1(request, requestOptions) {
|
|
289
301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
290
302
|
var _a, _b, _c, _d;
|
|
303
|
+
const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
|
|
304
|
+
const _queryParams = {};
|
|
305
|
+
if (targetUserId !== undefined) {
|
|
306
|
+
_queryParams["target_user_id"] = targetUserId;
|
|
307
|
+
}
|
|
291
308
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
292
309
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
293
310
|
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/drivers/create/v1"),
|
|
294
311
|
method: "POST",
|
|
295
312
|
headers: _headers,
|
|
296
313
|
contentType: "application/json",
|
|
297
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
314
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
298
315
|
requestType: "json",
|
|
299
|
-
body:
|
|
316
|
+
body: _body,
|
|
300
317
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
301
318
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
302
319
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -5,10 +5,12 @@ import * as Chrt from "../../../../index.mjs";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* target_user_id: "target_user_id",
|
|
8
9
|
* schema_version: 1
|
|
9
10
|
* }
|
|
10
11
|
*/
|
|
11
12
|
export interface DriverClientCreate1 {
|
|
13
|
+
target_user_id?: string | null;
|
|
12
14
|
schema_version: number;
|
|
13
15
|
email_address_primary?: string | null;
|
|
14
16
|
email_address_secondary?: string | null;
|
package/dist/esm/api/resources/{tracking/resources/cargoByDevice → flights}/client/Client.d.mts
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as environments from "
|
|
5
|
-
import * as core from "
|
|
6
|
-
import * as Chrt from "
|
|
7
|
-
export declare namespace
|
|
4
|
+
import * as environments from "../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../index.mjs";
|
|
7
|
+
export declare namespace Flights {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
@@ -27,24 +27,21 @@ export declare namespace CargoByDevice {
|
|
|
27
27
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
export declare class
|
|
31
|
-
protected readonly _options:
|
|
32
|
-
constructor(_options?:
|
|
30
|
+
export declare class Flights {
|
|
31
|
+
protected readonly _options: Flights.Options;
|
|
32
|
+
constructor(_options?: Flights.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Returns
|
|
34
|
+
* Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks. | authz_personas=[courier_driver, forwarder_org_operators, courier_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
|
|
35
35
|
*
|
|
36
|
-
* @param {
|
|
37
|
-
* @param {
|
|
36
|
+
* @param {string} taskId
|
|
37
|
+
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
* await client.
|
|
43
|
-
* cargo_id: "cargo_id",
|
|
44
|
-
* task_group_id: "task_group_id"
|
|
45
|
-
* })
|
|
42
|
+
* await client.flights.getFlightInfoForTaskV1("task_id")
|
|
46
43
|
*/
|
|
47
|
-
|
|
48
|
-
private
|
|
44
|
+
getFlightInfoForTaskV1(taskId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightInfoForTaskRes>;
|
|
45
|
+
private __getFlightInfoForTaskV1;
|
|
49
46
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
50
47
|
}
|
package/dist/esm/api/resources/{tracking/resources/taskGroupByDriver → flights}/client/Client.mjs
RENAMED
|
@@ -10,52 +10,44 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
|
-
import * as environments from "
|
|
14
|
-
import * as core from "
|
|
15
|
-
import * as Chrt from "
|
|
16
|
-
import { mergeHeaders, mergeOnlyDefinedHeaders } from "
|
|
17
|
-
import * as errors from "
|
|
18
|
-
export class
|
|
13
|
+
import * as environments from "../../../../environments.mjs";
|
|
14
|
+
import * as core from "../../../../core/index.mjs";
|
|
15
|
+
import * as Chrt from "../../../index.mjs";
|
|
16
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
17
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
18
|
+
export class Flights {
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns
|
|
23
|
+
* Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks. | authz_personas=[courier_driver, forwarder_org_operators, courier_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
|
|
24
24
|
*
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {
|
|
25
|
+
* @param {string} taskId
|
|
26
|
+
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
* await client.
|
|
32
|
-
* task_group_id: "task_group_id"
|
|
33
|
-
* })
|
|
31
|
+
* await client.flights.getFlightInfoForTaskV1("task_id")
|
|
34
32
|
*/
|
|
35
|
-
|
|
36
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
33
|
+
getFlightInfoForTaskV1(taskId, requestOptions) {
|
|
34
|
+
return core.HttpResponsePromise.fromPromise(this.__getFlightInfoForTaskV1(taskId, requestOptions));
|
|
37
35
|
}
|
|
38
|
-
|
|
36
|
+
__getFlightInfoForTaskV1(taskId, requestOptions) {
|
|
39
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40
38
|
var _a, _b, _c, _d;
|
|
41
|
-
const { task_group_id: taskGroupId } = request;
|
|
42
|
-
const _queryParams = {};
|
|
43
|
-
_queryParams["task_group_id"] = taskGroupId;
|
|
44
39
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
45
40
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
46
|
-
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,
|
|
41
|
+
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, `flights/flight_info/for_task/v1/${encodeURIComponent(taskId)}`),
|
|
47
42
|
method: "GET",
|
|
48
43
|
headers: _headers,
|
|
49
|
-
queryParameters:
|
|
44
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
50
45
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
51
46
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
52
47
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
53
48
|
});
|
|
54
49
|
if (_response.ok) {
|
|
55
|
-
return {
|
|
56
|
-
data: _response.body,
|
|
57
|
-
rawResponse: _response.rawResponse,
|
|
58
|
-
};
|
|
50
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
59
51
|
}
|
|
60
52
|
if (_response.error.reason === "status-code") {
|
|
61
53
|
switch (_response.error.statusCode) {
|
|
@@ -77,7 +69,7 @@ export class TaskGroupByDriver {
|
|
|
77
69
|
rawResponse: _response.rawResponse,
|
|
78
70
|
});
|
|
79
71
|
case "timeout":
|
|
80
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /
|
|
72
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /flights/flight_info/for_task/v1/{task_id}.");
|
|
81
73
|
case "unknown":
|
|
82
74
|
throw new errors.ChrtError({
|
|
83
75
|
message: _response.error.errorMessage,
|
|
@@ -14,6 +14,7 @@ export * as shipperPayCourierRateSheets from "./shipperPayCourierRateSheets/inde
|
|
|
14
14
|
export * as shipperPayCourierStatements from "./shipperPayCourierStatements/index.mjs";
|
|
15
15
|
export * as orgProfiles from "./orgProfiles/index.mjs";
|
|
16
16
|
export * as dev from "./dev/index.mjs";
|
|
17
|
+
export * as flights from "./flights/index.mjs";
|
|
17
18
|
export * as taskArtifactNotifications from "./taskArtifactNotifications/index.mjs";
|
|
18
19
|
export * as drivers from "./drivers/index.mjs";
|
|
19
20
|
export * as cargos from "./cargos/index.mjs";
|
|
@@ -14,6 +14,7 @@ export * as shipperPayCourierRateSheets from "./shipperPayCourierRateSheets/inde
|
|
|
14
14
|
export * as shipperPayCourierStatements from "./shipperPayCourierStatements/index.mjs";
|
|
15
15
|
export * as orgProfiles from "./orgProfiles/index.mjs";
|
|
16
16
|
export * as dev from "./dev/index.mjs";
|
|
17
|
+
export * as flights from "./flights/index.mjs";
|
|
17
18
|
export * as taskArtifactNotifications from "./taskArtifactNotifications/index.mjs";
|
|
18
19
|
export * as drivers from "./drivers/index.mjs";
|
|
19
20
|
export * as cargos from "./cargos/index.mjs";
|
|
@@ -47,21 +47,19 @@ export declare class TaskGroup {
|
|
|
47
47
|
addV1(request: Chrt.orderDrafts.OrderDraftAddTaskGroupReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
48
|
private __addV1;
|
|
49
49
|
/**
|
|
50
|
-
* Sets the flight number on a draft task group. | (
|
|
50
|
+
* Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
|
|
51
51
|
*
|
|
52
52
|
* @param {string} taskGroupId
|
|
53
|
-
* @param {Chrt.
|
|
53
|
+
* @param {Chrt.SetFlightInfoReq} request
|
|
54
54
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* await client.orderDrafts.taskGroup.
|
|
60
|
-
* flight_number: "flight_number"
|
|
61
|
-
* })
|
|
59
|
+
* await client.orderDrafts.taskGroup.setFlightInfoV1("task_group_id", {})
|
|
62
60
|
*/
|
|
63
|
-
|
|
64
|
-
private
|
|
61
|
+
setFlightInfoV1(taskGroupId: string, request: Chrt.SetFlightInfoReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
62
|
+
private __setFlightInfoV1;
|
|
65
63
|
/**
|
|
66
64
|
* Updates the courier organization assigned to a draft task group. | (UpdateCourierOrgDraftReq) -> (bool)
|
|
67
65
|
*
|
|
@@ -85,28 +85,26 @@ export class TaskGroup {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* Sets the flight number on a draft task group. | (
|
|
88
|
+
* Sets the flight number and/or fa_flight_id on a draft task group. | (SetFlightInfoReq) -> (bool)
|
|
89
89
|
*
|
|
90
90
|
* @param {string} taskGroupId
|
|
91
|
-
* @param {Chrt.
|
|
91
|
+
* @param {Chrt.SetFlightInfoReq} request
|
|
92
92
|
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
93
|
*
|
|
94
94
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
95
95
|
*
|
|
96
96
|
* @example
|
|
97
|
-
* await client.orderDrafts.taskGroup.
|
|
98
|
-
* flight_number: "flight_number"
|
|
99
|
-
* })
|
|
97
|
+
* await client.orderDrafts.taskGroup.setFlightInfoV1("task_group_id", {})
|
|
100
98
|
*/
|
|
101
|
-
|
|
102
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
99
|
+
setFlightInfoV1(taskGroupId, request, requestOptions) {
|
|
100
|
+
return core.HttpResponsePromise.fromPromise(this.__setFlightInfoV1(taskGroupId, request, requestOptions));
|
|
103
101
|
}
|
|
104
|
-
|
|
102
|
+
__setFlightInfoV1(taskGroupId, request, requestOptions) {
|
|
105
103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
106
104
|
var _a, _b, _c, _d;
|
|
107
105
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
108
106
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
109
|
-
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/order_drafts/task_group/
|
|
107
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/order_drafts/task_group/set_flight_info/v1/${encodeURIComponent(taskGroupId)}`),
|
|
110
108
|
method: "PATCH",
|
|
111
109
|
headers: _headers,
|
|
112
110
|
contentType: "application/json",
|
|
@@ -140,7 +138,7 @@ export class TaskGroup {
|
|
|
140
138
|
rawResponse: _response.rawResponse,
|
|
141
139
|
});
|
|
142
140
|
case "timeout":
|
|
143
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/order_drafts/task_group/
|
|
141
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/order_drafts/task_group/set_flight_info/v1/{task_group_id}.");
|
|
144
142
|
case "unknown":
|
|
145
143
|
throw new errors.ChrtError({
|
|
146
144
|
message: _response.error.errorMessage,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { type OrderDraftAddTaskGroupReq } from "./OrderDraftAddTaskGroupReq.mjs";
|
|
2
|
-
export { type SetFlightNumberDraftReq } from "./SetFlightNumberDraftReq.mjs";
|
|
3
2
|
export { type UpdateCourierOrgDraftReq } from "./UpdateCourierOrgDraftReq.mjs";
|
|
4
3
|
export { type SetTaskOrderingDraftReq } from "./SetTaskOrderingDraftReq.mjs";
|
|
@@ -59,7 +59,7 @@ export declare class Expanded {
|
|
|
59
59
|
forForwarderOperatorsV1(orderIdOrShortId: string, request: Chrt.OrderAndTaskGroupExpandedReq, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderExpanded>;
|
|
60
60
|
private __forForwarderOperatorsV1;
|
|
61
61
|
/**
|
|
62
|
-
* Lists expanded orders for forwarder operators with filtering, sorting, and pagination. |
|
|
62
|
+
* Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz: allowed_org_types=[forwarder], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
|
|
63
63
|
*
|
|
64
64
|
* @param {Chrt.orders.ExpandedListForForwarderOperatorsV1Request} request
|
|
65
65
|
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -90,7 +90,7 @@ export declare class Expanded {
|
|
|
90
90
|
listForForwarderOperatorsV1(request: Chrt.orders.ExpandedListForForwarderOperatorsV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
|
|
91
91
|
private __listForForwarderOperatorsV1;
|
|
92
92
|
/**
|
|
93
|
-
* Lists expanded orders for shipper operators with filtering, sorting, and pagination. |
|
|
93
|
+
* Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
|
|
94
94
|
*
|
|
95
95
|
* @param {Chrt.orders.ExpandedListForShipperOperatorsV1Request} request
|
|
96
96
|
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -146,7 +146,7 @@ export class Expanded {
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Lists expanded orders for forwarder operators with filtering, sorting, and pagination. |
|
|
149
|
+
* Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz: allowed_org_types=[forwarder], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
|
|
150
150
|
*
|
|
151
151
|
* @param {Chrt.orders.ExpandedListForForwarderOperatorsV1Request} request
|
|
152
152
|
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -284,7 +284,7 @@ export class Expanded {
|
|
|
284
284
|
});
|
|
285
285
|
}
|
|
286
286
|
/**
|
|
287
|
-
* Lists expanded orders for shipper operators with filtering, sorting, and pagination. |
|
|
287
|
+
* Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
|
|
288
288
|
*
|
|
289
289
|
* @param {Chrt.orders.ExpandedListForShipperOperatorsV1Request} request
|
|
290
290
|
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class Payments {
|
|
|
31
31
|
protected readonly _options: Payments.Options;
|
|
32
32
|
constructor(_options?: Payments.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee.
|
|
34
|
+
* Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee. | (GenerateInvoiceReq) -> (GenerateInvoiceRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.GenerateInvoiceReq} request
|
|
37
37
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -46,7 +46,7 @@ export declare class Payments {
|
|
|
46
46
|
generateInvoiceV1(request: Chrt.GenerateInvoiceReq, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.GenerateInvoiceRes>;
|
|
47
47
|
private __generateInvoiceV1;
|
|
48
48
|
/**
|
|
49
|
-
* Creates a Stripe checkout session for a subscription with pricing based on the selected plan.
|
|
49
|
+
* Creates a Stripe checkout session for a subscription with pricing based on the selected plan. | (CreateCheckoutSessionReq) -> (CreateCheckoutSessionRes)
|
|
50
50
|
*
|
|
51
51
|
* @param {Chrt.CreateCheckoutSessionReq} request
|
|
52
52
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -61,7 +61,7 @@ export declare class Payments {
|
|
|
61
61
|
createCheckoutSessionV1(request: Chrt.CreateCheckoutSessionReq, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.CreateCheckoutSessionRes>;
|
|
62
62
|
private __createCheckoutSessionV1;
|
|
63
63
|
/**
|
|
64
|
-
* Synchronizes subscription data from Stripe to the authentication service for the current user.
|
|
64
|
+
* Synchronizes subscription data from Stripe to the authentication service for the current user. | () -> (bool)
|
|
65
65
|
*
|
|
66
66
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
67
|
*
|
|
@@ -71,7 +71,7 @@ export declare class Payments {
|
|
|
71
71
|
syncStripeToClerkV1(requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
72
72
|
private __syncStripeToClerkV1;
|
|
73
73
|
/**
|
|
74
|
-
* Creates a Stripe Connect account for the organization to receive payments. Idempotent - returns existing account if already created.
|
|
74
|
+
* Creates a Stripe Connect account for the organization to receive payments. Idempotent - returns existing account if already created. | () -> (CreateConnectAccountRes)
|
|
75
75
|
*
|
|
76
76
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
77
|
*
|
|
@@ -81,7 +81,7 @@ export declare class Payments {
|
|
|
81
81
|
createConnectAccountV1(requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.CreateConnectAccountRes>;
|
|
82
82
|
private __createConnectAccountV1;
|
|
83
83
|
/**
|
|
84
|
-
* Creates an onboarding link for a Stripe Connect account. Used to complete or update account setup.
|
|
84
|
+
* Creates an onboarding link for a Stripe Connect account. Used to complete or update account setup. | () -> (CreateConnectAccountLinkRes)
|
|
85
85
|
*
|
|
86
86
|
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
87
|
*
|