@chrt-inc/typescript-sdk 0.0.162 → 0.1.0-beta0
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/Client.d.ts +30 -24
- package/Client.js +55 -45
- package/README.md +10 -6
- package/api/resources/dev/client/Client.d.ts +7 -7
- package/api/resources/dev/client/Client.js +48 -48
- package/api/resources/directory/client/Client.js +1 -1
- package/api/resources/directory/client/requests/DbQueryParams.d.ts +2 -2
- package/api/resources/index.d.ts +16 -14
- package/api/resources/index.js +17 -15
- package/api/resources/{oortNotificationPreferences → messages}/client/Client.d.ts +20 -12
- package/api/resources/messages/client/Client.js +191 -0
- package/api/resources/messages/client/requests/ShipperToCourierCreate1.d.ts +27 -0
- package/api/resources/messages/client/requests/index.d.ts +1 -0
- package/api/resources/mirror/client/Client.d.ts +0 -25
- package/api/resources/mirror/client/Client.js +10 -119
- package/api/resources/oortCourierPayDriverRate/client/Client.d.ts +8 -38
- package/api/resources/oortCourierPayDriverRate/client/Client.js +24 -65
- package/api/resources/oortCourierPayDriverRate/client/index.d.ts +1 -1
- package/api/resources/oortCourierPayDriverRate/client/index.js +0 -15
- package/api/resources/oortDrivers/client/Client.d.ts +36 -48
- package/api/resources/oortDrivers/client/Client.js +93 -146
- package/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +3 -3
- package/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -2
- package/api/resources/oortDrivers/client/requests/index.d.ts +1 -2
- package/api/resources/{oortConnections → oortHandles}/client/Client.d.ts +22 -15
- package/api/resources/{oortConnections → oortHandles}/client/Client.js +40 -28
- package/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → oortHandles/client/requests/HandlesReq.d.ts} +1 -1
- package/api/resources/oortHandles/client/requests/index.d.ts +1 -0
- package/api/resources/oortMilestones/client/Client.d.ts +15 -28
- package/api/resources/oortMilestones/client/Client.js +41 -96
- package/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +1 -1
- package/api/resources/oortMilestones/client/requests/index.d.ts +0 -1
- package/api/resources/oortOrders/client/Client.d.ts +35 -45
- package/api/resources/oortOrders/client/Client.js +89 -140
- package/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +14 -14
- package/api/resources/oortOrgProfiles/client/Client.d.ts +3 -15
- package/api/resources/oortOrgProfiles/client/Client.js +8 -65
- package/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +7 -6
- package/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -1
- package/api/resources/oortRateSheets/client/Client.d.ts +66 -0
- package/api/resources/{oortNotificationPreferences → oortRateSheets}/client/Client.js +52 -35
- package/{dist/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts → api/resources/oortRateSheets/client/requests/RateSheetClientCreate1.d.ts} +25 -26
- package/api/resources/oortRateSheets/client/requests/index.d.ts +1 -0
- package/api/resources/oortRoutes/client/Client.d.ts +103 -0
- package/{dist/api/resources/oortOrgConnectionInfos → api/resources/oortRoutes}/client/Client.js +134 -71
- package/api/resources/oortRoutes/client/requests/GetOortRoutesByIdRequest.d.ts +29 -0
- package/api/resources/{orgs/client/requests/UpdateOrgPublicDataReq.d.ts → oortRoutes/client/requests/RouteCreateReq.d.ts} +3 -3
- package/{dist/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts → api/resources/oortRoutes/client/requests/UpdateRouteReq.d.ts} +6 -4
- package/api/resources/oortRoutes/client/requests/index.d.ts +3 -0
- package/api/resources/oortShippers/client/Client.d.ts +44 -0
- package/api/resources/oortShippers/client/Client.js +156 -0
- package/api/resources/oortShippers/client/index.d.ts +1 -0
- package/api/resources/oortTaskGroups/client/Client.d.ts +6 -56
- package/api/resources/oortTaskGroups/client/Client.js +6 -222
- package/api/resources/oortTaskGroups/client/index.d.ts +1 -1
- package/api/resources/oortTaskGroups/client/index.js +0 -15
- package/api/resources/orgs/client/Client.d.ts +2 -52
- package/api/resources/orgs/client/Client.js +5 -215
- package/api/resources/{oortConnections/client/requests/CreateConnectionReq.d.ts → orgs/client/requests/PostOrgPublicDataReq.d.ts} +1 -1
- package/api/resources/orgs/client/requests/index.d.ts +1 -2
- package/api/resources/payments/client/Client.js +3 -3
- package/api/resources/profiles/client/Client.d.ts +67 -0
- package/{dist/api/resources/oortShipperUserInfo → api/resources/profiles}/client/Client.js +49 -79
- package/api/resources/profiles/client/requests/CourierProfileCreate2.d.ts +32 -0
- package/api/resources/profiles/client/requests/GetCourierProfileRequest.d.ts +12 -0
- package/api/resources/profiles/client/requests/GetHandleIsAvailableRequest.d.ts +15 -0
- package/api/resources/profiles/client/requests/index.d.ts +3 -0
- package/api/resources/profiles/index.d.ts +2 -0
- package/api/resources/profiles/index.js +18 -0
- package/api/resources/profiles/types/Type.d.ts +8 -0
- package/api/resources/profiles/types/Type.js +10 -0
- package/api/resources/profiles/types/index.d.ts +1 -0
- package/api/resources/profiles/types/index.js +17 -0
- package/api/resources/root/client/Client.d.ts +12 -12
- package/api/resources/root/client/Client.js +31 -31
- package/api/resources/root/types/PydanticResponse.d.ts +1 -1
- package/api/resources/users/client/Client.js +1 -1
- package/api/types/Action.d.ts +1 -1
- package/{dist/api/types/Vehicle1.d.ts → api/types/AppModelsDbOortVehicle1Vehicle1.d.ts} +2 -2
- package/api/types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.d.ts +10 -0
- package/api/types/Cargo1.d.ts +6 -6
- package/api/types/CargoClientCreate1.d.ts +3 -3
- package/api/types/CourierAvailabilityEnum.d.ts +9 -0
- package/api/types/CourierAvailabilityEnum.js +11 -0
- package/api/types/CourierCity.d.ts +9 -0
- package/{dist/api/types/CourierOrgConnectionInfo1.d.ts → api/types/CourierOrgInfo1.d.ts} +12 -11
- package/api/types/CourierOrgProfile3.d.ts +3 -4
- package/api/types/CourierProfile2.d.ts +28 -0
- package/{dist/api/types/MultipleTaskGroupsWithTasks.d.ts → api/types/CourierProfileRes2.d.ts} +3 -2
- package/api/types/CourierServiceEnum.d.ts +20 -0
- package/api/types/CourierServiceEnum.js +22 -0
- package/api/types/CourierState.d.ts +8 -0
- package/api/types/DecodedJwtWithOrgAndUserId.d.ts +8 -8
- package/api/types/Driver1.d.ts +8 -10
- package/api/types/EmailAddress1.d.ts +8 -0
- package/api/types/Expense1.d.ts +3 -3
- package/api/types/Feature.d.ts +2 -2
- package/api/types/GetOrderFullRes.d.ts +2 -2
- package/{dist/api/types/TaskGroupWithDetails.d.ts → api/types/GetTaskGroupWithFullTaskInfoRes.d.ts} +2 -2
- package/api/types/{TaskGroupWithTasks.d.ts → GetTaskGroupWithTasksRes.d.ts} +1 -1
- package/api/types/GetTaskGroupsWithFullTaskInfoListRes.d.ts +7 -0
- package/api/types/GetTaskGroupsWithTasksListRes.d.ts +7 -0
- package/api/types/{TaskGroupWithDetails.d.ts → GetTaskInfoListRes.d.ts} +2 -2
- package/api/types/Incident1.d.ts +1 -1
- package/api/types/IndustryEnum.d.ts +21 -0
- package/api/types/IndustryEnum.js +23 -0
- package/api/types/Insurance1.d.ts +1 -1
- package/api/types/LineItem1.d.ts +1 -1
- package/api/types/Milestone1.d.ts +12 -16
- package/api/types/MilestoneClientCreate1.d.ts +1 -1
- package/api/types/MilestoneTypeEnum1.d.ts +2 -3
- package/api/types/MilestoneTypeEnum1.js +1 -2
- package/api/types/Order1.d.ts +9 -11
- package/api/types/OrgMemberDetails.d.ts +2 -2
- package/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/api/types/OrgPublicData2.d.ts +3 -4
- package/api/types/PayablesInvoice1.d.ts +11 -11
- package/api/types/PhoneNumber1.d.ts +8 -0
- package/api/types/{CourierPayDriverRateSheet1.d.ts → RateSheet1.d.ts} +18 -18
- package/api/types/ReceivablesInvoice1.d.ts +7 -7
- package/api/types/Route1.d.ts +13 -0
- package/api/types/RouteByIdEnum.d.ts +8 -0
- package/api/types/RouteByIdEnum.js +10 -0
- package/api/types/RouteDetailRes.d.ts +9 -0
- package/api/types/Shipper2.d.ts +8 -8
- package/api/types/ShipperCourierConnection1.d.ts +4 -4
- package/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfo1.d.ts} +8 -7
- package/api/types/ShipperToCourier1.d.ts +16 -0
- package/api/types/ShipperUserInfo1.d.ts +7 -7
- package/api/types/SocialLinks.d.ts +8 -0
- package/api/types/StreetAddress1.d.ts +3 -3
- package/api/types/StripeConnectInvoice1.d.ts +5 -5
- package/api/types/Task1.d.ts +13 -14
- package/api/types/TaskClientCreate1.d.ts +5 -6
- package/api/types/TaskCreateBundle.d.ts +2 -4
- package/api/types/TaskDetailRes.d.ts +9 -0
- package/api/types/TaskGroup1.d.ts +6 -12
- package/api/types/TaskGroupDetailRes.d.ts +8 -0
- package/{dist/api/types/TaskWithDetails.d.ts → api/types/TaskInfo.d.ts} +3 -3
- package/api/types/Tracker1.d.ts +1 -1
- package/api/types/TrackerSession1.d.ts +1 -1
- package/api/types/{UpdateTaskGroupRes.d.ts → UpdateRouteRes.d.ts} +1 -1
- package/api/types/UsStatesEnum.d.ts +58 -0
- package/api/types/UsStatesEnum.js +60 -0
- package/api/types/UserPublicData5.d.ts +6 -6
- package/api/types/Vehicle1Input.d.ts +10 -0
- package/api/types/VehicleRate1.d.ts +9 -0
- package/api/types/index.d.ts +32 -19
- package/api/types/index.js +32 -19
- package/dist/Client.d.ts +30 -24
- package/dist/Client.js +55 -45
- package/dist/api/resources/dev/client/Client.d.ts +7 -7
- package/dist/api/resources/dev/client/Client.js +48 -48
- package/dist/api/resources/directory/client/Client.js +1 -1
- package/dist/api/resources/directory/client/requests/DbQueryParams.d.ts +2 -2
- package/dist/api/resources/index.d.ts +16 -14
- package/dist/api/resources/index.js +17 -15
- package/dist/api/resources/{oortNotificationPreferences → messages}/client/Client.d.ts +20 -12
- package/dist/api/resources/messages/client/Client.js +191 -0
- package/dist/api/resources/messages/client/requests/ShipperToCourierCreate1.d.ts +27 -0
- package/dist/api/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/api/resources/mirror/client/Client.d.ts +0 -25
- package/dist/api/resources/mirror/client/Client.js +10 -119
- package/dist/api/resources/oortCourierPayDriverRate/client/Client.d.ts +8 -38
- package/dist/api/resources/oortCourierPayDriverRate/client/Client.js +24 -65
- package/dist/api/resources/oortCourierPayDriverRate/client/index.d.ts +1 -1
- package/dist/api/resources/oortCourierPayDriverRate/client/index.js +0 -15
- package/dist/api/resources/oortDrivers/client/Client.d.ts +36 -48
- package/dist/api/resources/oortDrivers/client/Client.js +93 -146
- package/dist/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +3 -3
- package/dist/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -2
- package/dist/api/resources/oortDrivers/client/requests/index.d.ts +1 -2
- package/dist/api/resources/{oortConnections → oortHandles}/client/Client.d.ts +22 -15
- package/dist/api/resources/{oortConnections → oortHandles}/client/Client.js +40 -28
- package/dist/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → oortHandles/client/requests/HandlesReq.d.ts} +1 -1
- package/dist/api/resources/oortHandles/client/requests/index.d.ts +1 -0
- package/dist/api/resources/oortMilestones/client/Client.d.ts +15 -28
- package/dist/api/resources/oortMilestones/client/Client.js +41 -96
- package/dist/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +1 -1
- package/dist/api/resources/oortMilestones/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortOrders/client/Client.d.ts +35 -45
- package/dist/api/resources/oortOrders/client/Client.js +89 -140
- package/dist/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +14 -14
- package/dist/api/resources/oortOrgProfiles/client/Client.d.ts +3 -15
- package/dist/api/resources/oortOrgProfiles/client/Client.js +8 -65
- package/dist/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +7 -6
- package/dist/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortRateSheets/client/Client.d.ts +66 -0
- package/dist/api/resources/{oortNotificationPreferences → oortRateSheets}/client/Client.js +52 -35
- package/{api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts → dist/api/resources/oortRateSheets/client/requests/RateSheetClientCreate1.d.ts} +25 -26
- package/dist/api/resources/oortRateSheets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/oortRoutes/client/Client.d.ts +103 -0
- package/{api/resources/oortOrgConnectionInfos → dist/api/resources/oortRoutes}/client/Client.js +134 -71
- package/dist/api/resources/oortRoutes/client/index.d.ts +1 -0
- package/dist/api/resources/oortRoutes/client/index.js +17 -0
- package/dist/api/resources/oortRoutes/client/requests/GetOortRoutesByIdRequest.d.ts +29 -0
- package/dist/api/resources/{orgs/client/requests/UpdateOrgPublicDataReq.d.ts → oortRoutes/client/requests/RouteCreateReq.d.ts} +3 -3
- package/{api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts → dist/api/resources/oortRoutes/client/requests/UpdateRouteReq.d.ts} +6 -4
- package/dist/api/resources/oortRoutes/client/requests/index.d.ts +3 -0
- package/dist/api/resources/oortRoutes/index.d.ts +1 -0
- package/dist/api/resources/oortRoutes/index.js +17 -0
- package/dist/api/resources/oortShippers/client/Client.d.ts +44 -0
- package/dist/api/resources/oortShippers/client/Client.js +156 -0
- package/dist/api/resources/oortShippers/client/index.d.ts +1 -0
- package/dist/api/resources/oortShippers/index.d.ts +1 -0
- package/dist/api/resources/oortShippers/index.js +17 -0
- package/dist/api/resources/oortTaskGroups/client/Client.d.ts +6 -56
- package/dist/api/resources/oortTaskGroups/client/Client.js +6 -222
- package/dist/api/resources/oortTaskGroups/client/index.d.ts +1 -1
- package/dist/api/resources/oortTaskGroups/client/index.js +0 -15
- package/dist/api/resources/orgs/client/Client.d.ts +2 -52
- package/dist/api/resources/orgs/client/Client.js +5 -215
- package/dist/api/resources/{oortConnections/client/requests/CreateConnectionReq.d.ts → orgs/client/requests/PostOrgPublicDataReq.d.ts} +1 -1
- package/dist/api/resources/orgs/client/requests/index.d.ts +1 -2
- package/dist/api/resources/payments/client/Client.js +3 -3
- package/dist/api/resources/profiles/client/Client.d.ts +67 -0
- package/{api/resources/oortShipperUserInfo → dist/api/resources/profiles}/client/Client.js +49 -79
- package/dist/api/resources/profiles/client/index.d.ts +1 -0
- package/dist/api/resources/profiles/client/index.js +17 -0
- package/dist/api/resources/profiles/client/requests/CourierProfileCreate2.d.ts +32 -0
- package/dist/api/resources/profiles/client/requests/GetCourierProfileRequest.d.ts +12 -0
- package/dist/api/resources/profiles/client/requests/GetHandleIsAvailableRequest.d.ts +15 -0
- package/dist/api/resources/profiles/client/requests/index.d.ts +3 -0
- package/dist/api/resources/profiles/index.d.ts +2 -0
- package/dist/api/resources/profiles/index.js +18 -0
- package/dist/api/resources/profiles/types/Type.d.ts +8 -0
- package/dist/api/resources/profiles/types/Type.js +10 -0
- package/dist/api/resources/profiles/types/index.d.ts +1 -0
- package/dist/api/resources/profiles/types/index.js +17 -0
- package/dist/api/resources/root/client/Client.d.ts +12 -12
- package/dist/api/resources/root/client/Client.js +31 -31
- package/dist/api/resources/root/types/PydanticResponse.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +1 -1
- package/dist/api/types/Action.d.ts +1 -1
- package/{api/types/Vehicle1.d.ts → dist/api/types/AppModelsDbOortVehicle1Vehicle1.d.ts} +2 -2
- package/dist/api/types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.d.ts +10 -0
- package/dist/api/types/Cargo1.d.ts +6 -6
- package/dist/api/types/CargoClientCreate1.d.ts +3 -3
- package/dist/api/types/CourierAvailabilityEnum.d.ts +9 -0
- package/dist/api/types/CourierAvailabilityEnum.js +11 -0
- package/dist/api/types/CourierCity.d.ts +9 -0
- package/{api/types/CourierOrgConnectionInfo1.d.ts → dist/api/types/CourierOrgInfo1.d.ts} +12 -11
- package/dist/api/types/CourierOrgProfile3.d.ts +3 -4
- package/dist/api/types/CourierProfile2.d.ts +28 -0
- package/{api/types/MultipleTaskGroupsWithTasks.d.ts → dist/api/types/CourierProfileRes2.d.ts} +3 -2
- package/dist/api/types/CourierServiceEnum.d.ts +20 -0
- package/dist/api/types/CourierServiceEnum.js +22 -0
- package/dist/api/types/CourierState.d.ts +8 -0
- package/dist/api/types/DecodedJwtWithOrgAndUserId.d.ts +8 -8
- package/dist/api/types/Driver1.d.ts +8 -10
- package/dist/api/types/EmailAddress1.d.ts +8 -0
- package/dist/api/types/Expense1.d.ts +3 -3
- package/dist/api/types/Feature.d.ts +2 -2
- package/dist/api/types/GetOrderFullRes.d.ts +2 -2
- package/dist/api/types/GetTaskGroupWithFullTaskInfoRes.d.ts +8 -0
- package/dist/api/types/{TaskGroupWithTasks.d.ts → GetTaskGroupWithTasksRes.d.ts} +1 -1
- package/dist/api/types/GetTaskGroupsWithFullTaskInfoListRes.d.ts +7 -0
- package/dist/api/types/GetTaskGroupsWithTasksListRes.d.ts +7 -0
- package/dist/api/types/GetTaskInfoListRes.d.ts +8 -0
- package/dist/api/types/Incident1.d.ts +1 -1
- package/dist/api/types/IndustryEnum.d.ts +21 -0
- package/dist/api/types/IndustryEnum.js +23 -0
- package/dist/api/types/Insurance1.d.ts +1 -1
- package/dist/api/types/LineItem1.d.ts +1 -1
- package/dist/api/types/Milestone1.d.ts +12 -16
- package/dist/api/types/MilestoneClientCreate1.d.ts +1 -1
- package/dist/api/types/MilestoneTypeEnum1.d.ts +2 -3
- package/dist/api/types/MilestoneTypeEnum1.js +1 -2
- package/dist/api/types/Order1.d.ts +9 -11
- package/dist/api/types/OrgMemberDetails.d.ts +2 -2
- package/dist/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/api/types/OrgPublicData2.d.ts +3 -4
- package/dist/api/types/PayablesInvoice1.d.ts +11 -11
- package/dist/api/types/PhoneNumber1.d.ts +8 -0
- package/dist/api/types/{CourierPayDriverRateSheet1.d.ts → RateSheet1.d.ts} +18 -18
- package/dist/api/types/RateSheet1.js +5 -0
- package/dist/api/types/ReceivablesInvoice1.d.ts +7 -7
- package/dist/api/types/Route1.d.ts +13 -0
- package/dist/api/types/Route1.js +5 -0
- package/dist/api/types/RouteByIdEnum.d.ts +8 -0
- package/dist/api/types/RouteByIdEnum.js +10 -0
- package/dist/api/types/RouteDetailRes.d.ts +9 -0
- package/dist/api/types/RouteDetailRes.js +5 -0
- package/dist/api/types/Shipper2.d.ts +8 -8
- package/dist/api/types/ShipperCourierConnection1.d.ts +4 -4
- package/dist/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfo1.d.ts} +8 -7
- package/dist/api/types/ShipperOrgInfo1.js +5 -0
- package/dist/api/types/ShipperToCourier1.d.ts +16 -0
- package/dist/api/types/ShipperToCourier1.js +5 -0
- package/dist/api/types/ShipperUserInfo1.d.ts +7 -7
- package/dist/api/types/SocialLinks.d.ts +8 -0
- package/dist/api/types/SocialLinks.js +5 -0
- package/dist/api/types/StreetAddress1.d.ts +3 -3
- package/dist/api/types/StripeConnectInvoice1.d.ts +5 -5
- package/dist/api/types/Task1.d.ts +13 -14
- package/dist/api/types/TaskClientCreate1.d.ts +5 -6
- package/dist/api/types/TaskCreateBundle.d.ts +2 -4
- package/dist/api/types/TaskDetailRes.d.ts +9 -0
- package/dist/api/types/TaskDetailRes.js +5 -0
- package/dist/api/types/TaskGroup1.d.ts +6 -12
- package/dist/api/types/TaskGroupDetailRes.d.ts +8 -0
- package/dist/api/types/TaskGroupDetailRes.js +5 -0
- package/{api/types/TaskWithDetails.d.ts → dist/api/types/TaskInfo.d.ts} +3 -3
- package/dist/api/types/TaskInfo.js +5 -0
- package/dist/api/types/Tracker1.d.ts +1 -1
- package/dist/api/types/TrackerSession1.d.ts +1 -1
- package/dist/api/types/{UpdateTaskGroupRes.d.ts → UpdateRouteRes.d.ts} +1 -1
- package/dist/api/types/UpdateRouteRes.js +5 -0
- package/dist/api/types/UsStatesEnum.d.ts +58 -0
- package/dist/api/types/UsStatesEnum.js +60 -0
- package/dist/api/types/UserPublicData5.d.ts +6 -6
- package/dist/api/types/Vehicle1Input.d.ts +10 -0
- package/dist/api/types/Vehicle1Input.js +5 -0
- package/dist/api/types/VehicleRate1.d.ts +9 -0
- package/dist/api/types/VehicleRate1.js +5 -0
- package/dist/api/types/index.d.ts +32 -19
- package/dist/api/types/index.js +32 -19
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +759 -1435
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/oortConnections/client/requests/index.d.ts +0 -1
- package/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
- package/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
- package/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
- package/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.d.ts +0 -18
- package/api/resources/oortNotificationPreferences/client/requests/index.d.ts +0 -1
- package/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -102
- package/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +0 -24
- package/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.d.ts +0 -18
- package/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +0 -24
- package/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
- package/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +0 -4
- package/api/resources/oortShipperUserInfo/client/Client.d.ts +0 -73
- package/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.d.ts +0 -24
- package/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.d.ts +0 -21
- package/api/resources/oortShipperUserInfo/client/requests/index.d.ts +0 -2
- package/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
- package/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
- package/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
- package/api/types/DriverStatusEnum.d.ts +0 -9
- package/api/types/DriverStatusEnum.js +0 -11
- package/api/types/EmailReq.d.ts +0 -6
- package/api/types/EmailRes.d.ts +0 -7
- package/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
- package/api/types/NotificationChannelEnum.d.ts +0 -10
- package/api/types/NotificationChannelEnum.js +0 -12
- package/api/types/NotificationPreferences1.d.ts +0 -18
- package/api/types/OrderStatusEnum1.d.ts +0 -10
- package/api/types/OrderStatusEnum1.js +0 -12
- package/api/types/TaskGroupDetailsResponse.d.ts +0 -8
- package/api/types/TaskGroupStatusEnum1.d.ts +0 -9
- package/api/types/TaskGroupStatusEnum1.js +0 -11
- package/dist/api/resources/oortConnections/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
- package/dist/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
- package/dist/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/api/resources/oortNotificationPreferences/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -102
- package/dist/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +0 -24
- package/dist/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.d.ts +0 -18
- package/dist/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +0 -24
- package/dist/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +0 -20
- package/dist/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +0 -4
- package/dist/api/resources/oortShipperUserInfo/client/Client.d.ts +0 -73
- package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.d.ts +0 -24
- package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.d.ts +0 -21
- package/dist/api/resources/oortShipperUserInfo/client/requests/index.d.ts +0 -2
- package/dist/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
- package/dist/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
- package/dist/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
- package/dist/api/types/DriverStatusEnum.d.ts +0 -9
- package/dist/api/types/DriverStatusEnum.js +0 -11
- package/dist/api/types/EmailReq.d.ts +0 -6
- package/dist/api/types/EmailRes.d.ts +0 -7
- package/dist/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
- package/dist/api/types/NotificationChannelEnum.d.ts +0 -10
- package/dist/api/types/NotificationChannelEnum.js +0 -12
- package/dist/api/types/NotificationPreferences1.d.ts +0 -18
- package/dist/api/types/OrderStatusEnum1.d.ts +0 -10
- package/dist/api/types/OrderStatusEnum1.js +0 -12
- package/dist/api/types/TaskGroupDetailsResponse.d.ts +0 -8
- package/dist/api/types/TaskGroupStatusEnum1.d.ts +0 -9
- package/dist/api/types/TaskGroupStatusEnum1.js +0 -11
- /package/api/resources/{oortConnections → messages}/client/index.d.ts +0 -0
- /package/api/resources/{oortConnections → messages}/client/index.js +0 -0
- /package/api/resources/{oortConnections/client/requests/CreateConnectionReq.js → messages/client/requests/ShipperToCourierCreate1.js} +0 -0
- /package/api/resources/{oortConnections → messages}/client/requests/index.js +0 -0
- /package/api/resources/{oortConnections → messages}/index.d.ts +0 -0
- /package/api/resources/{oortConnections → messages}/index.js +0 -0
- /package/api/resources/{oortNotificationPreferences → oortHandles}/client/index.d.ts +0 -0
- /package/api/resources/{oortNotificationPreferences → oortHandles}/client/index.js +0 -0
- /package/api/resources/{oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js → oortHandles/client/requests/HandlesReq.js} +0 -0
- /package/api/resources/{oortCourierPayDriverRate → oortHandles}/client/requests/index.js +0 -0
- /package/api/resources/{oortNotificationPreferences → oortHandles}/index.d.ts +0 -0
- /package/api/resources/{oortNotificationPreferences → oortHandles}/index.js +0 -0
- /package/api/resources/{oortOrgConnectionInfos → oortRateSheets}/client/index.d.ts +0 -0
- /package/api/resources/{oortOrgConnectionInfos → oortRateSheets}/client/index.js +0 -0
- /package/api/resources/{oortDrivers/client/requests/DriverCreateReq.js → oortRateSheets/client/requests/RateSheetClientCreate1.js} +0 -0
- /package/api/resources/{oortNotificationPreferences → oortRateSheets}/client/requests/index.js +0 -0
- /package/api/resources/{oortOrgConnectionInfos → oortRateSheets}/index.d.ts +0 -0
- /package/api/resources/{oortOrgConnectionInfos → oortRateSheets}/index.js +0 -0
- /package/api/resources/{oortShipperUserInfo → oortRoutes}/client/index.d.ts +0 -0
- /package/api/resources/{oortShipperUserInfo → oortRoutes}/client/index.js +0 -0
- /package/api/resources/{oortMilestones/client/requests/MilestoneAddToTaskReq.js → oortRoutes/client/requests/GetOortRoutesByIdRequest.js} +0 -0
- /package/api/resources/{oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.js → oortRoutes/client/requests/RouteCreateReq.js} +0 -0
- /package/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → oortRoutes/client/requests/UpdateRouteReq.js} +0 -0
- /package/api/resources/{oortOrgConnectionInfos → oortRoutes}/client/requests/index.js +0 -0
- /package/api/resources/{oortShipperUserInfo → oortRoutes}/index.d.ts +0 -0
- /package/api/resources/{oortShipperUserInfo → oortRoutes}/index.js +0 -0
- /package/api/resources/{oortShipperUserInfo/client/requests → oortShippers/client}/index.js +0 -0
- /package/{dist/api/resources/oortConnections → api/resources/oortShippers}/index.d.ts +0 -0
- /package/{dist/api/resources/oortConnections → api/resources/oortShippers}/index.js +0 -0
- /package/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.js → orgs/client/requests/PostOrgPublicDataReq.js} +0 -0
- /package/{dist/api/resources/oortConnections → api/resources/profiles}/client/index.d.ts +0 -0
- /package/{dist/api/resources/oortConnections → api/resources/profiles}/client/index.js +0 -0
- /package/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → profiles/client/requests/CourierProfileCreate2.js} +0 -0
- /package/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → profiles/client/requests/GetCourierProfileRequest.js} +0 -0
- /package/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.js → profiles/client/requests/GetHandleIsAvailableRequest.js} +0 -0
- /package/api/resources/{oortTaskGroups → profiles}/client/requests/index.js +0 -0
- /package/api/{resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.js → types/AppModelsDbOortVehicle1Vehicle1.js} +0 -0
- /package/api/{resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.js → types/AppModelsDbProfilesCourierOrgProfile2Vehicle1.js} +0 -0
- /package/api/{resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js → types/CourierCity.js} +0 -0
- /package/api/{resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js → types/CourierOrgInfo1.js} +0 -0
- /package/api/{resources/orgs/client/requests/CreateOrgPublicDataReq.js → types/CourierProfile2.js} +0 -0
- /package/api/{resources/orgs/client/requests/UpdateOrgPublicDataReq.js → types/CourierProfileRes2.js} +0 -0
- /package/api/types/{CourierOrgConnectionInfo1.js → CourierState.js} +0 -0
- /package/api/types/{CourierPayDriverRateSheet1.js → EmailAddress1.js} +0 -0
- /package/api/types/{EmailReq.js → GetTaskGroupWithFullTaskInfoRes.js} +0 -0
- /package/api/types/{EmailRes.js → GetTaskGroupWithTasksRes.js} +0 -0
- /package/api/types/{MultipleTaskGroupsDetailsResponse.js → GetTaskGroupsWithFullTaskInfoListRes.js} +0 -0
- /package/api/types/{MultipleTaskGroupsWithTasks.js → GetTaskGroupsWithTasksListRes.js} +0 -0
- /package/api/types/{NotificationPreferences1.js → GetTaskInfoListRes.js} +0 -0
- /package/api/types/{ShipperOrgConnectionInfo1.js → PhoneNumber1.js} +0 -0
- /package/api/types/{TaskGroupDetailsResponse.js → RateSheet1.js} +0 -0
- /package/api/types/{TaskGroupWithDetails.js → Route1.js} +0 -0
- /package/api/types/{TaskGroupWithTasks.js → RouteDetailRes.js} +0 -0
- /package/api/types/{TaskWithDetails.js → ShipperOrgInfo1.js} +0 -0
- /package/api/types/{UpdateTaskGroupRes.js → ShipperToCourier1.js} +0 -0
- /package/api/types/{Vehicle1.js → SocialLinks.js} +0 -0
- /package/{dist/api/resources/oortConnections/client/requests/CreateConnectionReq.js → api/types/TaskDetailRes.js} +0 -0
- /package/{dist/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js → api/types/TaskGroupDetailRes.js} +0 -0
- /package/{dist/api/resources/oortDrivers/client/requests/DriverCreateReq.js → api/types/TaskInfo.js} +0 -0
- /package/{dist/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js → api/types/UpdateRouteRes.js} +0 -0
- /package/{dist/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.js → api/types/Vehicle1Input.js} +0 -0
- /package/{dist/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → api/types/VehicleRate1.js} +0 -0
- /package/dist/api/resources/{oortNotificationPreferences → messages}/client/index.d.ts +0 -0
- /package/dist/api/resources/{oortNotificationPreferences → messages}/client/index.js +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.js → messages/client/requests/ShipperToCourierCreate1.js} +0 -0
- /package/dist/api/resources/{oortConnections → messages}/client/requests/index.js +0 -0
- /package/dist/api/resources/{oortNotificationPreferences → messages}/index.d.ts +0 -0
- /package/dist/api/resources/{oortNotificationPreferences → messages}/index.js +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos → oortHandles}/client/index.d.ts +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos → oortHandles}/client/index.js +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → oortHandles/client/requests/HandlesReq.js} +0 -0
- /package/dist/api/resources/{oortCourierPayDriverRate → oortHandles}/client/requests/index.js +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos → oortHandles}/index.d.ts +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos → oortHandles}/index.js +0 -0
- /package/dist/api/resources/{oortShipperUserInfo → oortRateSheets}/client/index.d.ts +0 -0
- /package/dist/api/resources/{oortShipperUserInfo → oortRateSheets}/client/index.js +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → oortRateSheets/client/requests/RateSheetClientCreate1.js} +0 -0
- /package/dist/api/resources/{oortNotificationPreferences → oortRateSheets}/client/requests/index.js +0 -0
- /package/dist/api/resources/{oortShipperUserInfo → oortRateSheets}/index.d.ts +0 -0
- /package/dist/api/resources/{oortShipperUserInfo → oortRateSheets}/index.js +0 -0
- /package/dist/api/resources/{oortOrgProfiles/client/requests/GetAvatarRequest.js → oortRoutes/client/requests/GetOortRoutesByIdRequest.js} +0 -0
- /package/dist/api/resources/{oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.js → oortRoutes/client/requests/RouteCreateReq.js} +0 -0
- /package/dist/api/resources/{oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.js → oortRoutes/client/requests/UpdateRouteReq.js} +0 -0
- /package/dist/api/resources/{oortOrgConnectionInfos → oortRoutes}/client/requests/index.js +0 -0
- /package/dist/api/resources/{oortShipperUserInfo/client/requests → oortShippers/client}/index.js +0 -0
- /package/dist/api/resources/{oortTaskGroups/client/requests/SetTaskGroupPauseReq.js → orgs/client/requests/PostOrgPublicDataReq.js} +0 -0
- /package/dist/api/resources/{oortTaskGroups/client/requests/UpdateTaskGroupReq.js → profiles/client/requests/CourierProfileCreate2.js} +0 -0
- /package/dist/api/resources/{orgs/client/requests/CreateOrgPublicDataReq.js → profiles/client/requests/GetCourierProfileRequest.js} +0 -0
- /package/dist/api/resources/{orgs/client/requests/UpdateOrgPublicDataReq.js → profiles/client/requests/GetHandleIsAvailableRequest.js} +0 -0
- /package/dist/api/resources/{oortTaskGroups → profiles}/client/requests/index.js +0 -0
- /package/dist/api/types/{CourierOrgConnectionInfo1.js → AppModelsDbOortVehicle1Vehicle1.js} +0 -0
- /package/dist/api/types/{CourierPayDriverRateSheet1.js → AppModelsDbProfilesCourierOrgProfile2Vehicle1.js} +0 -0
- /package/dist/api/types/{EmailReq.js → CourierCity.js} +0 -0
- /package/dist/api/types/{EmailRes.js → CourierOrgInfo1.js} +0 -0
- /package/dist/api/types/{MultipleTaskGroupsDetailsResponse.js → CourierProfile2.js} +0 -0
- /package/dist/api/types/{MultipleTaskGroupsWithTasks.js → CourierProfileRes2.js} +0 -0
- /package/dist/api/types/{NotificationPreferences1.js → CourierState.js} +0 -0
- /package/dist/api/types/{ShipperOrgConnectionInfo1.js → EmailAddress1.js} +0 -0
- /package/dist/api/types/{TaskGroupDetailsResponse.js → GetTaskGroupWithFullTaskInfoRes.js} +0 -0
- /package/dist/api/types/{TaskGroupWithDetails.js → GetTaskGroupWithTasksRes.js} +0 -0
- /package/dist/api/types/{TaskGroupWithTasks.js → GetTaskGroupsWithFullTaskInfoListRes.js} +0 -0
- /package/dist/api/types/{TaskWithDetails.js → GetTaskGroupsWithTasksListRes.js} +0 -0
- /package/dist/api/types/{UpdateTaskGroupRes.js → GetTaskInfoListRes.js} +0 -0
- /package/dist/api/types/{Vehicle1.js → PhoneNumber1.js} +0 -0
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
|
-
export interface
|
|
6
|
-
|
|
5
|
+
export interface ShipperOrgInfo1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
company_name: string;
|
|
8
|
+
industry?: string;
|
|
9
|
+
street_address?: Chrt.Feature;
|
|
7
10
|
contact_first_name?: string;
|
|
8
11
|
contact_last_name?: string;
|
|
12
|
+
phone_number_primary?: string;
|
|
13
|
+
phone_number_secondary?: string;
|
|
9
14
|
email_address_primary: string;
|
|
10
15
|
email_address_secondary?: string;
|
|
11
|
-
industry?: string;
|
|
12
16
|
job_title?: string;
|
|
13
17
|
notes?: string;
|
|
14
|
-
phone_number_primary?: string;
|
|
15
|
-
phone_number_secondary?: string;
|
|
16
|
-
schema_version: number;
|
|
17
18
|
/** Must be a string starting with `org_` */
|
|
18
19
|
shipper_org_id: string;
|
|
19
20
|
/** Must be a string starting with `user_` */
|
|
20
21
|
shipper_user_id?: string;
|
|
21
|
-
|
|
22
|
+
_id: string;
|
|
22
23
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ShipperToCourier1 {
|
|
5
|
+
schema_version: number;
|
|
6
|
+
user_id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
email_address: string;
|
|
9
|
+
message: string;
|
|
10
|
+
phone_number?: string;
|
|
11
|
+
viewed: boolean;
|
|
12
|
+
/** Must be a string starting with `user_` */
|
|
13
|
+
shipper_user_id?: string;
|
|
14
|
+
created_at?: string;
|
|
15
|
+
_id: string;
|
|
16
|
+
}
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
5
|
export interface ShipperUserInfo1 {
|
|
6
|
-
|
|
6
|
+
schema_version: number;
|
|
7
7
|
company_name?: string;
|
|
8
|
+
industry?: string;
|
|
9
|
+
street_address?: Chrt.Feature;
|
|
8
10
|
contact_first_name?: string;
|
|
9
11
|
contact_last_name?: string;
|
|
12
|
+
phone_number_primary?: string;
|
|
13
|
+
phone_number_secondary?: string;
|
|
10
14
|
email_address_primary?: string;
|
|
11
15
|
email_address_secondary?: string;
|
|
12
|
-
industry?: string;
|
|
13
16
|
job_title?: string;
|
|
14
17
|
notes?: string;
|
|
15
|
-
|
|
16
|
-
phone_number_secondary?: string;
|
|
17
|
-
schema_version: number;
|
|
18
|
+
_id: string;
|
|
18
19
|
/** Must be a string starting with `org_` */
|
|
19
20
|
shipper_org_id: string;
|
|
20
21
|
/** Must be a string starting with `user_` */
|
|
21
|
-
shipper_user_id
|
|
22
|
-
street_address?: Chrt.Feature;
|
|
22
|
+
shipper_user_id?: string;
|
|
23
23
|
}
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface StreetAddress1 {
|
|
5
|
+
schema_version: number;
|
|
5
6
|
/** Primary street address */
|
|
6
7
|
address_line_1?: string;
|
|
7
8
|
/** Apartment, suite, or unit number */
|
|
8
9
|
address_line_2?: string;
|
|
9
10
|
/** City name */
|
|
10
11
|
city?: string;
|
|
11
|
-
/** Country name or code (e.g. 'US') */
|
|
12
|
-
country?: string;
|
|
13
|
-
schema_version: number;
|
|
14
12
|
/** State or province code (e.g. TX) */
|
|
15
13
|
state?: string;
|
|
16
14
|
/** ZIP code */
|
|
17
15
|
zip_code?: string;
|
|
16
|
+
/** Country name or code (e.g. 'US') */
|
|
17
|
+
country?: string;
|
|
18
18
|
}
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
5
|
export interface StripeConnectInvoice1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
8
|
+
order_id: string;
|
|
9
|
+
task_group_id?: string;
|
|
10
|
+
line_items?: Chrt.LineItem1[];
|
|
11
|
+
status: Chrt.Status;
|
|
7
12
|
courier_approved?: boolean;
|
|
8
13
|
courier_approved_at?: string;
|
|
9
14
|
/** Must be a string starting with `user_` */
|
|
10
15
|
courier_approved_by_user_id?: string;
|
|
11
|
-
line_items?: Chrt.LineItem1[];
|
|
12
|
-
order_id: string;
|
|
13
|
-
schema_version: number;
|
|
14
16
|
shipper_approved?: boolean;
|
|
15
17
|
shipper_approved_at?: string;
|
|
16
18
|
/** Must be a string starting with `user_` */
|
|
17
19
|
shipper_approved_by_user_id?: string;
|
|
18
|
-
status: Chrt.Status;
|
|
19
|
-
task_group_id?: string;
|
|
20
20
|
}
|
package/api/types/Task1.d.ts
CHANGED
|
@@ -3,27 +3,26 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
5
|
export interface Task1 {
|
|
6
|
-
|
|
6
|
+
schema_version: number;
|
|
7
|
+
location?: Chrt.Feature;
|
|
7
8
|
action?: Chrt.Action;
|
|
8
|
-
|
|
9
|
+
primary_point_of_contact_id?: string;
|
|
10
|
+
secondary_point_of_contact_id?: string;
|
|
9
11
|
arrive_by?: string;
|
|
10
|
-
|
|
12
|
+
arrive_at?: string;
|
|
11
13
|
comments?: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
_id: string;
|
|
15
|
+
order_id: string;
|
|
16
|
+
order_short_id: string;
|
|
14
17
|
/** Must be a string starting with `org_` */
|
|
15
18
|
created_by_org_id: string;
|
|
16
19
|
/** Must be a string starting with `user_` */
|
|
17
20
|
created_by_user_id: string;
|
|
18
|
-
|
|
21
|
+
completed?: boolean;
|
|
22
|
+
completed_at?: string;
|
|
23
|
+
cargo_ids?: string[];
|
|
24
|
+
milestone_ids?: string[];
|
|
19
25
|
incident_ids?: string[];
|
|
20
26
|
insurance_ids?: string[];
|
|
21
|
-
|
|
22
|
-
milestone_ids?: string[];
|
|
23
|
-
order_cancelled?: boolean;
|
|
24
|
-
order_id: string;
|
|
25
|
-
order_short_id: string;
|
|
26
|
-
primary_point_of_contact_id?: string;
|
|
27
|
-
schema_version: number;
|
|
28
|
-
secondary_point_of_contact_id?: string;
|
|
27
|
+
flight_number?: string;
|
|
29
28
|
}
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
5
|
export interface TaskClientCreate1 {
|
|
6
|
-
|
|
7
|
-
arrive_at?: string;
|
|
8
|
-
arrive_by?: string;
|
|
9
|
-
comments?: string;
|
|
10
|
-
flight_number?: string;
|
|
6
|
+
schema_version: number;
|
|
11
7
|
location?: Chrt.Feature;
|
|
8
|
+
action?: Chrt.Action;
|
|
12
9
|
primary_point_of_contact_id?: string;
|
|
13
|
-
schema_version: number;
|
|
14
10
|
secondary_point_of_contact_id?: string;
|
|
11
|
+
arrive_by?: string;
|
|
12
|
+
arrive_at?: string;
|
|
13
|
+
comments?: string;
|
|
15
14
|
}
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
5
|
export interface TaskCreateBundle {
|
|
6
|
+
task_client_create: Chrt.TaskClientCreate1;
|
|
7
|
+
milestone_client_creates?: Chrt.MilestoneClientCreate1[];
|
|
6
8
|
/** Client-side generated UUID that is used with cargo_client_creates_map to find a oort.CargoClientCreate1 object */
|
|
7
9
|
cargo_client_creates_uuids?: string[];
|
|
8
|
-
/** Email addresses to send notifications to for each milestone */
|
|
9
|
-
email_addresses?: string[];
|
|
10
10
|
flight_number?: string;
|
|
11
|
-
milestone_client_creates?: Chrt.MilestoneClientCreate1[];
|
|
12
|
-
task_client_create: Chrt.TaskClientCreate1;
|
|
13
11
|
}
|
|
@@ -3,22 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
5
|
export interface TaskGroup1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
7
|
-
completed?: boolean;
|
|
8
|
-
completed_at?: string;
|
|
9
|
-
/** Must be a string starting with `org_` */
|
|
10
|
-
courier_org_id?: string;
|
|
11
|
-
driver_id?: string;
|
|
12
|
-
line_items?: Chrt.LineItem1[];
|
|
13
|
-
order_cancelled?: boolean;
|
|
14
8
|
order_id: string;
|
|
15
9
|
order_short_id: string;
|
|
16
|
-
|
|
10
|
+
task_ids: string[];
|
|
11
|
+
line_items?: Chrt.LineItem1[];
|
|
17
12
|
payables_invoice_id?: string;
|
|
18
|
-
schema_version: number;
|
|
19
13
|
/** Must be a string starting with `org_` */
|
|
20
14
|
shipper_org_id?: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
/** Must be a string starting with `org_` */
|
|
16
|
+
courier_org_id?: string;
|
|
17
|
+
route_id?: string;
|
|
24
18
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index";
|
|
5
|
-
export interface
|
|
6
|
-
cargos: Chrt.Cargo1[];
|
|
7
|
-
milestones: Chrt.Milestone1[];
|
|
5
|
+
export interface TaskInfo {
|
|
8
6
|
task: Chrt.Task1;
|
|
7
|
+
milestones: Chrt.Milestone1[];
|
|
8
|
+
cargos: Chrt.Cargo1[];
|
|
9
9
|
}
|
package/api/types/Tracker1.d.ts
CHANGED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type UsStatesEnum = "alabama" | "alaska" | "arizona" | "arkansas" | "california" | "colorado" | "connecticut" | "delaware" | "florida" | "georgia" | "hawaii" | "idaho" | "illinois" | "indiana" | "iowa" | "kansas" | "kentucky" | "louisiana" | "maine" | "maryland" | "massachusetts" | "michigan" | "minnesota" | "mississippi" | "missouri" | "montana" | "nebraska" | "nevada" | "new_hampshire" | "new_jersey" | "new_mexico" | "new_york" | "north_carolina" | "north_dakota" | "ohio" | "oklahoma" | "oregon" | "pennsylvania" | "rhode_island" | "south_carolina" | "south_dakota" | "tennessee" | "texas" | "utah" | "vermont" | "virginia" | "washington" | "west_virginia" | "wisconsin" | "wyoming" | "district_of_columbia" | "puerto_rico";
|
|
5
|
+
export declare const UsStatesEnum: {
|
|
6
|
+
readonly Alabama: "alabama";
|
|
7
|
+
readonly Alaska: "alaska";
|
|
8
|
+
readonly Arizona: "arizona";
|
|
9
|
+
readonly Arkansas: "arkansas";
|
|
10
|
+
readonly California: "california";
|
|
11
|
+
readonly Colorado: "colorado";
|
|
12
|
+
readonly Connecticut: "connecticut";
|
|
13
|
+
readonly Delaware: "delaware";
|
|
14
|
+
readonly Florida: "florida";
|
|
15
|
+
readonly Georgia: "georgia";
|
|
16
|
+
readonly Hawaii: "hawaii";
|
|
17
|
+
readonly Idaho: "idaho";
|
|
18
|
+
readonly Illinois: "illinois";
|
|
19
|
+
readonly Indiana: "indiana";
|
|
20
|
+
readonly Iowa: "iowa";
|
|
21
|
+
readonly Kansas: "kansas";
|
|
22
|
+
readonly Kentucky: "kentucky";
|
|
23
|
+
readonly Louisiana: "louisiana";
|
|
24
|
+
readonly Maine: "maine";
|
|
25
|
+
readonly Maryland: "maryland";
|
|
26
|
+
readonly Massachusetts: "massachusetts";
|
|
27
|
+
readonly Michigan: "michigan";
|
|
28
|
+
readonly Minnesota: "minnesota";
|
|
29
|
+
readonly Mississippi: "mississippi";
|
|
30
|
+
readonly Missouri: "missouri";
|
|
31
|
+
readonly Montana: "montana";
|
|
32
|
+
readonly Nebraska: "nebraska";
|
|
33
|
+
readonly Nevada: "nevada";
|
|
34
|
+
readonly NewHampshire: "new_hampshire";
|
|
35
|
+
readonly NewJersey: "new_jersey";
|
|
36
|
+
readonly NewMexico: "new_mexico";
|
|
37
|
+
readonly NewYork: "new_york";
|
|
38
|
+
readonly NorthCarolina: "north_carolina";
|
|
39
|
+
readonly NorthDakota: "north_dakota";
|
|
40
|
+
readonly Ohio: "ohio";
|
|
41
|
+
readonly Oklahoma: "oklahoma";
|
|
42
|
+
readonly Oregon: "oregon";
|
|
43
|
+
readonly Pennsylvania: "pennsylvania";
|
|
44
|
+
readonly RhodeIsland: "rhode_island";
|
|
45
|
+
readonly SouthCarolina: "south_carolina";
|
|
46
|
+
readonly SouthDakota: "south_dakota";
|
|
47
|
+
readonly Tennessee: "tennessee";
|
|
48
|
+
readonly Texas: "texas";
|
|
49
|
+
readonly Utah: "utah";
|
|
50
|
+
readonly Vermont: "vermont";
|
|
51
|
+
readonly Virginia: "virginia";
|
|
52
|
+
readonly Washington: "washington";
|
|
53
|
+
readonly WestVirginia: "west_virginia";
|
|
54
|
+
readonly Wisconsin: "wisconsin";
|
|
55
|
+
readonly Wyoming: "wyoming";
|
|
56
|
+
readonly DistrictOfColumbia: "district_of_columbia";
|
|
57
|
+
readonly PuertoRico: "puerto_rico";
|
|
58
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UsStatesEnum = void 0;
|
|
7
|
+
exports.UsStatesEnum = {
|
|
8
|
+
Alabama: "alabama",
|
|
9
|
+
Alaska: "alaska",
|
|
10
|
+
Arizona: "arizona",
|
|
11
|
+
Arkansas: "arkansas",
|
|
12
|
+
California: "california",
|
|
13
|
+
Colorado: "colorado",
|
|
14
|
+
Connecticut: "connecticut",
|
|
15
|
+
Delaware: "delaware",
|
|
16
|
+
Florida: "florida",
|
|
17
|
+
Georgia: "georgia",
|
|
18
|
+
Hawaii: "hawaii",
|
|
19
|
+
Idaho: "idaho",
|
|
20
|
+
Illinois: "illinois",
|
|
21
|
+
Indiana: "indiana",
|
|
22
|
+
Iowa: "iowa",
|
|
23
|
+
Kansas: "kansas",
|
|
24
|
+
Kentucky: "kentucky",
|
|
25
|
+
Louisiana: "louisiana",
|
|
26
|
+
Maine: "maine",
|
|
27
|
+
Maryland: "maryland",
|
|
28
|
+
Massachusetts: "massachusetts",
|
|
29
|
+
Michigan: "michigan",
|
|
30
|
+
Minnesota: "minnesota",
|
|
31
|
+
Mississippi: "mississippi",
|
|
32
|
+
Missouri: "missouri",
|
|
33
|
+
Montana: "montana",
|
|
34
|
+
Nebraska: "nebraska",
|
|
35
|
+
Nevada: "nevada",
|
|
36
|
+
NewHampshire: "new_hampshire",
|
|
37
|
+
NewJersey: "new_jersey",
|
|
38
|
+
NewMexico: "new_mexico",
|
|
39
|
+
NewYork: "new_york",
|
|
40
|
+
NorthCarolina: "north_carolina",
|
|
41
|
+
NorthDakota: "north_dakota",
|
|
42
|
+
Ohio: "ohio",
|
|
43
|
+
Oklahoma: "oklahoma",
|
|
44
|
+
Oregon: "oregon",
|
|
45
|
+
Pennsylvania: "pennsylvania",
|
|
46
|
+
RhodeIsland: "rhode_island",
|
|
47
|
+
SouthCarolina: "south_carolina",
|
|
48
|
+
SouthDakota: "south_dakota",
|
|
49
|
+
Tennessee: "tennessee",
|
|
50
|
+
Texas: "texas",
|
|
51
|
+
Utah: "utah",
|
|
52
|
+
Vermont: "vermont",
|
|
53
|
+
Virginia: "virginia",
|
|
54
|
+
Washington: "washington",
|
|
55
|
+
WestVirginia: "west_virginia",
|
|
56
|
+
Wisconsin: "wisconsin",
|
|
57
|
+
Wyoming: "wyoming",
|
|
58
|
+
DistrictOfColumbia: "district_of_columbia",
|
|
59
|
+
PuertoRico: "puerto_rico",
|
|
60
|
+
};
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface UserPublicData5 {
|
|
5
|
-
|
|
6
|
-
courier_profile_is_public: boolean;
|
|
5
|
+
schema_version: number;
|
|
7
6
|
created_at: string;
|
|
7
|
+
last_edited: string;
|
|
8
|
+
courier_profile_is_public: boolean;
|
|
9
|
+
user_id: string;
|
|
8
10
|
customer_id?: string;
|
|
9
11
|
handle?: string;
|
|
10
|
-
last_edited: string;
|
|
11
|
-
notes?: Record<string, unknown>;
|
|
12
12
|
primary_email_address?: string;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
notes?: Record<string, unknown>;
|
|
14
|
+
_id: string;
|
|
15
15
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index";
|
|
5
|
+
export interface Vehicle1Input {
|
|
6
|
+
vehicle_type: Chrt.VehicleTypeEnum;
|
|
7
|
+
vehicle_count?: number;
|
|
8
|
+
rates_obj?: Chrt.VehicleRate1;
|
|
9
|
+
rates_str?: string;
|
|
10
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -2,20 +2,23 @@ export * from "./BaseModel";
|
|
|
2
2
|
export * from "./Cargo1";
|
|
3
3
|
export * from "./CargoClientCreate1";
|
|
4
4
|
export * from "./CargoTypeEnum1";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./CourierAvailabilityEnum";
|
|
6
|
+
export * from "./CourierCity";
|
|
7
|
+
export * from "./CourierOrgInfo1";
|
|
6
8
|
export * from "./CourierOrgProfile3";
|
|
7
|
-
export * from "./
|
|
9
|
+
export * from "./CourierProfile2";
|
|
10
|
+
export * from "./CourierProfileRes2";
|
|
11
|
+
export * from "./CourierServiceEnum";
|
|
12
|
+
export * from "./CourierState";
|
|
8
13
|
export * from "./CreateCheckoutSessionRes2";
|
|
9
14
|
export * from "./CreateOrderRes";
|
|
10
15
|
export * from "./DecodedJwtWithOrgAndUserId";
|
|
11
16
|
export * from "./Driver1";
|
|
12
|
-
export * from "./
|
|
13
|
-
export * from "./EmailReq";
|
|
14
|
-
export * from "./EmailRes";
|
|
17
|
+
export * from "./EmailAddress1";
|
|
15
18
|
export * from "./Expense1";
|
|
16
19
|
export * from "./FeatureInputGeometry";
|
|
17
|
-
export * from "./Id";
|
|
18
20
|
export * from "./Properties";
|
|
21
|
+
export * from "./Id";
|
|
19
22
|
export * from "./Feature";
|
|
20
23
|
export * from "./FeatureOutputGeometry";
|
|
21
24
|
export * from "./GeometryCollectionInputGeometriesItem";
|
|
@@ -23,9 +26,15 @@ export * from "./GeometryCollection";
|
|
|
23
26
|
export * from "./GeometryCollectionOutputGeometriesItem";
|
|
24
27
|
export * from "./GetOrderFullRes";
|
|
25
28
|
export * from "./GetOrderRes";
|
|
29
|
+
export * from "./GetTaskGroupWithFullTaskInfoRes";
|
|
30
|
+
export * from "./GetTaskGroupWithTasksRes";
|
|
31
|
+
export * from "./GetTaskGroupsWithFullTaskInfoListRes";
|
|
32
|
+
export * from "./GetTaskGroupsWithTasksListRes";
|
|
33
|
+
export * from "./GetTaskInfoListRes";
|
|
26
34
|
export * from "./HttpValidationError";
|
|
27
35
|
export * from "./Incident1";
|
|
28
36
|
export * from "./IncidentEnum1";
|
|
37
|
+
export * from "./IndustryEnum";
|
|
29
38
|
export * from "./Insurance1";
|
|
30
39
|
export * from "./LineItem1";
|
|
31
40
|
export * from "./LineItemEnum1";
|
|
@@ -40,21 +49,17 @@ export * from "./MultiPointCoordinatesItem";
|
|
|
40
49
|
export * from "./MultiPoint";
|
|
41
50
|
export * from "./MultiPolygonCoordinatesItemItemItem";
|
|
42
51
|
export * from "./MultiPolygon";
|
|
43
|
-
export * from "./MultipleTaskGroupsDetailsResponse";
|
|
44
|
-
export * from "./MultipleTaskGroupsWithTasks";
|
|
45
|
-
export * from "./NotificationChannelEnum";
|
|
46
|
-
export * from "./NotificationPreferences1";
|
|
47
52
|
export * from "./ObcNfoTaskActionEnum";
|
|
48
53
|
export * from "./Order1";
|
|
49
54
|
export * from "./OrderClientCreate1";
|
|
50
55
|
export * from "./OrderCreatedByTypeEnum";
|
|
51
56
|
export * from "./OrderDispatchTypeEnum";
|
|
52
|
-
export * from "./OrderStatusEnum1";
|
|
53
57
|
export * from "./OrgMemberDetails";
|
|
54
58
|
export * from "./OrgMembersAndDrivers";
|
|
55
59
|
export * from "./OrgPublicData2";
|
|
56
60
|
export * from "./Status";
|
|
57
61
|
export * from "./PayablesInvoice1";
|
|
62
|
+
export * from "./PhoneNumber1";
|
|
58
63
|
export * from "./Coordinates";
|
|
59
64
|
export * from "./Point";
|
|
60
65
|
export * from "./PolygonCoordinatesItemItem";
|
|
@@ -62,12 +67,18 @@ export * from "./Polygon";
|
|
|
62
67
|
export * from "./Position2D";
|
|
63
68
|
export * from "./Position3D";
|
|
64
69
|
export * from "./PriceNameEnum";
|
|
70
|
+
export * from "./RateSheet1";
|
|
65
71
|
export * from "./ReceivablesInvoice1";
|
|
72
|
+
export * from "./Route1";
|
|
73
|
+
export * from "./RouteByIdEnum";
|
|
74
|
+
export * from "./RouteDetailRes";
|
|
66
75
|
export * from "./RouteTypeEnum1";
|
|
67
76
|
export * from "./Shipper2";
|
|
68
77
|
export * from "./ShipperCourierConnection1";
|
|
69
|
-
export * from "./
|
|
78
|
+
export * from "./ShipperOrgInfo1";
|
|
79
|
+
export * from "./ShipperToCourier1";
|
|
70
80
|
export * from "./ShipperUserInfo1";
|
|
81
|
+
export * from "./SocialLinks";
|
|
71
82
|
export * from "./StreetAddress1";
|
|
72
83
|
export * from "./StripeConnectInvoice1";
|
|
73
84
|
export * from "./Action";
|
|
@@ -75,19 +86,21 @@ export * from "./Task1";
|
|
|
75
86
|
export * from "./TaskActionEnum1";
|
|
76
87
|
export * from "./TaskClientCreate1";
|
|
77
88
|
export * from "./TaskCreateBundle";
|
|
89
|
+
export * from "./TaskDetailRes";
|
|
78
90
|
export * from "./TaskGroup1";
|
|
79
|
-
export * from "./
|
|
80
|
-
export * from "./
|
|
81
|
-
export * from "./TaskGroupWithDetails";
|
|
82
|
-
export * from "./TaskGroupWithTasks";
|
|
83
|
-
export * from "./TaskWithDetails";
|
|
91
|
+
export * from "./TaskGroupDetailRes";
|
|
92
|
+
export * from "./TaskInfo";
|
|
84
93
|
export * from "./TemplateRes";
|
|
85
94
|
export * from "./Tracker1";
|
|
86
95
|
export * from "./TrackerSession1";
|
|
87
96
|
export * from "./TransportTypeEnum";
|
|
88
|
-
export * from "./
|
|
97
|
+
export * from "./UsStatesEnum";
|
|
98
|
+
export * from "./UpdateRouteRes";
|
|
89
99
|
export * from "./UserPublicData5";
|
|
90
100
|
export * from "./ValidationErrorLocItem";
|
|
91
101
|
export * from "./ValidationError";
|
|
92
|
-
export * from "./
|
|
102
|
+
export * from "./Vehicle1Input";
|
|
103
|
+
export * from "./VehicleRate1";
|
|
93
104
|
export * from "./VehicleTypeEnum";
|
|
105
|
+
export * from "./AppModelsDbOortVehicle1Vehicle1";
|
|
106
|
+
export * from "./AppModelsDbProfilesCourierOrgProfile2Vehicle1";
|