@chrt-inc/typescript-sdk 0.0.174 → 0.0.183
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 +28 -10
- package/dist/cjs/api/resources/dev/client/Client.js +103 -46
- 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 +28 -10
- package/dist/esm/api/resources/dev/client/Client.mjs +103 -46
- 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 +1196 -764
- 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
|
@@ -19,21 +19,21 @@ export class Root {
|
|
|
19
19
|
this._options = _options;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Test endpoint for authenticated requests that requires valid authentication tokens.
|
|
23
23
|
*
|
|
24
24
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
|
-
* await client.root.
|
|
27
|
+
* await client.root.pingAuthd()
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
29
|
+
pingAuthd(requestOptions) {
|
|
30
|
+
return core.HttpResponsePromise.fromPromise(this.__pingAuthd(requestOptions));
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
__pingAuthd(requestOptions) {
|
|
33
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
34
|
var _a, _b, _c, _d;
|
|
35
35
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
36
|
-
url: (_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,
|
|
36
|
+
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, "authd"),
|
|
37
37
|
method: "GET",
|
|
38
38
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
39
39
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -58,7 +58,7 @@ export class Root {
|
|
|
58
58
|
rawResponse: _response.rawResponse,
|
|
59
59
|
});
|
|
60
60
|
case "timeout":
|
|
61
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET
|
|
61
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /authd.");
|
|
62
62
|
case "unknown":
|
|
63
63
|
throw new errors.ChrtError({
|
|
64
64
|
message: _response.error.errorMessage,
|
|
@@ -68,19 +68,21 @@ export class Root {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
+
* Test endpoint for optionally authenticated requests that works with or without authentication.
|
|
72
|
+
*
|
|
71
73
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
72
74
|
*
|
|
73
75
|
* @example
|
|
74
|
-
* await client.root.
|
|
76
|
+
* await client.root.pingOptionallyAuthd()
|
|
75
77
|
*/
|
|
76
|
-
|
|
77
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
78
|
+
pingOptionallyAuthd(requestOptions) {
|
|
79
|
+
return core.HttpResponsePromise.fromPromise(this.__pingOptionallyAuthd(requestOptions));
|
|
78
80
|
}
|
|
79
|
-
|
|
81
|
+
__pingOptionallyAuthd(requestOptions) {
|
|
80
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
81
83
|
var _a, _b, _c, _d;
|
|
82
84
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
83
|
-
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, "
|
|
85
|
+
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, "optionally_authd"),
|
|
84
86
|
method: "GET",
|
|
85
87
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
88
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -105,7 +107,7 @@ export class Root {
|
|
|
105
107
|
rawResponse: _response.rawResponse,
|
|
106
108
|
});
|
|
107
109
|
case "timeout":
|
|
108
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /
|
|
110
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /optionally_authd.");
|
|
109
111
|
case "unknown":
|
|
110
112
|
throw new errors.ChrtError({
|
|
111
113
|
message: _response.error.errorMessage,
|
|
@@ -115,19 +117,21 @@ export class Root {
|
|
|
115
117
|
});
|
|
116
118
|
}
|
|
117
119
|
/**
|
|
120
|
+
* Returns a greeting message
|
|
121
|
+
*
|
|
118
122
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
123
|
*
|
|
120
124
|
* @example
|
|
121
|
-
* await client.root.
|
|
125
|
+
* await client.root.pingUnauthd()
|
|
122
126
|
*/
|
|
123
|
-
|
|
124
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
127
|
+
pingUnauthd(requestOptions) {
|
|
128
|
+
return core.HttpResponsePromise.fromPromise(this.__pingUnauthd(requestOptions));
|
|
125
129
|
}
|
|
126
|
-
|
|
130
|
+
__pingUnauthd(requestOptions) {
|
|
127
131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
128
132
|
var _a, _b, _c, _d;
|
|
129
133
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
130
|
-
url:
|
|
134
|
+
url: (_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,
|
|
131
135
|
method: "GET",
|
|
132
136
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
133
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -152,7 +156,7 @@ export class Root {
|
|
|
152
156
|
rawResponse: _response.rawResponse,
|
|
153
157
|
});
|
|
154
158
|
case "timeout":
|
|
155
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET
|
|
159
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /.");
|
|
156
160
|
case "unknown":
|
|
157
161
|
throw new errors.ChrtError({
|
|
158
162
|
message: _response.error.errorMessage,
|
|
@@ -211,19 +215,21 @@ export class Root {
|
|
|
211
215
|
});
|
|
212
216
|
}
|
|
213
217
|
/**
|
|
218
|
+
* Test endpoint that intentionally fails for error handling validation and monitoring purposes.
|
|
219
|
+
*
|
|
214
220
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
215
221
|
*
|
|
216
222
|
* @example
|
|
217
|
-
* await client.root.
|
|
223
|
+
* await client.root.failure()
|
|
218
224
|
*/
|
|
219
|
-
|
|
220
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
225
|
+
failure(requestOptions) {
|
|
226
|
+
return core.HttpResponsePromise.fromPromise(this.__failure(requestOptions));
|
|
221
227
|
}
|
|
222
|
-
|
|
228
|
+
__failure(requestOptions) {
|
|
223
229
|
return __awaiter(this, void 0, void 0, function* () {
|
|
224
230
|
var _a, _b, _c, _d;
|
|
225
231
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
226
|
-
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, "
|
|
232
|
+
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, "failure"),
|
|
227
233
|
method: "GET",
|
|
228
234
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
229
235
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -248,7 +254,7 @@ export class Root {
|
|
|
248
254
|
rawResponse: _response.rawResponse,
|
|
249
255
|
});
|
|
250
256
|
case "timeout":
|
|
251
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /
|
|
257
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /failure.");
|
|
252
258
|
case "unknown":
|
|
253
259
|
throw new errors.ChrtError({
|
|
254
260
|
message: _response.error.errorMessage,
|
|
@@ -29,7 +29,7 @@ export declare class ShipperContactInfo {
|
|
|
29
29
|
protected readonly _options: ShipperContactInfo.Options;
|
|
30
30
|
constructor(_options?: ShipperContactInfo.Options);
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Retrieves the authenticated user's own shipper contact information.
|
|
33
33
|
*
|
|
34
34
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
35
|
*
|
|
@@ -39,87 +39,87 @@ export declare class ShipperContactInfo {
|
|
|
39
39
|
getByJwtUserId(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
|
|
40
40
|
private __getByJwtUserId;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* Returns:
|
|
44
|
-
* 1. Contacts created by the courier org that are linked to the shipper org
|
|
45
|
-
* 2. Contacts created by the shipper org themselves (if courier and shipper are connected)
|
|
42
|
+
* Lists all shipper contacts created by the authenticated organization.
|
|
46
43
|
*
|
|
47
|
-
* @param {string} shipperOrgId
|
|
48
44
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
45
|
*
|
|
50
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
51
|
-
*
|
|
52
46
|
* @example
|
|
53
|
-
* await client.shipperContactInfo.
|
|
47
|
+
* await client.shipperContactInfo.listByJwtOrgId()
|
|
54
48
|
*/
|
|
55
|
-
|
|
56
|
-
private
|
|
49
|
+
listByJwtOrgId(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
|
|
50
|
+
private __listByJwtOrgId;
|
|
57
51
|
/**
|
|
58
|
-
*
|
|
52
|
+
* Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper.
|
|
59
53
|
*
|
|
60
|
-
* @param {
|
|
54
|
+
* @param {string} shipperOrgId
|
|
61
55
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
56
|
*
|
|
63
57
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
64
58
|
*
|
|
65
59
|
* @example
|
|
66
|
-
* await client.shipperContactInfo.
|
|
67
|
-
* schema_version: 1
|
|
68
|
-
* })
|
|
60
|
+
* await client.shipperContactInfo.listCourierContactsByShipperOrgId("shipper_org_id")
|
|
69
61
|
*/
|
|
70
|
-
|
|
71
|
-
private
|
|
62
|
+
listCourierContactsByShipperOrgId(shipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
|
|
63
|
+
private __listCourierContactsByShipperOrgId;
|
|
72
64
|
/**
|
|
73
|
-
*
|
|
65
|
+
* Lists all shipper contacts for a specific off-platform shipper connection.
|
|
74
66
|
*
|
|
75
|
-
* @param {
|
|
67
|
+
* @param {string} offChrtShipperOrgConnectionInfoId
|
|
76
68
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
69
|
*
|
|
78
70
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
79
71
|
*
|
|
80
72
|
* @example
|
|
81
|
-
* await client.shipperContactInfo.
|
|
82
|
-
* schema_version: 1
|
|
83
|
-
* })
|
|
73
|
+
* await client.shipperContactInfo.listByOffChrtShipperOrgConnectionInfoId("off_chrt_shipper_org_connection_info_id")
|
|
84
74
|
*/
|
|
85
|
-
|
|
86
|
-
private
|
|
75
|
+
listByOffChrtShipperOrgConnectionInfoId(offChrtShipperOrgConnectionInfoId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
|
|
76
|
+
private __listByOffChrtShipperOrgConnectionInfoId;
|
|
87
77
|
/**
|
|
78
|
+
* Retrieves a specific shipper contact by ID if authorized to access it.
|
|
79
|
+
*
|
|
88
80
|
* @param {string} id
|
|
89
81
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
82
|
*
|
|
91
83
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
92
84
|
*
|
|
93
85
|
* @example
|
|
94
|
-
* await client.shipperContactInfo.
|
|
86
|
+
* await client.shipperContactInfo.getById("id")
|
|
95
87
|
*/
|
|
96
|
-
|
|
97
|
-
private
|
|
88
|
+
getById(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
|
|
89
|
+
private __getById;
|
|
98
90
|
/**
|
|
99
|
-
*
|
|
91
|
+
* Creates contact information for an on-platform shipper organization or user.
|
|
100
92
|
*
|
|
93
|
+
* @param {Chrt.ShipperContactInfoClientCreate1} request
|
|
101
94
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
95
|
*
|
|
96
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
97
|
+
*
|
|
103
98
|
* @example
|
|
104
|
-
* await client.shipperContactInfo.
|
|
99
|
+
* await client.shipperContactInfo.createOnPlatform({
|
|
100
|
+
* schema_version: 1
|
|
101
|
+
* })
|
|
105
102
|
*/
|
|
106
|
-
|
|
107
|
-
private
|
|
103
|
+
createOnPlatform(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
|
|
104
|
+
private __createOnPlatform;
|
|
108
105
|
/**
|
|
109
|
-
*
|
|
110
|
-
* Returns only contacts created by the courier org since off-platform shippers cannot create their own contacts.
|
|
106
|
+
* Creates contact information for an off-platform shipper using connection info.
|
|
111
107
|
*
|
|
112
|
-
* @param {
|
|
108
|
+
* @param {Chrt.ShipperContactInfoClientCreate1} request
|
|
113
109
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
110
|
*
|
|
115
111
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
116
112
|
*
|
|
117
113
|
* @example
|
|
118
|
-
* await client.shipperContactInfo.
|
|
114
|
+
* await client.shipperContactInfo.createOffPlatform({
|
|
115
|
+
* schema_version: 1
|
|
116
|
+
* })
|
|
119
117
|
*/
|
|
120
|
-
|
|
121
|
-
private
|
|
118
|
+
createOffPlatform(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
|
|
119
|
+
private __createOffPlatform;
|
|
122
120
|
/**
|
|
121
|
+
* Updates existing shipper contact information owned by the authenticated organization.
|
|
122
|
+
*
|
|
123
123
|
* @param {string} shipperContactInfoId
|
|
124
124
|
* @param {Chrt.ShipperContactInfoClientUpdate1} request
|
|
125
125
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -132,7 +132,7 @@ export declare class ShipperContactInfo {
|
|
|
132
132
|
update(shipperContactInfoId: string, request?: Chrt.ShipperContactInfoClientUpdate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
133
133
|
private __update;
|
|
134
134
|
/**
|
|
135
|
-
*
|
|
135
|
+
* Deletes shipper contact information owned by the authenticated organization.
|
|
136
136
|
*
|
|
137
137
|
* @param {string} id
|
|
138
138
|
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -140,9 +140,9 @@ export declare class ShipperContactInfo {
|
|
|
140
140
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
|
-
* await client.shipperContactInfo.
|
|
143
|
+
* await client.shipperContactInfo.deleteById("id")
|
|
144
144
|
*/
|
|
145
|
-
|
|
146
|
-
private
|
|
145
|
+
deleteById(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
146
|
+
private __deleteById;
|
|
147
147
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
148
148
|
}
|