@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
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { ShipperPayCourierStatements } from "./api/resources/shipperPayCourierSt
|
|
|
15
15
|
import { Connections } from "./api/resources/connections/client/Client.js";
|
|
16
16
|
import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
|
|
17
17
|
import { Dev } from "./api/resources/dev/client/Client.js";
|
|
18
|
+
import { Flights } from "./api/resources/flights/client/Client.js";
|
|
18
19
|
import { TaskArtifactNotifications } from "./api/resources/taskArtifactNotifications/client/Client.js";
|
|
19
20
|
import { Drivers } from "./api/resources/drivers/client/Client.js";
|
|
20
21
|
import { Cargos } from "./api/resources/cargos/client/Client.js";
|
|
@@ -69,6 +70,7 @@ export declare class ChrtClient {
|
|
|
69
70
|
protected _connections: Connections | undefined;
|
|
70
71
|
protected _orgProfiles: OrgProfiles | undefined;
|
|
71
72
|
protected _dev: Dev | undefined;
|
|
73
|
+
protected _flights: Flights | undefined;
|
|
72
74
|
protected _taskArtifactNotifications: TaskArtifactNotifications | undefined;
|
|
73
75
|
protected _drivers: Drivers | undefined;
|
|
74
76
|
protected _cargos: Cargos | undefined;
|
|
@@ -99,6 +101,7 @@ export declare class ChrtClient {
|
|
|
99
101
|
get connections(): Connections;
|
|
100
102
|
get orgProfiles(): OrgProfiles;
|
|
101
103
|
get dev(): Dev;
|
|
104
|
+
get flights(): Flights;
|
|
102
105
|
get taskArtifactNotifications(): TaskArtifactNotifications;
|
|
103
106
|
get drivers(): Drivers;
|
|
104
107
|
get cargos(): Cargos;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -51,30 +51,31 @@ const Client_js_9 = require("./api/resources/shipperPayCourierStatements/client/
|
|
|
51
51
|
const Client_js_10 = require("./api/resources/connections/client/Client.js");
|
|
52
52
|
const Client_js_11 = require("./api/resources/orgProfiles/client/Client.js");
|
|
53
53
|
const Client_js_12 = require("./api/resources/dev/client/Client.js");
|
|
54
|
-
const Client_js_13 = require("./api/resources/
|
|
55
|
-
const Client_js_14 = require("./api/resources/
|
|
56
|
-
const Client_js_15 = require("./api/resources/
|
|
57
|
-
const Client_js_16 = require("./api/resources/
|
|
58
|
-
const Client_js_17 = require("./api/resources/
|
|
59
|
-
const Client_js_18 = require("./api/resources/
|
|
60
|
-
const Client_js_19 = require("./api/resources/
|
|
61
|
-
const Client_js_20 = require("./api/resources/
|
|
62
|
-
const Client_js_21 = require("./api/resources/
|
|
63
|
-
const Client_js_22 = require("./api/resources/
|
|
64
|
-
const Client_js_23 = require("./api/resources/
|
|
65
|
-
const Client_js_24 = require("./api/resources/
|
|
66
|
-
const Client_js_25 = require("./api/resources/
|
|
67
|
-
const Client_js_26 = require("./api/resources/
|
|
68
|
-
const Client_js_27 = require("./api/resources/
|
|
69
|
-
const Client_js_28 = require("./api/resources/
|
|
70
|
-
const Client_js_29 = require("./api/resources/
|
|
54
|
+
const Client_js_13 = require("./api/resources/flights/client/Client.js");
|
|
55
|
+
const Client_js_14 = require("./api/resources/taskArtifactNotifications/client/Client.js");
|
|
56
|
+
const Client_js_15 = require("./api/resources/drivers/client/Client.js");
|
|
57
|
+
const Client_js_16 = require("./api/resources/cargos/client/Client.js");
|
|
58
|
+
const Client_js_17 = require("./api/resources/taskArtifacts/client/Client.js");
|
|
59
|
+
const Client_js_18 = require("./api/resources/offChrtShipperOrg/client/Client.js");
|
|
60
|
+
const Client_js_19 = require("./api/resources/orders/client/Client.js");
|
|
61
|
+
const Client_js_20 = require("./api/resources/orderDrafts/client/Client.js");
|
|
62
|
+
const Client_js_21 = require("./api/resources/taskGroups/client/Client.js");
|
|
63
|
+
const Client_js_22 = require("./api/resources/tasks/client/Client.js");
|
|
64
|
+
const Client_js_23 = require("./api/resources/shipperContactInfo/client/Client.js");
|
|
65
|
+
const Client_js_24 = require("./api/resources/orgs/client/Client.js");
|
|
66
|
+
const Client_js_25 = require("./api/resources/root/client/Client.js");
|
|
67
|
+
const Client_js_26 = require("./api/resources/users/client/Client.js");
|
|
68
|
+
const Client_js_27 = require("./api/resources/utils/client/Client.js");
|
|
69
|
+
const Client_js_28 = require("./api/resources/notifications/client/Client.js");
|
|
70
|
+
const Client_js_29 = require("./api/resources/orgInfoForConnections/client/Client.js");
|
|
71
|
+
const Client_js_30 = require("./api/resources/tracking/client/Client.js");
|
|
71
72
|
class ChrtClient {
|
|
72
73
|
constructor(_options = {}) {
|
|
73
74
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
74
75
|
"X-Fern-Language": "JavaScript",
|
|
75
76
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
76
|
-
"X-Fern-SDK-Version": "1.
|
|
77
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
77
|
+
"X-Fern-SDK-Version": "1.333.0",
|
|
78
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.333.0",
|
|
78
79
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
80
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
81
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -127,73 +128,77 @@ class ChrtClient {
|
|
|
127
128
|
var _a;
|
|
128
129
|
return ((_a = this._dev) !== null && _a !== void 0 ? _a : (this._dev = new Client_js_12.Dev(this._options)));
|
|
129
130
|
}
|
|
131
|
+
get flights() {
|
|
132
|
+
var _a;
|
|
133
|
+
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Client_js_13.Flights(this._options)));
|
|
134
|
+
}
|
|
130
135
|
get taskArtifactNotifications() {
|
|
131
136
|
var _a;
|
|
132
|
-
return ((_a = this._taskArtifactNotifications) !== null && _a !== void 0 ? _a : (this._taskArtifactNotifications = new
|
|
137
|
+
return ((_a = this._taskArtifactNotifications) !== null && _a !== void 0 ? _a : (this._taskArtifactNotifications = new Client_js_14.TaskArtifactNotifications(this._options)));
|
|
133
138
|
}
|
|
134
139
|
get drivers() {
|
|
135
140
|
var _a;
|
|
136
|
-
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new
|
|
141
|
+
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_15.Drivers(this._options)));
|
|
137
142
|
}
|
|
138
143
|
get cargos() {
|
|
139
144
|
var _a;
|
|
140
|
-
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new
|
|
145
|
+
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new Client_js_16.Cargos(this._options)));
|
|
141
146
|
}
|
|
142
147
|
get taskArtifacts() {
|
|
143
148
|
var _a;
|
|
144
|
-
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new
|
|
149
|
+
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_17.TaskArtifacts(this._options)));
|
|
145
150
|
}
|
|
146
151
|
get offChrtShipperOrg() {
|
|
147
152
|
var _a;
|
|
148
|
-
return ((_a = this._offChrtShipperOrg) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrg = new
|
|
153
|
+
return ((_a = this._offChrtShipperOrg) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrg = new Client_js_18.OffChrtShipperOrg(this._options)));
|
|
149
154
|
}
|
|
150
155
|
get orders() {
|
|
151
156
|
var _a;
|
|
152
|
-
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new
|
|
157
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_19.Orders(this._options)));
|
|
153
158
|
}
|
|
154
159
|
get orderDrafts() {
|
|
155
160
|
var _a;
|
|
156
|
-
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new
|
|
161
|
+
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new Client_js_20.OrderDrafts(this._options)));
|
|
157
162
|
}
|
|
158
163
|
get taskGroups() {
|
|
159
164
|
var _a;
|
|
160
|
-
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new
|
|
165
|
+
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_21.TaskGroups(this._options)));
|
|
161
166
|
}
|
|
162
167
|
get tasks() {
|
|
163
168
|
var _a;
|
|
164
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
169
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_22.Tasks(this._options)));
|
|
165
170
|
}
|
|
166
171
|
get shipperContactInfo() {
|
|
167
172
|
var _a;
|
|
168
|
-
return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new
|
|
173
|
+
return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_23.ShipperContactInfo(this._options)));
|
|
169
174
|
}
|
|
170
175
|
get orgs() {
|
|
171
176
|
var _a;
|
|
172
|
-
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new
|
|
177
|
+
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_24.Orgs(this._options)));
|
|
173
178
|
}
|
|
174
179
|
get root() {
|
|
175
180
|
var _a;
|
|
176
|
-
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new
|
|
181
|
+
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_25.Root(this._options)));
|
|
177
182
|
}
|
|
178
183
|
get users() {
|
|
179
184
|
var _a;
|
|
180
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
185
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_26.Users(this._options)));
|
|
181
186
|
}
|
|
182
187
|
get utils() {
|
|
183
188
|
var _a;
|
|
184
|
-
return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new
|
|
189
|
+
return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new Client_js_27.Utils(this._options)));
|
|
185
190
|
}
|
|
186
191
|
get notifications() {
|
|
187
192
|
var _a;
|
|
188
|
-
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new
|
|
193
|
+
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_28.Notifications(this._options)));
|
|
189
194
|
}
|
|
190
195
|
get orgInfoForConnections() {
|
|
191
196
|
var _a;
|
|
192
|
-
return ((_a = this._orgInfoForConnections) !== null && _a !== void 0 ? _a : (this._orgInfoForConnections = new
|
|
197
|
+
return ((_a = this._orgInfoForConnections) !== null && _a !== void 0 ? _a : (this._orgInfoForConnections = new Client_js_29.OrgInfoForConnections(this._options)));
|
|
193
198
|
}
|
|
194
199
|
get tracking() {
|
|
195
200
|
var _a;
|
|
196
|
-
return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new
|
|
201
|
+
return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new Client_js_30.Tracking(this._options)));
|
|
197
202
|
}
|
|
198
203
|
}
|
|
199
204
|
exports.ChrtClient = ChrtClient;
|
|
@@ -37,7 +37,7 @@ export declare class CourierPayDriverLineItemGroups {
|
|
|
37
37
|
get addLineItems(): AddLineItems;
|
|
38
38
|
get removeLineItems(): RemoveLineItems;
|
|
39
39
|
/**
|
|
40
|
-
* Retrieves a courier driver line item group by its ID.
|
|
40
|
+
* Retrieves a courier driver line item group by its ID. | () -> (CourierPayDriverLineItemGroup1)
|
|
41
41
|
*
|
|
42
42
|
* @param {string} id
|
|
43
43
|
* @param {CourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -50,7 +50,7 @@ export declare class CourierPayDriverLineItemGroups {
|
|
|
50
50
|
getByIdV1(id: string, requestOptions?: CourierPayDriverLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
|
|
51
51
|
private __getByIdV1;
|
|
52
52
|
/**
|
|
53
|
-
* Retrieves a courier driver line item group by its associated task group ID.
|
|
53
|
+
* Retrieves a courier driver line item group by its associated task group ID. | () -> (CourierPayDriverLineItemGroup1)
|
|
54
54
|
*
|
|
55
55
|
* @param {string} taskGroupId
|
|
56
56
|
* @param {CourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -63,7 +63,7 @@ export declare class CourierPayDriverLineItemGroups {
|
|
|
63
63
|
byTaskGroupIdV1(taskGroupId: string, requestOptions?: CourierPayDriverLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
|
|
64
64
|
private __byTaskGroupIdV1;
|
|
65
65
|
/**
|
|
66
|
-
* Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database.
|
|
66
|
+
* Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database. | (CourierPayDriverLineItemGroupCreateReq) -> (CourierPayDriverLineItemGroupServerCreate1)
|
|
67
67
|
*
|
|
68
68
|
* @param {string} driverId
|
|
69
69
|
* @param {Chrt.CourierPayDriverLineItemGroupCreateReq} request
|
|
@@ -80,7 +80,7 @@ export declare class CourierPayDriverLineItemGroups {
|
|
|
80
80
|
previewV1(driverId: string, request: Chrt.CourierPayDriverLineItemGroupCreateReq, requestOptions?: CourierPayDriverLineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroupServerCreate1>;
|
|
81
81
|
private __previewV1;
|
|
82
82
|
/**
|
|
83
|
-
* Creates a courier pay driver line item group by calculating items from a rate sheet and task group.
|
|
83
|
+
* Creates a courier pay driver line item group by calculating items from a rate sheet and task group. | (CourierPayDriverLineItemGroupCreateReq) -> (PydanticObjectId)
|
|
84
84
|
*
|
|
85
85
|
* @param {Chrt.CourierPayDriverLineItemGroupCreateReq} request
|
|
86
86
|
* @param {CourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -66,7 +66,7 @@ class CourierPayDriverLineItemGroups {
|
|
|
66
66
|
return ((_a = this._removeLineItems) !== null && _a !== void 0 ? _a : (this._removeLineItems = new Client_js_2.RemoveLineItems(this._options)));
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
* Retrieves a courier driver line item group by its ID.
|
|
69
|
+
* Retrieves a courier driver line item group by its ID. | () -> (CourierPayDriverLineItemGroup1)
|
|
70
70
|
*
|
|
71
71
|
* @param {string} id
|
|
72
72
|
* @param {CourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -125,7 +125,7 @@ class CourierPayDriverLineItemGroups {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
* Retrieves a courier driver line item group by its associated task group ID.
|
|
128
|
+
* Retrieves a courier driver line item group by its associated task group ID. | () -> (CourierPayDriverLineItemGroup1)
|
|
129
129
|
*
|
|
130
130
|
* @param {string} taskGroupId
|
|
131
131
|
* @param {CourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -184,7 +184,7 @@ class CourierPayDriverLineItemGroups {
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
|
-
* Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database.
|
|
187
|
+
* Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database. | (CourierPayDriverLineItemGroupCreateReq) -> (CourierPayDriverLineItemGroupServerCreate1)
|
|
188
188
|
*
|
|
189
189
|
* @param {string} driverId
|
|
190
190
|
* @param {Chrt.CourierPayDriverLineItemGroupCreateReq} request
|
|
@@ -253,7 +253,7 @@ class CourierPayDriverLineItemGroups {
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* Creates a courier pay driver line item group by calculating items from a rate sheet and task group.
|
|
256
|
+
* Creates a courier pay driver line item group by calculating items from a rate sheet and task group. | (CourierPayDriverLineItemGroupCreateReq) -> (PydanticObjectId)
|
|
257
257
|
*
|
|
258
258
|
* @param {Chrt.CourierPayDriverLineItemGroupCreateReq} request
|
|
259
259
|
* @param {CourierPayDriverLineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -31,7 +31,7 @@ export declare class AddLineItems {
|
|
|
31
31
|
protected readonly _options: AddLineItems.Options;
|
|
32
32
|
constructor(_options?: AddLineItems.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Adds additional line items to an existing courier driver line item group.
|
|
34
|
+
* Adds additional line items to an existing courier driver line item group. | (CourierPayDriverLineItemGroupAddLineItemsReq) -> (CourierPayDriverLineItemGroup1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} id
|
|
37
37
|
* @param {Chrt.courierPayDriverLineItemGroups.CourierPayDriverLineItemGroupAddLineItemsReq} request
|
|
@@ -56,7 +56,7 @@ class AddLineItems {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Adds additional line items to an existing courier driver line item group.
|
|
59
|
+
* Adds additional line items to an existing courier driver line item group. | (CourierPayDriverLineItemGroupAddLineItemsReq) -> (CourierPayDriverLineItemGroup1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} id
|
|
62
62
|
* @param {Chrt.courierPayDriverLineItemGroups.CourierPayDriverLineItemGroupAddLineItemsReq} request
|
|
@@ -31,7 +31,7 @@ export declare class RemoveLineItems {
|
|
|
31
31
|
protected readonly _options: RemoveLineItems.Options;
|
|
32
32
|
constructor(_options?: RemoveLineItems.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Removes specific line items from a courier driver line item group by their UUID identifiers.
|
|
34
|
+
* Removes specific line items from a courier driver line item group by their UUID identifiers. | (CourierPayDriverLineItemGroupRemoveLineItemsReq) -> (CourierPayDriverLineItemGroup1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} id
|
|
37
37
|
* @param {Chrt.courierPayDriverLineItemGroups.CourierPayDriverLineItemGroupRemoveLineItemsReq} request
|
|
@@ -56,7 +56,7 @@ class RemoveLineItems {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Removes specific line items from a courier driver line item group by their UUID identifiers.
|
|
59
|
+
* Removes specific line items from a courier driver line item group by their UUID identifiers. | (CourierPayDriverLineItemGroupRemoveLineItemsReq) -> (CourierPayDriverLineItemGroup1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} id
|
|
62
62
|
* @param {Chrt.courierPayDriverLineItemGroups.CourierPayDriverLineItemGroupRemoveLineItemsReq} request
|
|
@@ -31,7 +31,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
31
31
|
protected readonly _options: CourierPayDriverPayouts.Options;
|
|
32
32
|
constructor(_options?: CourierPayDriverPayouts.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Retrieves a specific courier driver payout
|
|
34
|
+
* Retrieves a specific courier driver payout for the caller's organization. | () -> (CourierPayDriverStatement1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} id
|
|
37
37
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -44,7 +44,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
44
44
|
getByIdV1(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverStatement1>;
|
|
45
45
|
private __getByIdV1;
|
|
46
46
|
/**
|
|
47
|
-
* Lists all payouts for a specific driver within the caller's organization.
|
|
47
|
+
* Lists all payouts for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
|
|
48
48
|
*
|
|
49
49
|
* @param {string} driverId
|
|
50
50
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -57,7 +57,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
57
57
|
listByDriverIdV1(driverId: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverStatement1[]>;
|
|
58
58
|
private __listByDriverIdV1;
|
|
59
59
|
/**
|
|
60
|
-
* Creates a new driver payout from selected line item groups and calculates the total amount.
|
|
60
|
+
* Creates a new driver payout from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
|
|
61
61
|
*
|
|
62
62
|
* @param {Chrt.CourierPayDriverStatementClientCreate1} request
|
|
63
63
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -73,7 +73,7 @@ export declare class CourierPayDriverPayouts {
|
|
|
73
73
|
createV1(request: Chrt.CourierPayDriverStatementClientCreate1, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<string>;
|
|
74
74
|
private __createV1;
|
|
75
75
|
/**
|
|
76
|
-
* Updates the status of a courier driver payout with validation of allowed state transitions.
|
|
76
|
+
* Updates the status of a courier driver payout with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
|
|
77
77
|
*
|
|
78
78
|
* @param {string} id
|
|
79
79
|
* @param {Chrt.CourierPayDriverStatementClientUpdate1} request
|
|
@@ -56,7 +56,7 @@ class CourierPayDriverPayouts {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a specific courier driver payout
|
|
59
|
+
* Retrieves a specific courier driver payout for the caller's organization. | () -> (CourierPayDriverStatement1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} id
|
|
62
62
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ class CourierPayDriverPayouts {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
* Lists all payouts for a specific driver within the caller's organization.
|
|
118
|
+
* Lists all payouts for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
|
|
119
119
|
*
|
|
120
120
|
* @param {string} driverId
|
|
121
121
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -174,7 +174,7 @@ class CourierPayDriverPayouts {
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Creates a new driver payout from selected line item groups and calculates the total amount.
|
|
177
|
+
* Creates a new driver payout from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
|
|
178
178
|
*
|
|
179
179
|
* @param {Chrt.CourierPayDriverStatementClientCreate1} request
|
|
180
180
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -239,7 +239,7 @@ class CourierPayDriverPayouts {
|
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
241
|
/**
|
|
242
|
-
* Updates the status of a courier driver payout with validation of allowed state transitions.
|
|
242
|
+
* Updates the status of a courier driver payout with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
|
|
243
243
|
*
|
|
244
244
|
* @param {string} id
|
|
245
245
|
* @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
|
|
@@ -56,7 +56,7 @@ class CourierPayDriverRateSheets {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Lists all driver rate sheets for the caller's courier organization.
|
|
59
|
+
* Lists all driver rate sheets for the caller's courier organization. | () -> (list[CourierPayDriverRateSheet1])
|
|
60
60
|
*
|
|
61
61
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
62
|
*
|
|
@@ -107,7 +107,7 @@ class CourierPayDriverRateSheets {
|
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
|
-
* Retrieves all rate sheets assigned to a specific driver.
|
|
110
|
+
* Retrieves all rate sheets assigned to a specific driver. | () -> (list[CourierPayDriverRateSheet1])
|
|
111
111
|
*
|
|
112
112
|
* @param {string} driverId
|
|
113
113
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -166,7 +166,7 @@ class CourierPayDriverRateSheets {
|
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* Creates a new driver rate sheet for calculating courier payments.
|
|
169
|
+
* Creates a new driver rate sheet for calculating courier payments. | (CourierPayDriverRateSheetClientCreate1) -> (PydanticObjectId)
|
|
170
170
|
*
|
|
171
171
|
* @param {Chrt.CourierPayDriverRateSheetClientCreate1} request
|
|
172
172
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -244,7 +244,7 @@ class CourierPayDriverRateSheets {
|
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
|
-
* Retrieves a single rate sheet by its ID.
|
|
247
|
+
* Retrieves a single rate sheet by its ID. | () -> (CourierPayDriverRateSheet1)
|
|
248
248
|
*
|
|
249
249
|
* @param {string} id
|
|
250
250
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -303,7 +303,7 @@ class CourierPayDriverRateSheets {
|
|
|
303
303
|
});
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
|
-
* Deletes a driver rate sheet owned by the caller's organization.
|
|
306
|
+
* Deletes a driver rate sheet owned by the caller's organization. | () -> (bool)
|
|
307
307
|
*
|
|
308
308
|
* @param {string} id
|
|
309
309
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -362,7 +362,7 @@ class CourierPayDriverRateSheets {
|
|
|
362
362
|
});
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
365
|
-
* Updates an existing driver rate sheet owned by the caller's organization.
|
|
365
|
+
* Updates an existing driver rate sheet owned by the caller's organization. | (CourierPayDriverRateSheetClientUpdate1) -> (CourierPayDriverRateSheet1)
|
|
366
366
|
*
|
|
367
367
|
* @param {string} id
|
|
368
368
|
* @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
|
|
@@ -56,7 +56,7 @@ class CourierPayDriverStatements {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a specific courier driver statement
|
|
59
|
+
* Retrieves a specific courier driver statement for the caller's organization. | () -> (CourierPayDriverStatement1)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} id
|
|
62
62
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ class CourierPayDriverStatements {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
* Lists all statements for a specific driver within the caller's organization.
|
|
118
|
+
* Lists all statements for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
|
|
119
119
|
*
|
|
120
120
|
* @param {string} driverId
|
|
121
121
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -174,7 +174,7 @@ class CourierPayDriverStatements {
|
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Creates a new driver statement from selected line item groups and calculates the total amount.
|
|
177
|
+
* Creates a new driver statement from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
|
|
178
178
|
*
|
|
179
179
|
* @param {Chrt.CourierPayDriverStatementClientCreate1} request
|
|
180
180
|
* @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -239,7 +239,7 @@ class CourierPayDriverStatements {
|
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
241
|
/**
|
|
242
|
-
* Updates the status of a courier driver statement with validation of allowed state transitions.
|
|
242
|
+
* Updates the status of a courier driver statement with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
|
|
243
243
|
*
|
|
244
244
|
* @param {string} id
|
|
245
245
|
* @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
|
*/
|
|
@@ -44,6 +44,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
+
var t = {};
|
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
+
t[p] = s[p];
|
|
51
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
+
t[p[i]] = s[p[i]];
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
};
|
|
47
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
59
|
exports.Drivers = void 0;
|
|
49
60
|
const environments = __importStar(require("../../../../environments.js"));
|
|
@@ -306,7 +317,7 @@ class Drivers {
|
|
|
306
317
|
});
|
|
307
318
|
}
|
|
308
319
|
/**
|
|
309
|
-
* Creates a new driver profile for the caller.
|
|
320
|
+
* 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)
|
|
310
321
|
*
|
|
311
322
|
* @param {Chrt.DriverClientCreate1} request
|
|
312
323
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -315,6 +326,7 @@ class Drivers {
|
|
|
315
326
|
*
|
|
316
327
|
* @example
|
|
317
328
|
* await client.drivers.createV1({
|
|
329
|
+
* target_user_id: "target_user_id",
|
|
318
330
|
* schema_version: 1
|
|
319
331
|
* })
|
|
320
332
|
*/
|
|
@@ -324,15 +336,20 @@ class Drivers {
|
|
|
324
336
|
__createV1(request, requestOptions) {
|
|
325
337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
326
338
|
var _a, _b, _c, _d;
|
|
339
|
+
const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
|
|
340
|
+
const _queryParams = {};
|
|
341
|
+
if (targetUserId !== undefined) {
|
|
342
|
+
_queryParams["target_user_id"] = targetUserId;
|
|
343
|
+
}
|
|
327
344
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
328
345
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
329
346
|
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"),
|
|
330
347
|
method: "POST",
|
|
331
348
|
headers: _headers,
|
|
332
349
|
contentType: "application/json",
|
|
333
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
350
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
334
351
|
requestType: "json",
|
|
335
|
-
body:
|
|
352
|
+
body: _body,
|
|
336
353
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
337
354
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
338
355
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -5,10 +5,12 @@ import * as Chrt from "../../../../index.js";
|
|
|
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;
|