@chrt-inc/typescript-sdk 0.0.170 → 0.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/cjs/Client.d.ts +42 -54
- package/dist/cjs/Client.js +56 -76
- 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 +55 -0
- package/dist/cjs/api/resources/connections/client/Client.js +170 -0
- package/dist/cjs/api/resources/connections/index.d.ts +2 -0
- package/dist/cjs/api/resources/connections/index.js +18 -0
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/client/Client.js +20 -18
- package/dist/cjs/api/resources/connections/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/connections/resources/index.js +41 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +96 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup}/client/Client.js +47 -185
- package/dist/{esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.mts → cjs/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.ts → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/index.d.ts +2 -0
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/index.js +18 -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/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.d.ts +1 -1
- 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/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.d.ts +22 -18
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.js +28 -24
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +124 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → courierPayDriverRateSheets}/client/Client.js +90 -77
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/dev/client/Client.d.ts +13 -3
- package/dist/cjs/api/resources/dev/client/Client.js +14 -4
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +154 -0
- package/dist/cjs/api/resources/{oortDrivers → drivers}/client/Client.js +141 -134
- package/dist/cjs/api/resources/index.d.ts +26 -37
- package/dist/cjs/api/resources/index.js +27 -38
- 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/{directory → milestones/resources/blurhash}/client/Client.d.ts +12 -13
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +125 -0
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/client/Client.js +53 -43
- package/dist/cjs/api/resources/{oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts → 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 +26 -0
- package/dist/cjs/api/resources/notifications/client/Client.js +22 -0
- package/dist/cjs/api/resources/notifications/index.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/index.js +18 -0
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/courierPreferences}/client/Client.js +25 -25
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/notifications/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/notifications/resources/index.js +43 -0
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/shipper}/client/Client.js +25 -25
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.ts +85 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → offChrtShipperOrgConnectionInfo}/client/Client.js +82 -77
- package/dist/cjs/api/resources/orders/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/orders/client/Client.js +363 -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/{oortConnections → orders/resources/full}/client/Client.js +53 -54
- 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/{oortOffChrtShipperOrgConnectionInfo → orgConnectionInfos/resources/courier}/client/Client.js +49 -61
- 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/{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 +99 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/Client.js +43 -43
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgProfiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +48 -36
- package/dist/cjs/api/resources/orgs/client/Client.js +134 -83
- package/dist/cjs/api/resources/payments/client/Client.d.ts +3 -15
- package/dist/cjs/api/resources/payments/client/Client.js +3 -54
- package/dist/cjs/api/resources/root/client/Client.d.ts +19 -32
- package/dist/cjs/api/resources/root/client/Client.js +25 -115
- package/dist/cjs/api/resources/root/index.d.ts +0 -1
- package/dist/cjs/api/resources/root/index.js +0 -1
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +148 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/Client.js +73 -73
- 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/taskGroups/client/Client.d.ts +102 -0
- package/dist/cjs/api/resources/{oortMilestones → taskGroups}/client/Client.js +72 -143
- 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/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/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 +49 -0
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +132 -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/{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/api/resources/users/client/Client.d.ts +5 -3
- package/dist/cjs/api/resources/users/client/Client.js +6 -4
- package/dist/cjs/api/types/index.d.ts +0 -4
- package/dist/cjs/api/types/index.js +0 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +42 -54
- package/dist/esm/Client.mjs +48 -68
- 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 +55 -0
- package/dist/esm/api/resources/connections/client/Client.mjs +133 -0
- package/dist/esm/api/resources/connections/index.d.mts +2 -0
- package/dist/esm/api/resources/connections/index.mjs +2 -0
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/client/Client.mjs +18 -16
- package/dist/esm/api/resources/connections/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/connections/resources/index.mjs +2 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +96 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup}/client/Client.mjs +45 -183
- package/dist/{cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.ts → esm/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.d.mts} +1 -1
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.mts → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.d.mts} +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/index.d.mts +2 -0
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/index.mjs +2 -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/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.d.mts +1 -1
- 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/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.d.mts +22 -18
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/Client.mjs +26 -22
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +124 -0
- package/dist/esm/api/resources/{oortOrgConnectionInfos → courierPayDriverRateSheets}/client/Client.mjs +88 -75
- package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/dev/client/Client.d.mts +13 -3
- package/dist/esm/api/resources/dev/client/Client.mjs +14 -4
- package/dist/esm/api/resources/drivers/client/Client.d.mts +154 -0
- package/dist/esm/api/resources/{oortDrivers → drivers}/client/Client.mjs +139 -132
- package/dist/esm/api/resources/index.d.mts +26 -37
- package/dist/esm/api/resources/index.mjs +26 -37
- 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/{directory → milestones/resources/blurhash}/client/Client.d.mts +12 -13
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +88 -0
- package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/client/Client.mjs +51 -41
- package/dist/esm/api/resources/{oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.mts → 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/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 +26 -0
- package/dist/esm/api/resources/notifications/client/Client.mjs +18 -0
- package/dist/esm/api/resources/notifications/client/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/index.d.mts +2 -0
- package/dist/esm/api/resources/notifications/index.mjs +2 -0
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/Client.mjs +23 -23
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/notifications/resources/index.mjs +4 -0
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/Client.mjs +23 -23
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/notifications/resources/shipper/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.mts +85 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRate → offChrtShipperOrgConnectionInfo}/client/Client.mjs +80 -75
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/orders/client/Client.mjs +326 -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/{oortConnections → orders/resources/full}/client/Client.mjs +51 -52
- 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/{oortOffChrtShipperOrgConnectionInfo → orgConnectionInfos/resources/courier}/client/Client.mjs +47 -59
- 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/{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 +99 -0
- package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/Client.mjs +41 -41
- package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orgProfiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +48 -36
- package/dist/esm/api/resources/orgs/client/Client.mjs +134 -83
- package/dist/esm/api/resources/payments/client/Client.d.mts +3 -15
- package/dist/esm/api/resources/payments/client/Client.mjs +3 -54
- package/dist/esm/api/resources/root/client/Client.d.mts +19 -32
- package/dist/esm/api/resources/root/client/Client.mjs +25 -115
- package/dist/esm/api/resources/root/index.d.mts +0 -1
- package/dist/esm/api/resources/root/index.mjs +0 -1
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +148 -0
- package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/Client.mjs +71 -71
- 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/taskGroups/client/Client.d.mts +102 -0
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +323 -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/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/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 +49 -0
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +95 -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/{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/api/resources/users/client/Client.d.mts +5 -3
- package/dist/esm/api/resources/users/client/Client.mjs +6 -4
- package/dist/esm/api/types/index.d.mts +0 -4
- package/dist/esm/api/types/index.mjs +0 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1098 -1210
- package/dist/cjs/api/resources/directory/client/requests/DbQueryParams.d.ts +0 -12
- package/dist/cjs/api/resources/directory/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/mirror/client/Client.d.ts +0 -138
- package/dist/cjs/api/resources/mirror/client/Client.js +0 -658
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.d.ts +0 -57
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.d.ts +0 -57
- package/dist/cjs/api/resources/oortConnections/client/Client.d.ts +0 -63
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.ts +0 -136
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.ts +0 -12
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.js +0 -5
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.ts +0 -12
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.js +0 -5
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.ts +0 -6
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.d.ts +0 -94
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +0 -72
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.ts +0 -1
- 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/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js +0 -5
- package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.ts +0 -75
- 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/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts +0 -12
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.js +0 -5
- 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/cjs/api/resources/root/types/PydanticResponse.d.ts +0 -8
- package/dist/cjs/api/resources/root/types/PydanticResponse.js +0 -5
- package/dist/cjs/api/resources/root/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/root/types/index.js +0 -17
- package/dist/cjs/api/types/EmailReq.d.ts +0 -6
- package/dist/cjs/api/types/EmailReq.js +0 -5
- package/dist/cjs/api/types/EmailRes.d.ts +0 -7
- package/dist/cjs/api/types/EmailRes.js +0 -5
- package/dist/cjs/api/types/Shipper2.d.ts +0 -20
- package/dist/cjs/api/types/Shipper2.js +0 -5
- package/dist/cjs/api/types/StreetAddress1.d.ts +0 -18
- package/dist/cjs/api/types/StreetAddress1.js +0 -5
- package/dist/esm/api/resources/directory/client/requests/DbQueryParams.d.mts +0 -12
- package/dist/esm/api/resources/directory/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/mirror/client/Client.d.mts +0 -138
- package/dist/esm/api/resources/mirror/client/Client.mjs +0 -621
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.d.mts +0 -57
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.d.mts +0 -57
- package/dist/esm/api/resources/oortConnections/client/Client.d.mts +0 -63
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.mts +0 -136
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.mts +0 -12
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.mjs +0 -4
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.mts +0 -12
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.mjs +0 -4
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.mts +0 -6
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.d.mts +0 -94
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +0 -72
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.mts +0 -1
- 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/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.mjs +0 -4
- package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.mts +0 -75
- 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/oortOrgProfiles/client/requests/GetAvatarRequest.d.mts +0 -12
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.mjs +0 -4
- 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/esm/api/resources/root/types/PydanticResponse.d.mts +0 -8
- package/dist/esm/api/resources/root/types/PydanticResponse.mjs +0 -4
- package/dist/esm/api/resources/root/types/index.d.mts +0 -1
- package/dist/esm/api/resources/root/types/index.mjs +0 -1
- package/dist/esm/api/types/EmailReq.d.mts +0 -6
- package/dist/esm/api/types/EmailReq.mjs +0 -4
- package/dist/esm/api/types/EmailRes.d.mts +0 -7
- package/dist/esm/api/types/EmailRes.mjs +0 -4
- package/dist/esm/api/types/Shipper2.d.mts +0 -20
- package/dist/esm/api/types/Shipper2.mjs +0 -4
- package/dist/esm/api/types/StreetAddress1.d.mts +0 -18
- package/dist/esm/api/types/StreetAddress1.mjs +0 -4
- package/dist/cjs/api/resources/{mirror → connections}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{directory/client/requests → connections/client}/index.js +0 -0
- package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.d.ts +0 -0
- package/dist/cjs/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.js +0 -0
- package/dist/cjs/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/index.d.ts +0 -0
- package/dist/cjs/api/resources/{mirror/client → connections/resources/connectionToCourier/client/requests}/index.js +0 -0
- package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{directory → connections/resources/connectionToCourier}/index.js +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.js +0 -0
- package/dist/cjs/api/resources/{directory/client/requests/DbQueryParams.js → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.js} +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.js} +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.js +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.js +0 -0
- package/dist/cjs/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.js +0 -0
- package/dist/cjs/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → 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/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortConnections → courierPayDriverRateSheets}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortConnections → courierPayDriverRateSheets}/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → drivers}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → 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 → 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 → 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 → 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/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.js +0 -0
- package/dist/cjs/api/resources/{oortDrivers → drivers}/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → drivers}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → 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/{oortMilestoneNotificationPreferences → 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/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.js +0 -0
- package/dist/cjs/api/resources/{oortDrivers → milestones}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortDrivers → 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/{oortDrivers → milestones}/client/requests/index.js +0 -0
- package/dist/{esm/api/resources/directory/client/requests/index.mjs → cjs/api/resources/milestones/resources/blurhash/client/index.d.ts} +0 -0
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences/client/requests → milestones/resources/blurhash/client}/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.js +0 -0
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.js +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.js → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.js} +0 -0
- package/dist/cjs/api/resources/{oortMilestones → milestones/resources/images}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.js +0 -0
- package/dist/{esm/api/resources/mirror/client/index.d.mts → cjs/api/resources/notifications/client/index.d.ts} +0 -0
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo/client/requests → notifications/client}/index.js +0 -0
- package/dist/cjs/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.js → notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js} +0 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrders → notifications/resources/courierPreferences}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.js +0 -0
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.js → notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.js} +0 -0
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → notifications/resources/shipper}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.js +0 -0
- package/dist/cjs/api/resources/{oortOrders → offChrtShipperOrgConnectionInfo}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrders → 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/{oortOffChrtShipperOrgConnectionInfo → 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/{oortOffChrtShipperOrgConnectionInfo → 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/{oortOrgProfiles → offChrtShipperOrgConnectionInfo}/client/requests/index.js +0 -0
- package/dist/cjs/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.js +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orders}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → 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/{oortOrders → 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/{oortShipperContactInfo → orders}/client/requests/index.js +0 -0
- package/dist/{esm/api/resources/mirror/client/index.mjs → cjs/api/resources/orders/resources/full/client/index.d.ts} +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups/client/requests → orders/resources/full/client}/index.js +0 -0
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.js +0 -0
- package/dist/{esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.mjs → cjs/api/resources/orgConnectionInfos/client/index.d.ts} +0 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.js +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.js +0 -0
- package/dist/cjs/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.js +0 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.js +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.js +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.js +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → orgProfiles}/client/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → orgProfiles}/client/index.js +0 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → 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/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.js +0 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortOrgProfiles → orgProfiles}/index.js +0 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.d.ts +0 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → 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/{oortShipperContactInfo → shipperContactInfo}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortShipperContactInfo → shipperContactInfo}/index.js +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.d.ts +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.js +0 -0
- package/dist/{esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.mjs → cjs/api/resources/taskGroups/resources/full/client/index.d.ts} +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.d.ts +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.js +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.d.ts +0 -0
- package/dist/cjs/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.js +0 -0
- package/dist/esm/api/resources/{oortConnections/client/requests/index.mjs → connections/client/index.d.mts} +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests → connections/client}/index.mjs +0 -0
- package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/client/index.mjs +0 -0
- package/dist/esm/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.d.mts +0 -0
- package/dist/esm/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/CreateConnectionReq.mjs +0 -0
- package/dist/esm/api/resources/{oortConnections → connections/resources/connectionToCourier}/client/requests/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → connections/resources/connectionToCourier}/client/requests/index.mjs +0 -0
- package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/index.d.mts +0 -0
- package/dist/esm/api/resources/{directory → connections/resources/connectionToCourier}/index.mjs +0 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup}/client/index.mjs +0 -0
- package/dist/esm/api/resources/{directory/client/requests/DbQueryParams.mjs → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.mjs} +0 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs → courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.mjs} +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverLineItemGroup}/client/requests/index.mjs +0 -0
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverLineItemGroup/resources/addLineItems}/client/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/AddLineItemsReq.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → courierPayDriverLineItemGroup/resources/addLineItems}/client/requests/index.mjs +0 -0
- package/dist/esm/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.d.mts +0 -0
- package/dist/esm/api/resources/{mirror → courierPayDriverLineItemGroup/resources/addLineItems}/index.mjs +0 -0
- package/dist/esm/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortConnections → courierPayDriverLineItemGroup/resources/removeLineItems}/client/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/RemoveLineItemsReq.mjs +0 -0
- package/dist/esm/api/resources/{oortDrivers → courierPayDriverLineItemGroup/resources/removeLineItems}/client/requests/index.mjs +0 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.d.mts +0 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → courierPayDriverLineItemGroup/resources/removeLineItems}/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → courierPayDriverPayouts}/client/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/CourierPayDriverPayoutClientCreate1.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverPayouts}/client/requests/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → courierPayDriverPayouts}/client/requests/index.mjs +0 -0
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.d.mts +0 -0
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → courierPayDriverPayouts}/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → courierPayDriverRateSheets}/client/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRate → courierPayDriverRateSheets}/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRate → 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/{oortMilestones → courierPayDriverRateSheets}/client/requests/index.mjs +0 -0
- package/dist/esm/api/resources/{oortConnections → courierPayDriverRateSheets}/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortConnections → courierPayDriverRateSheets}/index.mjs +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRate → drivers}/client/index.d.mts +0 -0
- package/dist/esm/api/resources/{oortCourierPayDriverRate → 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 → 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 → 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 → 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/{oortDrivers → drivers}/client/requests/UpdateDriverDetailsReq.mjs +0 -0
- package/dist/esm/api/resources/{oortDrivers → drivers}/client/requests/index.d.mts +1 -1
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → drivers}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → drivers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestoneNotifications}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → 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/{oortMilestoneNotificationPreferences → 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/{oortOrders → milestoneNotifications}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → milestoneNotifications}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortDrivers → milestones}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers → 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/{oortOrgConnectionInfos → milestones}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles/client/requests/index.mjs → milestones/resources/blurhash/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo/client/requests → milestones/resources/blurhash/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRate → milestones/resources/blurhash}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → milestones/resources/images}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.mjs → milestones/resources/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.mjs} +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → milestones/resources/images}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets → milestones/resources/images}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones → notifications/resources/courierPreferences}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.mjs → notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → notifications/resources/courierPreferences}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortDrivers → notifications/resources/courierPreferences}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → notifications/resources/shipper}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.mjs → notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → notifications/resources/shipper}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → notifications/resources/shipper}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrders → offChrtShipperOrgConnectionInfo}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrders → 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/{oortOffChrtShipperOrgConnectionInfo → 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/{oortOffChrtShipperOrgConnectionInfo → 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/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortMilestones → offChrtShipperOrgConnectionInfo}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → 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/{oortOrders → 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/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOffChrtShipperOrgConnectionInfo → orders/resources/full}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgConnectionInfos/resources/courier}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientCreate1.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/courier}/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrders → orgConnectionInfos/resources/courier}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → orgConnectionInfos/resources/shipper}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgConnectionInfos → orgConnectionInfos/resources/shipper}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → orgProfiles}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → orgProfiles}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientCreate3.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → 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/{oortOrgProfiles → orgProfiles}/client/requests/CourierOrgProfileClientUpdate3.mjs +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortOrgProfiles → orgProfiles}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/client/requests/ShipperContactInfoClientUpdate1.d.mts +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → 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/{oortShipperContactInfo → shipperContactInfo}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortShipperContactInfo → shipperContactInfo}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups}/client/requests/UpdateTaskGroupReq.mjs +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/full}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.d.mts +0 -0
- /package/dist/esm/api/resources/{oortTaskGroups → taskGroups/resources/togglePause}/client/requests/SetTaskGroupPauseReq.mjs +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
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 Courier {
|
|
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 Courier {
|
|
29
|
+
protected readonly _options: Courier.Options;
|
|
30
|
+
constructor(_options?: Courier.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves courier organization connection information for the authenticated organization.
|
|
33
|
+
*
|
|
34
|
+
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* await client.orgConnectionInfos.courier.get()
|
|
38
|
+
*/
|
|
39
|
+
get(requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<Chrt.CourierOrgConnectionInfo1>;
|
|
40
|
+
private __get;
|
|
41
|
+
/**
|
|
42
|
+
* Creates courier organization connection information. Fails if already exists.
|
|
43
|
+
*
|
|
44
|
+
* @param {Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientCreate1} request
|
|
45
|
+
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* await client.orgConnectionInfos.courier.create({
|
|
51
|
+
* schema_version: 1,
|
|
52
|
+
* email_address_primary: "email_address_primary"
|
|
53
|
+
* })
|
|
54
|
+
*/
|
|
55
|
+
create(request: Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientCreate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<string>;
|
|
56
|
+
private __create;
|
|
57
|
+
/**
|
|
58
|
+
* Updates existing courier organization connection information.
|
|
59
|
+
*
|
|
60
|
+
* @param {Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientUpdate1} request
|
|
61
|
+
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.orgConnectionInfos.courier.update()
|
|
67
|
+
*/
|
|
68
|
+
update(request?: Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientUpdate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
69
|
+
private __update;
|
|
70
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
71
|
+
}
|
|
@@ -10,42 +10,33 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
|
-
import * as environments from "
|
|
14
|
-
import * as core from "
|
|
15
|
-
import * as Chrt from "
|
|
16
|
-
import { mergeHeaders, mergeOnlyDefinedHeaders } from "
|
|
17
|
-
import * as errors from "
|
|
18
|
-
export class
|
|
13
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
14
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
15
|
+
import * as Chrt from "../../../../../index.mjs";
|
|
16
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
|
|
17
|
+
import * as errors from "../../../../../../errors/index.mjs";
|
|
18
|
+
export class Courier {
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Retrieves courier organization connection information for the authenticated organization.
|
|
24
24
|
*
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {OortOffChrtShipperOrgConnectionInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
-
*
|
|
28
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
25
|
+
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
26
|
*
|
|
30
27
|
* @example
|
|
31
|
-
* await client.
|
|
32
|
-
* schema_version: 1,
|
|
33
|
-
* email_address_primary: "email_address_primary"
|
|
34
|
-
* })
|
|
28
|
+
* await client.orgConnectionInfos.courier.get()
|
|
35
29
|
*/
|
|
36
|
-
|
|
37
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
30
|
+
get(requestOptions) {
|
|
31
|
+
return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
|
|
38
32
|
}
|
|
39
|
-
|
|
33
|
+
__get(requestOptions) {
|
|
40
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
35
|
var _a, _b, _c, _d;
|
|
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/
|
|
44
|
-
method: "
|
|
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_connection_infos/courier"),
|
|
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
|
-
contentType: "application/json",
|
|
47
|
-
requestType: "json",
|
|
48
|
-
body: request,
|
|
49
40
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
50
41
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
51
42
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -54,16 +45,11 @@ export class OortOffChrtShipperOrgConnectionInfo {
|
|
|
54
45
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
55
46
|
}
|
|
56
47
|
if (_response.error.reason === "status-code") {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
statusCode: _response.error.statusCode,
|
|
63
|
-
body: _response.error.body,
|
|
64
|
-
rawResponse: _response.rawResponse,
|
|
65
|
-
});
|
|
66
|
-
}
|
|
48
|
+
throw new errors.ChrtError({
|
|
49
|
+
statusCode: _response.error.statusCode,
|
|
50
|
+
body: _response.error.body,
|
|
51
|
+
rawResponse: _response.rawResponse,
|
|
52
|
+
});
|
|
67
53
|
}
|
|
68
54
|
switch (_response.error.reason) {
|
|
69
55
|
case "non-json":
|
|
@@ -73,7 +59,7 @@ export class OortOffChrtShipperOrgConnectionInfo {
|
|
|
73
59
|
rawResponse: _response.rawResponse,
|
|
74
60
|
});
|
|
75
61
|
case "timeout":
|
|
76
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
62
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_connection_infos/courier.");
|
|
77
63
|
case "unknown":
|
|
78
64
|
throw new errors.ChrtError({
|
|
79
65
|
message: _response.error.errorMessage,
|
|
@@ -83,35 +69,38 @@ export class OortOffChrtShipperOrgConnectionInfo {
|
|
|
83
69
|
});
|
|
84
70
|
}
|
|
85
71
|
/**
|
|
86
|
-
*
|
|
72
|
+
* Creates courier organization connection information. Fails if already exists.
|
|
87
73
|
*
|
|
88
|
-
* @param {
|
|
89
|
-
* @param {
|
|
74
|
+
* @param {Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientCreate1} request
|
|
75
|
+
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
76
|
*
|
|
91
77
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
92
78
|
*
|
|
93
79
|
* @example
|
|
94
|
-
* await client.
|
|
80
|
+
* await client.orgConnectionInfos.courier.create({
|
|
81
|
+
* schema_version: 1,
|
|
82
|
+
* email_address_primary: "email_address_primary"
|
|
83
|
+
* })
|
|
95
84
|
*/
|
|
96
|
-
|
|
97
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
85
|
+
create(request, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
98
87
|
}
|
|
99
|
-
|
|
88
|
+
__create(request, requestOptions) {
|
|
100
89
|
return __awaiter(this, void 0, void 0, function* () {
|
|
101
90
|
var _a, _b, _c, _d;
|
|
102
91
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
103
|
-
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,
|
|
104
|
-
method: "
|
|
92
|
+
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_connection_infos/courier/create"),
|
|
93
|
+
method: "POST",
|
|
105
94
|
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),
|
|
95
|
+
contentType: "application/json",
|
|
96
|
+
requestType: "json",
|
|
97
|
+
body: request,
|
|
106
98
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
107
99
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
108
100
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
109
101
|
});
|
|
110
102
|
if (_response.ok) {
|
|
111
|
-
return {
|
|
112
|
-
data: _response.body,
|
|
113
|
-
rawResponse: _response.rawResponse,
|
|
114
|
-
};
|
|
103
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
115
104
|
}
|
|
116
105
|
if (_response.error.reason === "status-code") {
|
|
117
106
|
switch (_response.error.statusCode) {
|
|
@@ -133,7 +122,7 @@ export class OortOffChrtShipperOrgConnectionInfo {
|
|
|
133
122
|
rawResponse: _response.rawResponse,
|
|
134
123
|
});
|
|
135
124
|
case "timeout":
|
|
136
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
125
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_connection_infos/courier/create.");
|
|
137
126
|
case "unknown":
|
|
138
127
|
throw new errors.ChrtError({
|
|
139
128
|
message: _response.error.errorMessage,
|
|
@@ -143,25 +132,24 @@ export class OortOffChrtShipperOrgConnectionInfo {
|
|
|
143
132
|
});
|
|
144
133
|
}
|
|
145
134
|
/**
|
|
146
|
-
*
|
|
135
|
+
* Updates existing courier organization connection information.
|
|
147
136
|
*
|
|
148
|
-
* @param {
|
|
149
|
-
* @param {
|
|
150
|
-
* @param {OortOffChrtShipperOrgConnectionInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
|
+
* @param {Chrt.orgConnectionInfos.CourierOrgConnectionInfoClientUpdate1} request
|
|
138
|
+
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
151
139
|
*
|
|
152
140
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
153
141
|
*
|
|
154
142
|
* @example
|
|
155
|
-
* await client.
|
|
143
|
+
* await client.orgConnectionInfos.courier.update()
|
|
156
144
|
*/
|
|
157
|
-
|
|
158
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
145
|
+
update(request = {}, requestOptions) {
|
|
146
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
159
147
|
}
|
|
160
|
-
|
|
161
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
148
|
+
__update() {
|
|
149
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
162
150
|
var _a, _b, _c, _d;
|
|
163
151
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
164
|
-
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,
|
|
152
|
+
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_connection_infos/courier/update"),
|
|
165
153
|
method: "PATCH",
|
|
166
154
|
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),
|
|
167
155
|
contentType: "application/json",
|
|
@@ -194,7 +182,7 @@ export class OortOffChrtShipperOrgConnectionInfo {
|
|
|
194
182
|
rawResponse: _response.rawResponse,
|
|
195
183
|
});
|
|
196
184
|
case "timeout":
|
|
197
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/
|
|
185
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_connection_infos/courier/update.");
|
|
198
186
|
case "unknown":
|
|
199
187
|
throw new errors.ChrtError({
|
|
200
188
|
message: _response.error.errorMessage,
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export { type ShipperOrgConnectionInfoClientCreate1 } from "./ShipperOrgConnectionInfoClientCreate1.mjs";
|
|
2
|
-
export { type ShipperOrgConnectionInfoClientUpdate1 } from "./ShipperOrgConnectionInfoClientUpdate1.mjs";
|
|
3
1
|
export { type CourierOrgConnectionInfoClientCreate1 } from "./CourierOrgConnectionInfoClientCreate1.mjs";
|
|
4
2
|
export { type CourierOrgConnectionInfoClientUpdate1 } from "./CourierOrgConnectionInfoClientUpdate1.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,71 @@
|
|
|
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 Shipper {
|
|
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 Shipper {
|
|
29
|
+
protected readonly _options: Shipper.Options;
|
|
30
|
+
constructor(_options?: Shipper.Options);
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves shipper organization connection information for the authenticated organization.
|
|
33
|
+
*
|
|
34
|
+
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* await client.orgConnectionInfos.shipper.get()
|
|
38
|
+
*/
|
|
39
|
+
get(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperOrgConnectionInfo1>;
|
|
40
|
+
private __get;
|
|
41
|
+
/**
|
|
42
|
+
* Creates shipper organization connection information. Fails if already exists.
|
|
43
|
+
*
|
|
44
|
+
* @param {Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientCreate1} request
|
|
45
|
+
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* await client.orgConnectionInfos.shipper.create({
|
|
51
|
+
* schema_version: 1,
|
|
52
|
+
* email_address_primary: "email_address_primary"
|
|
53
|
+
* })
|
|
54
|
+
*/
|
|
55
|
+
create(request: Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
|
|
56
|
+
private __create;
|
|
57
|
+
/**
|
|
58
|
+
* Updates existing shipper organization connection information.
|
|
59
|
+
*
|
|
60
|
+
* @param {Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientUpdate1} request
|
|
61
|
+
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.orgConnectionInfos.shipper.update()
|
|
67
|
+
*/
|
|
68
|
+
update(request?: Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientUpdate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
69
|
+
private __update;
|
|
70
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
14
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
15
|
+
import * as Chrt from "../../../../../index.mjs";
|
|
16
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
|
|
17
|
+
import * as errors from "../../../../../../errors/index.mjs";
|
|
18
|
+
export class Shipper {
|
|
19
|
+
constructor(_options = {}) {
|
|
20
|
+
this._options = _options;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves shipper organization connection information for the authenticated organization.
|
|
24
|
+
*
|
|
25
|
+
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* await client.orgConnectionInfos.shipper.get()
|
|
29
|
+
*/
|
|
30
|
+
get(requestOptions) {
|
|
31
|
+
return core.HttpResponsePromise.fromPromise(this.__get(requestOptions));
|
|
32
|
+
}
|
|
33
|
+
__get(requestOptions) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
var _a, _b, _c, _d;
|
|
36
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
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_connection_infos/shipper"),
|
|
38
|
+
method: "GET",
|
|
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),
|
|
40
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
41
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
42
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
43
|
+
});
|
|
44
|
+
if (_response.ok) {
|
|
45
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
46
|
+
}
|
|
47
|
+
if (_response.error.reason === "status-code") {
|
|
48
|
+
throw new errors.ChrtError({
|
|
49
|
+
statusCode: _response.error.statusCode,
|
|
50
|
+
body: _response.error.body,
|
|
51
|
+
rawResponse: _response.rawResponse,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
switch (_response.error.reason) {
|
|
55
|
+
case "non-json":
|
|
56
|
+
throw new errors.ChrtError({
|
|
57
|
+
statusCode: _response.error.statusCode,
|
|
58
|
+
body: _response.error.rawBody,
|
|
59
|
+
rawResponse: _response.rawResponse,
|
|
60
|
+
});
|
|
61
|
+
case "timeout":
|
|
62
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_connection_infos/shipper.");
|
|
63
|
+
case "unknown":
|
|
64
|
+
throw new errors.ChrtError({
|
|
65
|
+
message: _response.error.errorMessage,
|
|
66
|
+
rawResponse: _response.rawResponse,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Creates shipper organization connection information. Fails if already exists.
|
|
73
|
+
*
|
|
74
|
+
* @param {Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientCreate1} request
|
|
75
|
+
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* await client.orgConnectionInfos.shipper.create({
|
|
81
|
+
* schema_version: 1,
|
|
82
|
+
* email_address_primary: "email_address_primary"
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
create(request, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
87
|
+
}
|
|
88
|
+
__create(request, requestOptions) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
var _a, _b, _c, _d;
|
|
91
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
92
|
+
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_connection_infos/shipper/create"),
|
|
93
|
+
method: "POST",
|
|
94
|
+
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),
|
|
95
|
+
contentType: "application/json",
|
|
96
|
+
requestType: "json",
|
|
97
|
+
body: request,
|
|
98
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
99
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
100
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
101
|
+
});
|
|
102
|
+
if (_response.ok) {
|
|
103
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
104
|
+
}
|
|
105
|
+
if (_response.error.reason === "status-code") {
|
|
106
|
+
switch (_response.error.statusCode) {
|
|
107
|
+
case 422:
|
|
108
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
109
|
+
default:
|
|
110
|
+
throw new errors.ChrtError({
|
|
111
|
+
statusCode: _response.error.statusCode,
|
|
112
|
+
body: _response.error.body,
|
|
113
|
+
rawResponse: _response.rawResponse,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
switch (_response.error.reason) {
|
|
118
|
+
case "non-json":
|
|
119
|
+
throw new errors.ChrtError({
|
|
120
|
+
statusCode: _response.error.statusCode,
|
|
121
|
+
body: _response.error.rawBody,
|
|
122
|
+
rawResponse: _response.rawResponse,
|
|
123
|
+
});
|
|
124
|
+
case "timeout":
|
|
125
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_connection_infos/shipper/create.");
|
|
126
|
+
case "unknown":
|
|
127
|
+
throw new errors.ChrtError({
|
|
128
|
+
message: _response.error.errorMessage,
|
|
129
|
+
rawResponse: _response.rawResponse,
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Updates existing shipper organization connection information.
|
|
136
|
+
*
|
|
137
|
+
* @param {Chrt.orgConnectionInfos.ShipperOrgConnectionInfoClientUpdate1} request
|
|
138
|
+
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* await client.orgConnectionInfos.shipper.update()
|
|
144
|
+
*/
|
|
145
|
+
update(request = {}, requestOptions) {
|
|
146
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
147
|
+
}
|
|
148
|
+
__update() {
|
|
149
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
150
|
+
var _a, _b, _c, _d;
|
|
151
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
152
|
+
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_connection_infos/shipper/update"),
|
|
153
|
+
method: "PATCH",
|
|
154
|
+
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),
|
|
155
|
+
contentType: "application/json",
|
|
156
|
+
requestType: "json",
|
|
157
|
+
body: request,
|
|
158
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
159
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
160
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
161
|
+
});
|
|
162
|
+
if (_response.ok) {
|
|
163
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
164
|
+
}
|
|
165
|
+
if (_response.error.reason === "status-code") {
|
|
166
|
+
switch (_response.error.statusCode) {
|
|
167
|
+
case 422:
|
|
168
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
169
|
+
default:
|
|
170
|
+
throw new errors.ChrtError({
|
|
171
|
+
statusCode: _response.error.statusCode,
|
|
172
|
+
body: _response.error.body,
|
|
173
|
+
rawResponse: _response.rawResponse,
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
switch (_response.error.reason) {
|
|
178
|
+
case "non-json":
|
|
179
|
+
throw new errors.ChrtError({
|
|
180
|
+
statusCode: _response.error.statusCode,
|
|
181
|
+
body: _response.error.rawBody,
|
|
182
|
+
rawResponse: _response.rawResponse,
|
|
183
|
+
});
|
|
184
|
+
case "timeout":
|
|
185
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_connection_infos/shipper/update.");
|
|
186
|
+
case "unknown":
|
|
187
|
+
throw new errors.ChrtError({
|
|
188
|
+
message: _response.error.errorMessage,
|
|
189
|
+
rawResponse: _response.rawResponse,
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
_getAuthorizationHeader() {
|
|
195
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
196
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
197
|
+
if (bearer != null) {
|
|
198
|
+
return `Bearer ${bearer}`;
|
|
199
|
+
}
|
|
200
|
+
return undefined;
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|