@chrt-inc/typescript-sdk 0.0.174 → 0.0.179
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 +24 -24
- package/dist/cjs/Client.js +48 -48
- package/dist/cjs/api/index.d.ts +1 -1
- package/dist/cjs/api/index.js +1 -1
- package/dist/cjs/api/resources/connections/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/connections/client/Client.js +14 -14
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +26 -26
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.js +79 -79
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +16 -12
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +27 -23
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +39 -26
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +112 -67
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +24 -24
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +12 -12
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverRateSheets/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverRateSheets/index.js +0 -1
- package/dist/cjs/api/resources/dev/client/Client.d.ts +18 -10
- package/dist/cjs/api/resources/dev/client/Client.js +58 -50
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +52 -50
- package/dist/cjs/api/resources/drivers/client/Client.js +109 -107
- package/dist/cjs/api/resources/drivers/client/requests/SetDriverActivationReq.d.ts +3 -3
- package/dist/cjs/api/resources/drivers/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +14 -15
- package/dist/cjs/api/resources/index.js +15 -16
- package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +2 -2
- package/dist/cjs/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/milestones/client/Client.d.ts +16 -16
- package/dist/cjs/api/resources/milestones/client/Client.js +25 -25
- package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +1 -5
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +1 -5
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +35 -35
- package/dist/cjs/api/resources/milestones/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/resources/index.js +2 -2
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/client/Client.js +6 -6
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/index.js +3 -3
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.js +6 -6
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +8 -8
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orders/client/Client.d.ts +30 -26
- package/dist/cjs/api/resources/orders/client/Client.js +74 -70
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +16 -16
- package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/orders/resources/full/client/Client.js +33 -33
- package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/client/Client.js +6 -6
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgConnectionInfos/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/index.js +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +15 -17
- package/dist/cjs/api/resources/orgProfiles/client/Client.js +43 -49
- package/dist/cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +3 -3
- package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +41 -37
- package/dist/cjs/api/resources/orgs/client/Client.js +90 -86
- package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
- package/dist/cjs/api/resources/payments/client/Client.d.ts +3 -7
- package/dist/cjs/api/resources/payments/client/Client.js +3 -7
- package/dist/cjs/api/resources/root/client/Client.d.ts +19 -13
- package/dist/cjs/api/resources/root/client/Client.js +31 -25
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +42 -42
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +90 -90
- package/dist/cjs/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +24 -18
- package/dist/cjs/api/resources/taskGroups/client/Client.js +43 -37
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.ts +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +4 -2
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.ts +3 -3
- package/dist/cjs/api/resources/users/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/users/client/Client.js +2 -0
- package/dist/cjs/api/types/Cargo1.d.ts +6 -6
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -3
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +10 -10
- package/dist/cjs/api/types/CourierOrgProfile3.d.ts +3 -3
- package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +5 -5
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/CourierPayDriverRateSheet1.d.ts +16 -16
- package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +8 -8
- package/dist/cjs/api/types/Driver1.d.ts +6 -6
- package/dist/cjs/api/types/Expense1.d.ts +3 -3
- package/dist/cjs/api/types/Feature.d.ts +3 -3
- package/dist/cjs/api/types/GetOrderFullRes.d.ts +2 -2
- package/dist/cjs/api/types/Incident1.d.ts +1 -1
- package/dist/cjs/api/types/Insurance1.d.ts +1 -1
- package/dist/cjs/api/types/LineItem1.d.ts +1 -1
- package/dist/cjs/api/types/Milestone1.d.ts +13 -13
- package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +11 -11
- package/dist/cjs/api/types/Order1.d.ts +11 -11
- package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/OrgPublicData2.d.ts +4 -4
- package/dist/cjs/api/types/PayablesInvoice1.d.ts +11 -11
- package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +7 -7
- package/dist/cjs/api/types/ShipperContactInfo1.d.ts +11 -11
- package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +6 -6
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +4 -4
- package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/ShipperOrgConnectionInfo1.d.ts +6 -6
- package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +5 -5
- package/dist/cjs/api/types/Task1.d.ts +13 -13
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +4 -4
- package/dist/cjs/api/types/TaskCreateBundle.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +11 -11
- package/dist/cjs/api/types/TaskWithDetails.d.ts +2 -2
- package/dist/cjs/api/types/Tracker1.d.ts +1 -1
- package/dist/cjs/api/types/TrackerSession1.d.ts +1 -1
- package/dist/cjs/api/types/UserPublicData6.d.ts +6 -6
- package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +24 -24
- package/dist/esm/Client.mjs +36 -36
- package/dist/esm/api/index.d.mts +1 -1
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/resources/connections/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/connections/client/Client.mjs +14 -14
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +26 -26
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.mjs +79 -79
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +16 -12
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +27 -23
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +39 -26
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +112 -67
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +24 -24
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +12 -12
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverRateSheets/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverRateSheets/index.mjs +0 -1
- package/dist/esm/api/resources/dev/client/Client.d.mts +18 -10
- package/dist/esm/api/resources/dev/client/Client.mjs +58 -50
- package/dist/esm/api/resources/drivers/client/Client.d.mts +52 -50
- package/dist/esm/api/resources/drivers/client/Client.mjs +109 -107
- package/dist/esm/api/resources/drivers/client/requests/SetDriverActivationReq.d.mts +3 -3
- package/dist/esm/api/resources/drivers/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +14 -15
- package/dist/esm/api/resources/index.mjs +14 -15
- package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +2 -2
- package/dist/esm/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/milestones/client/Client.d.mts +16 -16
- package/dist/esm/api/resources/milestones/client/Client.mjs +24 -24
- package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +1 -1
- package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +1 -1
- package/dist/esm/api/resources/milestones/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +1 -5
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +1 -5
- package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +35 -35
- package/dist/esm/api/resources/milestones/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/milestones/resources/index.mjs +1 -1
- package/dist/esm/api/resources/notifications/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/notifications/client/Client.mjs +5 -5
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/notifications/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/index.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.mjs +6 -6
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +8 -8
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orders/client/Client.d.mts +30 -26
- package/dist/esm/api/resources/orders/client/Client.mjs +74 -70
- package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +16 -16
- package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +33 -33
- package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/client/Client.mjs +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgConnectionInfos/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/orgConnectionInfos/resources/index.mjs +2 -2
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +15 -17
- package/dist/esm/api/resources/orgProfiles/client/Client.mjs +43 -49
- package/dist/esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +3 -3
- package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +41 -37
- package/dist/esm/api/resources/orgs/client/Client.mjs +90 -86
- package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +3 -3
- package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
- package/dist/esm/api/resources/payments/client/Client.d.mts +3 -7
- package/dist/esm/api/resources/payments/client/Client.mjs +3 -7
- package/dist/esm/api/resources/root/client/Client.d.mts +19 -13
- package/dist/esm/api/resources/root/client/Client.mjs +31 -25
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +42 -42
- package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +90 -90
- package/dist/esm/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +24 -18
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +43 -37
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.mts +2 -2
- package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +2 -2
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +4 -2
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.mts +3 -3
- package/dist/esm/api/resources/users/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/users/client/Client.mjs +2 -0
- package/dist/esm/api/types/Cargo1.d.mts +6 -6
- package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -3
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +10 -10
- package/dist/esm/api/types/CourierOrgProfile3.d.mts +3 -3
- package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +5 -5
- package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/CourierPayDriverRateSheet1.d.mts +16 -16
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +8 -8
- package/dist/esm/api/types/Driver1.d.mts +6 -6
- package/dist/esm/api/types/Expense1.d.mts +3 -3
- package/dist/esm/api/types/Feature.d.mts +3 -3
- package/dist/esm/api/types/GetOrderFullRes.d.mts +2 -2
- package/dist/esm/api/types/Incident1.d.mts +1 -1
- package/dist/esm/api/types/Insurance1.d.mts +1 -1
- package/dist/esm/api/types/LineItem1.d.mts +1 -1
- package/dist/esm/api/types/Milestone1.d.mts +13 -13
- package/dist/esm/api/types/MilestoneClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +11 -11
- package/dist/esm/api/types/Order1.d.mts +11 -11
- package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/OrgPublicData2.d.mts +4 -4
- package/dist/esm/api/types/PayablesInvoice1.d.mts +11 -11
- package/dist/esm/api/types/ReceivablesInvoice1.d.mts +7 -7
- package/dist/esm/api/types/ShipperContactInfo1.d.mts +11 -11
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +6 -6
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +4 -4
- package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/ShipperOrgConnectionInfo1.d.mts +6 -6
- package/dist/esm/api/types/StripeConnectInvoice1.d.mts +5 -5
- package/dist/esm/api/types/Task1.d.mts +13 -13
- package/dist/esm/api/types/TaskClientCreate1.d.mts +4 -4
- package/dist/esm/api/types/TaskCreateBundle.d.mts +2 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +11 -11
- package/dist/esm/api/types/TaskWithDetails.d.mts +2 -2
- package/dist/esm/api/types/Tracker1.d.mts +1 -1
- package/dist/esm/api/types/TrackerSession1.d.mts +1 -1
- package/dist/esm/api/types/UserPublicData6.d.mts +6 -6
- package/dist/esm/api/types/Vehicle1.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1156 -779
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.ts +0 -11
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.js +0 -5
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.ts +0 -5
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.js +0 -5
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.js +0 -17
- package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.ts +0 -12
- package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.js +0 -5
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.mts +0 -11
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.mjs +0 -4
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.mts +0 -5
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.mjs +0 -4
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.mjs +0 -1
- package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.mts +0 -12
- package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.mjs +0 -4
|
@@ -66,32 +66,55 @@ class CourierPayDriverLineItemGroup {
|
|
|
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
|
-
*
|
|
69
|
+
* Previews calculated line items for a driver based on rate sheet and task group without creating the group.
|
|
70
70
|
*
|
|
71
|
-
* @param {
|
|
71
|
+
* @param {Chrt.CourierPayDriverLineItemGroupPreviewRequest} request
|
|
72
72
|
* @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
|
-
* await client.courierPayDriverLineItemGroup.
|
|
77
|
+
* await client.courierPayDriverLineItemGroup.preview({
|
|
78
|
+
* courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
|
|
79
|
+
* task_group_id: "task_group_id"
|
|
80
|
+
* })
|
|
78
81
|
*/
|
|
79
|
-
|
|
80
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
82
|
+
preview(request, requestOptions) {
|
|
83
|
+
return core.HttpResponsePromise.fromPromise(this.__preview(request, requestOptions));
|
|
81
84
|
}
|
|
82
|
-
|
|
85
|
+
__preview(request, requestOptions) {
|
|
83
86
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
87
|
var _a, _b, _c, _d;
|
|
88
|
+
const { courier_pay_driver_rate_sheet_id: courierPayDriverRateSheetId, task_group_id: taskGroupId, dangerous_goods: dangerousGoods, holiday, weekend, after_hours: afterHours, } = request;
|
|
89
|
+
const _queryParams = {};
|
|
90
|
+
_queryParams["courier_pay_driver_rate_sheet_id"] = courierPayDriverRateSheetId;
|
|
91
|
+
_queryParams["task_group_id"] = taskGroupId;
|
|
92
|
+
if (dangerousGoods != null) {
|
|
93
|
+
_queryParams["dangerous_goods"] = dangerousGoods.toString();
|
|
94
|
+
}
|
|
95
|
+
if (holiday != null) {
|
|
96
|
+
_queryParams["holiday"] = holiday.toString();
|
|
97
|
+
}
|
|
98
|
+
if (weekend != null) {
|
|
99
|
+
_queryParams["weekend"] = weekend.toString();
|
|
100
|
+
}
|
|
101
|
+
if (afterHours != null) {
|
|
102
|
+
_queryParams["after_hours"] = afterHours.toString();
|
|
103
|
+
}
|
|
85
104
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
86
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
105
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_line_item_groups/preview"),
|
|
87
106
|
method: "GET",
|
|
88
107
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
108
|
+
queryParameters: _queryParams,
|
|
89
109
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
90
110
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
91
111
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
92
112
|
});
|
|
93
113
|
if (_response.ok) {
|
|
94
|
-
return {
|
|
114
|
+
return {
|
|
115
|
+
data: _response.body,
|
|
116
|
+
rawResponse: _response.rawResponse,
|
|
117
|
+
};
|
|
95
118
|
}
|
|
96
119
|
if (_response.error.reason === "status-code") {
|
|
97
120
|
switch (_response.error.statusCode) {
|
|
@@ -113,7 +136,7 @@ class CourierPayDriverLineItemGroup {
|
|
|
113
136
|
rawResponse: _response.rawResponse,
|
|
114
137
|
});
|
|
115
138
|
case "timeout":
|
|
116
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/
|
|
139
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/preview.");
|
|
117
140
|
case "unknown":
|
|
118
141
|
throw new errors.ChrtError({
|
|
119
142
|
message: _response.error.errorMessage,
|
|
@@ -123,46 +146,26 @@ class CourierPayDriverLineItemGroup {
|
|
|
123
146
|
});
|
|
124
147
|
}
|
|
125
148
|
/**
|
|
126
|
-
*
|
|
149
|
+
* Retrieves a courier driver line item group by its ID.
|
|
127
150
|
*
|
|
128
|
-
* @param {
|
|
151
|
+
* @param {string} id
|
|
129
152
|
* @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
153
|
*
|
|
131
154
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
132
155
|
*
|
|
133
156
|
* @example
|
|
134
|
-
* await client.courierPayDriverLineItemGroup.
|
|
135
|
-
* courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
|
|
136
|
-
* task_group_id: "task_group_id"
|
|
137
|
-
* })
|
|
157
|
+
* await client.courierPayDriverLineItemGroup.getById("id")
|
|
138
158
|
*/
|
|
139
|
-
|
|
140
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
159
|
+
getById(id, requestOptions) {
|
|
160
|
+
return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
|
|
141
161
|
}
|
|
142
|
-
|
|
162
|
+
__getById(id, requestOptions) {
|
|
143
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
144
164
|
var _a, _b, _c, _d;
|
|
145
|
-
const { courier_pay_driver_rate_sheet_id: courierPayDriverRateSheetId, task_group_id: taskGroupId, dangerous_goods: dangerousGoods, holiday, weekend, after_hours: afterHours, } = request;
|
|
146
|
-
const _queryParams = {};
|
|
147
|
-
_queryParams["courier_pay_driver_rate_sheet_id"] = courierPayDriverRateSheetId;
|
|
148
|
-
_queryParams["task_group_id"] = taskGroupId;
|
|
149
|
-
if (dangerousGoods != null) {
|
|
150
|
-
_queryParams["dangerous_goods"] = dangerousGoods.toString();
|
|
151
|
-
}
|
|
152
|
-
if (holiday != null) {
|
|
153
|
-
_queryParams["holiday"] = holiday.toString();
|
|
154
|
-
}
|
|
155
|
-
if (weekend != null) {
|
|
156
|
-
_queryParams["weekend"] = weekend.toString();
|
|
157
|
-
}
|
|
158
|
-
if (afterHours != null) {
|
|
159
|
-
_queryParams["after_hours"] = afterHours.toString();
|
|
160
|
-
}
|
|
161
165
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
162
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
163
|
-
method: "
|
|
166
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_line_item_groups/${encodeURIComponent(id)}`),
|
|
167
|
+
method: "GET",
|
|
164
168
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
165
|
-
queryParameters: _queryParams,
|
|
166
169
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
167
170
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
168
171
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -190,7 +193,7 @@ class CourierPayDriverLineItemGroup {
|
|
|
190
193
|
rawResponse: _response.rawResponse,
|
|
191
194
|
});
|
|
192
195
|
case "timeout":
|
|
193
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
196
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/{id}.");
|
|
194
197
|
case "unknown":
|
|
195
198
|
throw new errors.ChrtError({
|
|
196
199
|
message: _response.error.errorMessage,
|
|
@@ -200,55 +203,32 @@ class CourierPayDriverLineItemGroup {
|
|
|
200
203
|
});
|
|
201
204
|
}
|
|
202
205
|
/**
|
|
203
|
-
*
|
|
206
|
+
* Retrieves a courier driver line item group by its associated task group ID.
|
|
204
207
|
*
|
|
205
|
-
* @param {
|
|
208
|
+
* @param {string} taskGroupId
|
|
206
209
|
* @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
207
210
|
*
|
|
208
211
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
209
212
|
*
|
|
210
213
|
* @example
|
|
211
|
-
* await client.courierPayDriverLineItemGroup.
|
|
212
|
-
* courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
|
|
213
|
-
* task_group_id: "task_group_id"
|
|
214
|
-
* })
|
|
214
|
+
* await client.courierPayDriverLineItemGroup.byTaskGroupId("task_group_id")
|
|
215
215
|
*/
|
|
216
|
-
|
|
217
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
216
|
+
byTaskGroupId(taskGroupId, requestOptions) {
|
|
217
|
+
return core.HttpResponsePromise.fromPromise(this.__byTaskGroupId(taskGroupId, requestOptions));
|
|
218
218
|
}
|
|
219
|
-
|
|
219
|
+
__byTaskGroupId(taskGroupId, requestOptions) {
|
|
220
220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
221
221
|
var _a, _b, _c, _d;
|
|
222
|
-
const { courier_pay_driver_rate_sheet_id: courierPayDriverRateSheetId, task_group_id: taskGroupId, dangerous_goods: dangerousGoods, holiday, weekend, after_hours: afterHours, } = request;
|
|
223
|
-
const _queryParams = {};
|
|
224
|
-
_queryParams["courier_pay_driver_rate_sheet_id"] = courierPayDriverRateSheetId;
|
|
225
|
-
_queryParams["task_group_id"] = taskGroupId;
|
|
226
|
-
if (dangerousGoods != null) {
|
|
227
|
-
_queryParams["dangerous_goods"] = dangerousGoods.toString();
|
|
228
|
-
}
|
|
229
|
-
if (holiday != null) {
|
|
230
|
-
_queryParams["holiday"] = holiday.toString();
|
|
231
|
-
}
|
|
232
|
-
if (weekend != null) {
|
|
233
|
-
_queryParams["weekend"] = weekend.toString();
|
|
234
|
-
}
|
|
235
|
-
if (afterHours != null) {
|
|
236
|
-
_queryParams["after_hours"] = afterHours.toString();
|
|
237
|
-
}
|
|
238
222
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
239
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
223
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_line_item_groups/by_task_group/${encodeURIComponent(taskGroupId)}`),
|
|
240
224
|
method: "GET",
|
|
241
225
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
242
|
-
queryParameters: _queryParams,
|
|
243
226
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
244
227
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
245
228
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
246
229
|
});
|
|
247
230
|
if (_response.ok) {
|
|
248
|
-
return {
|
|
249
|
-
data: _response.body,
|
|
250
|
-
rawResponse: _response.rawResponse,
|
|
251
|
-
};
|
|
231
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
252
232
|
}
|
|
253
233
|
if (_response.error.reason === "status-code") {
|
|
254
234
|
switch (_response.error.statusCode) {
|
|
@@ -270,7 +250,7 @@ class CourierPayDriverLineItemGroup {
|
|
|
270
250
|
rawResponse: _response.rawResponse,
|
|
271
251
|
});
|
|
272
252
|
case "timeout":
|
|
273
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/
|
|
253
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_line_item_groups/by_task_group/{task_group_id}.");
|
|
274
254
|
case "unknown":
|
|
275
255
|
throw new errors.ChrtError({
|
|
276
256
|
message: _response.error.errorMessage,
|
|
@@ -280,26 +260,46 @@ class CourierPayDriverLineItemGroup {
|
|
|
280
260
|
});
|
|
281
261
|
}
|
|
282
262
|
/**
|
|
283
|
-
*
|
|
263
|
+
* Creates a courier driver line item group by calculating items from rate sheet and task group.
|
|
284
264
|
*
|
|
285
|
-
* @param {
|
|
265
|
+
* @param {Chrt.CourierPayDriverLineItemGroupCreateRequest} request
|
|
286
266
|
* @param {CourierPayDriverLineItemGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
287
267
|
*
|
|
288
268
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
289
269
|
*
|
|
290
270
|
* @example
|
|
291
|
-
* await client.courierPayDriverLineItemGroup.
|
|
271
|
+
* await client.courierPayDriverLineItemGroup.create({
|
|
272
|
+
* courier_pay_driver_rate_sheet_id: "courier_pay_driver_rate_sheet_id",
|
|
273
|
+
* task_group_id: "task_group_id"
|
|
274
|
+
* })
|
|
292
275
|
*/
|
|
293
|
-
|
|
294
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
276
|
+
create(request, requestOptions) {
|
|
277
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
295
278
|
}
|
|
296
|
-
|
|
279
|
+
__create(request, requestOptions) {
|
|
297
280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
298
281
|
var _a, _b, _c, _d;
|
|
282
|
+
const { courier_pay_driver_rate_sheet_id: courierPayDriverRateSheetId, task_group_id: taskGroupId, dangerous_goods: dangerousGoods, holiday, weekend, after_hours: afterHours, } = request;
|
|
283
|
+
const _queryParams = {};
|
|
284
|
+
_queryParams["courier_pay_driver_rate_sheet_id"] = courierPayDriverRateSheetId;
|
|
285
|
+
_queryParams["task_group_id"] = taskGroupId;
|
|
286
|
+
if (dangerousGoods != null) {
|
|
287
|
+
_queryParams["dangerous_goods"] = dangerousGoods.toString();
|
|
288
|
+
}
|
|
289
|
+
if (holiday != null) {
|
|
290
|
+
_queryParams["holiday"] = holiday.toString();
|
|
291
|
+
}
|
|
292
|
+
if (weekend != null) {
|
|
293
|
+
_queryParams["weekend"] = weekend.toString();
|
|
294
|
+
}
|
|
295
|
+
if (afterHours != null) {
|
|
296
|
+
_queryParams["after_hours"] = afterHours.toString();
|
|
297
|
+
}
|
|
299
298
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
300
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
301
|
-
method: "
|
|
299
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_line_item_groups/create"),
|
|
300
|
+
method: "POST",
|
|
302
301
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
302
|
+
queryParameters: _queryParams,
|
|
303
303
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
304
304
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
305
305
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -327,7 +327,7 @@ class CourierPayDriverLineItemGroup {
|
|
|
327
327
|
rawResponse: _response.rawResponse,
|
|
328
328
|
});
|
|
329
329
|
case "timeout":
|
|
330
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
330
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/courier_pay_driver_line_item_groups/create.");
|
|
331
331
|
case "unknown":
|
|
332
332
|
throw new errors.ChrtError({
|
|
333
333
|
message: _response.error.errorMessage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type CourierPayDriverLineItemGroupCreateRequest } from "./CourierPayDriverLineItemGroupCreateRequest.js";
|
|
2
1
|
export { type CourierPayDriverLineItemGroupPreviewRequest } from "./CourierPayDriverLineItemGroupPreviewRequest.js";
|
|
2
|
+
export { type CourierPayDriverLineItemGroupCreateRequest } from "./CourierPayDriverLineItemGroupCreateRequest.js";
|
|
@@ -29,7 +29,7 @@ export declare class AddLineItems {
|
|
|
29
29
|
protected readonly _options: AddLineItems.Options;
|
|
30
30
|
constructor(_options?: AddLineItems.Options);
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Adds additional line items to an existing courier driver line item group.
|
|
33
33
|
*
|
|
34
34
|
* @param {string} id
|
|
35
35
|
* @param {Chrt.courierPayDriverLineItemGroup.AddLineItemsReq} request
|
package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js
CHANGED
|
@@ -56,7 +56,7 @@ class AddLineItems {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Adds additional line items to an existing courier driver line item group.
|
|
60
60
|
*
|
|
61
61
|
* @param {string} id
|
|
62
62
|
* @param {Chrt.courierPayDriverLineItemGroup.AddLineItemsReq} request
|
|
@@ -29,7 +29,7 @@ export declare class RemoveLineItems {
|
|
|
29
29
|
protected readonly _options: RemoveLineItems.Options;
|
|
30
30
|
constructor(_options?: RemoveLineItems.Options);
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Removes specific line items from a courier driver line item group by exact match.
|
|
33
33
|
*
|
|
34
34
|
* @param {string} id
|
|
35
35
|
* @param {Chrt.courierPayDriverLineItemGroup.RemoveLineItemsReq} request
|
|
@@ -56,7 +56,7 @@ class RemoveLineItems {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Removes specific line items from a courier driver line item group by exact match.
|
|
60
60
|
*
|
|
61
61
|
* @param {string} id
|
|
62
62
|
* @param {Chrt.courierPayDriverLineItemGroup.RemoveLineItemsReq} request
|
|
@@ -29,22 +29,21 @@ export declare class CourierPayDriverPayouts {
|
|
|
29
29
|
protected readonly _options: CourierPayDriverPayouts.Options;
|
|
30
30
|
constructor(_options?: CourierPayDriverPayouts.Options);
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Retrieves a specific courier driver payout by ID for the authenticated organization.
|
|
33
33
|
*
|
|
34
|
-
* @param {
|
|
34
|
+
* @param {string} id
|
|
35
35
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
36
|
*
|
|
37
37
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
|
-
* await client.courierPayDriverPayouts.
|
|
41
|
-
* line_item_group_ids: ["line_item_group_ids"],
|
|
42
|
-
* schema_version: 1
|
|
43
|
-
* })
|
|
40
|
+
* await client.courierPayDriverPayouts.getById("id")
|
|
44
41
|
*/
|
|
45
|
-
|
|
46
|
-
private
|
|
42
|
+
getById(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
43
|
+
private __getById;
|
|
47
44
|
/**
|
|
45
|
+
* Lists all payouts for a specific driver within the authenticated organization.
|
|
46
|
+
*
|
|
48
47
|
* @param {string} driverId
|
|
49
48
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
49
|
*
|
|
@@ -56,15 +55,20 @@ export declare class CourierPayDriverPayouts {
|
|
|
56
55
|
listByDriverId(driverId: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
57
56
|
private __listByDriverId;
|
|
58
57
|
/**
|
|
59
|
-
*
|
|
58
|
+
* Creates a new driver payout from selected line item groups.
|
|
59
|
+
*
|
|
60
|
+
* @param {Chrt.CourierPayDriverPayoutClientCreate1} request
|
|
60
61
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
62
|
*
|
|
62
63
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
63
64
|
*
|
|
64
65
|
* @example
|
|
65
|
-
* await client.courierPayDriverPayouts.
|
|
66
|
+
* await client.courierPayDriverPayouts.create({
|
|
67
|
+
* schema_version: 1,
|
|
68
|
+
* line_item_group_ids: ["line_item_group_ids"]
|
|
69
|
+
* })
|
|
66
70
|
*/
|
|
67
|
-
|
|
68
|
-
private
|
|
71
|
+
create(request: Chrt.CourierPayDriverPayoutClientCreate1, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<string>;
|
|
72
|
+
private __create;
|
|
69
73
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
70
74
|
}
|
|
@@ -56,32 +56,26 @@ class CourierPayDriverPayouts {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Retrieves a specific courier driver payout by ID for the authenticated organization.
|
|
60
60
|
*
|
|
61
|
-
* @param {
|
|
61
|
+
* @param {string} id
|
|
62
62
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
|
-
* await client.courierPayDriverPayouts.
|
|
68
|
-
* line_item_group_ids: ["line_item_group_ids"],
|
|
69
|
-
* schema_version: 1
|
|
70
|
-
* })
|
|
67
|
+
* await client.courierPayDriverPayouts.getById("id")
|
|
71
68
|
*/
|
|
72
|
-
|
|
73
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
69
|
+
getById(id, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__getById(id, requestOptions));
|
|
74
71
|
}
|
|
75
|
-
|
|
72
|
+
__getById(id, requestOptions) {
|
|
76
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
74
|
var _a, _b, _c, _d;
|
|
78
75
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
79
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
80
|
-
method: "
|
|
76
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_payouts/${encodeURIComponent(id)}`),
|
|
77
|
+
method: "GET",
|
|
81
78
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
|
-
contentType: "application/json",
|
|
83
|
-
requestType: "json",
|
|
84
|
-
body: request,
|
|
85
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
86
80
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
87
81
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -109,7 +103,7 @@ class CourierPayDriverPayouts {
|
|
|
109
103
|
rawResponse: _response.rawResponse,
|
|
110
104
|
});
|
|
111
105
|
case "timeout":
|
|
112
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
106
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/courier_pay_driver_payouts/{id}.");
|
|
113
107
|
case "unknown":
|
|
114
108
|
throw new errors.ChrtError({
|
|
115
109
|
message: _response.error.errorMessage,
|
|
@@ -119,6 +113,8 @@ class CourierPayDriverPayouts {
|
|
|
119
113
|
});
|
|
120
114
|
}
|
|
121
115
|
/**
|
|
116
|
+
* Lists all payouts for a specific driver within the authenticated organization.
|
|
117
|
+
*
|
|
122
118
|
* @param {string} driverId
|
|
123
119
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
120
|
*
|
|
@@ -174,24 +170,32 @@ class CourierPayDriverPayouts {
|
|
|
174
170
|
});
|
|
175
171
|
}
|
|
176
172
|
/**
|
|
177
|
-
*
|
|
173
|
+
* Creates a new driver payout from selected line item groups.
|
|
174
|
+
*
|
|
175
|
+
* @param {Chrt.CourierPayDriverPayoutClientCreate1} request
|
|
178
176
|
* @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
177
|
*
|
|
180
178
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
181
179
|
*
|
|
182
180
|
* @example
|
|
183
|
-
* await client.courierPayDriverPayouts.
|
|
181
|
+
* await client.courierPayDriverPayouts.create({
|
|
182
|
+
* schema_version: 1,
|
|
183
|
+
* line_item_group_ids: ["line_item_group_ids"]
|
|
184
|
+
* })
|
|
184
185
|
*/
|
|
185
|
-
|
|
186
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
186
|
+
create(request, requestOptions) {
|
|
187
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
187
188
|
}
|
|
188
|
-
|
|
189
|
+
__create(request, requestOptions) {
|
|
189
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
190
191
|
var _a, _b, _c, _d;
|
|
191
192
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
192
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
193
|
-
method: "
|
|
193
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/courier_pay_driver_payouts/create"),
|
|
194
|
+
method: "POST",
|
|
194
195
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
196
|
+
contentType: "application/json",
|
|
197
|
+
requestType: "json",
|
|
198
|
+
body: request,
|
|
195
199
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
196
200
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
197
201
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -219,7 +223,7 @@ class CourierPayDriverPayouts {
|
|
|
219
223
|
rawResponse: _response.rawResponse,
|
|
220
224
|
});
|
|
221
225
|
case "timeout":
|
|
222
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
226
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/courier_pay_driver_payouts/create.");
|
|
223
227
|
case "unknown":
|
|
224
228
|
throw new errors.ChrtError({
|
|
225
229
|
message: _response.error.errorMessage,
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* schema_version: 1,
|
|
8
|
+
* line_item_group_ids: ["line_item_group_ids"]
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface CourierPayDriverPayoutClientCreate1 {
|
|
12
|
-
line_item_group_ids: string[];
|
|
13
12
|
schema_version: number;
|
|
13
|
+
line_item_group_ids: string[];
|
|
14
14
|
}
|
|
@@ -29,7 +29,17 @@ export declare class CourierPayDriverRateSheets {
|
|
|
29
29
|
protected readonly _options: CourierPayDriverRateSheets.Options;
|
|
30
30
|
constructor(_options?: CourierPayDriverRateSheets.Options);
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Lists all driver rate sheets for the authenticated courier organization.
|
|
33
|
+
*
|
|
34
|
+
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* await client.courierPayDriverRateSheets.listByCourierOrgId()
|
|
38
|
+
*/
|
|
39
|
+
listByCourierOrgId(requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1[]>;
|
|
40
|
+
private __listByCourierOrgId;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a new driver rate sheet for calculating courier payments.
|
|
33
43
|
*
|
|
34
44
|
* @param {Chrt.CourierPayDriverRateSheetClientCreate1} request
|
|
35
45
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -38,50 +48,40 @@ export declare class CourierPayDriverRateSheets {
|
|
|
38
48
|
*
|
|
39
49
|
* @example
|
|
40
50
|
* await client.courierPayDriverRateSheets.create({
|
|
41
|
-
*
|
|
42
|
-
*
|
|
51
|
+
* schema_version: 1,
|
|
52
|
+
* courier_org_id: "courier_org_id",
|
|
43
53
|
* base_mileage_distance_miles: 1.1,
|
|
44
54
|
* base_mileage_rate_usd_per_instance: 1.1,
|
|
45
|
-
*
|
|
46
|
-
* dangerous_goods_rate_usd_per_instance: 1.1,
|
|
47
|
-
* extra_stop_rate_usd: 1.1,
|
|
48
|
-
* fuel_surchage_rate_usd_per_mile: 1.1,
|
|
49
|
-
* holiday: 1.1,
|
|
55
|
+
* additional_mileage_rate_usd_per_mile: 1.1,
|
|
50
56
|
* long_distance_surcharge_miles_before_surcharge: 1.1,
|
|
51
57
|
* long_distance_surcharge_rate_usd_per_mile: 1.1,
|
|
52
|
-
*
|
|
58
|
+
* fuel_surchage_rate_usd_per_mile: 1.1,
|
|
53
59
|
* wait_time_before_charge_minutes: 1.1,
|
|
54
60
|
* wait_time_rate_usd_per_minute: 1.1,
|
|
55
|
-
*
|
|
61
|
+
* extra_stop_rate_usd: 1.1,
|
|
62
|
+
* dangerous_goods_rate_usd_per_instance: 1.1,
|
|
63
|
+
* after_hours: 1.1,
|
|
64
|
+
* weekend: 1.1,
|
|
65
|
+
* holiday: 1.1
|
|
56
66
|
* })
|
|
57
67
|
*/
|
|
58
68
|
create(request: Chrt.CourierPayDriverRateSheetClientCreate1, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<string>;
|
|
59
69
|
private __create;
|
|
60
70
|
/**
|
|
61
|
-
*
|
|
71
|
+
* Retrieves a single rate sheet by its ID.
|
|
62
72
|
*
|
|
63
|
-
* @param {
|
|
73
|
+
* @param {string} id
|
|
64
74
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
75
|
*
|
|
66
76
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
67
77
|
*
|
|
68
78
|
* @example
|
|
69
|
-
* await client.courierPayDriverRateSheets.get()
|
|
79
|
+
* await client.courierPayDriverRateSheets.get("id")
|
|
70
80
|
*/
|
|
71
|
-
get(
|
|
81
|
+
get(id: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1>;
|
|
72
82
|
private __get;
|
|
73
83
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* await client.courierPayDriverRateSheets.listByCourierOrgId()
|
|
80
|
-
*/
|
|
81
|
-
listByCourierOrgId(requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1[]>;
|
|
82
|
-
private __listByCourierOrgId;
|
|
83
|
-
/**
|
|
84
|
-
* Delete a rate sheet scoped to the caller's org
|
|
84
|
+
* Deletes a driver rate sheet owned by the authenticated organization.
|
|
85
85
|
*
|
|
86
86
|
* @param {string} id
|
|
87
87
|
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -94,7 +94,7 @@ export declare class CourierPayDriverRateSheets {
|
|
|
94
94
|
deleteById(id: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
95
95
|
private __deleteById;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Updates an existing driver rate sheet owned by the authenticated organization.
|
|
98
98
|
*
|
|
99
99
|
* @param {string} id
|
|
100
100
|
* @param {Chrt.CourierPayDriverRateSheetClientUpdate1} request
|
|
@@ -107,5 +107,18 @@ export declare class CourierPayDriverRateSheets {
|
|
|
107
107
|
*/
|
|
108
108
|
updateById(id: string, request?: Chrt.CourierPayDriverRateSheetClientUpdate1, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1>;
|
|
109
109
|
private __updateById;
|
|
110
|
+
/**
|
|
111
|
+
* Retrieves all rate sheets assigned to a specific driver.
|
|
112
|
+
*
|
|
113
|
+
* @param {string} driverId
|
|
114
|
+
* @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* await client.courierPayDriverRateSheets.listByDriverId("driver_id")
|
|
120
|
+
*/
|
|
121
|
+
listByDriverId(driverId: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1[]>;
|
|
122
|
+
private __listByDriverId;
|
|
110
123
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
111
124
|
}
|