@chrt-inc/typescript-sdk 0.0.170-h → 0.0.174
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 +30 -30
- package/dist/cjs/Client.js +42 -42
- 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 +4 -0
- package/dist/cjs/api/resources/connections/client/Client.js +4 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +11 -49
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.js +19 -166
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/index.d.ts +1 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/index.js +1 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +136 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/{client → resources/addLineItems/client}/requests/AddLineItemsReq.d.ts +1 -3
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/index.js +43 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +136 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/{client → resources/removeLineItems/client}/requests/RemoveLineItemsReq.d.ts +1 -3
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +10 -10
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +111 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → courierPayDriverRateSheets}/client/Client.js +81 -113
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.ts +11 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/courierPayDriverRateSheets/index.d.ts +2 -0
- package/dist/cjs/api/resources/courierPayDriverRateSheets/index.js +18 -0
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.ts +5 -0
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.js +17 -0
- package/dist/cjs/api/resources/dev/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/dev/client/Client.js +2 -0
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +152 -0
- package/dist/cjs/api/resources/{oortDrivers → drivers}/client/Client.js +118 -113
- package/dist/cjs/api/resources/index.d.ts +20 -20
- package/dist/cjs/api/resources/index.js +21 -21
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.d.ts +16 -12
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.js +21 -17
- package/dist/cjs/api/resources/milestones/client/Client.d.ts +69 -0
- package/dist/cjs/api/resources/milestones/client/Client.js +203 -0
- package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/milestones/index.d.ts +2 -0
- package/dist/cjs/api/resources/milestones/index.js +18 -0
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +129 -0
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +253 -0
- package/dist/{esm/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.mts → cjs/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.ts} +2 -2
- package/dist/cjs/api/resources/milestones/resources/images/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/milestones/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/milestones/resources/index.js +42 -0
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/client/Client.js +3 -3
- package/dist/cjs/api/resources/notifications/resources/{courier → courierPreferences}/client/Client.d.ts +13 -13
- package/dist/cjs/api/resources/notifications/resources/{courier → courierPreferences}/client/Client.js +18 -18
- 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 +7 -7
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +13 -13
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/Client.d.ts +20 -20
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/Client.js +25 -25
- package/dist/cjs/api/resources/orders/client/Client.d.ts +108 -0
- package/dist/cjs/api/resources/orders/client/Client.js +359 -0
- package/dist/cjs/api/resources/orders/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/index.js +18 -0
- package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +65 -0
- package/dist/cjs/api/resources/orders/resources/full/client/Client.js +223 -0
- package/dist/cjs/api/resources/orders/resources/full/client/index.js +2 -0
- package/dist/cjs/api/resources/orders/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/resources/index.js +37 -0
- package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/orgConnectionInfos/client/Client.js +22 -0
- package/dist/cjs/api/resources/orgConnectionInfos/client/index.js +2 -0
- package/dist/cjs/api/resources/orgConnectionInfos/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgConnectionInfos/index.js +18 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +71 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +240 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/index.js +43 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +71 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +240 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/index.js +17 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +101 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/Client.js +85 -79
- package/dist/cjs/api/resources/orgProfiles/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgProfiles/client/index.js +17 -0
- package/dist/{esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.mts → cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/orgProfiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgProfiles/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgProfiles/index.js +17 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +47 -0
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +148 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/Client.js +112 -112
- package/dist/cjs/api/resources/shipperContactInfo/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperContactInfo/client/index.js +17 -0
- package/dist/cjs/api/resources/shipperContactInfo/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipperContactInfo/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperContactInfo/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +96 -0
- package/dist/cjs/api/resources/taskGroups/client/Client.js +354 -0
- package/dist/cjs/api/resources/taskGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.js +5 -0
- package/dist/cjs/api/resources/taskGroups/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskGroups/index.js +18 -0
- package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +55 -0
- package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +177 -0
- package/dist/cjs/api/resources/taskGroups/resources/full/client/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/full/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/full/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/taskGroups/resources/index.js +42 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +130 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.js +5 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/index.js +17 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +30 -30
- package/dist/esm/Client.mjs +34 -34
- 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 +4 -0
- package/dist/esm/api/resources/connections/client/Client.mjs +4 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +11 -49
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.mjs +19 -166
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/index.d.mts +1 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/index.mjs +1 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +99 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/{client → resources/addLineItems/client}/requests/AddLineItemsReq.d.mts +1 -3
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/index.mjs +4 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +99 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/{client → resources/removeLineItems/client}/requests/RemoveLineItemsReq.d.mts +1 -3
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +10 -10
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +111 -0
- package/dist/esm/api/resources/{oortOrgConnectionInfos → courierPayDriverRateSheets}/client/Client.mjs +79 -111
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.mts +11 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/courierPayDriverRateSheets/index.d.mts +2 -0
- package/dist/esm/api/resources/courierPayDriverRateSheets/index.mjs +2 -0
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.mts +5 -0
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.d.mts +1 -0
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.mjs +1 -0
- package/dist/esm/api/resources/dev/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/dev/client/Client.mjs +2 -0
- package/dist/esm/api/resources/drivers/client/Client.d.mts +152 -0
- package/dist/esm/api/resources/{oortDrivers → drivers}/client/Client.mjs +116 -111
- package/dist/esm/api/resources/index.d.mts +20 -20
- package/dist/esm/api/resources/index.mjs +20 -20
- package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.d.mts +16 -12
- package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/Client.mjs +19 -15
- package/dist/esm/api/resources/milestones/client/Client.d.mts +69 -0
- package/dist/esm/api/resources/milestones/client/Client.mjs +166 -0
- package/dist/esm/api/resources/milestones/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/milestones/index.d.mts +2 -0
- package/dist/esm/api/resources/milestones/index.mjs +2 -0
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +92 -0
- package/dist/esm/api/resources/milestones/resources/blurhash/client/index.mjs +1 -0
- package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +216 -0
- package/dist/{cjs/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts → esm/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts} +2 -2
- package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/milestones/resources/images/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/milestones/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/milestones/resources/index.mjs +3 -0
- package/dist/esm/api/resources/notifications/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/notifications/client/Client.mjs +3 -3
- package/dist/esm/api/resources/notifications/resources/{courier → courierPreferences}/client/Client.d.mts +13 -13
- package/dist/esm/api/resources/notifications/resources/{courier → courierPreferences}/client/Client.mjs +16 -16
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/index.mjs +1 -0
- 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 +7 -7
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +13 -13
- package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/Client.d.mts +20 -20
- package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/Client.mjs +23 -23
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +108 -0
- package/dist/esm/api/resources/orders/client/Client.mjs +322 -0
- package/dist/esm/api/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/index.mjs +2 -0
- package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +65 -0
- package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +186 -0
- package/dist/esm/api/resources/orders/resources/full/client/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/full/client/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/index.mjs +1 -0
- package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/orgConnectionInfos/client/Client.mjs +18 -0
- package/dist/esm/api/resources/orgConnectionInfos/client/index.d.mts +1 -0
- package/dist/esm/api/resources/orgConnectionInfos/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgConnectionInfos/index.d.mts +2 -0
- package/dist/esm/api/resources/orgConnectionInfos/index.mjs +2 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +71 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +203 -0
- package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/index.mjs +4 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +71 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +203 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/index.mjs +1 -0
- package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +101 -0
- package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/Client.mjs +83 -77
- package/dist/esm/api/resources/orgProfiles/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgProfiles/client/index.mjs +1 -0
- package/dist/{cjs/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.mts} +1 -1
- package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/orgProfiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgProfiles/index.d.mts +1 -0
- package/dist/esm/api/resources/orgProfiles/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +47 -0
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +148 -0
- package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/Client.mjs +110 -110
- package/dist/esm/api/resources/shipperContactInfo/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperContactInfo/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperContactInfo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipperContactInfo/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperContactInfo/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +96 -0
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +317 -0
- package/dist/esm/api/resources/taskGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/taskGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.mjs +4 -0
- package/dist/esm/api/resources/taskGroups/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/index.d.mts +2 -0
- package/dist/esm/api/resources/taskGroups/index.mjs +2 -0
- package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +55 -0
- package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +140 -0
- package/dist/esm/api/resources/taskGroups/resources/full/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/full/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/full/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/full/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/taskGroups/resources/index.mjs +3 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +93 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/index.d.mts +2 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.mjs +4 -0
- package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +965 -805
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +0 -134
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.js +0 -474
- package/dist/cjs/api/resources/oortDrivers/client/Client.d.ts +0 -147
- package/dist/cjs/api/resources/oortMilestones/client/Client.d.ts +0 -114
- package/dist/cjs/api/resources/oortMilestones/client/Client.js +0 -431
- package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/oortOrders/client/Client.d.ts +0 -138
- package/dist/cjs/api/resources/oortOrders/client/Client.js +0 -509
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -110
- package/dist/cjs/api/resources/oortOrgProfiles/client/Client.d.ts +0 -95
- package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.d.ts +0 -148
- package/dist/cjs/api/resources/oortTaskGroups/client/Client.d.ts +0 -128
- package/dist/cjs/api/resources/oortTaskGroups/client/Client.js +0 -515
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +0 -134
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.mjs +0 -437
- package/dist/esm/api/resources/oortDrivers/client/Client.d.mts +0 -147
- package/dist/esm/api/resources/oortMilestones/client/Client.d.mts +0 -114
- package/dist/esm/api/resources/oortMilestones/client/Client.mjs +0 -394
- package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/oortOrders/client/Client.d.mts +0 -138
- package/dist/esm/api/resources/oortOrders/client/Client.mjs +0 -472
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.d.mts +0 -110
- package/dist/esm/api/resources/oortOrgProfiles/client/Client.d.mts +0 -95
- package/dist/esm/api/resources/oortShipperContactInfo/client/Client.d.mts +0 -148
- package/dist/esm/api/resources/oortTaskGroups/client/Client.d.mts +0 -128
- package/dist/esm/api/resources/oortTaskGroups/client/Client.mjs +0 -478
- /package/dist/cjs/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.js +0 -0
- /package/dist/cjs/api/resources/courierPayDriverLineItemGroup/{client → resources/addLineItems/client}/requests/AddLineItemsReq.js +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.js +0 -0
- /package/dist/cjs/api/resources/courierPayDriverLineItemGroup/{client → resources/removeLineItems/client}/requests/RemoveLineItemsReq.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → courierPayDriverRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → courierPayDriverRateSheets}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.js +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier/client/requests/CourierNotificationPreferencesClientCreate1.js → courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → courierPayDriverRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortDrivers/client/requests/DriverCreateReq.js → courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.js} +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → drivers}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → drivers}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/DriverCreateReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortDrivers/client/requests/DriverLastSeenReq.js → drivers/client/requests/DriverCreateReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/DriverLastSeenReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortDrivers/client/requests/SetDriverActivationReq.js → drivers/client/requests/DriverLastSeenReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/SetDriverActivationReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortDrivers/client/requests/UpdateDriverDetailsReq.js → drivers/client/requests/SetDriverActivationReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.js → drivers/client/requests/UpdateDriverDetailsReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → drivers}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortDrivers → drivers}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestoneNotifications}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestoneNotifications}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js → milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestoneNotifications}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.js +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.js +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones}/client/requests/index.js +0 -0
- /package/dist/{esm/api/resources/notifications/resources/courier/client/requests/index.mjs → cjs/api/resources/milestones/resources/blurhash/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{oortOrders/client/requests → milestones/resources/blurhash/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestones/resources/blurhash}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortMilestones → milestones/resources/blurhash}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrders → milestones/resources/images}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrders → milestones/resources/images}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.js} +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos → milestones/resources/images}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones/resources/images}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones/resources/images}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos → notifications/resources/courierPreferences}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos → notifications/resources/courierPreferences}/client/index.js +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{courier → courierPreferences}/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js → notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{courier → courierPreferences}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → notifications/resources/courierPreferences}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrders → notifications/resources/courierPreferences}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrders → notifications/resources/courierPreferences}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → offChrtShipperOrgConnectionInfo}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → offChrtShipperOrgConnectionInfo}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrders/client/requests/CreateOrderReq.js → offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → offChrtShipperOrgConnectionInfo}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos → offChrtShipperOrgConnectionInfo}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos → offChrtShipperOrgConnectionInfo}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrders → orders}/client/requests/CreateOrderReq.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.js → orders/client/requests/CreateOrderReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortOrders → orders}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → orders}/client/requests/index.js +0 -0
- /package/dist/{esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.mjs → cjs/api/resources/orders/resources/full/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → orders/resources/full}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → orders/resources/full}/index.js +0 -0
- /package/dist/{esm/api/resources/oortDrivers/client/requests/index.mjs → cjs/api/resources/orgConnectionInfos/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → orgConnectionInfos/resources/courier}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → orgConnectionInfos/resources/courier}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/courier}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/courier}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.js → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.js → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → orgConnectionInfos/resources/shipper}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → orgConnectionInfos/resources/shipper}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.js → orgProfiles/client/requests/CourierOrgProfileClientCreate3.js} +0 -0
- /package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js → orgProfiles/client/requests/CourierOrgProfileClientUpdate3.js} +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups/client/requests/SetTaskGroupPauseReq.js → orgProfiles/client/requests/OrgProfilesGetAvatarRequest.js} +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.js → shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.d.ts +0 -0
- /package/dist/{esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.mjs → cjs/api/resources/taskGroups/resources/full/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.d.ts +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/courierPayDriverLineItemGroup/{client → resources/addLineItems/client}/requests/AddLineItemsReq.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestones → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → courierPayDriverLineItemGroup/resources/addLineItems}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/courierPayDriverLineItemGroup/{client → resources/removeLineItems/client}/requests/RemoveLineItemsReq.mjs +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/removeLineItems}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortDrivers → courierPayDriverRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers → courierPayDriverRateSheets}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientUpdate1.mjs +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier/client/requests/CourierNotificationPreferencesClientCreate1.mjs → courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOrders → courierPayDriverRateSheets}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortDrivers/client/requests/DriverCreateReq.mjs → courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → drivers}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → drivers}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/DriverCreateReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers/client/requests/DriverLastSeenReq.mjs → drivers/client/requests/DriverCreateReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/DriverLastSeenReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers/client/requests/SetDriverActivationReq.mjs → drivers/client/requests/DriverLastSeenReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/SetDriverActivationReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers/client/requests/UpdateDriverDetailsReq.mjs → drivers/client/requests/SetDriverActivationReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → drivers/client/requests/UpdateDriverDetailsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → drivers}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers → drivers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestoneNotifications}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestoneNotifications}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.mjs → milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → milestoneNotifications}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestoneNotifications}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneAddToTaskReq.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestones}/client/requests/MilestoneUpdateReq.mjs +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → milestones}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups/client/requests/index.mjs → milestones/resources/blurhash/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestones/resources/blurhash}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones → milestones/resources/blurhash}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrders → milestones/resources/images}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrders → milestones/resources/images}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones/resources/images}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → milestones/resources/images}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → notifications/resources/courierPreferences}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → notifications/resources/courierPreferences}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/notifications/resources/{courier → courierPreferences}/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs → notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/notifications/resources/{courier → courierPreferences}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrders → notifications/resources/courierPreferences}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrders → notifications/resources/courierPreferences}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → offChrtShipperOrgConnectionInfo}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → offChrtShipperOrgConnectionInfo}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrders/client/requests/CreateOrderReq.mjs → offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.mjs → offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → offChrtShipperOrgConnectionInfo}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → offChrtShipperOrgConnectionInfo}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → offChrtShipperOrgConnectionInfo}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrders → orders}/client/requests/CreateOrderReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs → orders/client/requests/CreateOrderReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOrders → orders}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orders/resources/full}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orders/resources/full}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → orgConnectionInfos/resources/courier}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → orgConnectionInfos/resources/courier}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/courier}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/courier}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → orgConnectionInfos/resources/shipper}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → orgConnectionInfos/resources/shipper}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.mjs → orgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs} +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.d.mts +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs → orgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs} +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups/client/requests/SetTaskGroupPauseReq.mjs → orgProfiles/client/requests/OrgProfilesGetAvatarRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.mjs → shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.d.mts +0 -0
|
@@ -15,35 +15,28 @@ import * as core from "../../../../core/index.mjs";
|
|
|
15
15
|
import * as Chrt from "../../../index.mjs";
|
|
16
16
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
17
17
|
import * as errors from "../../../../errors/index.mjs";
|
|
18
|
-
export class
|
|
18
|
+
export class OrgProfiles {
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @param {OortOrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
23
|
+
* Retrieve the courier organization profile for the authenticated organization using the org_id from the JWT token.
|
|
25
24
|
*
|
|
26
|
-
* @
|
|
25
|
+
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
26
|
*
|
|
28
27
|
* @example
|
|
29
|
-
* await client.
|
|
30
|
-
* handle: "handle"
|
|
31
|
-
* })
|
|
28
|
+
* await client.orgProfiles.get()
|
|
32
29
|
*/
|
|
33
|
-
|
|
34
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
30
|
+
get(requestOptions) {
|
|
31
|
+
return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
|
|
35
32
|
}
|
|
36
|
-
|
|
33
|
+
__get(requestOptions) {
|
|
37
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
35
|
var _a, _b, _c, _d;
|
|
39
|
-
const { handle } = request;
|
|
40
|
-
const _queryParams = {};
|
|
41
|
-
_queryParams["handle"] = handle;
|
|
42
36
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
43
|
-
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/org_profiles/
|
|
37
|
+
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/org_profiles/"),
|
|
44
38
|
method: "GET",
|
|
45
39
|
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),
|
|
46
|
-
queryParameters: _queryParams,
|
|
47
40
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
48
41
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
49
42
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -52,16 +45,11 @@ export class OortOrgProfiles {
|
|
|
52
45
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
53
46
|
}
|
|
54
47
|
if (_response.error.reason === "status-code") {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
statusCode: _response.error.statusCode,
|
|
61
|
-
body: _response.error.body,
|
|
62
|
-
rawResponse: _response.rawResponse,
|
|
63
|
-
});
|
|
64
|
-
}
|
|
48
|
+
throw new errors.ChrtError({
|
|
49
|
+
statusCode: _response.error.statusCode,
|
|
50
|
+
body: _response.error.body,
|
|
51
|
+
rawResponse: _response.rawResponse,
|
|
52
|
+
});
|
|
65
53
|
}
|
|
66
54
|
switch (_response.error.reason) {
|
|
67
55
|
case "non-json":
|
|
@@ -71,7 +59,7 @@ export class OortOrgProfiles {
|
|
|
71
59
|
rawResponse: _response.rawResponse,
|
|
72
60
|
});
|
|
73
61
|
case "timeout":
|
|
74
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles
|
|
62
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/.");
|
|
75
63
|
case "unknown":
|
|
76
64
|
throw new errors.ChrtError({
|
|
77
65
|
message: _response.error.errorMessage,
|
|
@@ -81,24 +69,32 @@ export class OortOrgProfiles {
|
|
|
81
69
|
});
|
|
82
70
|
}
|
|
83
71
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
72
|
+
* Get the avatar image URL for an organization using their handle. Returns the image URL from Clerk or a placeholder if not found.
|
|
73
|
+
*
|
|
74
|
+
* @param {Chrt.OrgProfilesGetAvatarRequest} request
|
|
75
|
+
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
86
76
|
*
|
|
87
77
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
88
78
|
*
|
|
89
79
|
* @example
|
|
90
|
-
* await client.
|
|
80
|
+
* await client.orgProfiles.getAvatar({
|
|
81
|
+
* handle: "handle"
|
|
82
|
+
* })
|
|
91
83
|
*/
|
|
92
|
-
|
|
93
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
84
|
+
getAvatar(request, requestOptions) {
|
|
85
|
+
return core.HttpResponsePromise.fromPromise(this.__getAvatar(request, requestOptions));
|
|
94
86
|
}
|
|
95
|
-
|
|
87
|
+
__getAvatar(request, requestOptions) {
|
|
96
88
|
return __awaiter(this, void 0, void 0, function* () {
|
|
97
89
|
var _a, _b, _c, _d;
|
|
90
|
+
const { handle } = request;
|
|
91
|
+
const _queryParams = {};
|
|
92
|
+
_queryParams["handle"] = handle;
|
|
98
93
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
99
|
-
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,
|
|
94
|
+
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/org_profiles/avatar"),
|
|
100
95
|
method: "GET",
|
|
101
96
|
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),
|
|
97
|
+
queryParameters: _queryParams,
|
|
102
98
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
103
99
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
104
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -126,7 +122,7 @@ export class OortOrgProfiles {
|
|
|
126
122
|
rawResponse: _response.rawResponse,
|
|
127
123
|
});
|
|
128
124
|
case "timeout":
|
|
129
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/
|
|
125
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/avatar.");
|
|
130
126
|
case "unknown":
|
|
131
127
|
throw new errors.ChrtError({
|
|
132
128
|
message: _response.error.errorMessage,
|
|
@@ -136,21 +132,34 @@ export class OortOrgProfiles {
|
|
|
136
132
|
});
|
|
137
133
|
}
|
|
138
134
|
/**
|
|
139
|
-
*
|
|
135
|
+
* Create a new courier organization profile. This endpoint will fail if a profile already exists for the organization.
|
|
136
|
+
*
|
|
137
|
+
* @param {Chrt.CourierOrgProfileClientCreate3} request
|
|
138
|
+
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
140
141
|
*
|
|
141
142
|
* @example
|
|
142
|
-
* await client.
|
|
143
|
+
* await client.orgProfiles.create({
|
|
144
|
+
* description: "description",
|
|
145
|
+
* email_address_primary: "email_address_primary",
|
|
146
|
+
* phone_number_primary: "phone_number_primary",
|
|
147
|
+
* schema_version: 1
|
|
148
|
+
* })
|
|
143
149
|
*/
|
|
144
|
-
|
|
145
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
150
|
+
create(request, requestOptions) {
|
|
151
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
146
152
|
}
|
|
147
|
-
|
|
153
|
+
__create(request, requestOptions) {
|
|
148
154
|
return __awaiter(this, void 0, void 0, function* () {
|
|
149
155
|
var _a, _b, _c, _d;
|
|
150
156
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
151
|
-
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/org_profiles/
|
|
152
|
-
method: "
|
|
157
|
+
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/org_profiles/create"),
|
|
158
|
+
method: "POST",
|
|
153
159
|
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),
|
|
160
|
+
contentType: "application/json",
|
|
161
|
+
requestType: "json",
|
|
162
|
+
body: request,
|
|
154
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
155
164
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
156
165
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -159,11 +168,16 @@ export class OortOrgProfiles {
|
|
|
159
168
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
160
169
|
}
|
|
161
170
|
if (_response.error.reason === "status-code") {
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
171
|
+
switch (_response.error.statusCode) {
|
|
172
|
+
case 422:
|
|
173
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
174
|
+
default:
|
|
175
|
+
throw new errors.ChrtError({
|
|
176
|
+
statusCode: _response.error.statusCode,
|
|
177
|
+
body: _response.error.body,
|
|
178
|
+
rawResponse: _response.rawResponse,
|
|
179
|
+
});
|
|
180
|
+
}
|
|
167
181
|
}
|
|
168
182
|
switch (_response.error.reason) {
|
|
169
183
|
case "non-json":
|
|
@@ -173,7 +187,7 @@ export class OortOrgProfiles {
|
|
|
173
187
|
rawResponse: _response.rawResponse,
|
|
174
188
|
});
|
|
175
189
|
case "timeout":
|
|
176
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
190
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_profiles/create.");
|
|
177
191
|
case "unknown":
|
|
178
192
|
throw new errors.ChrtError({
|
|
179
193
|
message: _response.error.errorMessage,
|
|
@@ -183,30 +197,25 @@ export class OortOrgProfiles {
|
|
|
183
197
|
});
|
|
184
198
|
}
|
|
185
199
|
/**
|
|
186
|
-
*
|
|
200
|
+
* Update an existing courier organization profile. Can update one or more fields. Profile must exist before updating.
|
|
187
201
|
*
|
|
188
|
-
* @param {Chrt.
|
|
189
|
-
* @param {
|
|
202
|
+
* @param {Chrt.CourierOrgProfileClientUpdate3} request
|
|
203
|
+
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
190
204
|
*
|
|
191
205
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
192
206
|
*
|
|
193
207
|
* @example
|
|
194
|
-
* await client.
|
|
195
|
-
* description: "description",
|
|
196
|
-
* email_address_primary: "email_address_primary",
|
|
197
|
-
* phone_number_primary: "phone_number_primary",
|
|
198
|
-
* schema_version: 1
|
|
199
|
-
* })
|
|
208
|
+
* await client.orgProfiles.update()
|
|
200
209
|
*/
|
|
201
|
-
|
|
202
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
210
|
+
update(request = {}, requestOptions) {
|
|
211
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
203
212
|
}
|
|
204
|
-
|
|
205
|
-
return __awaiter(this,
|
|
213
|
+
__update() {
|
|
214
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
206
215
|
var _a, _b, _c, _d;
|
|
207
216
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
208
|
-
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/org_profiles/
|
|
209
|
-
method: "
|
|
217
|
+
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/org_profiles/update"),
|
|
218
|
+
method: "PATCH",
|
|
210
219
|
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),
|
|
211
220
|
contentType: "application/json",
|
|
212
221
|
requestType: "json",
|
|
@@ -238,7 +247,7 @@ export class OortOrgProfiles {
|
|
|
238
247
|
rawResponse: _response.rawResponse,
|
|
239
248
|
});
|
|
240
249
|
case "timeout":
|
|
241
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
250
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_profiles/update.");
|
|
242
251
|
case "unknown":
|
|
243
252
|
throw new errors.ChrtError({
|
|
244
253
|
message: _response.error.errorMessage,
|
|
@@ -248,29 +257,26 @@ export class OortOrgProfiles {
|
|
|
248
257
|
});
|
|
249
258
|
}
|
|
250
259
|
/**
|
|
251
|
-
*
|
|
260
|
+
* Retrieve a courier organization profile using the organization's handle. This endpoint is used for public profile viewing.
|
|
252
261
|
*
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
262
|
+
* @param {string} handle
|
|
263
|
+
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
255
264
|
*
|
|
256
265
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
257
266
|
*
|
|
258
267
|
* @example
|
|
259
|
-
* await client.
|
|
268
|
+
* await client.orgProfiles.getByHandle("handle")
|
|
260
269
|
*/
|
|
261
|
-
|
|
262
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
270
|
+
getByHandle(handle, requestOptions) {
|
|
271
|
+
return core.HttpResponsePromise.fromPromise(this.__getByHandle(handle, requestOptions));
|
|
263
272
|
}
|
|
264
|
-
|
|
265
|
-
return __awaiter(this,
|
|
273
|
+
__getByHandle(handle, requestOptions) {
|
|
274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
266
275
|
var _a, _b, _c, _d;
|
|
267
276
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
268
|
-
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,
|
|
269
|
-
method: "
|
|
277
|
+
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/org_profiles/${encodeURIComponent(handle)}`),
|
|
278
|
+
method: "GET",
|
|
270
279
|
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),
|
|
271
|
-
contentType: "application/json",
|
|
272
|
-
requestType: "json",
|
|
273
|
-
body: request,
|
|
274
280
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
275
281
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
276
282
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -298,7 +304,7 @@ export class OortOrgProfiles {
|
|
|
298
304
|
rawResponse: _response.rawResponse,
|
|
299
305
|
});
|
|
300
306
|
case "timeout":
|
|
301
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
307
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/{handle}.");
|
|
302
308
|
case "unknown":
|
|
303
309
|
throw new errors.ChrtError({
|
|
304
310
|
message: _response.error.errorMessage,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { type OrgProfilesGetAvatarRequest } from "./OrgProfilesGetAvatarRequest.mjs";
|
|
2
2
|
export { type CourierOrgProfileClientCreate3 } from "./CourierOrgProfileClientCreate3.mjs";
|
|
3
3
|
export { type CourierOrgProfileClientUpdate3 } from "./CourierOrgProfileClientUpdate3.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -51,6 +51,14 @@ export declare class Orgs {
|
|
|
51
51
|
*/
|
|
52
52
|
getHandleAvailability(handle: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
53
53
|
private __getHandleAvailability;
|
|
54
|
+
/**
|
|
55
|
+
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.orgs.getInfo()
|
|
59
|
+
*/
|
|
60
|
+
getInfo(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgMemberDetails[]>;
|
|
61
|
+
private __getInfo;
|
|
54
62
|
/**
|
|
55
63
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
64
|
*
|
|
@@ -125,6 +125,53 @@ export class Orgs {
|
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* await client.orgs.getInfo()
|
|
133
|
+
*/
|
|
134
|
+
getInfo(requestOptions) {
|
|
135
|
+
return core.HttpResponsePromise.fromPromise(this.__getInfo(requestOptions));
|
|
136
|
+
}
|
|
137
|
+
__getInfo(requestOptions) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
var _a, _b, _c, _d;
|
|
140
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
141
|
+
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, "orgs/info"),
|
|
142
|
+
method: "GET",
|
|
143
|
+
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),
|
|
144
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
145
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
146
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
147
|
+
});
|
|
148
|
+
if (_response.ok) {
|
|
149
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
150
|
+
}
|
|
151
|
+
if (_response.error.reason === "status-code") {
|
|
152
|
+
throw new errors.ChrtError({
|
|
153
|
+
statusCode: _response.error.statusCode,
|
|
154
|
+
body: _response.error.body,
|
|
155
|
+
rawResponse: _response.rawResponse,
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
switch (_response.error.reason) {
|
|
159
|
+
case "non-json":
|
|
160
|
+
throw new errors.ChrtError({
|
|
161
|
+
statusCode: _response.error.statusCode,
|
|
162
|
+
body: _response.error.rawBody,
|
|
163
|
+
rawResponse: _response.rawResponse,
|
|
164
|
+
});
|
|
165
|
+
case "timeout":
|
|
166
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/info.");
|
|
167
|
+
case "unknown":
|
|
168
|
+
throw new errors.ChrtError({
|
|
169
|
+
message: _response.error.errorMessage,
|
|
170
|
+
rawResponse: _response.rawResponse,
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
}
|
|
128
175
|
/**
|
|
129
176
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
130
177
|
*
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../index.mjs";
|
|
7
|
+
export declare namespace ShipperContactInfo {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional headers to include in the request. */
|
|
25
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export declare class ShipperContactInfo {
|
|
29
|
+
protected readonly _options: ShipperContactInfo.Options;
|
|
30
|
+
constructor(_options?: ShipperContactInfo.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Get my own shipper contact info (for authenticated shippers users)
|
|
33
|
+
*
|
|
34
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* await client.shipperContactInfo.getByJwtUserId()
|
|
38
|
+
*/
|
|
39
|
+
getByJwtUserId(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
|
|
40
|
+
private __getByJwtUserId;
|
|
41
|
+
/**
|
|
42
|
+
* Get all contacts accessible to courier org for a specific on-platform shipper.
|
|
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)
|
|
46
|
+
*
|
|
47
|
+
* @param {string} shipperOrgId
|
|
48
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.shipperContactInfo.listCourierContactsByShipperOrgId("shipper_org_id")
|
|
54
|
+
*/
|
|
55
|
+
listCourierContactsByShipperOrgId(shipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
|
|
56
|
+
private __listCourierContactsByShipperOrgId;
|
|
57
|
+
/**
|
|
58
|
+
* Create shipper contact info for off-platform shipper (scenario 3)
|
|
59
|
+
*
|
|
60
|
+
* @param {Chrt.ShipperContactInfoClientCreate1} request
|
|
61
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.shipperContactInfo.createOffPlatform({
|
|
67
|
+
* schema_version: 1
|
|
68
|
+
* })
|
|
69
|
+
*/
|
|
70
|
+
createOffPlatform(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
|
|
71
|
+
private __createOffPlatform;
|
|
72
|
+
/**
|
|
73
|
+
* Create shipper contact info for on-platform shipper (scenarios 1 & 2)
|
|
74
|
+
*
|
|
75
|
+
* @param {Chrt.ShipperContactInfoClientCreate1} request
|
|
76
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.shipperContactInfo.createOnPlatform({
|
|
82
|
+
* schema_version: 1
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
createOnPlatform(request: Chrt.ShipperContactInfoClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
|
|
86
|
+
private __createOnPlatform;
|
|
87
|
+
/**
|
|
88
|
+
* @param {string} id
|
|
89
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* await client.shipperContactInfo.deleteById("id")
|
|
95
|
+
*/
|
|
96
|
+
deleteById(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
97
|
+
private __deleteById;
|
|
98
|
+
/**
|
|
99
|
+
* Get all contacts for my organization which were created by the shipper org (for authenticated shipper orgs)
|
|
100
|
+
*
|
|
101
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* await client.shipperContactInfo.listByJwtOrgId()
|
|
105
|
+
*/
|
|
106
|
+
listByJwtOrgId(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
|
|
107
|
+
private __listByJwtOrgId;
|
|
108
|
+
/**
|
|
109
|
+
* Get all contacts accessible to courier org for a specific off-platform shipper.
|
|
110
|
+
* Returns only contacts created by the courier org since off-platform shippers cannot create their own contacts.
|
|
111
|
+
*
|
|
112
|
+
* @param {string} offChrtShipperOrgConnectionInfoId
|
|
113
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* await client.shipperContactInfo.listByOffChrtShipperOrgConnectionInfoId("off_chrt_shipper_org_connection_info_id")
|
|
119
|
+
*/
|
|
120
|
+
listByOffChrtShipperOrgConnectionInfoId(offChrtShipperOrgConnectionInfoId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1[]>;
|
|
121
|
+
private __listByOffChrtShipperOrgConnectionInfoId;
|
|
122
|
+
/**
|
|
123
|
+
* @param {string} shipperContactInfoId
|
|
124
|
+
* @param {Chrt.ShipperContactInfoClientUpdate1} request
|
|
125
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* await client.shipperContactInfo.update("shipper_contact_info_id")
|
|
131
|
+
*/
|
|
132
|
+
update(shipperContactInfoId: string, request?: Chrt.ShipperContactInfoClientUpdate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
133
|
+
private __update;
|
|
134
|
+
/**
|
|
135
|
+
* Get a specific shipper contact info by ID
|
|
136
|
+
*
|
|
137
|
+
* @param {string} id
|
|
138
|
+
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* await client.shipperContactInfo.getById("id")
|
|
144
|
+
*/
|
|
145
|
+
getById(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContactInfo1>;
|
|
146
|
+
private __getById;
|
|
147
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
148
|
+
}
|