@chrt-inc/typescript-sdk 0.0.170 → 0.1.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.d.ts +24 -36
- package/dist/cjs/Client.js +50 -70
- package/dist/cjs/api/resources/index.d.ts +14 -24
- package/dist/cjs/api/resources/index.js +15 -25
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → messages}/client/Client.d.ts +22 -14
- package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → messages}/client/Client.js +42 -23
- package/dist/cjs/api/resources/messages/client/requests/ShipperToCourierCreate1.d.ts +27 -0
- package/dist/cjs/api/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/mirror/client/Client.d.ts +0 -27
- package/dist/cjs/api/resources/mirror/client/Client.js +0 -121
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.d.ts +12 -42
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.js +36 -79
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.js +0 -15
- package/dist/cjs/api/resources/oortDrivers/client/Client.d.ts +4 -17
- package/dist/cjs/api/resources/oortDrivers/client/Client.js +3 -60
- package/dist/cjs/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -2
- package/dist/cjs/api/resources/oortDrivers/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/{oortConnections → oortHandles}/client/Client.d.ts +25 -18
- package/dist/cjs/api/resources/{oortConnections → oortHandles}/client/Client.js +44 -32
- package/dist/cjs/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → oortHandles/client/requests/HandlesReq.d.ts} +1 -1
- package/dist/cjs/api/resources/oortHandles/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortMilestones/client/Client.d.ts +0 -31
- package/dist/cjs/api/resources/oortMilestones/client/Client.js +0 -122
- package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortOrders/client/Client.d.ts +1 -22
- package/dist/cjs/api/resources/oortOrders/client/Client.js +1 -105
- package/dist/cjs/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +0 -2
- package/dist/cjs/api/resources/oortOrgProfiles/client/Client.d.ts +14 -42
- package/dist/cjs/api/resources/oortOrgProfiles/client/Client.js +34 -157
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +5 -4
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortRateSheets/client/Client.d.ts +70 -0
- package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → oortRateSheets}/client/Client.js +57 -44
- package/dist/cjs/api/resources/{oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts → oortRateSheets/client/requests/RateSheetClientCreate1.d.ts} +7 -8
- package/dist/cjs/api/resources/oortRateSheets/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortRoutes/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/Client.js +130 -142
- package/dist/cjs/api/resources/oortRoutes/client/requests/GetOortRoutesByIdRequest.d.ts +29 -0
- package/dist/{esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts → cjs/api/resources/oortRoutes/client/requests/RouteCreateReq.d.ts} +3 -3
- package/dist/cjs/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts → oortRoutes/client/requests/UpdateRouteReq.d.ts} +5 -3
- package/dist/cjs/api/resources/oortRoutes/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/oortShippers/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → oortShippers}/client/Client.js +24 -41
- package/dist/cjs/api/resources/oortTaskGroups/client/Client.d.ts +6 -60
- package/dist/cjs/api/resources/oortTaskGroups/client/Client.js +2 -238
- package/dist/cjs/api/resources/oortTaskGroups/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortTaskGroups/client/index.js +0 -15
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -57
- package/dist/cjs/api/resources/orgs/client/Client.js +2 -230
- package/dist/{esm/api/resources/oortConnections/client/requests/CreateConnectionReq.d.mts → cjs/api/resources/orgs/client/requests/PostOrgPublicDataReq.d.ts} +1 -1
- package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +1 -2
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → profiles}/client/Client.js +52 -37
- package/dist/cjs/api/resources/profiles/client/requests/CourierProfileCreate2.d.ts +32 -0
- package/dist/cjs/api/resources/profiles/client/requests/GetCourierProfileRequest.d.ts +12 -0
- package/dist/cjs/api/resources/profiles/client/requests/GetHandleIsAvailableRequest.d.ts +15 -0
- package/dist/cjs/api/resources/profiles/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/profiles/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/index.js +18 -0
- package/dist/cjs/api/resources/profiles/types/Type.d.ts +8 -0
- package/dist/cjs/api/resources/profiles/types/Type.js +10 -0
- package/dist/cjs/api/resources/profiles/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/types/index.js +17 -0
- package/dist/cjs/api/resources/root/types/PydanticResponse.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
- package/dist/{esm/api/types/Vehicle1.d.mts → cjs/api/types/AppModelsDbOortVehicle1Vehicle1.d.ts} +1 -1
- package/dist/cjs/api/types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.d.ts +10 -0
- package/dist/cjs/api/types/CourierAvailabilityEnum.d.ts +9 -0
- package/dist/cjs/api/types/CourierAvailabilityEnum.js +11 -0
- package/dist/cjs/api/types/{MultipleTaskGroupsDetailsResponse.d.ts → CourierCity.d.ts} +4 -2
- package/dist/cjs/api/types/{CourierOrgConnectionInfo1.d.ts → CourierOrgInfo1.d.ts} +2 -1
- package/dist/cjs/api/types/CourierOrgProfile3.d.ts +1 -2
- package/dist/cjs/api/types/CourierProfile2.d.ts +28 -0
- package/dist/cjs/api/types/{MultipleTaskGroupsWithTasks.d.ts → CourierProfileRes2.d.ts} +3 -2
- package/dist/cjs/api/types/CourierServiceEnum.d.ts +20 -0
- package/dist/cjs/api/types/CourierServiceEnum.js +22 -0
- package/dist/cjs/api/types/CourierState.d.ts +8 -0
- package/dist/cjs/api/types/Driver1.d.ts +4 -6
- package/dist/cjs/api/types/EmailAddress1.d.ts +8 -0
- package/dist/cjs/api/types/{TaskGroupWithDetails.d.ts → GetTaskGroupWithFullTaskInfoRes.d.ts} +2 -2
- package/dist/cjs/api/types/{TaskGroupWithTasks.d.ts → GetTaskGroupWithTasksRes.d.ts} +1 -1
- package/dist/cjs/api/types/GetTaskGroupsWithFullTaskInfoListRes.d.ts +7 -0
- package/dist/cjs/api/types/GetTaskGroupsWithTasksListRes.d.ts +7 -0
- package/dist/cjs/api/types/{TaskGroupDetailsResponse.d.ts → GetTaskInfoListRes.d.ts} +2 -2
- package/dist/cjs/api/types/IndustryEnum.d.ts +21 -0
- package/dist/cjs/api/types/IndustryEnum.js +23 -0
- package/dist/cjs/api/types/Milestone1.d.ts +1 -5
- package/dist/cjs/api/types/MilestoneTypeEnum1.d.ts +2 -3
- package/dist/cjs/api/types/MilestoneTypeEnum1.js +1 -2
- package/dist/cjs/api/types/Order1.d.ts +1 -4
- package/dist/cjs/api/types/OrgPublicData2.d.ts +0 -1
- package/dist/cjs/api/types/PhoneNumber1.d.ts +8 -0
- package/dist/cjs/api/types/{CourierPayDriverRateSheet1.d.ts → RateSheet1.d.ts} +7 -7
- package/dist/cjs/api/types/Route1.d.ts +13 -0
- package/dist/cjs/api/types/RouteByIdEnum.d.ts +8 -0
- package/dist/cjs/api/types/RouteByIdEnum.js +10 -0
- package/dist/cjs/api/types/RouteDetailRes.d.ts +9 -0
- package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfo1.d.ts} +2 -1
- package/dist/cjs/api/types/ShipperToCourier1.d.ts +16 -0
- package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.d.ts → ShipperUserInfo1.d.ts} +3 -3
- package/dist/cjs/api/types/SocialLinks.d.ts +8 -0
- package/dist/cjs/api/types/Task1.d.ts +4 -4
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +3 -3
- package/dist/cjs/api/types/TaskCreateBundle.d.ts +0 -2
- package/dist/cjs/api/types/TaskDetailRes.d.ts +9 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +1 -7
- package/dist/cjs/api/types/TaskGroupDetailRes.d.ts +8 -0
- package/dist/cjs/api/types/{TaskWithDetails.d.ts → TaskInfo.d.ts} +1 -1
- package/dist/cjs/api/types/{UpdateTaskGroupRes.d.ts → UpdateRouteRes.d.ts} +1 -1
- package/dist/cjs/api/types/UsStatesEnum.d.ts +58 -0
- package/dist/cjs/api/types/UsStatesEnum.js +60 -0
- package/dist/cjs/api/types/{UserPublicData6.d.ts → UserPublicData5.d.ts} +2 -1
- package/dist/cjs/api/types/Vehicle1Input.d.ts +10 -0
- package/dist/cjs/api/types/VehicleRate1.d.ts +9 -0
- package/dist/cjs/api/types/index.d.ts +33 -28
- package/dist/cjs/api/types/index.js +33 -28
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +24 -36
- package/dist/esm/Client.mjs +34 -54
- package/dist/esm/api/resources/index.d.mts +14 -24
- package/dist/esm/api/resources/index.mjs +14 -24
- package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → messages}/client/Client.d.mts +22 -14
- package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → messages}/client/Client.mjs +40 -21
- package/dist/esm/api/resources/messages/client/requests/ShipperToCourierCreate1.d.mts +27 -0
- package/dist/esm/api/resources/messages/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/mirror/client/Client.d.mts +0 -27
- package/dist/esm/api/resources/mirror/client/Client.mjs +0 -121
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.d.mts +12 -42
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.mjs +36 -79
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.d.mts +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.mjs +1 -1
- package/dist/esm/api/resources/oortDrivers/client/Client.d.mts +4 -17
- package/dist/esm/api/resources/oortDrivers/client/Client.mjs +3 -60
- package/dist/esm/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.mts +0 -2
- package/dist/esm/api/resources/oortDrivers/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/{oortConnections → oortHandles}/client/Client.d.mts +25 -18
- package/dist/esm/api/resources/{oortConnections → oortHandles}/client/Client.mjs +42 -30
- package/dist/esm/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.d.mts → oortHandles/client/requests/HandlesReq.d.mts} +1 -1
- package/dist/esm/api/resources/oortHandles/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortMilestones/client/Client.d.mts +0 -31
- package/dist/esm/api/resources/oortMilestones/client/Client.mjs +0 -122
- package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortOrders/client/Client.d.mts +1 -22
- package/dist/esm/api/resources/oortOrders/client/Client.mjs +1 -105
- package/dist/esm/api/resources/oortOrders/client/requests/CreateOrderReq.d.mts +0 -2
- package/dist/esm/api/resources/oortOrgProfiles/client/Client.d.mts +14 -42
- package/dist/esm/api/resources/oortOrgProfiles/client/Client.mjs +34 -157
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +5 -4
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/oortRateSheets/client/Client.d.mts +70 -0
- package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → oortRateSheets}/client/Client.mjs +55 -42
- package/dist/esm/api/resources/{oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts → oortRateSheets/client/requests/RateSheetClientCreate1.d.mts} +7 -8
- package/dist/esm/api/resources/oortRateSheets/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortRoutes/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/Client.mjs +128 -140
- package/dist/esm/api/resources/oortRoutes/client/requests/GetOortRoutesByIdRequest.d.mts +29 -0
- package/dist/{cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts → esm/api/resources/oortRoutes/client/requests/RouteCreateReq.d.mts} +3 -3
- package/dist/esm/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.d.mts → oortRoutes/client/requests/UpdateRouteReq.d.mts} +5 -3
- package/dist/esm/api/resources/oortRoutes/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/oortShippers/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → oortShippers}/client/Client.mjs +22 -39
- package/dist/esm/api/resources/oortTaskGroups/client/Client.d.mts +6 -60
- package/dist/esm/api/resources/oortTaskGroups/client/Client.mjs +2 -238
- package/dist/esm/api/resources/oortTaskGroups/client/index.d.mts +0 -1
- package/dist/esm/api/resources/oortTaskGroups/client/index.mjs +1 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -57
- package/dist/esm/api/resources/orgs/client/Client.mjs +2 -230
- package/dist/{cjs/api/resources/oortConnections/client/requests/CreateConnectionReq.d.ts → esm/api/resources/orgs/client/requests/PostOrgPublicDataReq.d.mts} +1 -1
- package/dist/esm/api/resources/orgs/client/requests/index.d.mts +1 -2
- package/dist/esm/api/resources/profiles/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/{oortCourierPayDriverPayouts → profiles}/client/Client.mjs +50 -35
- package/dist/esm/api/resources/profiles/client/requests/CourierProfileCreate2.d.mts +32 -0
- package/dist/esm/api/resources/profiles/client/requests/GetCourierProfileRequest.d.mts +12 -0
- package/dist/esm/api/resources/profiles/client/requests/GetHandleIsAvailableRequest.d.mts +15 -0
- package/dist/esm/api/resources/profiles/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/profiles/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/index.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/Type.d.mts +8 -0
- package/dist/{cjs/api/types/EmailReq.d.ts → esm/api/resources/profiles/types/Type.mjs} +4 -3
- package/dist/esm/api/resources/profiles/types/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/types/index.mjs +1 -0
- package/dist/esm/api/resources/root/types/PydanticResponse.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
- package/dist/{cjs/api/types/Vehicle1.d.ts → esm/api/types/AppModelsDbOortVehicle1Vehicle1.d.mts} +1 -1
- package/dist/esm/api/types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.d.mts +10 -0
- package/dist/esm/api/types/CourierAvailabilityEnum.d.mts +9 -0
- package/dist/esm/api/types/CourierAvailabilityEnum.mjs +8 -0
- package/dist/esm/api/types/CourierCity.d.mts +9 -0
- package/dist/esm/api/types/{CourierOrgConnectionInfo1.d.mts → CourierOrgInfo1.d.mts} +2 -1
- package/dist/esm/api/types/CourierOrgProfile3.d.mts +1 -2
- package/dist/esm/api/types/CourierProfile2.d.mts +28 -0
- package/dist/esm/api/types/{MultipleTaskGroupsWithTasks.d.mts → CourierProfileRes2.d.mts} +3 -2
- package/dist/esm/api/types/CourierServiceEnum.d.mts +20 -0
- package/dist/esm/api/types/CourierServiceEnum.mjs +19 -0
- package/dist/esm/api/types/CourierState.d.mts +8 -0
- package/dist/esm/api/types/Driver1.d.mts +4 -6
- package/dist/esm/api/types/EmailAddress1.d.mts +8 -0
- package/dist/esm/api/types/{TaskGroupWithDetails.d.mts → GetTaskGroupWithFullTaskInfoRes.d.mts} +2 -2
- package/dist/esm/api/types/{TaskGroupWithTasks.d.mts → GetTaskGroupWithTasksRes.d.mts} +1 -1
- package/dist/esm/api/types/GetTaskGroupsWithFullTaskInfoListRes.d.mts +7 -0
- package/dist/esm/api/types/GetTaskGroupsWithTasksListRes.d.mts +7 -0
- package/dist/esm/api/types/{TaskGroupDetailsResponse.d.mts → GetTaskInfoListRes.d.mts} +2 -2
- package/dist/esm/api/types/IndustryEnum.d.mts +21 -0
- package/dist/esm/api/types/IndustryEnum.mjs +20 -0
- package/dist/esm/api/types/Milestone1.d.mts +1 -5
- package/dist/esm/api/types/MilestoneTypeEnum1.d.mts +2 -3
- package/dist/esm/api/types/MilestoneTypeEnum1.mjs +1 -2
- package/dist/esm/api/types/Order1.d.mts +1 -4
- package/dist/esm/api/types/OrgPublicData2.d.mts +0 -1
- package/dist/esm/api/types/PhoneNumber1.d.mts +8 -0
- package/dist/esm/api/types/{CourierPayDriverRateSheet1.d.mts → RateSheet1.d.mts} +7 -7
- package/dist/esm/api/types/Route1.d.mts +13 -0
- package/dist/esm/api/types/RouteByIdEnum.d.mts +8 -0
- package/dist/esm/api/types/RouteByIdEnum.mjs +7 -0
- package/dist/esm/api/types/RouteDetailRes.d.mts +9 -0
- package/dist/esm/api/types/{ShipperOrgConnectionInfo1.d.mts → ShipperOrgInfo1.d.mts} +2 -1
- package/dist/esm/api/types/ShipperToCourier1.d.mts +16 -0
- package/dist/esm/api/types/{ShipperContactInfoClientCreate1.d.mts → ShipperUserInfo1.d.mts} +3 -3
- package/dist/esm/api/types/SocialLinks.d.mts +8 -0
- package/dist/esm/api/types/Task1.d.mts +4 -4
- package/dist/esm/api/types/TaskClientCreate1.d.mts +3 -3
- package/dist/esm/api/types/TaskCreateBundle.d.mts +0 -2
- package/dist/esm/api/types/TaskDetailRes.d.mts +9 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +1 -7
- package/dist/esm/api/types/{MultipleTaskGroupsDetailsResponse.d.mts → TaskGroupDetailRes.d.mts} +3 -2
- package/dist/esm/api/types/{TaskWithDetails.d.mts → TaskInfo.d.mts} +1 -1
- package/dist/esm/api/types/{UpdateTaskGroupRes.d.mts → UpdateRouteRes.d.mts} +1 -1
- package/dist/esm/api/types/UsStatesEnum.d.mts +58 -0
- package/dist/esm/api/types/UsStatesEnum.mjs +57 -0
- package/dist/esm/api/types/{UserPublicData6.d.mts → UserPublicData5.d.mts} +2 -1
- package/dist/esm/api/types/Vehicle1Input.d.mts +10 -0
- package/dist/esm/api/types/VehicleRate1.d.mts +9 -0
- package/dist/esm/api/types/index.d.mts +33 -28
- package/dist/esm/api/types/index.mjs +33 -28
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +604 -3034
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.d.ts +0 -57
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.d.ts +0 -57
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortConnections/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.ts +0 -136
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.ts +0 -19
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.ts +0 -18
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.ts +0 -18
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.ts +0 -12
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.ts +0 -12
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.ts +0 -19
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.ts +0 -6
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/Client.d.ts +0 -70
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -14
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +0 -72
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.js +0 -243
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.js +0 -17
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.js +0 -17
- package/dist/cjs/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.js +0 -17
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.js +0 -17
- package/dist/cjs/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.ts +0 -75
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js +0 -252
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.js +0 -17
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +0 -25
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.js +0 -17
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -110
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.js +0 -412
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.js +0 -17
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +0 -20
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/oortOrgConnectionInfos/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortOrgConnectionInfos/index.js +0 -17
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts +0 -12
- package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.d.ts +0 -148
- package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.js +0 -579
- package/dist/cjs/api/resources/oortShipperContactInfo/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortShipperContactInfo/client/index.js +0 -17
- package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +0 -21
- package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/oortShipperContactInfo/index.d.ts +0 -1
- package/dist/cjs/api/resources/oortShipperContactInfo/index.js +0 -17
- package/dist/cjs/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
- package/dist/cjs/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/oortTaskGroups/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
- package/dist/cjs/api/types/CourierNotificationEventEnum.d.ts +0 -7
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +0 -18
- package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +0 -14
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +0 -10
- package/dist/cjs/api/types/DriverStatusEnum.d.ts +0 -9
- package/dist/cjs/api/types/DriverStatusEnum.js +0 -11
- package/dist/cjs/api/types/EmailRes.d.ts +0 -7
- package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +0 -18
- package/dist/cjs/api/types/MultipleTaskGroupsWithTasks.js +0 -5
- package/dist/cjs/api/types/NotificationChannelEnum.d.ts +0 -13
- package/dist/cjs/api/types/NotificationChannelEnum.js +0 -12
- package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +0 -23
- package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.js +0 -5
- package/dist/cjs/api/types/OrderStatusEnum1.d.ts +0 -10
- package/dist/cjs/api/types/OrderStatusEnum1.js +0 -12
- package/dist/cjs/api/types/ShipperContactInfo1.d.ts +0 -28
- package/dist/cjs/api/types/ShipperContactInfo1.js +0 -5
- package/dist/cjs/api/types/ShipperContactInfoClientCreate1.js +0 -5
- package/dist/cjs/api/types/ShipperNotificationEventEnum.d.ts +0 -7
- package/dist/cjs/api/types/ShipperNotificationEventEnum.js +0 -5
- package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +0 -18
- package/dist/cjs/api/types/ShipperNotificationPreferences1.js +0 -5
- package/dist/cjs/api/types/ShipperOrgConnectionInfo1.js +0 -5
- package/dist/cjs/api/types/TaskGroupDetailsResponse.js +0 -5
- package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +0 -9
- package/dist/cjs/api/types/TaskGroupStatusEnum1.js +0 -11
- package/dist/cjs/api/types/TaskGroupWithDetails.js +0 -5
- package/dist/cjs/api/types/TaskGroupWithTasks.js +0 -5
- package/dist/cjs/api/types/TaskWithDetails.js +0 -5
- package/dist/cjs/api/types/UpdateTaskGroupRes.js +0 -5
- package/dist/cjs/api/types/UserPublicData6.js +0 -5
- package/dist/cjs/api/types/Vehicle1.js +0 -5
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.d.mts +0 -57
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +0 -18
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.d.mts +0 -57
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +0 -18
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortConnections/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.mts +0 -136
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.mts +0 -19
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.mts +0 -18
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.mts +0 -18
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.mts +0 -12
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.mts +0 -12
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.mts +0 -19
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.mts +0 -6
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/Client.d.mts +0 -70
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -14
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +0 -72
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.mjs +0 -206
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.d.mts +0 -2
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.mjs +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.d.mts +0 -1
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.mjs +0 -1
- package/dist/esm/api/resources/oortDrivers/client/requests/DriverCreateReq.d.mts +0 -17
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.d.mts +0 -2
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.mjs +0 -1
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +0 -18
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.d.mts +0 -1
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.mjs +0 -1
- package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.mts +0 -16
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.mts +0 -75
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.mjs +0 -215
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.mts +0 -2
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.mjs +0 -1
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +0 -25
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +0 -20
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.mts +0 -1
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.mjs +0 -1
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.d.mts +0 -110
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.mjs +0 -375
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.d.mts +0 -2
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.mjs +0 -1
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +0 -20
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +0 -20
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/oortOrgConnectionInfos/index.d.mts +0 -1
- package/dist/esm/api/resources/oortOrgConnectionInfos/index.mjs +0 -1
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts +0 -12
- package/dist/esm/api/resources/oortShipperContactInfo/client/Client.d.mts +0 -148
- package/dist/esm/api/resources/oortShipperContactInfo/client/Client.mjs +0 -542
- package/dist/esm/api/resources/oortShipperContactInfo/client/index.d.mts +0 -2
- package/dist/esm/api/resources/oortShipperContactInfo/client/index.mjs +0 -1
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +0 -21
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/oortShipperContactInfo/index.d.mts +0 -1
- package/dist/esm/api/resources/oortShipperContactInfo/index.mjs +0 -1
- package/dist/esm/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.mts +0 -14
- package/dist/esm/api/resources/oortTaskGroups/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/oortTaskGroups/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +0 -14
- package/dist/esm/api/types/CourierNotificationEventEnum.d.mts +0 -7
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +0 -18
- package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +0 -14
- package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +0 -10
- package/dist/esm/api/types/DriverStatusEnum.d.mts +0 -9
- package/dist/esm/api/types/DriverStatusEnum.mjs +0 -8
- package/dist/esm/api/types/EmailReq.d.mts +0 -6
- package/dist/esm/api/types/EmailRes.d.mts +0 -7
- package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +0 -18
- package/dist/esm/api/types/MultipleTaskGroupsWithTasks.mjs +0 -4
- package/dist/esm/api/types/NotificationChannelEnum.d.mts +0 -13
- package/dist/esm/api/types/NotificationChannelEnum.mjs +0 -9
- package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +0 -23
- package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.mjs +0 -4
- package/dist/esm/api/types/OrderStatusEnum1.d.mts +0 -10
- package/dist/esm/api/types/OrderStatusEnum1.mjs +0 -9
- package/dist/esm/api/types/ShipperContactInfo1.d.mts +0 -28
- package/dist/esm/api/types/ShipperContactInfo1.mjs +0 -4
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.mjs +0 -4
- package/dist/esm/api/types/ShipperNotificationEventEnum.d.mts +0 -7
- package/dist/esm/api/types/ShipperNotificationEventEnum.mjs +0 -4
- package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +0 -18
- package/dist/esm/api/types/ShipperNotificationPreferences1.mjs +0 -4
- package/dist/esm/api/types/ShipperOrgConnectionInfo1.mjs +0 -4
- package/dist/esm/api/types/TaskGroupDetailsResponse.mjs +0 -4
- package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +0 -9
- package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +0 -8
- package/dist/esm/api/types/TaskGroupWithDetails.mjs +0 -4
- package/dist/esm/api/types/TaskGroupWithTasks.mjs +0 -4
- package/dist/esm/api/types/TaskWithDetails.mjs +0 -4
- package/dist/esm/api/types/UpdateTaskGroupRes.mjs +0 -4
- package/dist/esm/api/types/UserPublicData6.mjs +0 -4
- package/dist/esm/api/types/Vehicle1.mjs +0 -4
- /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js → messages/client/requests/ShipperToCourierCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notificationsCourierNotificationPreferences → messages}/index.js +0 -0
- /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.js → oortHandles/client/requests/HandlesReq.js} +0 -0
- /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortConnections/client/requests/CreateConnectionReq.js → oortRateSheets/client/requests/RateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortConnections → oortRateSheets}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.js → oortRoutes/client/requests/GetOortRoutesByIdRequest.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.js → oortRoutes/client/requests/RouteCreateReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.js → oortRoutes/client/requests/UpdateRouteReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.js +0 -0
- /package/dist/{esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.mjs → cjs/api/resources/oortShippers/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts/client/requests → oortShippers/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.js → orgs/client/requests/PostOrgPublicDataReq.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.js → profiles/client/requests/CourierProfileCreate2.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.js → profiles/client/requests/GetCourierProfileRequest.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js → profiles/client/requests/GetHandleIsAvailableRequest.js} +0 -0
- /package/dist/cjs/api/resources/{oortCourierPayDriverRate → profiles}/client/requests/index.js +0 -0
- /package/dist/cjs/api/{resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js → types/AppModelsDbOortVehicle1Vehicle1.js} +0 -0
- /package/dist/cjs/api/{resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.js → types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.js} +0 -0
- /package/dist/cjs/api/{resources/oortDrivers/client/requests/DriverCreateReq.js → types/CourierCity.js} +0 -0
- /package/dist/cjs/api/{resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.js → types/CourierOrgInfo1.js} +0 -0
- /package/dist/cjs/api/{resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js → types/CourierProfile2.js} +0 -0
- /package/dist/cjs/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js → types/CourierProfileRes2.js} +0 -0
- /package/dist/cjs/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js → types/CourierState.js} +0 -0
- /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → types/EmailAddress1.js} +0 -0
- /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.js → types/GetTaskGroupWithFullTaskInfoRes.js} +0 -0
- /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → types/GetTaskGroupWithTasksRes.js} +0 -0
- /package/dist/cjs/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → types/GetTaskGroupsWithFullTaskInfoListRes.js} +0 -0
- /package/dist/cjs/api/{resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.js → types/GetTaskGroupsWithTasksListRes.js} +0 -0
- /package/dist/cjs/api/{resources/oortOrgProfiles/client/requests/GetAvatarRequest.js → types/GetTaskInfoListRes.js} +0 -0
- /package/dist/cjs/api/{resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js → types/PhoneNumber1.js} +0 -0
- /package/dist/cjs/api/{resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js → types/RateSheet1.js} +0 -0
- /package/dist/cjs/api/{resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js → types/Route1.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/client/requests/CreateOrgPublicDataReq.js → types/RouteDetailRes.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/client/requests/UpdateOrgPublicDataReq.js → types/ShipperOrgInfo1.js} +0 -0
- /package/dist/cjs/api/types/{CourierNotificationEventEnum.js → ShipperToCourier1.js} +0 -0
- /package/dist/cjs/api/types/{CourierNotificationPreferences1.js → ShipperUserInfo1.js} +0 -0
- /package/dist/cjs/api/types/{CourierOrgConnectionInfo1.js → SocialLinks.js} +0 -0
- /package/dist/cjs/api/types/{CourierPayDriverLineItemGroup1.js → TaskDetailRes.js} +0 -0
- /package/dist/cjs/api/types/{CourierPayDriverLineItemGroupClientCreate1.js → TaskGroupDetailRes.js} +0 -0
- /package/dist/cjs/api/types/{CourierPayDriverRateSheet1.js → TaskInfo.js} +0 -0
- /package/dist/cjs/api/types/{EmailReq.js → UpdateRouteRes.js} +0 -0
- /package/dist/cjs/api/types/{EmailRes.js → UserPublicData5.js} +0 -0
- /package/dist/cjs/api/types/{MilestoneNotificationPreferences1.js → Vehicle1Input.js} +0 -0
- /package/dist/cjs/api/types/{MultipleTaskGroupsDetailsResponse.js → VehicleRate1.js} +0 -0
- /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs → messages/client/requests/ShipperToCourierCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → messages}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notificationsCourierNotificationPreferences → messages}/index.mjs +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.mjs → oortHandles/client/requests/HandlesReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortConnections → oortHandles}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notificationsShipperNotificationPreferences → oortHandles}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortConnections/client/requests/CreateConnectionReq.mjs → oortRateSheets/client/requests/RateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRateSheets}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortConnections → oortRateSheets}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.mjs → oortRoutes/client/requests/GetOortRoutesByIdRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.mjs → oortRoutes/client/requests/RouteCreateReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.mjs → oortRoutes/client/requests/UpdateRouteReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → oortRoutes}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups → oortRoutes}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRate/client/requests/index.mjs → oortShippers/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverRateSheets/client/requests → oortShippers/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → oortShippers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.mjs → orgs/client/requests/PostOrgPublicDataReq.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts → profiles}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.mjs → profiles/client/requests/CourierProfileCreate2.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.mjs → profiles/client/requests/GetCourierProfileRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs → profiles/client/requests/GetHandleIsAvailableRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{oortMilestoneNotificationPreferences → profiles}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/{resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.mjs → types/AppModelsDbOortVehicle1Vehicle1.mjs} +0 -0
- /package/dist/esm/api/{resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.mjs → types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.mjs} +0 -0
- /package/dist/esm/api/{resources/oortDrivers/client/requests/DriverCreateReq.mjs → types/CourierCity.mjs} +0 -0
- /package/dist/esm/api/{resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → types/CourierOrgInfo1.mjs} +0 -0
- /package/dist/esm/api/{resources/oortMilestones/client/requests/MilestoneAddToTaskReq.mjs → types/CourierProfile2.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs → types/CourierProfileRes2.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs → types/CourierState.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.mjs → types/EmailAddress1.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs → types/GetTaskGroupWithFullTaskInfoRes.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs → types/GetTaskGroupWithTasksRes.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs → types/GetTaskGroupsWithFullTaskInfoListRes.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs → types/GetTaskGroupsWithTasksListRes.mjs} +0 -0
- /package/dist/esm/api/{resources/oortOrgProfiles/client/requests/GetAvatarRequest.mjs → types/GetTaskInfoListRes.mjs} +0 -0
- /package/dist/esm/api/{resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs → types/PhoneNumber1.mjs} +0 -0
- /package/dist/esm/api/{resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.mjs → types/RateSheet1.mjs} +0 -0
- /package/dist/esm/api/{resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.mjs → types/Route1.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/client/requests/CreateOrgPublicDataReq.mjs → types/RouteDetailRes.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/client/requests/UpdateOrgPublicDataReq.mjs → types/ShipperOrgInfo1.mjs} +0 -0
- /package/dist/esm/api/types/{CourierNotificationEventEnum.mjs → ShipperToCourier1.mjs} +0 -0
- /package/dist/esm/api/types/{CourierNotificationPreferences1.mjs → ShipperUserInfo1.mjs} +0 -0
- /package/dist/esm/api/types/{CourierOrgConnectionInfo1.mjs → SocialLinks.mjs} +0 -0
- /package/dist/esm/api/types/{CourierPayDriverLineItemGroup1.mjs → TaskDetailRes.mjs} +0 -0
- /package/dist/esm/api/types/{CourierPayDriverLineItemGroupClientCreate1.mjs → TaskGroupDetailRes.mjs} +0 -0
- /package/dist/esm/api/types/{CourierPayDriverRateSheet1.mjs → TaskInfo.mjs} +0 -0
- /package/dist/esm/api/types/{EmailReq.mjs → UpdateRouteRes.mjs} +0 -0
- /package/dist/esm/api/types/{EmailRes.mjs → UserPublicData5.mjs} +0 -0
- /package/dist/esm/api/types/{MilestoneNotificationPreferences1.mjs → Vehicle1Input.mjs} +0 -0
- /package/dist/esm/api/types/{MultipleTaskGroupsDetailsResponse.mjs → VehicleRate1.mjs} +0 -0
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -5,27 +5,23 @@ import * as environments from "./environments.js";
|
|
|
5
5
|
import * as core from "./core/index.js";
|
|
6
6
|
import { Dev } from "./api/resources/dev/client/Client.js";
|
|
7
7
|
import { Directory } from "./api/resources/directory/client/Client.js";
|
|
8
|
-
import {
|
|
9
|
-
import { NotificationsShipperNotificationPreferences } from "./api/resources/notificationsShipperNotificationPreferences/client/Client.js";
|
|
10
|
-
import { NotificationsCourierNotificationPreferences } from "./api/resources/notificationsCourierNotificationPreferences/client/Client.js";
|
|
8
|
+
import { Messages } from "./api/resources/messages/client/Client.js";
|
|
11
9
|
import { OortDrivers } from "./api/resources/oortDrivers/client/Client.js";
|
|
10
|
+
import { OortHandles } from "./api/resources/oortHandles/client/Client.js";
|
|
12
11
|
import { OortMilestones } from "./api/resources/oortMilestones/client/Client.js";
|
|
13
|
-
import { OortOffChrtShipperOrgConnectionInfo } from "./api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js";
|
|
14
|
-
import { OortOrgConnectionInfos } from "./api/resources/oortOrgConnectionInfos/client/Client.js";
|
|
15
12
|
import { OortOrgProfiles } from "./api/resources/oortOrgProfiles/client/Client.js";
|
|
16
13
|
import { OortOrders } from "./api/resources/oortOrders/client/Client.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { OortCourierPayDriverPayouts } from "./api/resources/oortCourierPayDriverPayouts/client/Client.js";
|
|
21
|
-
import { OortConnections } from "./api/resources/oortConnections/client/Client.js";
|
|
14
|
+
import { OortRateSheets } from "./api/resources/oortRateSheets/client/Client.js";
|
|
15
|
+
import { OortRoutes } from "./api/resources/oortRoutes/client/Client.js";
|
|
16
|
+
import { OortShippers } from "./api/resources/oortShippers/client/Client.js";
|
|
22
17
|
import { OortTaskGroups } from "./api/resources/oortTaskGroups/client/Client.js";
|
|
23
|
-
import { OortShipperContactInfo } from "./api/resources/oortShipperContactInfo/client/Client.js";
|
|
24
|
-
import { OortMilestoneNotificationPreferences } from "./api/resources/oortMilestoneNotificationPreferences/client/Client.js";
|
|
25
18
|
import { Orgs } from "./api/resources/orgs/client/Client.js";
|
|
26
19
|
import { Payments } from "./api/resources/payments/client/Client.js";
|
|
20
|
+
import { Profiles } from "./api/resources/profiles/client/Client.js";
|
|
27
21
|
import { Root } from "./api/resources/root/client/Client.js";
|
|
28
22
|
import { Users } from "./api/resources/users/client/Client.js";
|
|
23
|
+
import { Mirror } from "./api/resources/mirror/client/Client.js";
|
|
24
|
+
import { OortCourierPayDriverRate } from "./api/resources/oortCourierPayDriverRate/client/Client.js";
|
|
29
25
|
export declare namespace ChrtClient {
|
|
30
26
|
interface Options {
|
|
31
27
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -51,49 +47,41 @@ export declare class ChrtClient {
|
|
|
51
47
|
protected readonly _options: ChrtClient.Options;
|
|
52
48
|
protected _dev: Dev | undefined;
|
|
53
49
|
protected _directory: Directory | undefined;
|
|
54
|
-
protected
|
|
55
|
-
protected _notificationsShipperNotificationPreferences: NotificationsShipperNotificationPreferences | undefined;
|
|
56
|
-
protected _notificationsCourierNotificationPreferences: NotificationsCourierNotificationPreferences | undefined;
|
|
50
|
+
protected _messages: Messages | undefined;
|
|
57
51
|
protected _oortDrivers: OortDrivers | undefined;
|
|
52
|
+
protected _oortHandles: OortHandles | undefined;
|
|
58
53
|
protected _oortMilestones: OortMilestones | undefined;
|
|
59
|
-
protected _oortOffChrtShipperOrgConnectionInfo: OortOffChrtShipperOrgConnectionInfo | undefined;
|
|
60
|
-
protected _oortOrgConnectionInfos: OortOrgConnectionInfos | undefined;
|
|
61
54
|
protected _oortOrgProfiles: OortOrgProfiles | undefined;
|
|
62
55
|
protected _oortOrders: OortOrders | undefined;
|
|
63
|
-
protected
|
|
64
|
-
protected
|
|
65
|
-
protected
|
|
66
|
-
protected _oortCourierPayDriverPayouts: OortCourierPayDriverPayouts | undefined;
|
|
67
|
-
protected _oortConnections: OortConnections | undefined;
|
|
56
|
+
protected _oortRateSheets: OortRateSheets | undefined;
|
|
57
|
+
protected _oortRoutes: OortRoutes | undefined;
|
|
58
|
+
protected _oortShippers: OortShippers | undefined;
|
|
68
59
|
protected _oortTaskGroups: OortTaskGroups | undefined;
|
|
69
|
-
protected _oortShipperContactInfo: OortShipperContactInfo | undefined;
|
|
70
|
-
protected _oortMilestoneNotificationPreferences: OortMilestoneNotificationPreferences | undefined;
|
|
71
60
|
protected _orgs: Orgs | undefined;
|
|
72
61
|
protected _payments: Payments | undefined;
|
|
62
|
+
protected _profiles: Profiles | undefined;
|
|
73
63
|
protected _root: Root | undefined;
|
|
74
64
|
protected _users: Users | undefined;
|
|
65
|
+
protected _mirror: Mirror | undefined;
|
|
66
|
+
protected _oortCourierPayDriverRate: OortCourierPayDriverRate | undefined;
|
|
75
67
|
constructor(_options?: ChrtClient.Options);
|
|
76
68
|
get dev(): Dev;
|
|
77
69
|
get directory(): Directory;
|
|
78
|
-
get
|
|
79
|
-
get notificationsShipperNotificationPreferences(): NotificationsShipperNotificationPreferences;
|
|
80
|
-
get notificationsCourierNotificationPreferences(): NotificationsCourierNotificationPreferences;
|
|
70
|
+
get messages(): Messages;
|
|
81
71
|
get oortDrivers(): OortDrivers;
|
|
72
|
+
get oortHandles(): OortHandles;
|
|
82
73
|
get oortMilestones(): OortMilestones;
|
|
83
|
-
get oortOffChrtShipperOrgConnectionInfo(): OortOffChrtShipperOrgConnectionInfo;
|
|
84
|
-
get oortOrgConnectionInfos(): OortOrgConnectionInfos;
|
|
85
74
|
get oortOrgProfiles(): OortOrgProfiles;
|
|
86
75
|
get oortOrders(): OortOrders;
|
|
87
|
-
get
|
|
88
|
-
get
|
|
89
|
-
get
|
|
90
|
-
get oortCourierPayDriverPayouts(): OortCourierPayDriverPayouts;
|
|
91
|
-
get oortConnections(): OortConnections;
|
|
76
|
+
get oortRateSheets(): OortRateSheets;
|
|
77
|
+
get oortRoutes(): OortRoutes;
|
|
78
|
+
get oortShippers(): OortShippers;
|
|
92
79
|
get oortTaskGroups(): OortTaskGroups;
|
|
93
|
-
get oortShipperContactInfo(): OortShipperContactInfo;
|
|
94
|
-
get oortMilestoneNotificationPreferences(): OortMilestoneNotificationPreferences;
|
|
95
80
|
get orgs(): Orgs;
|
|
96
81
|
get payments(): Payments;
|
|
82
|
+
get profiles(): Profiles;
|
|
97
83
|
get root(): Root;
|
|
98
84
|
get users(): Users;
|
|
85
|
+
get mirror(): Mirror;
|
|
86
|
+
get oortCourierPayDriverRate(): OortCourierPayDriverRate;
|
|
99
87
|
}
|
package/dist/cjs/Client.js
CHANGED
|
@@ -41,34 +41,30 @@ const core = __importStar(require("./core/index.js"));
|
|
|
41
41
|
const headers_js_1 = require("./core/headers.js");
|
|
42
42
|
const Client_js_1 = require("./api/resources/dev/client/Client.js");
|
|
43
43
|
const Client_js_2 = require("./api/resources/directory/client/Client.js");
|
|
44
|
-
const Client_js_3 = require("./api/resources/
|
|
45
|
-
const Client_js_4 = require("./api/resources/
|
|
46
|
-
const Client_js_5 = require("./api/resources/
|
|
47
|
-
const Client_js_6 = require("./api/resources/
|
|
48
|
-
const Client_js_7 = require("./api/resources/
|
|
49
|
-
const Client_js_8 = require("./api/resources/
|
|
50
|
-
const Client_js_9 = require("./api/resources/
|
|
51
|
-
const Client_js_10 = require("./api/resources/
|
|
52
|
-
const Client_js_11 = require("./api/resources/
|
|
53
|
-
const Client_js_12 = require("./api/resources/
|
|
54
|
-
const Client_js_13 = require("./api/resources/
|
|
55
|
-
const Client_js_14 = require("./api/resources/
|
|
56
|
-
const Client_js_15 = require("./api/resources/
|
|
57
|
-
const Client_js_16 = require("./api/resources/
|
|
58
|
-
const Client_js_17 = require("./api/resources/
|
|
59
|
-
const Client_js_18 = require("./api/resources/
|
|
60
|
-
const Client_js_19 = require("./api/resources/
|
|
61
|
-
const Client_js_20 = require("./api/resources/orgs/client/Client.js");
|
|
62
|
-
const Client_js_21 = require("./api/resources/payments/client/Client.js");
|
|
63
|
-
const Client_js_22 = require("./api/resources/root/client/Client.js");
|
|
64
|
-
const Client_js_23 = require("./api/resources/users/client/Client.js");
|
|
44
|
+
const Client_js_3 = require("./api/resources/messages/client/Client.js");
|
|
45
|
+
const Client_js_4 = require("./api/resources/oortDrivers/client/Client.js");
|
|
46
|
+
const Client_js_5 = require("./api/resources/oortHandles/client/Client.js");
|
|
47
|
+
const Client_js_6 = require("./api/resources/oortMilestones/client/Client.js");
|
|
48
|
+
const Client_js_7 = require("./api/resources/oortOrgProfiles/client/Client.js");
|
|
49
|
+
const Client_js_8 = require("./api/resources/oortOrders/client/Client.js");
|
|
50
|
+
const Client_js_9 = require("./api/resources/oortRateSheets/client/Client.js");
|
|
51
|
+
const Client_js_10 = require("./api/resources/oortRoutes/client/Client.js");
|
|
52
|
+
const Client_js_11 = require("./api/resources/oortShippers/client/Client.js");
|
|
53
|
+
const Client_js_12 = require("./api/resources/oortTaskGroups/client/Client.js");
|
|
54
|
+
const Client_js_13 = require("./api/resources/orgs/client/Client.js");
|
|
55
|
+
const Client_js_14 = require("./api/resources/payments/client/Client.js");
|
|
56
|
+
const Client_js_15 = require("./api/resources/profiles/client/Client.js");
|
|
57
|
+
const Client_js_16 = require("./api/resources/root/client/Client.js");
|
|
58
|
+
const Client_js_17 = require("./api/resources/users/client/Client.js");
|
|
59
|
+
const Client_js_18 = require("./api/resources/mirror/client/Client.js");
|
|
60
|
+
const Client_js_19 = require("./api/resources/oortCourierPayDriverRate/client/Client.js");
|
|
65
61
|
class ChrtClient {
|
|
66
62
|
constructor(_options = {}) {
|
|
67
63
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
68
64
|
"X-Fern-Language": "JavaScript",
|
|
69
65
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
70
|
-
"X-Fern-SDK-Version": "0.0
|
|
71
|
-
"User-Agent": "@chrt-inc/typescript-sdk/0.0
|
|
66
|
+
"X-Fern-SDK-Version": "0.1.0-beta1",
|
|
67
|
+
"User-Agent": "@chrt-inc/typescript-sdk/0.1.0-beta1",
|
|
72
68
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
69
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
70
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -81,89 +77,73 @@ class ChrtClient {
|
|
|
81
77
|
var _a;
|
|
82
78
|
return ((_a = this._directory) !== null && _a !== void 0 ? _a : (this._directory = new Client_js_2.Directory(this._options)));
|
|
83
79
|
}
|
|
84
|
-
get
|
|
85
|
-
var _a;
|
|
86
|
-
return ((_a = this._mirror) !== null && _a !== void 0 ? _a : (this._mirror = new Client_js_3.Mirror(this._options)));
|
|
87
|
-
}
|
|
88
|
-
get notificationsShipperNotificationPreferences() {
|
|
80
|
+
get messages() {
|
|
89
81
|
var _a;
|
|
90
|
-
return ((_a = this.
|
|
91
|
-
}
|
|
92
|
-
get notificationsCourierNotificationPreferences() {
|
|
93
|
-
var _a;
|
|
94
|
-
return ((_a = this._notificationsCourierNotificationPreferences) !== null && _a !== void 0 ? _a : (this._notificationsCourierNotificationPreferences = new Client_js_5.NotificationsCourierNotificationPreferences(this._options)));
|
|
82
|
+
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_3.Messages(this._options)));
|
|
95
83
|
}
|
|
96
84
|
get oortDrivers() {
|
|
97
85
|
var _a;
|
|
98
|
-
return ((_a = this._oortDrivers) !== null && _a !== void 0 ? _a : (this._oortDrivers = new
|
|
99
|
-
}
|
|
100
|
-
get oortMilestones() {
|
|
101
|
-
var _a;
|
|
102
|
-
return ((_a = this._oortMilestones) !== null && _a !== void 0 ? _a : (this._oortMilestones = new Client_js_7.OortMilestones(this._options)));
|
|
86
|
+
return ((_a = this._oortDrivers) !== null && _a !== void 0 ? _a : (this._oortDrivers = new Client_js_4.OortDrivers(this._options)));
|
|
103
87
|
}
|
|
104
|
-
get
|
|
88
|
+
get oortHandles() {
|
|
105
89
|
var _a;
|
|
106
|
-
return ((_a = this.
|
|
90
|
+
return ((_a = this._oortHandles) !== null && _a !== void 0 ? _a : (this._oortHandles = new Client_js_5.OortHandles(this._options)));
|
|
107
91
|
}
|
|
108
|
-
get
|
|
92
|
+
get oortMilestones() {
|
|
109
93
|
var _a;
|
|
110
|
-
return ((_a = this.
|
|
94
|
+
return ((_a = this._oortMilestones) !== null && _a !== void 0 ? _a : (this._oortMilestones = new Client_js_6.OortMilestones(this._options)));
|
|
111
95
|
}
|
|
112
96
|
get oortOrgProfiles() {
|
|
113
97
|
var _a;
|
|
114
|
-
return ((_a = this._oortOrgProfiles) !== null && _a !== void 0 ? _a : (this._oortOrgProfiles = new
|
|
98
|
+
return ((_a = this._oortOrgProfiles) !== null && _a !== void 0 ? _a : (this._oortOrgProfiles = new Client_js_7.OortOrgProfiles(this._options)));
|
|
115
99
|
}
|
|
116
100
|
get oortOrders() {
|
|
117
101
|
var _a;
|
|
118
|
-
return ((_a = this._oortOrders) !== null && _a !== void 0 ? _a : (this._oortOrders = new
|
|
119
|
-
}
|
|
120
|
-
get oortCourierPayDriverRate() {
|
|
121
|
-
var _a;
|
|
122
|
-
return ((_a = this._oortCourierPayDriverRate) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverRate = new Client_js_12.OortCourierPayDriverRate(this._options)));
|
|
102
|
+
return ((_a = this._oortOrders) !== null && _a !== void 0 ? _a : (this._oortOrders = new Client_js_8.OortOrders(this._options)));
|
|
123
103
|
}
|
|
124
|
-
get
|
|
104
|
+
get oortRateSheets() {
|
|
125
105
|
var _a;
|
|
126
|
-
return ((_a = this.
|
|
106
|
+
return ((_a = this._oortRateSheets) !== null && _a !== void 0 ? _a : (this._oortRateSheets = new Client_js_9.OortRateSheets(this._options)));
|
|
127
107
|
}
|
|
128
|
-
get
|
|
108
|
+
get oortRoutes() {
|
|
129
109
|
var _a;
|
|
130
|
-
return ((_a = this.
|
|
110
|
+
return ((_a = this._oortRoutes) !== null && _a !== void 0 ? _a : (this._oortRoutes = new Client_js_10.OortRoutes(this._options)));
|
|
131
111
|
}
|
|
132
|
-
get
|
|
112
|
+
get oortShippers() {
|
|
133
113
|
var _a;
|
|
134
|
-
return ((_a = this.
|
|
114
|
+
return ((_a = this._oortShippers) !== null && _a !== void 0 ? _a : (this._oortShippers = new Client_js_11.OortShippers(this._options)));
|
|
135
115
|
}
|
|
136
|
-
get
|
|
116
|
+
get oortTaskGroups() {
|
|
137
117
|
var _a;
|
|
138
|
-
return ((_a = this.
|
|
118
|
+
return ((_a = this._oortTaskGroups) !== null && _a !== void 0 ? _a : (this._oortTaskGroups = new Client_js_12.OortTaskGroups(this._options)));
|
|
139
119
|
}
|
|
140
|
-
get
|
|
120
|
+
get orgs() {
|
|
141
121
|
var _a;
|
|
142
|
-
return ((_a = this.
|
|
122
|
+
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_13.Orgs(this._options)));
|
|
143
123
|
}
|
|
144
|
-
get
|
|
124
|
+
get payments() {
|
|
145
125
|
var _a;
|
|
146
|
-
return ((_a = this.
|
|
126
|
+
return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_14.Payments(this._options)));
|
|
147
127
|
}
|
|
148
|
-
get
|
|
128
|
+
get profiles() {
|
|
149
129
|
var _a;
|
|
150
|
-
return ((_a = this.
|
|
130
|
+
return ((_a = this._profiles) !== null && _a !== void 0 ? _a : (this._profiles = new Client_js_15.Profiles(this._options)));
|
|
151
131
|
}
|
|
152
|
-
get
|
|
132
|
+
get root() {
|
|
153
133
|
var _a;
|
|
154
|
-
return ((_a = this.
|
|
134
|
+
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_16.Root(this._options)));
|
|
155
135
|
}
|
|
156
|
-
get
|
|
136
|
+
get users() {
|
|
157
137
|
var _a;
|
|
158
|
-
return ((_a = this.
|
|
138
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_17.Users(this._options)));
|
|
159
139
|
}
|
|
160
|
-
get
|
|
140
|
+
get mirror() {
|
|
161
141
|
var _a;
|
|
162
|
-
return ((_a = this.
|
|
142
|
+
return ((_a = this._mirror) !== null && _a !== void 0 ? _a : (this._mirror = new Client_js_18.Mirror(this._options)));
|
|
163
143
|
}
|
|
164
|
-
get
|
|
144
|
+
get oortCourierPayDriverRate() {
|
|
165
145
|
var _a;
|
|
166
|
-
return ((_a = this.
|
|
146
|
+
return ((_a = this._oortCourierPayDriverRate) !== null && _a !== void 0 ? _a : (this._oortCourierPayDriverRate = new Client_js_19.OortCourierPayDriverRate(this._options)));
|
|
167
147
|
}
|
|
168
148
|
}
|
|
169
149
|
exports.ChrtClient = ChrtClient;
|
|
@@ -1,44 +1,34 @@
|
|
|
1
|
+
export * as profiles from "./profiles/index.js";
|
|
2
|
+
export * from "./profiles/types/index.js";
|
|
1
3
|
export * as root from "./root/index.js";
|
|
2
4
|
export * from "./root/types/index.js";
|
|
3
5
|
export * as dev from "./dev/index.js";
|
|
4
6
|
export * as directory from "./directory/index.js";
|
|
5
|
-
export * as
|
|
6
|
-
export * as notificationsShipperNotificationPreferences from "./notificationsShipperNotificationPreferences/index.js";
|
|
7
|
-
export * as notificationsCourierNotificationPreferences from "./notificationsCourierNotificationPreferences/index.js";
|
|
7
|
+
export * as messages from "./messages/index.js";
|
|
8
8
|
export * as oortDrivers from "./oortDrivers/index.js";
|
|
9
|
+
export * as oortHandles from "./oortHandles/index.js";
|
|
9
10
|
export * as oortMilestones from "./oortMilestones/index.js";
|
|
10
|
-
export * as oortOffChrtShipperOrgConnectionInfo from "./oortOffChrtShipperOrgConnectionInfo/index.js";
|
|
11
|
-
export * as oortOrgConnectionInfos from "./oortOrgConnectionInfos/index.js";
|
|
12
11
|
export * as oortOrgProfiles from "./oortOrgProfiles/index.js";
|
|
13
12
|
export * as oortOrders from "./oortOrders/index.js";
|
|
14
|
-
export * as
|
|
15
|
-
export * as
|
|
16
|
-
export * as
|
|
17
|
-
export * as oortCourierPayDriverPayouts from "./oortCourierPayDriverPayouts/index.js";
|
|
18
|
-
export * as oortConnections from "./oortConnections/index.js";
|
|
13
|
+
export * as oortRateSheets from "./oortRateSheets/index.js";
|
|
14
|
+
export * as oortRoutes from "./oortRoutes/index.js";
|
|
15
|
+
export * as oortShippers from "./oortShippers/index.js";
|
|
19
16
|
export * as oortTaskGroups from "./oortTaskGroups/index.js";
|
|
20
|
-
export * as oortShipperContactInfo from "./oortShipperContactInfo/index.js";
|
|
21
|
-
export * as oortMilestoneNotificationPreferences from "./oortMilestoneNotificationPreferences/index.js";
|
|
22
17
|
export * as orgs from "./orgs/index.js";
|
|
23
18
|
export * as payments from "./payments/index.js";
|
|
24
19
|
export * as users from "./users/index.js";
|
|
20
|
+
export * as mirror from "./mirror/index.js";
|
|
21
|
+
export * as oortCourierPayDriverRate from "./oortCourierPayDriverRate/index.js";
|
|
25
22
|
export * from "./dev/client/requests/index.js";
|
|
26
23
|
export * from "./directory/client/requests/index.js";
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./notificationsCourierNotificationPreferences/client/requests/index.js";
|
|
24
|
+
export * from "./messages/client/requests/index.js";
|
|
29
25
|
export * from "./oortDrivers/client/requests/index.js";
|
|
26
|
+
export * from "./oortHandles/client/requests/index.js";
|
|
30
27
|
export * from "./oortMilestones/client/requests/index.js";
|
|
31
|
-
export * from "./oortOffChrtShipperOrgConnectionInfo/client/requests/index.js";
|
|
32
|
-
export * from "./oortOrgConnectionInfos/client/requests/index.js";
|
|
33
28
|
export * from "./oortOrgProfiles/client/requests/index.js";
|
|
34
29
|
export * from "./oortOrders/client/requests/index.js";
|
|
35
|
-
export * from "./
|
|
36
|
-
export * from "./
|
|
37
|
-
export * from "./oortCourierPayDriverLineItemGroups/client/requests/index.js";
|
|
38
|
-
export * from "./oortCourierPayDriverPayouts/client/requests/index.js";
|
|
39
|
-
export * from "./oortConnections/client/requests/index.js";
|
|
40
|
-
export * from "./oortTaskGroups/client/requests/index.js";
|
|
41
|
-
export * from "./oortShipperContactInfo/client/requests/index.js";
|
|
42
|
-
export * from "./oortMilestoneNotificationPreferences/client/requests/index.js";
|
|
30
|
+
export * from "./oortRateSheets/client/requests/index.js";
|
|
31
|
+
export * from "./oortRoutes/client/requests/index.js";
|
|
43
32
|
export * from "./orgs/client/requests/index.js";
|
|
44
33
|
export * from "./payments/client/requests/index.js";
|
|
34
|
+
export * from "./profiles/client/requests/index.js";
|
|
@@ -36,48 +36,38 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.oortCourierPayDriverRate = exports.mirror = exports.users = exports.payments = exports.orgs = exports.oortTaskGroups = exports.oortShippers = exports.oortRoutes = exports.oortRateSheets = exports.oortOrders = exports.oortOrgProfiles = exports.oortMilestones = exports.oortHandles = exports.oortDrivers = exports.messages = exports.directory = exports.dev = exports.root = exports.profiles = void 0;
|
|
40
|
+
exports.profiles = __importStar(require("./profiles/index.js"));
|
|
41
|
+
__exportStar(require("./profiles/types/index.js"), exports);
|
|
40
42
|
exports.root = __importStar(require("./root/index.js"));
|
|
41
43
|
__exportStar(require("./root/types/index.js"), exports);
|
|
42
44
|
exports.dev = __importStar(require("./dev/index.js"));
|
|
43
45
|
exports.directory = __importStar(require("./directory/index.js"));
|
|
44
|
-
exports.
|
|
45
|
-
exports.notificationsShipperNotificationPreferences = __importStar(require("./notificationsShipperNotificationPreferences/index.js"));
|
|
46
|
-
exports.notificationsCourierNotificationPreferences = __importStar(require("./notificationsCourierNotificationPreferences/index.js"));
|
|
46
|
+
exports.messages = __importStar(require("./messages/index.js"));
|
|
47
47
|
exports.oortDrivers = __importStar(require("./oortDrivers/index.js"));
|
|
48
|
+
exports.oortHandles = __importStar(require("./oortHandles/index.js"));
|
|
48
49
|
exports.oortMilestones = __importStar(require("./oortMilestones/index.js"));
|
|
49
|
-
exports.oortOffChrtShipperOrgConnectionInfo = __importStar(require("./oortOffChrtShipperOrgConnectionInfo/index.js"));
|
|
50
|
-
exports.oortOrgConnectionInfos = __importStar(require("./oortOrgConnectionInfos/index.js"));
|
|
51
50
|
exports.oortOrgProfiles = __importStar(require("./oortOrgProfiles/index.js"));
|
|
52
51
|
exports.oortOrders = __importStar(require("./oortOrders/index.js"));
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
exports.
|
|
56
|
-
exports.oortCourierPayDriverPayouts = __importStar(require("./oortCourierPayDriverPayouts/index.js"));
|
|
57
|
-
exports.oortConnections = __importStar(require("./oortConnections/index.js"));
|
|
52
|
+
exports.oortRateSheets = __importStar(require("./oortRateSheets/index.js"));
|
|
53
|
+
exports.oortRoutes = __importStar(require("./oortRoutes/index.js"));
|
|
54
|
+
exports.oortShippers = __importStar(require("./oortShippers/index.js"));
|
|
58
55
|
exports.oortTaskGroups = __importStar(require("./oortTaskGroups/index.js"));
|
|
59
|
-
exports.oortShipperContactInfo = __importStar(require("./oortShipperContactInfo/index.js"));
|
|
60
|
-
exports.oortMilestoneNotificationPreferences = __importStar(require("./oortMilestoneNotificationPreferences/index.js"));
|
|
61
56
|
exports.orgs = __importStar(require("./orgs/index.js"));
|
|
62
57
|
exports.payments = __importStar(require("./payments/index.js"));
|
|
63
58
|
exports.users = __importStar(require("./users/index.js"));
|
|
59
|
+
exports.mirror = __importStar(require("./mirror/index.js"));
|
|
60
|
+
exports.oortCourierPayDriverRate = __importStar(require("./oortCourierPayDriverRate/index.js"));
|
|
64
61
|
__exportStar(require("./dev/client/requests/index.js"), exports);
|
|
65
62
|
__exportStar(require("./directory/client/requests/index.js"), exports);
|
|
66
|
-
__exportStar(require("./
|
|
67
|
-
__exportStar(require("./notificationsCourierNotificationPreferences/client/requests/index.js"), exports);
|
|
63
|
+
__exportStar(require("./messages/client/requests/index.js"), exports);
|
|
68
64
|
__exportStar(require("./oortDrivers/client/requests/index.js"), exports);
|
|
65
|
+
__exportStar(require("./oortHandles/client/requests/index.js"), exports);
|
|
69
66
|
__exportStar(require("./oortMilestones/client/requests/index.js"), exports);
|
|
70
|
-
__exportStar(require("./oortOffChrtShipperOrgConnectionInfo/client/requests/index.js"), exports);
|
|
71
|
-
__exportStar(require("./oortOrgConnectionInfos/client/requests/index.js"), exports);
|
|
72
67
|
__exportStar(require("./oortOrgProfiles/client/requests/index.js"), exports);
|
|
73
68
|
__exportStar(require("./oortOrders/client/requests/index.js"), exports);
|
|
74
|
-
__exportStar(require("./
|
|
75
|
-
__exportStar(require("./
|
|
76
|
-
__exportStar(require("./oortCourierPayDriverLineItemGroups/client/requests/index.js"), exports);
|
|
77
|
-
__exportStar(require("./oortCourierPayDriverPayouts/client/requests/index.js"), exports);
|
|
78
|
-
__exportStar(require("./oortConnections/client/requests/index.js"), exports);
|
|
79
|
-
__exportStar(require("./oortTaskGroups/client/requests/index.js"), exports);
|
|
80
|
-
__exportStar(require("./oortShipperContactInfo/client/requests/index.js"), exports);
|
|
81
|
-
__exportStar(require("./oortMilestoneNotificationPreferences/client/requests/index.js"), exports);
|
|
69
|
+
__exportStar(require("./oortRateSheets/client/requests/index.js"), exports);
|
|
70
|
+
__exportStar(require("./oortRoutes/client/requests/index.js"), exports);
|
|
82
71
|
__exportStar(require("./orgs/client/requests/index.js"), exports);
|
|
83
72
|
__exportStar(require("./payments/client/requests/index.js"), exports);
|
|
73
|
+
__exportStar(require("./profiles/client/requests/index.js"), exports);
|
package/dist/cjs/api/resources/{oortMilestoneNotificationPreferences → messages}/client/Client.d.ts
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as environments from "../../../../environments.js";
|
|
5
5
|
import * as core from "../../../../core/index.js";
|
|
6
6
|
import * as Chrt from "../../../index.js";
|
|
7
|
-
export declare namespace
|
|
7
|
+
export declare namespace Messages {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
@@ -25,29 +25,37 @@ export declare namespace OortMilestoneNotificationPreferences {
|
|
|
25
25
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
export declare class
|
|
29
|
-
protected readonly _options:
|
|
30
|
-
constructor(_options?:
|
|
28
|
+
export declare class Messages {
|
|
29
|
+
protected readonly _options: Messages.Options;
|
|
30
|
+
constructor(_options?: Messages.Options);
|
|
31
31
|
/**
|
|
32
|
-
* @param {
|
|
32
|
+
* @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
|
-
* await client.
|
|
35
|
+
* await client.messages.getForCourier()
|
|
36
36
|
*/
|
|
37
|
-
|
|
38
|
-
private
|
|
37
|
+
getForCourier(requestOptions?: Messages.RequestOptions): core.HttpResponsePromise<Chrt.ShipperToCourier1[]>;
|
|
38
|
+
private __getForCourier;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* Server logic overwrites `user_id`, `shipper_user_id`, and `created_at`
|
|
41
|
+
*
|
|
42
|
+
* @param {Chrt.ShipperToCourierCreate1} request
|
|
43
|
+
* @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
44
|
*
|
|
43
45
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
44
46
|
*
|
|
45
47
|
* @example
|
|
46
|
-
* await client.
|
|
47
|
-
*
|
|
48
|
+
* await client.messages.postShipperToCourier({
|
|
49
|
+
* handle: "handle",
|
|
50
|
+
* schema_version: 1,
|
|
51
|
+
* user_id: "user_id",
|
|
52
|
+
* name: "name",
|
|
53
|
+
* email_address: "email_address",
|
|
54
|
+
* message: "message",
|
|
55
|
+
* viewed: true
|
|
48
56
|
* })
|
|
49
57
|
*/
|
|
50
|
-
|
|
51
|
-
private
|
|
58
|
+
postShipperToCourier(request: Chrt.ShipperToCourierCreate1, requestOptions?: Messages.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
59
|
+
private __postShipperToCourier;
|
|
52
60
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
53
61
|
}
|
|
@@ -44,33 +44,42 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
+
var t = {};
|
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
+
t[p] = s[p];
|
|
51
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
+
t[p[i]] = s[p[i]];
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
};
|
|
47
58
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.
|
|
59
|
+
exports.Messages = void 0;
|
|
49
60
|
const environments = __importStar(require("../../../../environments.js"));
|
|
50
61
|
const core = __importStar(require("../../../../core/index.js"));
|
|
51
62
|
const Chrt = __importStar(require("../../../index.js"));
|
|
52
63
|
const headers_js_1 = require("../../../../core/headers.js");
|
|
53
64
|
const errors = __importStar(require("../../../../errors/index.js"));
|
|
54
|
-
class
|
|
65
|
+
class Messages {
|
|
55
66
|
constructor(_options = {}) {
|
|
56
67
|
this._options = _options;
|
|
57
68
|
}
|
|
58
69
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* @param {NotificationsShipperNotificationPreferences.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
+
* @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
71
|
*
|
|
63
72
|
* @example
|
|
64
|
-
* await client.
|
|
73
|
+
* await client.messages.getForCourier()
|
|
65
74
|
*/
|
|
66
|
-
|
|
67
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
75
|
+
getForCourier(requestOptions) {
|
|
76
|
+
return core.HttpResponsePromise.fromPromise(this.__getForCourier(requestOptions));
|
|
68
77
|
}
|
|
69
|
-
|
|
78
|
+
__getForCourier(requestOptions) {
|
|
70
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
80
|
var _a, _b, _c, _d;
|
|
72
81
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
73
|
-
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, "
|
|
82
|
+
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, "messages/for_courier"),
|
|
74
83
|
method: "GET",
|
|
75
84
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
76
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -95,7 +104,7 @@ class NotificationsShipperNotificationPreferences {
|
|
|
95
104
|
rawResponse: _response.rawResponse,
|
|
96
105
|
});
|
|
97
106
|
case "timeout":
|
|
98
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /
|
|
107
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /messages/for_courier.");
|
|
99
108
|
case "unknown":
|
|
100
109
|
throw new errors.ChrtError({
|
|
101
110
|
message: _response.error.errorMessage,
|
|
@@ -105,31 +114,41 @@ class NotificationsShipperNotificationPreferences {
|
|
|
105
114
|
});
|
|
106
115
|
}
|
|
107
116
|
/**
|
|
108
|
-
*
|
|
117
|
+
* Server logic overwrites `user_id`, `shipper_user_id`, and `created_at`
|
|
109
118
|
*
|
|
110
|
-
* @param {Chrt.
|
|
111
|
-
* @param {
|
|
119
|
+
* @param {Chrt.ShipperToCourierCreate1} request
|
|
120
|
+
* @param {Messages.RequestOptions} requestOptions - Request-specific configuration.
|
|
112
121
|
*
|
|
113
122
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
114
123
|
*
|
|
115
124
|
* @example
|
|
116
|
-
* await client.
|
|
117
|
-
*
|
|
125
|
+
* await client.messages.postShipperToCourier({
|
|
126
|
+
* handle: "handle",
|
|
127
|
+
* schema_version: 1,
|
|
128
|
+
* user_id: "user_id",
|
|
129
|
+
* name: "name",
|
|
130
|
+
* email_address: "email_address",
|
|
131
|
+
* message: "message",
|
|
132
|
+
* viewed: true
|
|
118
133
|
* })
|
|
119
134
|
*/
|
|
120
|
-
|
|
121
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
135
|
+
postShipperToCourier(request, requestOptions) {
|
|
136
|
+
return core.HttpResponsePromise.fromPromise(this.__postShipperToCourier(request, requestOptions));
|
|
122
137
|
}
|
|
123
|
-
|
|
138
|
+
__postShipperToCourier(request, requestOptions) {
|
|
124
139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
125
140
|
var _a, _b, _c, _d;
|
|
141
|
+
const { handle } = request, _body = __rest(request, ["handle"]);
|
|
142
|
+
const _queryParams = {};
|
|
143
|
+
_queryParams["handle"] = handle;
|
|
126
144
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
127
|
-
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, "
|
|
145
|
+
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, "messages/shipper_to_courier"),
|
|
128
146
|
method: "POST",
|
|
129
147
|
headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
130
148
|
contentType: "application/json",
|
|
149
|
+
queryParameters: _queryParams,
|
|
131
150
|
requestType: "json",
|
|
132
|
-
body:
|
|
151
|
+
body: _body,
|
|
133
152
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
134
153
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
135
154
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -157,7 +176,7 @@ class NotificationsShipperNotificationPreferences {
|
|
|
157
176
|
rawResponse: _response.rawResponse,
|
|
158
177
|
});
|
|
159
178
|
case "timeout":
|
|
160
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /
|
|
179
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /messages/shipper_to_courier.");
|
|
161
180
|
case "unknown":
|
|
162
181
|
throw new errors.ChrtError({
|
|
163
182
|
message: _response.error.errorMessage,
|
|
@@ -176,4 +195,4 @@ class NotificationsShipperNotificationPreferences {
|
|
|
176
195
|
});
|
|
177
196
|
}
|
|
178
197
|
}
|
|
179
|
-
exports.
|
|
198
|
+
exports.Messages = Messages;
|