@chrt-inc/typescript-sdk 0.0.162-b → 0.0.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -9
- package/dist/cjs/Client.d.ts +99 -0
- package/dist/cjs/Client.js +169 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +9 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.js +52 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +17 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/dev/client/Client.d.ts +79 -0
- package/dist/cjs/api/resources/dev/client/Client.js +318 -0
- package/dist/cjs/api/resources/dev/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/dev/client/index.js +17 -0
- package/dist/cjs/api/resources/dev/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/dev/index.d.ts +1 -0
- package/dist/cjs/api/resources/dev/index.js +17 -0
- package/dist/cjs/api/resources/directory/client/Client.d.ts +45 -0
- package/dist/cjs/api/resources/directory/client/Client.js +128 -0
- package/dist/cjs/api/resources/directory/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/directory/client/index.js +17 -0
- package/dist/cjs/api/resources/directory/client/requests/DbQueryParams.d.ts +12 -0
- package/dist/cjs/api/resources/directory/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/directory/index.d.ts +1 -0
- package/dist/cjs/api/resources/directory/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +44 -0
- package/dist/cjs/api/resources/index.js +83 -0
- package/dist/cjs/api/resources/mirror/client/Client.d.ts +138 -0
- package/dist/cjs/api/resources/mirror/client/Client.js +658 -0
- package/dist/cjs/api/resources/mirror/index.d.ts +1 -0
- package/dist/cjs/api/resources/mirror/index.js +17 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/Client.js +179 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/index.js +17 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/index.d.ts +1 -0
- package/dist/cjs/api/resources/notificationsCourierNotificationPreferences/index.js +17 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/Client.js +179 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/index.js +17 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/index.d.ts +1 -0
- package/dist/cjs/api/resources/notificationsShipperNotificationPreferences/index.js +17 -0
- package/dist/cjs/api/resources/oortConnections/client/Client.d.ts +63 -0
- package/dist/cjs/api/resources/oortConnections/client/Client.js +224 -0
- package/dist/cjs/api/resources/oortConnections/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortConnections/client/index.js +17 -0
- package/dist/cjs/api/resources/oortConnections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortConnections/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortConnections/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.ts +136 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/Client.js +487 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.ts +19 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.ts +18 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.ts +18 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.ts +12 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.ts +19 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/Client.d.ts +70 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/Client.js +241 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +14 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverPayouts/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.d.ts +94 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/Client.js +299 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +50 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRate/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/Client.js +243 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/index.js +17 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +29 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortCourierPayDriverRateSheets/index.js +17 -0
- package/dist/cjs/api/resources/oortDrivers/client/Client.d.ts +147 -0
- package/dist/cjs/api/resources/oortDrivers/client/Client.js +576 -0
- package/dist/cjs/api/resources/oortDrivers/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortDrivers/client/index.js +17 -0
- package/dist/cjs/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +17 -0
- package/dist/cjs/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.ts +15 -0
- package/dist/cjs/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +14 -0
- package/dist/cjs/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +18 -0
- package/dist/cjs/api/resources/oortDrivers/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/oortDrivers/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortDrivers/index.js +17 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/Client.js +178 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/index.js +17 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortMilestoneNotificationPreferences/index.js +17 -0
- package/dist/cjs/api/resources/oortMilestones/client/Client.d.ts +114 -0
- package/dist/cjs/api/resources/oortMilestones/client/Client.js +431 -0
- package/dist/cjs/api/resources/oortMilestones/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortMilestones/client/index.js +17 -0
- package/dist/cjs/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts +14 -0
- package/dist/cjs/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +16 -0
- package/dist/cjs/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +14 -0
- package/dist/cjs/api/resources/oortMilestones/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/oortMilestones/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortMilestones/index.js +17 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.ts +75 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.js +252 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.js +17 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +25 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +20 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/index.js +17 -0
- package/dist/cjs/api/resources/oortOrders/client/Client.d.ts +138 -0
- package/dist/cjs/api/resources/oortOrders/client/Client.js +509 -0
- package/dist/cjs/api/resources/oortOrders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortOrders/client/index.js +17 -0
- package/dist/cjs/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +45 -0
- package/dist/cjs/api/resources/oortOrders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortOrders/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortOrders/index.js +17 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.d.ts +110 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/Client.js +412 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/index.js +17 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +24 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +20 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +24 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +20 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortOrgConnectionInfos/index.js +17 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/Client.d.ts +95 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/Client.js +356 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/index.js +17 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +18 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts +12 -0
- package/dist/cjs/api/resources/oortOrgProfiles/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/oortOrgProfiles/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortOrgProfiles/index.js +17 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.d.ts +148 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/client/Client.js +579 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/client/index.js +17 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +21 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortShipperContactInfo/index.js +17 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/Client.d.ts +128 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/Client.js +515 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +14 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts +14 -0
- package/dist/cjs/api/resources/oortTaskGroups/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/oortTaskGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/oortTaskGroups/index.js +17 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +115 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +450 -0
- package/dist/cjs/api/resources/orgs/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +14 -0
- package/dist/cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +11 -0
- package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/index.js +17 -0
- package/dist/cjs/api/resources/payments/client/Client.d.ts +69 -0
- package/dist/cjs/api/resources/payments/client/Client.js +230 -0
- package/dist/cjs/api/resources/payments/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/payments/client/index.js +17 -0
- package/dist/cjs/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.ts +13 -0
- package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/payments/index.d.ts +1 -0
- package/dist/cjs/api/resources/payments/index.js +17 -0
- package/dist/cjs/api/resources/root/client/Client.d.ts +94 -0
- package/dist/cjs/api/resources/root/client/Client.js +402 -0
- package/dist/cjs/api/resources/root/index.d.ts +2 -0
- package/dist/cjs/api/resources/root/index.js +18 -0
- package/dist/cjs/api/resources/root/types/PydanticResponse.d.ts +8 -0
- package/dist/cjs/api/resources/root/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/root/types/index.js +17 -0
- package/dist/cjs/api/resources/users/client/Client.d.ts +40 -0
- package/dist/cjs/api/resources/users/client/Client.js +114 -0
- package/dist/cjs/api/resources/users/index.d.ts +1 -0
- package/dist/cjs/api/resources/users/index.js +17 -0
- package/dist/cjs/api/types/Cargo1.d.ts +16 -0
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +13 -0
- package/dist/cjs/api/types/CourierNotificationEventEnum.d.ts +7 -0
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +18 -0
- package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +22 -0
- package/dist/cjs/api/types/CourierOrgProfile3.d.ts +12 -0
- package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +14 -0
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +10 -0
- package/dist/cjs/api/types/CourierPayDriverRateSheet1.d.ts +31 -0
- package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +28 -0
- package/dist/cjs/api/types/Driver1.d.ts +23 -0
- package/dist/cjs/api/types/EmailRes.d.ts +7 -0
- package/dist/cjs/api/types/Expense1.d.ts +13 -0
- package/dist/cjs/api/types/Feature.d.ts +18 -0
- package/dist/cjs/api/types/FeatureInputGeometry.d.ts +28 -0
- package/dist/cjs/api/types/FeatureOutputGeometry.d.ts +28 -0
- package/dist/cjs/api/types/GeometryCollection.d.ts +11 -0
- package/dist/cjs/api/types/GeometryCollectionInputGeometriesItem.d.ts +28 -0
- package/dist/cjs/api/types/GeometryCollectionOutputGeometriesItem.d.ts +28 -0
- package/dist/cjs/api/types/GetOrderFullRes.d.ts +11 -0
- package/dist/cjs/api/types/GetOrderRes.d.ts +7 -0
- package/dist/cjs/api/types/HttpValidationError.d.ts +7 -0
- package/dist/cjs/api/types/Incident1.d.ts +7 -0
- package/dist/cjs/api/types/Insurance1.d.ts +7 -0
- package/dist/cjs/api/types/LineItem1.d.ts +11 -0
- package/dist/cjs/api/types/LineString.d.ts +17 -0
- package/dist/cjs/api/types/Milestone1.d.ts +27 -0
- package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +9 -0
- package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +18 -0
- package/dist/cjs/api/types/MultiLineString.d.ts +17 -0
- package/dist/cjs/api/types/MultiPoint.d.ts +17 -0
- package/dist/cjs/api/types/MultiPolygon.d.ts +17 -0
- package/dist/cjs/api/types/MultipleTaskGroupsDetailsResponse.d.ts +7 -0
- package/dist/cjs/api/types/MultipleTaskGroupsWithTasks.d.ts +7 -0
- package/dist/cjs/api/types/NotificationChannelEnum.d.ts +13 -0
- package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +23 -0
- package/dist/cjs/api/types/Order1.d.ts +29 -0
- package/dist/cjs/api/types/OrgMemberDetails.d.ts +11 -0
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +8 -0
- package/dist/cjs/api/types/OrgPublicData2.d.ts +11 -0
- package/dist/cjs/api/types/PayablesInvoice1.d.ts +34 -0
- package/dist/cjs/api/types/PayablesInvoice1.js +18 -0
- package/dist/cjs/api/types/Point.d.ts +14 -0
- package/dist/cjs/api/types/Polygon.d.ts +17 -0
- package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +34 -0
- package/dist/cjs/api/types/ReceivablesInvoice1.js +18 -0
- package/dist/cjs/api/types/Shipper2.d.ts +20 -0
- package/dist/cjs/api/types/ShipperContactInfo1.d.ts +28 -0
- package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +23 -0
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +13 -0
- package/dist/cjs/api/types/ShipperNotificationEventEnum.d.ts +7 -0
- package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +18 -0
- package/dist/cjs/api/types/ShipperOrgConnectionInfo1.d.ts +22 -0
- package/dist/cjs/api/types/StreetAddress1.d.ts +18 -0
- package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +32 -0
- package/dist/cjs/api/types/StripeConnectInvoice1.js +18 -0
- package/dist/cjs/api/types/Task1.d.ts +31 -0
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +17 -0
- package/dist/cjs/api/types/TaskCreateBundle.d.ts +13 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +24 -0
- package/dist/cjs/api/types/TaskGroupDetailsResponse.d.ts +8 -0
- package/dist/cjs/api/types/TaskGroupWithDetails.d.ts +8 -0
- package/dist/cjs/api/types/TaskGroupWithTasks.d.ts +8 -0
- package/dist/cjs/api/types/TaskWithDetails.d.ts +9 -0
- package/dist/cjs/api/types/Tracker1.d.ts +7 -0
- package/dist/cjs/api/types/TrackerSession1.d.ts +7 -0
- package/dist/cjs/api/types/UserPublicData6.d.ts +14 -0
- package/dist/cjs/api/types/ValidationError.d.ts +14 -0
- package/dist/cjs/api/types/Vehicle1.d.ts +7 -0
- package/dist/cjs/api/types/index.d.ts +90 -0
- package/dist/cjs/api/types/index.js +106 -0
- package/dist/cjs/core/auth/BasicAuth.js +26 -0
- package/dist/cjs/core/auth/index.d.ts +2 -0
- package/dist/cjs/core/auth/index.js +7 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +40 -0
- package/dist/cjs/core/fetcher/Fetcher.js +120 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/cjs/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +44 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +23 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +55 -0
- package/dist/cjs/core/fetcher/index.d.ts +9 -0
- package/dist/cjs/core/fetcher/index.js +15 -0
- package/dist/cjs/core/fetcher/makeRequest.js +42 -0
- package/dist/cjs/core/file.d.ts +1 -0
- package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +16 -0
- package/dist/cjs/core/form-data-utils/FormDataWrapper.js +208 -0
- package/dist/cjs/core/form-data-utils/encodeAsFormParameter.d.ts +1 -0
- package/dist/cjs/core/form-data-utils/encodeAsFormParameter.js +12 -0
- package/dist/cjs/core/form-data-utils/index.d.ts +2 -0
- package/dist/cjs/core/form-data-utils/index.js +20 -0
- package/dist/cjs/core/headers.d.ts +3 -0
- package/dist/cjs/core/headers.js +29 -0
- package/dist/cjs/core/index.d.ts +7 -0
- package/dist/cjs/core/index.js +46 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.js +102 -0
- package/dist/cjs/core/url/index.d.ts +2 -0
- package/dist/cjs/core/url/index.js +7 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +69 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/errors/ChrtError.d.ts +15 -0
- package/dist/cjs/errors/ChrtError.js +30 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +44 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/Client.d.mts +99 -0
- package/dist/esm/Client.mjs +132 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +9 -0
- package/dist/esm/api/errors/UnprocessableEntityError.mjs +15 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/dev/client/Client.d.mts +79 -0
- package/dist/esm/api/resources/dev/client/Client.mjs +281 -0
- package/dist/esm/api/resources/dev/client/index.d.mts +2 -0
- package/dist/esm/api/resources/dev/client/index.mjs +1 -0
- package/dist/esm/api/resources/dev/client/requests/TemplateReq.mjs +4 -0
- package/dist/esm/api/resources/dev/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/dev/index.d.mts +1 -0
- package/dist/esm/api/resources/dev/index.mjs +1 -0
- package/dist/esm/api/resources/directory/client/Client.d.mts +45 -0
- package/dist/esm/api/resources/directory/client/Client.mjs +91 -0
- package/dist/esm/api/resources/directory/client/index.d.mts +2 -0
- package/dist/esm/api/resources/directory/client/index.mjs +1 -0
- package/dist/esm/api/resources/directory/client/requests/DbQueryParams.d.mts +12 -0
- package/dist/esm/api/resources/directory/client/requests/DbQueryParams.mjs +4 -0
- package/dist/esm/api/resources/directory/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/directory/index.d.mts +1 -0
- package/dist/esm/api/resources/directory/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +44 -0
- package/dist/esm/api/resources/index.mjs +44 -0
- package/dist/esm/api/resources/mirror/client/Client.d.mts +138 -0
- package/dist/esm/api/resources/mirror/client/Client.mjs +621 -0
- package/dist/esm/api/resources/mirror/client/index.mjs +1 -0
- package/dist/esm/api/resources/mirror/index.d.mts +1 -0
- package/dist/esm/api/resources/mirror/index.mjs +1 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/Client.mjs +142 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/index.d.mts +2 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/index.mjs +1 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/index.d.mts +1 -0
- package/dist/esm/api/resources/notificationsCourierNotificationPreferences/index.mjs +1 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/Client.mjs +142 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/index.d.mts +2 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/index.mjs +1 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/index.d.mts +1 -0
- package/dist/esm/api/resources/notificationsShipperNotificationPreferences/index.mjs +1 -0
- package/dist/esm/api/resources/oortConnections/client/Client.d.mts +63 -0
- package/dist/esm/api/resources/oortConnections/client/Client.mjs +187 -0
- package/dist/esm/api/resources/oortConnections/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortConnections/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortConnections/client/requests/CreateConnectionReq.mjs +4 -0
- package/dist/esm/api/resources/oortConnections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortConnections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortConnections/index.d.mts +1 -0
- package/dist/esm/api/resources/oortConnections/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.d.mts +136 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/Client.mjs +450 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.d.mts +19 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.d.mts +18 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.d.mts +18 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.d.mts +12 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.d.mts +19 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverLineItemGroups/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/Client.d.mts +70 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/Client.mjs +204 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +14 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverPayouts/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.d.mts +94 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/Client.mjs +262 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +50 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRate/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/Client.mjs +206 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +29 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.d.mts +1 -0
- package/dist/esm/api/resources/oortCourierPayDriverRateSheets/index.mjs +1 -0
- package/dist/esm/api/resources/oortDrivers/client/Client.d.mts +147 -0
- package/dist/esm/api/resources/oortDrivers/client/Client.mjs +539 -0
- package/dist/esm/api/resources/oortDrivers/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortDrivers/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/DriverCreateReq.d.mts +17 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/DriverCreateReq.mjs +4 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.mts +15 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/DriverLastSeenReq.mjs +4 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.mts +14 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/SetDriverActivationReq.mjs +4 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.mts +18 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.mjs +4 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/oortDrivers/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortDrivers/index.d.mts +1 -0
- package/dist/esm/api/resources/oortDrivers/index.mjs +1 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/Client.mjs +141 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.d.mts +1 -0
- package/dist/esm/api/resources/oortMilestoneNotificationPreferences/index.mjs +1 -0
- package/dist/esm/api/resources/oortMilestones/client/Client.d.mts +114 -0
- package/dist/esm/api/resources/oortMilestones/client/Client.mjs +394 -0
- package/dist/esm/api/resources/oortMilestones/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortMilestones/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.mts +14 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.mjs +4 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.mts +16 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.mjs +4 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.mts +14 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.mjs +4 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/oortMilestones/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortMilestones/index.d.mts +1 -0
- package/dist/esm/api/resources/oortMilestones/index.mjs +1 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.d.mts +75 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/Client.mjs +215 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +25 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +20 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.d.mts +1 -0
- package/dist/esm/api/resources/oortOffChrtShipperOrgConnectionInfo/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrders/client/Client.d.mts +138 -0
- package/dist/esm/api/resources/oortOrders/client/Client.mjs +472 -0
- package/dist/esm/api/resources/oortOrders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortOrders/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrders/client/requests/CreateOrderReq.d.mts +45 -0
- package/dist/esm/api/resources/oortOrders/client/requests/CreateOrderReq.mjs +4 -0
- package/dist/esm/api/resources/oortOrders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortOrders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrders/index.d.mts +1 -0
- package/dist/esm/api/resources/oortOrders/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.d.mts +110 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/Client.mjs +375 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +24 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +20 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +24 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +20 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/index.d.mts +1 -0
- package/dist/esm/api/resources/oortOrgConnectionInfos/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/Client.d.mts +95 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/Client.mjs +319 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +18 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs +4 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts +12 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs +4 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.mjs +4 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/oortOrgProfiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortOrgProfiles/index.d.mts +1 -0
- package/dist/esm/api/resources/oortOrgProfiles/index.mjs +1 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/Client.d.mts +148 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/Client.mjs +542 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +21 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/oortShipperContactInfo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortShipperContactInfo/index.d.mts +1 -0
- package/dist/esm/api/resources/oortShipperContactInfo/index.mjs +1 -0
- package/dist/esm/api/resources/oortTaskGroups/client/Client.d.mts +128 -0
- package/dist/esm/api/resources/oortTaskGroups/client/Client.mjs +478 -0
- package/dist/esm/api/resources/oortTaskGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/oortTaskGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.mts +14 -0
- package/dist/esm/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.mjs +4 -0
- package/dist/esm/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.mts +14 -0
- package/dist/esm/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.mjs +4 -0
- package/dist/esm/api/resources/oortTaskGroups/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/oortTaskGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/oortTaskGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/oortTaskGroups/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +115 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +413 -0
- package/dist/esm/api/resources/orgs/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +14 -0
- package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.mjs +4 -0
- package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts +11 -0
- package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.mjs +4 -0
- package/dist/esm/api/resources/orgs/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/index.mjs +1 -0
- package/dist/esm/api/resources/payments/client/Client.d.mts +69 -0
- package/dist/esm/api/resources/payments/client/Client.mjs +193 -0
- package/dist/esm/api/resources/payments/client/index.d.mts +2 -0
- package/dist/esm/api/resources/payments/client/index.mjs +1 -0
- package/dist/esm/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.mts +13 -0
- package/dist/esm/api/resources/payments/client/requests/CreateCheckoutSessionReq2.mjs +4 -0
- package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/payments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/payments/index.d.mts +1 -0
- package/dist/esm/api/resources/payments/index.mjs +1 -0
- package/dist/esm/api/resources/root/client/Client.d.mts +94 -0
- package/dist/esm/api/resources/root/client/Client.mjs +365 -0
- package/dist/esm/api/resources/root/client/index.d.mts +1 -0
- package/dist/esm/api/resources/root/client/index.mjs +1 -0
- package/dist/esm/api/resources/root/index.d.mts +2 -0
- package/dist/esm/api/resources/root/index.mjs +2 -0
- package/dist/esm/api/resources/root/types/PydanticResponse.d.mts +8 -0
- package/dist/esm/api/resources/root/types/PydanticResponse.mjs +4 -0
- package/dist/esm/api/resources/root/types/index.d.mts +1 -0
- package/dist/esm/api/resources/root/types/index.mjs +1 -0
- package/dist/esm/api/resources/users/client/Client.d.mts +40 -0
- package/dist/esm/api/resources/users/client/Client.mjs +77 -0
- package/dist/esm/api/resources/users/client/index.d.mts +1 -0
- package/dist/esm/api/resources/users/client/index.mjs +1 -0
- package/dist/esm/api/resources/users/index.d.mts +1 -0
- package/dist/esm/api/resources/users/index.mjs +1 -0
- package/dist/esm/api/types/BaseModel.mjs +4 -0
- package/dist/esm/api/types/Cargo1.d.mts +16 -0
- package/dist/esm/api/types/Cargo1.mjs +4 -0
- package/dist/esm/api/types/CargoClientCreate1.d.mts +13 -0
- package/dist/esm/api/types/CargoClientCreate1.mjs +4 -0
- package/dist/esm/api/types/CargoTypeEnum1.mjs +24 -0
- package/dist/esm/api/types/CourierNotificationEventEnum.d.mts +7 -0
- package/dist/esm/api/types/CourierNotificationEventEnum.mjs +4 -0
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +18 -0
- package/dist/esm/api/types/CourierNotificationPreferences1.mjs +4 -0
- package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +22 -0
- package/dist/esm/api/types/CourierOrgConnectionInfo1.mjs +4 -0
- package/dist/esm/api/types/CourierOrgProfile3.d.mts +12 -0
- package/dist/esm/api/types/CourierOrgProfile3.mjs +4 -0
- package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +14 -0
- package/dist/esm/api/types/CourierPayDriverLineItemGroup1.mjs +4 -0
- package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +10 -0
- package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.mjs +4 -0
- package/dist/esm/api/types/CourierPayDriverRateSheet1.d.mts +31 -0
- package/dist/esm/api/types/CourierPayDriverRateSheet1.mjs +4 -0
- package/dist/esm/api/types/CreateCheckoutSessionRes2.mjs +4 -0
- package/dist/esm/api/types/CreateOrderRes.mjs +4 -0
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +28 -0
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.mjs +4 -0
- package/dist/esm/api/types/Driver1.d.mts +23 -0
- package/dist/esm/api/types/Driver1.mjs +4 -0
- package/dist/esm/api/types/DriverStatusEnum.mjs +8 -0
- package/dist/esm/api/types/EmailReq.mjs +4 -0
- package/dist/esm/api/types/EmailRes.d.mts +7 -0
- package/dist/esm/api/types/EmailRes.mjs +4 -0
- package/dist/esm/api/types/Expense1.d.mts +13 -0
- package/dist/esm/api/types/Expense1.mjs +4 -0
- package/dist/esm/api/types/Feature.d.mts +18 -0
- package/dist/esm/api/types/Feature.mjs +4 -0
- package/dist/esm/api/types/FeatureInputGeometry.d.mts +28 -0
- package/dist/esm/api/types/FeatureInputGeometry.mjs +4 -0
- package/dist/esm/api/types/FeatureOutputGeometry.d.mts +28 -0
- package/dist/esm/api/types/FeatureOutputGeometry.mjs +4 -0
- package/dist/esm/api/types/GeometryCollection.d.mts +11 -0
- package/dist/esm/api/types/GeometryCollection.mjs +4 -0
- package/dist/esm/api/types/GeometryCollectionInputGeometriesItem.d.mts +28 -0
- package/dist/esm/api/types/GeometryCollectionInputGeometriesItem.mjs +4 -0
- package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.d.mts +28 -0
- package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.mjs +4 -0
- package/dist/esm/api/types/GetOrderFullRes.d.mts +11 -0
- package/dist/esm/api/types/GetOrderFullRes.mjs +4 -0
- package/dist/esm/api/types/GetOrderRes.d.mts +7 -0
- package/dist/esm/api/types/GetOrderRes.mjs +4 -0
- package/dist/esm/api/types/HttpValidationError.d.mts +7 -0
- package/dist/esm/api/types/HttpValidationError.mjs +4 -0
- package/dist/esm/api/types/Incident1.d.mts +7 -0
- package/dist/esm/api/types/Incident1.mjs +4 -0
- package/dist/esm/api/types/IncidentEnum1.mjs +11 -0
- package/dist/esm/api/types/Insurance1.d.mts +7 -0
- package/dist/esm/api/types/Insurance1.mjs +4 -0
- package/dist/esm/api/types/LineItem1.d.mts +11 -0
- package/dist/esm/api/types/LineItem1.mjs +4 -0
- package/dist/esm/api/types/LineItemEnum1.mjs +27 -0
- package/dist/esm/api/types/LineString.d.mts +17 -0
- package/dist/esm/api/types/LineString.mjs +4 -0
- package/dist/esm/api/types/Milestone1.d.mts +27 -0
- package/dist/esm/api/types/Milestone1.mjs +4 -0
- package/dist/esm/api/types/MilestoneClientCreate1.d.mts +9 -0
- package/dist/esm/api/types/MilestoneClientCreate1.mjs +4 -0
- package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +18 -0
- package/dist/esm/api/types/MilestoneNotificationPreferences1.mjs +4 -0
- package/dist/esm/api/types/MilestoneTypeEnum1.mjs +13 -0
- package/dist/esm/api/types/MultiLineString.d.mts +17 -0
- package/dist/esm/api/types/MultiLineString.mjs +4 -0
- package/dist/esm/api/types/MultiPoint.d.mts +17 -0
- package/dist/esm/api/types/MultiPoint.mjs +4 -0
- package/dist/esm/api/types/MultiPolygon.d.mts +17 -0
- package/dist/esm/api/types/MultiPolygon.mjs +4 -0
- package/dist/esm/api/types/MultipleTaskGroupsDetailsResponse.d.mts +7 -0
- package/dist/esm/api/types/MultipleTaskGroupsDetailsResponse.mjs +4 -0
- package/dist/esm/api/types/MultipleTaskGroupsWithTasks.d.mts +7 -0
- package/dist/esm/api/types/MultipleTaskGroupsWithTasks.mjs +4 -0
- package/dist/esm/api/types/NotificationChannelEnum.d.mts +13 -0
- package/dist/esm/api/types/NotificationChannelEnum.mjs +9 -0
- package/dist/esm/api/types/ObcNfoTaskActionEnum.mjs +37 -0
- package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +23 -0
- package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +29 -0
- package/dist/esm/api/types/Order1.mjs +4 -0
- package/dist/esm/api/types/OrderClientCreate1.mjs +4 -0
- package/dist/esm/api/types/OrderCreatedByTypeEnum.mjs +8 -0
- package/dist/esm/api/types/OrderDispatchTypeEnum.mjs +8 -0
- package/dist/esm/api/types/OrderStatusEnum1.mjs +9 -0
- package/dist/esm/api/types/OrgMemberDetails.d.mts +11 -0
- package/dist/esm/api/types/OrgMemberDetails.mjs +4 -0
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +8 -0
- package/dist/esm/api/types/OrgMembersAndDrivers.mjs +4 -0
- package/dist/esm/api/types/OrgPublicData2.d.mts +11 -0
- package/dist/esm/api/types/OrgPublicData2.mjs +4 -0
- package/dist/esm/api/types/PayablesInvoice1.d.mts +34 -0
- package/dist/esm/api/types/PayablesInvoice1.mjs +15 -0
- package/dist/esm/api/types/Point.d.mts +14 -0
- package/dist/esm/api/types/Point.mjs +4 -0
- package/dist/esm/api/types/Polygon.d.mts +17 -0
- package/dist/esm/api/types/Polygon.mjs +4 -0
- package/dist/esm/api/types/Position2D.mjs +4 -0
- package/dist/esm/api/types/Position3D.mjs +4 -0
- package/dist/esm/api/types/PriceNameEnum.mjs +8 -0
- package/dist/esm/api/types/ReceivablesInvoice1.d.mts +34 -0
- package/dist/esm/api/types/ReceivablesInvoice1.mjs +15 -0
- package/dist/esm/api/types/RouteTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/Shipper2.d.mts +20 -0
- package/dist/esm/api/types/Shipper2.mjs +4 -0
- package/dist/esm/api/types/ShipperContactInfo1.d.mts +28 -0
- package/dist/esm/api/types/ShipperContactInfo1.mjs +4 -0
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +23 -0
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.mjs +4 -0
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +13 -0
- package/dist/esm/api/types/ShipperCourierConnection1.mjs +4 -0
- package/dist/esm/api/types/ShipperNotificationEventEnum.d.mts +7 -0
- package/dist/esm/api/types/ShipperNotificationEventEnum.mjs +4 -0
- package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +18 -0
- package/dist/esm/api/types/ShipperNotificationPreferences1.mjs +4 -0
- package/dist/esm/api/types/ShipperOrgConnectionInfo1.d.mts +22 -0
- package/dist/esm/api/types/ShipperOrgConnectionInfo1.mjs +4 -0
- package/dist/esm/api/types/StreetAddress1.d.mts +18 -0
- package/dist/esm/api/types/StreetAddress1.mjs +4 -0
- package/dist/esm/api/types/StripeConnectInvoice1.d.mts +32 -0
- package/dist/esm/api/types/StripeConnectInvoice1.mjs +15 -0
- package/dist/esm/api/types/Task1.d.mts +31 -0
- package/dist/esm/api/types/Task1.mjs +4 -0
- package/dist/esm/api/types/TaskActionEnum1.mjs +13 -0
- package/dist/esm/api/types/TaskClientCreate1.d.mts +17 -0
- package/dist/esm/api/types/TaskClientCreate1.mjs +4 -0
- package/dist/esm/api/types/TaskCreateBundle.d.mts +13 -0
- package/dist/esm/api/types/TaskCreateBundle.mjs +4 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +24 -0
- package/dist/esm/api/types/TaskGroup1.mjs +4 -0
- package/dist/esm/api/types/TaskGroupDetailsResponse.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupDetailsResponse.mjs +4 -0
- package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +8 -0
- package/dist/esm/api/types/TaskGroupWithDetails.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupWithDetails.mjs +4 -0
- package/dist/esm/api/types/TaskGroupWithTasks.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupWithTasks.mjs +4 -0
- package/dist/esm/api/types/TaskWithDetails.d.mts +9 -0
- package/dist/esm/api/types/TaskWithDetails.mjs +4 -0
- package/dist/esm/api/types/TemplateRes.mjs +4 -0
- package/dist/esm/api/types/Tracker1.d.mts +7 -0
- package/dist/esm/api/types/Tracker1.mjs +4 -0
- package/dist/esm/api/types/TrackerSession1.d.mts +7 -0
- package/dist/esm/api/types/TrackerSession1.mjs +4 -0
- package/dist/esm/api/types/TransportTypeEnum.mjs +10 -0
- package/dist/esm/api/types/UpdateTaskGroupRes.mjs +4 -0
- package/dist/esm/api/types/UserPublicData6.d.mts +14 -0
- package/dist/esm/api/types/UserPublicData6.mjs +4 -0
- package/dist/esm/api/types/ValidationError.d.mts +14 -0
- package/dist/esm/api/types/ValidationError.mjs +4 -0
- package/dist/esm/api/types/Vehicle1.d.mts +7 -0
- package/dist/esm/api/types/Vehicle1.mjs +4 -0
- package/dist/esm/api/types/VehicleTypeEnum.mjs +11 -0
- package/dist/esm/api/types/index.d.mts +90 -0
- package/dist/esm/api/types/index.mjs +90 -0
- package/dist/esm/core/auth/BasicAuth.mjs +23 -0
- package/dist/esm/core/auth/BearerToken.mjs +12 -0
- package/dist/esm/core/auth/index.d.mts +2 -0
- package/dist/esm/core/auth/index.mjs +2 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +40 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +116 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +4 -0
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +3 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +41 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +20 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +52 -0
- package/dist/esm/core/fetcher/index.d.mts +9 -0
- package/dist/esm/core/fetcher/index.mjs +5 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +38 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +37 -0
- package/dist/esm/core/fetcher/signals.mjs +32 -0
- package/dist/esm/core/file.d.mts +1 -0
- package/dist/esm/core/file.mjs +1 -0
- package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +16 -0
- package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +170 -0
- package/dist/esm/core/form-data-utils/encodeAsFormParameter.d.mts +1 -0
- package/dist/esm/core/form-data-utils/encodeAsFormParameter.mjs +9 -0
- package/dist/esm/core/form-data-utils/index.d.mts +2 -0
- package/dist/esm/core/form-data-utils/index.mjs +2 -0
- package/dist/esm/core/headers.d.mts +3 -0
- package/dist/esm/core/headers.mjs +25 -0
- package/dist/esm/core/index.d.mts +7 -0
- package/dist/esm/core/index.mjs +7 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.mjs +99 -0
- package/dist/esm/core/url/index.d.mts +2 -0
- package/dist/esm/core/url/index.mjs +2 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +66 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/environments.mjs +9 -0
- package/dist/esm/errors/ChrtError.d.mts +15 -0
- package/dist/esm/errors/ChrtError.mjs +26 -0
- package/dist/esm/errors/ChrtTimeoutError.mjs +9 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/index.d.mts +4 -0
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +45 -24
- package/reference.md +2504 -760
- package/Client.d.ts +0 -79
- package/Client.js +0 -97
- package/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/api/errors/UnprocessableEntityError.js +0 -51
- package/api/errors/index.d.ts +0 -1
- package/api/errors/index.js +0 -17
- package/api/index.d.ts +0 -3
- package/api/index.js +0 -19
- package/api/resources/dev/client/Client.d.ts +0 -72
- package/api/resources/dev/client/Client.js +0 -299
- package/api/resources/dev/client/index.d.ts +0 -1
- package/api/resources/dev/client/index.js +0 -17
- package/api/resources/dev/client/requests/index.d.ts +0 -1
- package/api/resources/dev/index.d.ts +0 -1
- package/api/resources/dev/index.js +0 -17
- package/api/resources/directory/client/Client.d.ts +0 -42
- package/api/resources/directory/client/Client.js +0 -125
- package/api/resources/directory/client/index.d.ts +0 -1
- package/api/resources/directory/client/index.js +0 -17
- package/api/resources/directory/client/requests/DbQueryParams.d.ts +0 -12
- package/api/resources/directory/client/requests/index.d.ts +0 -1
- package/api/resources/directory/index.d.ts +0 -1
- package/api/resources/directory/index.js +0 -17
- package/api/resources/index.d.ts +0 -32
- package/api/resources/index.js +0 -71
- package/api/resources/mirror/client/Client.d.ts +0 -124
- package/api/resources/mirror/client/Client.js +0 -609
- package/api/resources/mirror/index.d.ts +0 -1
- package/api/resources/mirror/index.js +0 -17
- package/api/resources/oortConnections/client/Client.d.ts +0 -58
- package/api/resources/oortConnections/client/Client.js +0 -213
- package/api/resources/oortConnections/client/index.d.ts +0 -1
- package/api/resources/oortConnections/client/index.js +0 -17
- package/api/resources/oortConnections/client/requests/index.d.ts +0 -1
- package/api/resources/oortConnections/index.d.ts +0 -1
- package/api/resources/oortConnections/index.js +0 -17
- package/api/resources/oortCourierPayDriverRate/client/Client.d.ts +0 -88
- package/api/resources/oortCourierPayDriverRate/client/Client.js +0 -284
- package/api/resources/oortCourierPayDriverRate/client/index.d.ts +0 -1
- package/api/resources/oortCourierPayDriverRate/client/index.js +0 -17
- package/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -50
- package/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
- package/api/resources/oortCourierPayDriverRate/index.d.ts +0 -1
- package/api/resources/oortCourierPayDriverRate/index.js +0 -17
- package/api/resources/oortDrivers/client/Client.d.ts +0 -136
- package/api/resources/oortDrivers/client/Client.js +0 -535
- package/api/resources/oortDrivers/client/index.d.ts +0 -1
- package/api/resources/oortDrivers/client/index.js +0 -17
- package/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
- package/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.ts +0 -15
- package/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +0 -14
- package/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -18
- package/api/resources/oortDrivers/client/requests/index.d.ts +0 -4
- package/api/resources/oortDrivers/index.d.ts +0 -1
- package/api/resources/oortDrivers/index.js +0 -17
- package/api/resources/oortMilestones/client/Client.d.ts +0 -91
- package/api/resources/oortMilestones/client/Client.js +0 -346
- package/api/resources/oortMilestones/client/index.d.ts +0 -1
- package/api/resources/oortMilestones/client/index.js +0 -17
- package/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts +0 -10
- package/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
- package/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
- package/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
- package/api/resources/oortMilestones/index.d.ts +0 -1
- package/api/resources/oortMilestones/index.js +0 -17
- package/api/resources/oortNotificationPreferences/client/Client.d.ts +0 -49
- package/api/resources/oortNotificationPreferences/client/Client.js +0 -168
- package/api/resources/oortNotificationPreferences/client/index.d.ts +0 -1
- package/api/resources/oortNotificationPreferences/client/index.js +0 -17
- 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/oortNotificationPreferences/index.d.ts +0 -1
- package/api/resources/oortNotificationPreferences/index.js +0 -17
- package/api/resources/oortOrders/client/Client.d.ts +0 -119
- package/api/resources/oortOrders/client/Client.js +0 -433
- package/api/resources/oortOrders/client/index.d.ts +0 -1
- package/api/resources/oortOrders/client/index.js +0 -17
- package/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +0 -43
- package/api/resources/oortOrders/client/requests/index.d.ts +0 -1
- package/api/resources/oortOrders/index.d.ts +0 -1
- package/api/resources/oortOrders/index.js +0 -17
- package/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -102
- package/api/resources/oortOrgConnectionInfos/client/Client.js +0 -383
- package/api/resources/oortOrgConnectionInfos/client/index.d.ts +0 -1
- package/api/resources/oortOrgConnectionInfos/client/index.js +0 -17
- 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/oortOrgConnectionInfos/index.d.ts +0 -1
- package/api/resources/oortOrgConnectionInfos/index.js +0 -17
- package/api/resources/oortOrgProfiles/client/Client.d.ts +0 -74
- package/api/resources/oortOrgProfiles/client/Client.js +0 -279
- package/api/resources/oortOrgProfiles/client/index.d.ts +0 -1
- package/api/resources/oortOrgProfiles/client/index.js +0 -17
- package/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -18
- package/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -2
- package/api/resources/oortOrgProfiles/index.d.ts +0 -1
- package/api/resources/oortOrgProfiles/index.js +0 -17
- package/api/resources/oortShipperUserInfo/client/Client.d.ts +0 -73
- package/api/resources/oortShipperUserInfo/client/Client.js +0 -275
- package/api/resources/oortShipperUserInfo/client/index.d.ts +0 -1
- package/api/resources/oortShipperUserInfo/client/index.js +0 -17
- 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/oortShipperUserInfo/index.d.ts +0 -1
- package/api/resources/oortShipperUserInfo/index.js +0 -17
- package/api/resources/oortTaskGroups/client/Client.d.ts +0 -118
- package/api/resources/oortTaskGroups/client/Client.js +0 -479
- package/api/resources/oortTaskGroups/client/index.d.ts +0 -1
- package/api/resources/oortTaskGroups/client/index.js +0 -17
- package/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
- package/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts +0 -14
- package/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
- package/api/resources/oortTaskGroups/index.d.ts +0 -1
- package/api/resources/oortTaskGroups/index.js +0 -17
- package/api/resources/orgs/client/Client.d.ts +0 -106
- package/api/resources/orgs/client/Client.js +0 -421
- package/api/resources/orgs/client/index.d.ts +0 -1
- package/api/resources/orgs/client/index.js +0 -17
- package/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
- package/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +0 -11
- package/api/resources/orgs/client/requests/index.d.ts +0 -2
- package/api/resources/orgs/index.d.ts +0 -1
- package/api/resources/orgs/index.js +0 -17
- package/api/resources/payments/client/Client.d.ts +0 -64
- package/api/resources/payments/client/Client.js +0 -219
- package/api/resources/payments/client/index.d.ts +0 -1
- package/api/resources/payments/client/index.js +0 -17
- package/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.ts +0 -13
- package/api/resources/payments/client/requests/index.d.ts +0 -1
- package/api/resources/payments/index.d.ts +0 -1
- package/api/resources/payments/index.js +0 -17
- package/api/resources/root/client/Client.d.ts +0 -85
- package/api/resources/root/client/Client.js +0 -377
- package/api/resources/root/index.d.ts +0 -2
- package/api/resources/root/index.js +0 -18
- package/api/resources/root/types/PydanticResponse.d.ts +0 -8
- package/api/resources/root/types/index.d.ts +0 -1
- package/api/resources/root/types/index.js +0 -17
- package/api/resources/users/client/Client.d.ts +0 -37
- package/api/resources/users/client/Client.js +0 -113
- package/api/resources/users/index.d.ts +0 -1
- package/api/resources/users/index.js +0 -17
- package/api/types/Action.d.ts +0 -5
- package/api/types/Cargo1.d.ts +0 -16
- package/api/types/CargoClientCreate1.d.ts +0 -13
- package/api/types/Coordinates.d.ts +0 -5
- package/api/types/CourierOrgConnectionInfo1.d.ts +0 -22
- package/api/types/CourierOrgProfile3.d.ts +0 -12
- package/api/types/CourierPayDriverRateSheet1.d.ts +0 -31
- package/api/types/DecodedJwtWithOrgAndUserId.d.ts +0 -28
- package/api/types/Driver1.d.ts +0 -23
- package/api/types/EmailRes.d.ts +0 -7
- package/api/types/Expense1.d.ts +0 -13
- package/api/types/Feature.d.ts +0 -14
- package/api/types/FeatureInputGeometry.d.ts +0 -28
- package/api/types/FeatureOutputGeometry.d.ts +0 -28
- package/api/types/GeometryCollection.d.ts +0 -11
- package/api/types/GeometryCollectionInputGeometriesItem.d.ts +0 -28
- package/api/types/GeometryCollectionOutputGeometriesItem.d.ts +0 -28
- package/api/types/GetOrderFullRes.d.ts +0 -11
- package/api/types/GetOrderRes.d.ts +0 -7
- package/api/types/HttpValidationError.d.ts +0 -7
- package/api/types/Id.d.ts +0 -4
- package/api/types/Incident1.d.ts +0 -7
- package/api/types/Insurance1.d.ts +0 -7
- package/api/types/LineItem1.d.ts +0 -11
- package/api/types/LineString.d.ts +0 -11
- package/api/types/LineStringCoordinatesItem.d.ts +0 -5
- package/api/types/Milestone1.d.ts +0 -27
- package/api/types/MilestoneClientCreate1.d.ts +0 -9
- package/api/types/MultiLineString.d.ts +0 -11
- package/api/types/MultiLineStringCoordinatesItemItem.d.ts +0 -5
- package/api/types/MultiPoint.d.ts +0 -11
- package/api/types/MultiPointCoordinatesItem.d.ts +0 -5
- package/api/types/MultiPolygon.d.ts +0 -11
- package/api/types/MultiPolygonCoordinatesItemItemItem.d.ts +0 -5
- package/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
- package/api/types/MultipleTaskGroupsWithTasks.d.ts +0 -7
- package/api/types/NotificationChannelEnum.d.ts +0 -10
- package/api/types/NotificationPreferences1.d.ts +0 -18
- package/api/types/Order1.d.ts +0 -28
- package/api/types/OrgMemberDetails.d.ts +0 -11
- package/api/types/OrgMembersAndDrivers.d.ts +0 -8
- package/api/types/OrgPublicData2.d.ts +0 -11
- package/api/types/PayablesInvoice1.d.ts +0 -22
- package/api/types/Point.d.ts +0 -11
- package/api/types/Polygon.d.ts +0 -11
- package/api/types/PolygonCoordinatesItemItem.d.ts +0 -5
- package/api/types/PolygonCoordinatesItemItem.js +0 -5
- package/api/types/Properties.d.ts +0 -5
- package/api/types/Properties.js +0 -5
- package/api/types/ReceivablesInvoice1.d.ts +0 -22
- package/api/types/ReceivablesInvoice1.js +0 -5
- package/api/types/Shipper2.d.ts +0 -20
- package/api/types/ShipperCourierConnection1.d.ts +0 -13
- package/api/types/ShipperOrgConnectionInfo1.d.ts +0 -22
- package/api/types/ShipperUserInfo1.d.ts +0 -23
- package/api/types/ShipperUserInfo1.js +0 -5
- package/api/types/Status.d.ts +0 -13
- package/api/types/Status.js +0 -15
- package/api/types/StreetAddress1.d.ts +0 -18
- package/api/types/StripeConnectInvoice1.d.ts +0 -20
- package/api/types/StripeConnectInvoice1.js +0 -5
- package/api/types/Task1.d.ts +0 -29
- package/api/types/TaskClientCreate1.d.ts +0 -15
- package/api/types/TaskCreateBundle.d.ts +0 -13
- package/api/types/TaskGroup1.d.ts +0 -24
- package/api/types/TaskGroupDetailsResponse.d.ts +0 -8
- package/api/types/TaskGroupWithDetails.d.ts +0 -8
- package/api/types/TaskGroupWithTasks.d.ts +0 -8
- package/api/types/TaskWithDetails.d.ts +0 -9
- package/api/types/Tracker1.d.ts +0 -7
- package/api/types/TrackerSession1.d.ts +0 -7
- package/api/types/UserPublicData5.d.ts +0 -15
- package/api/types/UserPublicData5.js +0 -5
- package/api/types/ValidationError.d.ts +0 -9
- package/api/types/ValidationErrorLocItem.d.ts +0 -4
- package/api/types/ValidationErrorLocItem.js +0 -5
- package/api/types/Vehicle1.d.ts +0 -7
- package/api/types/index.d.ts +0 -93
- package/api/types/index.js +0 -109
- package/core/auth/BasicAuth.js +0 -26
- package/core/auth/index.d.ts +0 -2
- package/core/auth/index.js +0 -7
- package/core/fetcher/APIResponse.d.ts +0 -10
- package/core/fetcher/Fetcher.d.ts +0 -39
- package/core/fetcher/Fetcher.js +0 -100
- package/core/fetcher/createRequestUrl.d.ts +0 -1
- package/core/fetcher/createRequestUrl.js +0 -12
- package/core/fetcher/getFetchFn.d.ts +0 -4
- package/core/fetcher/getFetchFn.js +0 -68
- package/core/fetcher/getRequestBody.js +0 -23
- package/core/fetcher/getResponseBody.js +0 -54
- package/core/fetcher/index.d.ts +0 -5
- package/core/fetcher/index.js +0 -9
- package/core/fetcher/makeRequest.js +0 -42
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/core/form-data-utils/FormDataWrapper.d.ts +0 -60
- package/core/form-data-utils/FormDataWrapper.js +0 -188
- package/core/form-data-utils/index.d.ts +0 -1
- package/core/form-data-utils/index.js +0 -17
- package/core/index.d.ts +0 -4
- package/core/index.js +0 -20
- package/core/runtime/index.d.ts +0 -1
- package/core/runtime/index.js +0 -5
- package/core/runtime/runtime.js +0 -103
- package/dist/Client.d.ts +0 -79
- package/dist/Client.js +0 -97
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/dist/api/errors/UnprocessableEntityError.js +0 -51
- package/dist/api/errors/index.d.ts +0 -1
- package/dist/api/errors/index.js +0 -17
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -19
- package/dist/api/resources/dev/client/Client.d.ts +0 -72
- package/dist/api/resources/dev/client/Client.js +0 -299
- package/dist/api/resources/dev/client/index.d.ts +0 -1
- package/dist/api/resources/dev/client/index.js +0 -17
- package/dist/api/resources/dev/client/requests/TemplateReq.js +0 -5
- package/dist/api/resources/dev/client/requests/index.d.ts +0 -1
- package/dist/api/resources/dev/index.d.ts +0 -1
- package/dist/api/resources/dev/index.js +0 -17
- package/dist/api/resources/directory/client/Client.d.ts +0 -42
- package/dist/api/resources/directory/client/Client.js +0 -125
- package/dist/api/resources/directory/client/index.d.ts +0 -1
- package/dist/api/resources/directory/client/index.js +0 -17
- package/dist/api/resources/directory/client/requests/DbQueryParams.d.ts +0 -12
- package/dist/api/resources/directory/client/requests/DbQueryParams.js +0 -5
- package/dist/api/resources/directory/client/requests/index.d.ts +0 -1
- package/dist/api/resources/directory/index.d.ts +0 -1
- package/dist/api/resources/directory/index.js +0 -17
- package/dist/api/resources/index.d.ts +0 -32
- package/dist/api/resources/index.js +0 -71
- package/dist/api/resources/mirror/client/Client.d.ts +0 -124
- package/dist/api/resources/mirror/client/Client.js +0 -609
- package/dist/api/resources/mirror/index.d.ts +0 -1
- package/dist/api/resources/mirror/index.js +0 -17
- package/dist/api/resources/oortConnections/client/Client.d.ts +0 -58
- package/dist/api/resources/oortConnections/client/Client.js +0 -213
- package/dist/api/resources/oortConnections/client/index.d.ts +0 -1
- package/dist/api/resources/oortConnections/client/index.js +0 -17
- package/dist/api/resources/oortConnections/client/requests/CreateConnectionReq.js +0 -5
- package/dist/api/resources/oortConnections/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortConnections/index.d.ts +0 -1
- package/dist/api/resources/oortConnections/index.js +0 -17
- package/dist/api/resources/oortCourierPayDriverRate/client/Client.d.ts +0 -88
- package/dist/api/resources/oortCourierPayDriverRate/client/Client.js +0 -284
- package/dist/api/resources/oortCourierPayDriverRate/client/index.d.ts +0 -1
- package/dist/api/resources/oortCourierPayDriverRate/client/index.js +0 -17
- package/dist/api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +0 -50
- package/dist/api/resources/oortCourierPayDriverRate/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortCourierPayDriverRate/index.d.ts +0 -1
- package/dist/api/resources/oortCourierPayDriverRate/index.js +0 -17
- package/dist/api/resources/oortDrivers/client/Client.d.ts +0 -136
- package/dist/api/resources/oortDrivers/client/Client.js +0 -535
- package/dist/api/resources/oortDrivers/client/index.d.ts +0 -1
- package/dist/api/resources/oortDrivers/client/index.js +0 -17
- package/dist/api/resources/oortDrivers/client/requests/DriverCreateReq.d.ts +0 -17
- package/dist/api/resources/oortDrivers/client/requests/DriverLastSeenReq.d.ts +0 -15
- package/dist/api/resources/oortDrivers/client/requests/SetDriverActivationReq.d.ts +0 -14
- package/dist/api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.d.ts +0 -18
- package/dist/api/resources/oortDrivers/client/requests/index.d.ts +0 -4
- package/dist/api/resources/oortDrivers/index.d.ts +0 -1
- package/dist/api/resources/oortDrivers/index.js +0 -17
- package/dist/api/resources/oortMilestones/client/Client.d.ts +0 -91
- package/dist/api/resources/oortMilestones/client/Client.js +0 -346
- package/dist/api/resources/oortMilestones/client/index.d.ts +0 -1
- package/dist/api/resources/oortMilestones/client/index.js +0 -17
- package/dist/api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.d.ts +0 -10
- package/dist/api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
- package/dist/api/resources/oortMilestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
- package/dist/api/resources/oortMilestones/client/requests/index.d.ts +0 -3
- package/dist/api/resources/oortMilestones/index.d.ts +0 -1
- package/dist/api/resources/oortMilestones/index.js +0 -17
- package/dist/api/resources/oortNotificationPreferences/client/Client.d.ts +0 -49
- package/dist/api/resources/oortNotificationPreferences/client/Client.js +0 -168
- package/dist/api/resources/oortNotificationPreferences/client/index.d.ts +0 -1
- package/dist/api/resources/oortNotificationPreferences/client/index.js +0 -17
- package/dist/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.js +0 -5
- package/dist/api/resources/oortNotificationPreferences/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortNotificationPreferences/client/requests/index.js +0 -2
- package/dist/api/resources/oortNotificationPreferences/index.d.ts +0 -1
- package/dist/api/resources/oortNotificationPreferences/index.js +0 -17
- package/dist/api/resources/oortOrders/client/Client.d.ts +0 -119
- package/dist/api/resources/oortOrders/client/Client.js +0 -433
- package/dist/api/resources/oortOrders/client/index.d.ts +0 -1
- package/dist/api/resources/oortOrders/client/index.js +0 -17
- package/dist/api/resources/oortOrders/client/requests/CreateOrderReq.d.ts +0 -43
- package/dist/api/resources/oortOrders/client/requests/index.d.ts +0 -1
- package/dist/api/resources/oortOrders/client/requests/index.js +0 -2
- package/dist/api/resources/oortOrders/index.d.ts +0 -1
- package/dist/api/resources/oortOrders/index.js +0 -17
- package/dist/api/resources/oortOrgConnectionInfos/client/Client.d.ts +0 -102
- package/dist/api/resources/oortOrgConnectionInfos/client/Client.js +0 -383
- package/dist/api/resources/oortOrgConnectionInfos/client/index.d.ts +0 -1
- package/dist/api/resources/oortOrgConnectionInfos/client/index.js +0 -17
- 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/CourierOrgConnectionInfoUpdate.js +0 -5
- 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/oortOrgConnectionInfos/client/requests/index.js +0 -2
- package/dist/api/resources/oortOrgConnectionInfos/index.d.ts +0 -1
- package/dist/api/resources/oortOrgConnectionInfos/index.js +0 -17
- package/dist/api/resources/oortOrgProfiles/client/Client.d.ts +0 -74
- package/dist/api/resources/oortOrgProfiles/client/Client.js +0 -279
- package/dist/api/resources/oortOrgProfiles/client/index.d.ts +0 -1
- package/dist/api/resources/oortOrgProfiles/client/index.js +0 -17
- package/dist/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +0 -18
- package/dist/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.js +0 -5
- package/dist/api/resources/oortOrgProfiles/client/requests/index.d.ts +0 -2
- package/dist/api/resources/oortOrgProfiles/client/requests/index.js +0 -2
- package/dist/api/resources/oortOrgProfiles/index.d.ts +0 -1
- package/dist/api/resources/oortOrgProfiles/index.js +0 -17
- package/dist/api/resources/oortShipperUserInfo/client/Client.d.ts +0 -73
- package/dist/api/resources/oortShipperUserInfo/client/Client.js +0 -275
- package/dist/api/resources/oortShipperUserInfo/client/index.d.ts +0 -1
- package/dist/api/resources/oortShipperUserInfo/client/index.js +0 -17
- package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.d.ts +0 -24
- package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.js +0 -5
- package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.d.ts +0 -21
- package/dist/api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.js +0 -5
- package/dist/api/resources/oortShipperUserInfo/client/requests/index.d.ts +0 -2
- package/dist/api/resources/oortShipperUserInfo/client/requests/index.js +0 -2
- package/dist/api/resources/oortShipperUserInfo/index.d.ts +0 -1
- package/dist/api/resources/oortShipperUserInfo/index.js +0 -17
- package/dist/api/resources/oortTaskGroups/client/Client.d.ts +0 -118
- package/dist/api/resources/oortTaskGroups/client/Client.js +0 -479
- package/dist/api/resources/oortTaskGroups/client/index.d.ts +0 -1
- package/dist/api/resources/oortTaskGroups/client/index.js +0 -17
- package/dist/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.d.ts +0 -14
- package/dist/api/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js +0 -5
- package/dist/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.d.ts +0 -14
- package/dist/api/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js +0 -5
- package/dist/api/resources/oortTaskGroups/client/requests/index.d.ts +0 -2
- package/dist/api/resources/oortTaskGroups/client/requests/index.js +0 -2
- package/dist/api/resources/oortTaskGroups/index.d.ts +0 -1
- package/dist/api/resources/oortTaskGroups/index.js +0 -17
- package/dist/api/resources/orgs/client/Client.d.ts +0 -106
- package/dist/api/resources/orgs/client/Client.js +0 -421
- package/dist/api/resources/orgs/client/index.d.ts +0 -1
- package/dist/api/resources/orgs/client/index.js +0 -17
- package/dist/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +0 -14
- package/dist/api/resources/orgs/client/requests/CreateOrgPublicDataReq.js +0 -5
- package/dist/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +0 -11
- package/dist/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.js +0 -5
- package/dist/api/resources/orgs/client/requests/index.d.ts +0 -2
- package/dist/api/resources/orgs/client/requests/index.js +0 -2
- package/dist/api/resources/orgs/index.d.ts +0 -1
- package/dist/api/resources/orgs/index.js +0 -17
- package/dist/api/resources/payments/client/Client.d.ts +0 -64
- package/dist/api/resources/payments/client/Client.js +0 -219
- package/dist/api/resources/payments/client/index.d.ts +0 -1
- package/dist/api/resources/payments/client/index.js +0 -17
- package/dist/api/resources/payments/client/requests/CreateCheckoutSessionReq2.d.ts +0 -13
- package/dist/api/resources/payments/client/requests/CreateCheckoutSessionReq2.js +0 -5
- package/dist/api/resources/payments/client/requests/index.d.ts +0 -1
- package/dist/api/resources/payments/client/requests/index.js +0 -2
- package/dist/api/resources/payments/index.d.ts +0 -1
- package/dist/api/resources/payments/index.js +0 -17
- package/dist/api/resources/root/client/Client.d.ts +0 -85
- package/dist/api/resources/root/client/Client.js +0 -377
- package/dist/api/resources/root/client/index.js +0 -2
- package/dist/api/resources/root/index.d.ts +0 -2
- package/dist/api/resources/root/index.js +0 -18
- package/dist/api/resources/root/types/PydanticResponse.d.ts +0 -8
- package/dist/api/resources/root/types/PydanticResponse.js +0 -5
- package/dist/api/resources/root/types/index.d.ts +0 -1
- package/dist/api/resources/root/types/index.js +0 -17
- package/dist/api/resources/users/client/Client.d.ts +0 -37
- package/dist/api/resources/users/client/Client.js +0 -113
- package/dist/api/resources/users/client/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -1
- package/dist/api/resources/users/index.js +0 -17
- package/dist/api/types/Action.d.ts +0 -5
- package/dist/api/types/Action.js +0 -5
- package/dist/api/types/BaseModel.js +0 -5
- package/dist/api/types/Cargo1.d.ts +0 -16
- package/dist/api/types/Cargo1.js +0 -5
- package/dist/api/types/CargoClientCreate1.d.ts +0 -13
- package/dist/api/types/CargoClientCreate1.js +0 -5
- package/dist/api/types/CargoTypeEnum1.js +0 -27
- package/dist/api/types/Coordinates.d.ts +0 -5
- package/dist/api/types/Coordinates.js +0 -5
- package/dist/api/types/CourierOrgConnectionInfo1.d.ts +0 -22
- package/dist/api/types/CourierOrgConnectionInfo1.js +0 -5
- package/dist/api/types/CourierOrgProfile3.d.ts +0 -12
- package/dist/api/types/CourierOrgProfile3.js +0 -5
- package/dist/api/types/CourierPayDriverRateSheet1.d.ts +0 -31
- package/dist/api/types/CreateCheckoutSessionRes2.js +0 -5
- package/dist/api/types/CreateOrderRes.js +0 -5
- package/dist/api/types/DecodedJwtWithOrgAndUserId.d.ts +0 -28
- package/dist/api/types/DecodedJwtWithOrgAndUserId.js +0 -5
- package/dist/api/types/Driver1.d.ts +0 -23
- package/dist/api/types/Driver1.js +0 -5
- package/dist/api/types/DriverStatusEnum.js +0 -11
- package/dist/api/types/EmailReq.js +0 -5
- package/dist/api/types/EmailRes.d.ts +0 -7
- package/dist/api/types/EmailRes.js +0 -5
- package/dist/api/types/Expense1.d.ts +0 -13
- package/dist/api/types/Expense1.js +0 -5
- package/dist/api/types/Feature.d.ts +0 -14
- package/dist/api/types/Feature.js +0 -5
- package/dist/api/types/FeatureInputGeometry.d.ts +0 -28
- package/dist/api/types/FeatureInputGeometry.js +0 -5
- package/dist/api/types/FeatureOutputGeometry.d.ts +0 -28
- package/dist/api/types/FeatureOutputGeometry.js +0 -5
- package/dist/api/types/GeometryCollection.d.ts +0 -11
- package/dist/api/types/GeometryCollection.js +0 -5
- package/dist/api/types/GeometryCollectionInputGeometriesItem.d.ts +0 -28
- package/dist/api/types/GeometryCollectionInputGeometriesItem.js +0 -5
- package/dist/api/types/GeometryCollectionOutputGeometriesItem.d.ts +0 -28
- package/dist/api/types/GeometryCollectionOutputGeometriesItem.js +0 -5
- package/dist/api/types/GetOrderFullRes.d.ts +0 -11
- package/dist/api/types/GetOrderFullRes.js +0 -5
- package/dist/api/types/GetOrderRes.d.ts +0 -7
- package/dist/api/types/GetOrderRes.js +0 -5
- package/dist/api/types/HttpValidationError.d.ts +0 -7
- package/dist/api/types/HttpValidationError.js +0 -5
- package/dist/api/types/Id.d.ts +0 -4
- package/dist/api/types/Id.js +0 -5
- package/dist/api/types/Incident1.d.ts +0 -7
- package/dist/api/types/Incident1.js +0 -5
- package/dist/api/types/IncidentEnum1.js +0 -14
- package/dist/api/types/Insurance1.d.ts +0 -7
- package/dist/api/types/Insurance1.js +0 -5
- package/dist/api/types/LineItem1.d.ts +0 -11
- package/dist/api/types/LineItem1.js +0 -5
- package/dist/api/types/LineItemEnum1.js +0 -30
- package/dist/api/types/LineString.d.ts +0 -11
- package/dist/api/types/LineString.js +0 -5
- package/dist/api/types/LineStringCoordinatesItem.d.ts +0 -5
- package/dist/api/types/LineStringCoordinatesItem.js +0 -5
- package/dist/api/types/Milestone1.d.ts +0 -27
- package/dist/api/types/Milestone1.js +0 -5
- package/dist/api/types/MilestoneClientCreate1.d.ts +0 -9
- package/dist/api/types/MilestoneClientCreate1.js +0 -5
- package/dist/api/types/MilestoneTypeEnum1.js +0 -16
- package/dist/api/types/MultiLineString.d.ts +0 -11
- package/dist/api/types/MultiLineString.js +0 -5
- package/dist/api/types/MultiLineStringCoordinatesItemItem.d.ts +0 -5
- package/dist/api/types/MultiLineStringCoordinatesItemItem.js +0 -5
- package/dist/api/types/MultiPoint.d.ts +0 -11
- package/dist/api/types/MultiPoint.js +0 -5
- package/dist/api/types/MultiPointCoordinatesItem.d.ts +0 -5
- package/dist/api/types/MultiPointCoordinatesItem.js +0 -5
- package/dist/api/types/MultiPolygon.d.ts +0 -11
- package/dist/api/types/MultiPolygon.js +0 -5
- package/dist/api/types/MultiPolygonCoordinatesItemItemItem.d.ts +0 -5
- package/dist/api/types/MultiPolygonCoordinatesItemItemItem.js +0 -5
- package/dist/api/types/MultipleTaskGroupsDetailsResponse.d.ts +0 -7
- package/dist/api/types/MultipleTaskGroupsDetailsResponse.js +0 -5
- package/dist/api/types/MultipleTaskGroupsWithTasks.d.ts +0 -7
- package/dist/api/types/MultipleTaskGroupsWithTasks.js +0 -5
- 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/NotificationPreferences1.js +0 -5
- package/dist/api/types/ObcNfoTaskActionEnum.js +0 -40
- package/dist/api/types/Order1.d.ts +0 -28
- package/dist/api/types/Order1.js +0 -5
- package/dist/api/types/OrderClientCreate1.js +0 -5
- package/dist/api/types/OrderCreatedByTypeEnum.js +0 -11
- package/dist/api/types/OrderDispatchTypeEnum.js +0 -11
- package/dist/api/types/OrderStatusEnum1.js +0 -12
- package/dist/api/types/OrgMemberDetails.d.ts +0 -11
- package/dist/api/types/OrgMemberDetails.js +0 -5
- package/dist/api/types/OrgMembersAndDrivers.d.ts +0 -8
- package/dist/api/types/OrgMembersAndDrivers.js +0 -5
- package/dist/api/types/OrgPublicData2.d.ts +0 -11
- package/dist/api/types/OrgPublicData2.js +0 -5
- package/dist/api/types/PayablesInvoice1.d.ts +0 -22
- package/dist/api/types/PayablesInvoice1.js +0 -5
- package/dist/api/types/Point.d.ts +0 -11
- package/dist/api/types/Point.js +0 -5
- package/dist/api/types/Polygon.d.ts +0 -11
- package/dist/api/types/Polygon.js +0 -5
- package/dist/api/types/PolygonCoordinatesItemItem.d.ts +0 -5
- package/dist/api/types/PolygonCoordinatesItemItem.js +0 -5
- package/dist/api/types/Position2D.js +0 -5
- package/dist/api/types/Position3D.js +0 -5
- package/dist/api/types/PriceNameEnum.js +0 -11
- package/dist/api/types/Properties.d.ts +0 -5
- package/dist/api/types/Properties.js +0 -5
- package/dist/api/types/ReceivablesInvoice1.d.ts +0 -22
- package/dist/api/types/ReceivablesInvoice1.js +0 -5
- package/dist/api/types/RouteTypeEnum1.js +0 -10
- package/dist/api/types/Shipper2.d.ts +0 -20
- package/dist/api/types/Shipper2.js +0 -5
- package/dist/api/types/ShipperCourierConnection1.d.ts +0 -13
- package/dist/api/types/ShipperCourierConnection1.js +0 -5
- package/dist/api/types/ShipperOrgConnectionInfo1.d.ts +0 -22
- package/dist/api/types/ShipperOrgConnectionInfo1.js +0 -5
- package/dist/api/types/ShipperUserInfo1.d.ts +0 -23
- package/dist/api/types/ShipperUserInfo1.js +0 -5
- package/dist/api/types/Status.d.ts +0 -13
- package/dist/api/types/Status.js +0 -15
- package/dist/api/types/StreetAddress1.d.ts +0 -18
- package/dist/api/types/StreetAddress1.js +0 -5
- package/dist/api/types/StripeConnectInvoice1.d.ts +0 -20
- package/dist/api/types/StripeConnectInvoice1.js +0 -5
- package/dist/api/types/Task1.d.ts +0 -29
- package/dist/api/types/Task1.js +0 -5
- package/dist/api/types/TaskActionEnum1.js +0 -16
- package/dist/api/types/TaskClientCreate1.d.ts +0 -15
- package/dist/api/types/TaskClientCreate1.js +0 -5
- package/dist/api/types/TaskCreateBundle.d.ts +0 -13
- package/dist/api/types/TaskCreateBundle.js +0 -5
- package/dist/api/types/TaskGroup1.d.ts +0 -24
- package/dist/api/types/TaskGroup1.js +0 -5
- package/dist/api/types/TaskGroupDetailsResponse.d.ts +0 -8
- package/dist/api/types/TaskGroupDetailsResponse.js +0 -5
- package/dist/api/types/TaskGroupStatusEnum1.js +0 -11
- package/dist/api/types/TaskGroupWithDetails.d.ts +0 -8
- package/dist/api/types/TaskGroupWithDetails.js +0 -5
- package/dist/api/types/TaskGroupWithTasks.d.ts +0 -8
- package/dist/api/types/TaskGroupWithTasks.js +0 -5
- package/dist/api/types/TaskWithDetails.d.ts +0 -9
- package/dist/api/types/TaskWithDetails.js +0 -5
- package/dist/api/types/TemplateRes.js +0 -5
- package/dist/api/types/Tracker1.d.ts +0 -7
- package/dist/api/types/Tracker1.js +0 -5
- package/dist/api/types/TrackerSession1.d.ts +0 -7
- package/dist/api/types/TrackerSession1.js +0 -5
- package/dist/api/types/TransportTypeEnum.js +0 -13
- package/dist/api/types/UpdateTaskGroupRes.js +0 -5
- package/dist/api/types/UserPublicData5.d.ts +0 -15
- package/dist/api/types/UserPublicData5.js +0 -5
- package/dist/api/types/ValidationError.d.ts +0 -9
- package/dist/api/types/ValidationError.js +0 -5
- package/dist/api/types/ValidationErrorLocItem.d.ts +0 -4
- package/dist/api/types/ValidationErrorLocItem.js +0 -5
- package/dist/api/types/Vehicle1.d.ts +0 -7
- package/dist/api/types/Vehicle1.js +0 -5
- package/dist/api/types/VehicleTypeEnum.js +0 -14
- package/dist/api/types/index.d.ts +0 -93
- package/dist/api/types/index.js +0 -109
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- package/dist/core/fetcher/APIResponse.d.ts +0 -10
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -39
- package/dist/core/fetcher/Fetcher.js +0 -100
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -12
- package/dist/core/fetcher/getFetchFn.d.ts +0 -4
- package/dist/core/fetcher/getFetchFn.js +0 -68
- package/dist/core/fetcher/getHeader.js +0 -11
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.js +0 -54
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.js +0 -40
- package/dist/core/fetcher/signals.js +0 -36
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +0 -60
- package/dist/core/form-data-utils/FormDataWrapper.js +0 -188
- package/dist/core/form-data-utils/index.d.ts +0 -1
- package/dist/core/form-data-utils/index.js +0 -17
- package/dist/core/index.d.ts +0 -4
- package/dist/core/index.js +0 -20
- package/dist/core/json.js +0 -24
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.js +0 -103
- package/dist/errors/ChrtError.d.ts +0 -12
- package/dist/errors/ChrtError.js +0 -33
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -44
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/environments.js +0 -12
- package/errors/ChrtError.d.ts +0 -12
- package/errors/ChrtError.js +0 -33
- package/errors/ChrtTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/index.d.ts +0 -4
- package/index.js +0 -44
- package/jest.config.mjs +0 -8
- package/scripts/rename-to-esm-files.js +0 -115
- package/version.d.ts +0 -1
- package/version.js +0 -4
- /package/{api → dist/cjs/api}/resources/dev/client/requests/TemplateReq.d.ts +0 -0
- /package/{api → dist/cjs/api}/resources/dev/client/requests/TemplateReq.js +0 -0
- /package/{api → dist/cjs/api}/resources/dev/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/directory/client/requests/DbQueryParams.js +0 -0
- /package/{api → dist/cjs/api}/resources/directory/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/mirror/client/index.d.ts +0 -0
- /package/{api → dist/cjs/api}/resources/mirror/client/index.js +0 -0
- /package/{api/resources/oortConnections/client/requests/CreateConnectionReq.js → dist/cjs/api/resources/notificationsCourierNotificationPreferences/client/requests/CourierNotificationPreferencesClientCreate1.js} +0 -0
- /package/{api/resources/oortConnections → dist/cjs/api/resources/notificationsCourierNotificationPreferences}/client/requests/index.js +0 -0
- /package/{api/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js → dist/cjs/api/resources/notificationsShipperNotificationPreferences/client/requests/ShipperNotificationPreferencesClientCreate1.js} +0 -0
- /package/{api/resources/oortCourierPayDriverRate → dist/cjs/api/resources/notificationsShipperNotificationPreferences}/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/oortConnections/client/requests/CreateConnectionReq.d.ts +0 -0
- /package/{api/resources/oortDrivers/client/requests/DriverCreateReq.js → dist/cjs/api/resources/oortConnections/client/requests/CreateConnectionReq.js} +0 -0
- /package/{api/resources/oortDrivers → dist/cjs/api/resources/oortConnections}/client/requests/index.js +0 -0
- /package/{api/resources/oortDrivers/client/requests/DriverLastSeenReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/AddLineItemsReq.js} +0 -0
- /package/{api/resources/oortDrivers/client/requests/SetDriverActivationReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/CreateCourierPayDriverLineItemGroupRequest.js} +0 -0
- /package/{api/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCalculateCourierPayDriverLineItemGroupRequest.js} +0 -0
- /package/{api/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByIdRequest.js} +0 -0
- /package/{api/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/GetCourierPayDriverLineItemGroupByTaskGroupIdRequest.js} +0 -0
- /package/{api/resources/oortMilestones/client/requests/MilestoneUpdateReq.js → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups/client/requests/RemoveLineItemsReq.js} +0 -0
- /package/{api/resources/oortMilestones → dist/cjs/api/resources/oortCourierPayDriverLineItemGroups}/client/requests/index.js +0 -0
- /package/{api/resources/oortNotificationPreferences/client/requests/NotificationPreferencesClientCreate1.js → dist/cjs/api/resources/oortCourierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js} +0 -0
- /package/{api/resources/oortNotificationPreferences → dist/cjs/api/resources/oortCourierPayDriverPayouts}/client/requests/index.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortCourierPayDriverRate/client/requests/CourierPayDriverRateSheetClientCreate1.js +0 -0
- /package/{api/resources/oortOrders → dist/cjs/api/resources/oortCourierPayDriverRate}/client/requests/index.js +0 -0
- /package/{api/resources/oortOrders/client/requests/CreateOrderReq.js → dist/cjs/api/resources/oortCourierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.js} +0 -0
- /package/{api/resources/oortOrgConnectionInfos → dist/cjs/api/resources/oortCourierPayDriverRateSheets}/client/requests/index.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/DriverCreateReq.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/DriverLastSeenReq.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/SetDriverActivationReq.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortDrivers/client/requests/UpdateDriverDetailsReq.js +0 -0
- /package/{api/resources/oortOrgProfiles → dist/cjs/api/resources/oortDrivers}/client/requests/index.js +0 -0
- /package/{api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js → dist/cjs/api/resources/oortMilestoneNotificationPreferences/client/requests/MilestoneNotificationPreferencesClientCreate1.js} +0 -0
- /package/{api/resources/oortShipperUserInfo → dist/cjs/api/resources/oortMilestoneNotificationPreferences}/client/requests/index.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortMilestones/client/requests/BodyPostOortMilestonesUploadImageOortMilestonesUploadImageMilestoneIdPost.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortMilestones/client/requests/MilestoneAddToTaskReq.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortMilestones/client/requests/MilestoneUpdateReq.js +0 -0
- /package/{api/resources/oortTaskGroups → dist/cjs/api/resources/oortMilestones}/client/requests/index.js +0 -0
- /package/{api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoUpdate.js → dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js} +0 -0
- /package/{api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js → dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js} +0 -0
- /package/{api/resources/orgs → dist/cjs/api/resources/oortOffChrtShipperOrgConnectionInfo}/client/requests/index.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortOrders/client/requests/CreateOrderReq.js +0 -0
- /package/{api/resources/payments → dist/cjs/api/resources/oortOrders}/client/requests/index.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientCreate1.js +0 -0
- /package/{api/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → dist/cjs/api/resources/oortOrgConnectionInfos/client/requests/CourierOrgConnectionInfoClientUpdate1.js} +0 -0
- /package/dist/{api → cjs/api}/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientCreate1.js +0 -0
- /package/dist/{api → cjs/api}/resources/oortOrgConnectionInfos/client/requests/ShipperOrgConnectionInfoClientUpdate1.js +0 -0
- /package/{api/resources/root/client → dist/cjs/api/resources/oortOrgConnectionInfos/client/requests}/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientCreate3.js +0 -0
- /package/{api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.js → dist/cjs/api/resources/oortOrgProfiles/client/requests/CourierOrgProfileClientUpdate3.js} +0 -0
- /package/{api → dist/cjs/api}/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts +0 -0
- /package/dist/{api → cjs/api}/resources/oortOrgProfiles/client/requests/GetAvatarRequest.js +0 -0
- /package/{api/resources/users/client → dist/cjs/api/resources/oortOrgProfiles/client/requests}/index.js +0 -0
- /package/{api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientCreate1.js → dist/cjs/api/resources/oortShipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js} +0 -0
- /package/dist/{api/resources/dev → cjs/api/resources/oortShipperContactInfo}/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/oortTaskGroups/client/requests/SetTaskGroupPauseReq.js +0 -0
- /package/{api → dist/cjs/api}/resources/oortTaskGroups/client/requests/UpdateTaskGroupReq.js +0 -0
- /package/dist/{api/resources/directory → cjs/api/resources/oortTaskGroups}/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/orgs/client/requests/CreateOrgPublicDataReq.js +0 -0
- /package/{api → dist/cjs/api}/resources/orgs/client/requests/UpdateOrgPublicDataReq.js +0 -0
- /package/dist/{api/resources/mirror/client → cjs/api/resources/orgs/client/requests}/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/payments/client/requests/CreateCheckoutSessionReq2.js +0 -0
- /package/dist/{api/resources/oortConnections → cjs/api/resources/payments}/client/requests/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/root/client/index.d.ts +0 -0
- /package/dist/{api/resources/oortCourierPayDriverRate/client/requests → cjs/api/resources/root/client}/index.js +0 -0
- /package/{api → dist/cjs/api}/resources/root/types/PydanticResponse.js +0 -0
- /package/{api → dist/cjs/api}/resources/users/client/index.d.ts +0 -0
- /package/dist/{api/resources/oortDrivers/client/requests → cjs/api/resources/users/client}/index.js +0 -0
- /package/{api → dist/cjs/api}/types/BaseModel.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/BaseModel.js +0 -0
- /package/{api → dist/cjs/api}/types/Cargo1.js +0 -0
- /package/{api → dist/cjs/api}/types/CargoClientCreate1.js +0 -0
- /package/{api → dist/cjs/api}/types/CargoTypeEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/CargoTypeEnum1.js +0 -0
- /package/{api/resources/oortShipperUserInfo/client/requests/ShipperUserInfoClientUpdate1.js → dist/cjs/api/types/CourierNotificationEventEnum.js} +0 -0
- /package/{api/types/Action.js → dist/cjs/api/types/CourierNotificationPreferences1.js} +0 -0
- /package/{api → dist/cjs/api}/types/CourierOrgConnectionInfo1.js +0 -0
- /package/{api → dist/cjs/api}/types/CourierOrgProfile3.js +0 -0
- /package/{api/types/Coordinates.js → dist/cjs/api/types/CourierPayDriverLineItemGroup1.js} +0 -0
- /package/{api/types/CourierPayDriverRateSheet1.js → dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.js} +0 -0
- /package/dist/{api → cjs/api}/types/CourierPayDriverRateSheet1.js +0 -0
- /package/{api → dist/cjs/api}/types/CreateCheckoutSessionRes2.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/CreateCheckoutSessionRes2.js +0 -0
- /package/{api → dist/cjs/api}/types/CreateOrderRes.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/CreateOrderRes.js +0 -0
- /package/{api → dist/cjs/api}/types/DecodedJwtWithOrgAndUserId.js +0 -0
- /package/{api → dist/cjs/api}/types/Driver1.js +0 -0
- /package/{api → dist/cjs/api}/types/DriverStatusEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/DriverStatusEnum.js +0 -0
- /package/{api → dist/cjs/api}/types/EmailReq.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/EmailReq.js +0 -0
- /package/{api → dist/cjs/api}/types/EmailRes.js +0 -0
- /package/{api → dist/cjs/api}/types/Expense1.js +0 -0
- /package/{api → dist/cjs/api}/types/Feature.js +0 -0
- /package/{api → dist/cjs/api}/types/FeatureInputGeometry.js +0 -0
- /package/{api → dist/cjs/api}/types/FeatureOutputGeometry.js +0 -0
- /package/{api → dist/cjs/api}/types/GeometryCollection.js +0 -0
- /package/{api → dist/cjs/api}/types/GeometryCollectionInputGeometriesItem.js +0 -0
- /package/{api → dist/cjs/api}/types/GeometryCollectionOutputGeometriesItem.js +0 -0
- /package/{api → dist/cjs/api}/types/GetOrderFullRes.js +0 -0
- /package/{api → dist/cjs/api}/types/GetOrderRes.js +0 -0
- /package/{api → dist/cjs/api}/types/HttpValidationError.js +0 -0
- /package/{api → dist/cjs/api}/types/Incident1.js +0 -0
- /package/{api → dist/cjs/api}/types/IncidentEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/IncidentEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/Insurance1.js +0 -0
- /package/{api → dist/cjs/api}/types/LineItem1.js +0 -0
- /package/{api → dist/cjs/api}/types/LineItemEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/LineItemEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/LineString.js +0 -0
- /package/{api → dist/cjs/api}/types/Milestone1.js +0 -0
- /package/{api → dist/cjs/api}/types/MilestoneClientCreate1.js +0 -0
- /package/{api/types/Id.js → dist/cjs/api/types/MilestoneNotificationPreferences1.js} +0 -0
- /package/{api → dist/cjs/api}/types/MilestoneTypeEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/MilestoneTypeEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/MultiLineString.js +0 -0
- /package/{api → dist/cjs/api}/types/MultiPoint.js +0 -0
- /package/{api → dist/cjs/api}/types/MultiPolygon.js +0 -0
- /package/{api → dist/cjs/api}/types/MultipleTaskGroupsDetailsResponse.js +0 -0
- /package/{api → dist/cjs/api}/types/MultipleTaskGroupsWithTasks.js +0 -0
- /package/{api → dist/cjs/api}/types/NotificationChannelEnum.js +0 -0
- /package/{api → dist/cjs/api}/types/ObcNfoTaskActionEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/ObcNfoTaskActionEnum.js +0 -0
- /package/{api/types/LineStringCoordinatesItem.js → dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.js} +0 -0
- /package/{api → dist/cjs/api}/types/Order1.js +0 -0
- /package/{api → dist/cjs/api}/types/OrderClientCreate1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/OrderClientCreate1.js +0 -0
- /package/{api → dist/cjs/api}/types/OrderCreatedByTypeEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/OrderCreatedByTypeEnum.js +0 -0
- /package/{api → dist/cjs/api}/types/OrderDispatchTypeEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/OrderDispatchTypeEnum.js +0 -0
- /package/{api → dist/cjs/api}/types/OrderStatusEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/OrderStatusEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/OrgMemberDetails.js +0 -0
- /package/{api → dist/cjs/api}/types/OrgMembersAndDrivers.js +0 -0
- /package/{api → dist/cjs/api}/types/OrgPublicData2.js +0 -0
- /package/{api → dist/cjs/api}/types/Point.js +0 -0
- /package/{api → dist/cjs/api}/types/Polygon.js +0 -0
- /package/{api → dist/cjs/api}/types/Position2D.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/Position2D.js +0 -0
- /package/{api → dist/cjs/api}/types/Position3D.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/Position3D.js +0 -0
- /package/{api → dist/cjs/api}/types/PriceNameEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/PriceNameEnum.js +0 -0
- /package/{api → dist/cjs/api}/types/RouteTypeEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/RouteTypeEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/Shipper2.js +0 -0
- /package/{api/types/MultiLineStringCoordinatesItemItem.js → dist/cjs/api/types/ShipperContactInfo1.js} +0 -0
- /package/{api/types/MultiPointCoordinatesItem.js → dist/cjs/api/types/ShipperContactInfoClientCreate1.js} +0 -0
- /package/{api → dist/cjs/api}/types/ShipperCourierConnection1.js +0 -0
- /package/{api/types/MultiPolygonCoordinatesItemItemItem.js → dist/cjs/api/types/ShipperNotificationEventEnum.js} +0 -0
- /package/{api/types/NotificationPreferences1.js → dist/cjs/api/types/ShipperNotificationPreferences1.js} +0 -0
- /package/{api → dist/cjs/api}/types/ShipperOrgConnectionInfo1.js +0 -0
- /package/{api → dist/cjs/api}/types/StreetAddress1.js +0 -0
- /package/{api → dist/cjs/api}/types/Task1.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskActionEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/TaskActionEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskClientCreate1.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskCreateBundle.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskGroup1.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskGroupDetailsResponse.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskGroupStatusEnum1.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/TaskGroupStatusEnum1.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskGroupWithDetails.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskGroupWithTasks.js +0 -0
- /package/{api → dist/cjs/api}/types/TaskWithDetails.js +0 -0
- /package/{api → dist/cjs/api}/types/TemplateRes.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/TemplateRes.js +0 -0
- /package/{api → dist/cjs/api}/types/Tracker1.js +0 -0
- /package/{api → dist/cjs/api}/types/TrackerSession1.js +0 -0
- /package/{api → dist/cjs/api}/types/TransportTypeEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/TransportTypeEnum.js +0 -0
- /package/{api → dist/cjs/api}/types/UpdateTaskGroupRes.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/UpdateTaskGroupRes.js +0 -0
- /package/{api/types/PayablesInvoice1.js → dist/cjs/api/types/UserPublicData6.js} +0 -0
- /package/{api → dist/cjs/api}/types/ValidationError.js +0 -0
- /package/{api → dist/cjs/api}/types/Vehicle1.js +0 -0
- /package/{api → dist/cjs/api}/types/VehicleTypeEnum.d.ts +0 -0
- /package/{api → dist/cjs/api}/types/VehicleTypeEnum.js +0 -0
- /package/{core → dist/cjs/core}/auth/BasicAuth.d.ts +0 -0
- /package/{core → dist/cjs/core}/auth/BearerToken.d.ts +0 -0
- /package/{core → dist/cjs/core}/auth/BearerToken.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/APIResponse.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/Supplier.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/Supplier.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/getHeader.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/getHeader.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/getRequestBody.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/getResponseBody.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/makeRequest.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/requestWithRetries.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/requestWithRetries.js +0 -0
- /package/{core → dist/cjs/core}/fetcher/signals.d.ts +0 -0
- /package/{core → dist/cjs/core}/fetcher/signals.js +0 -0
- /package/dist/{api/resources/oortMilestones/client/requests/index.js → cjs/core/file.js} +0 -0
- /package/{core → dist/cjs/core}/json.d.ts +0 -0
- /package/{core → dist/cjs/core}/json.js +0 -0
- /package/{core → dist/cjs/core}/runtime/runtime.d.ts +0 -0
- /package/dist/{environments.d.ts → cjs/environments.d.ts} +0 -0
- /package/dist/{environments.js → cjs/environments.js} +0 -0
- /package/dist/{errors → cjs/errors}/ChrtTimeoutError.d.ts +0 -0
- /package/dist/{errors → cjs/errors}/ChrtTimeoutError.js +0 -0
- /package/dist/{api/resources/dev/client/requests/TemplateReq.d.ts → esm/api/resources/dev/client/requests/TemplateReq.d.mts} +0 -0
- /package/dist/{api/resources/mirror/client/index.d.ts → esm/api/resources/dev/client/requests/index.mjs} +0 -0
- /package/dist/{api/resources/root/client/index.d.ts → esm/api/resources/directory/client/requests/index.mjs} +0 -0
- /package/dist/{api/resources/users/client/index.d.ts → esm/api/resources/mirror/client/index.d.mts} +0 -0
- /package/dist/{api/resources/oortConnections/client/requests/CreateConnectionReq.d.ts → esm/api/resources/oortConnections/client/requests/CreateConnectionReq.d.mts} +0 -0
- /package/dist/{api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.ts → esm/api/resources/oortOrgProfiles/client/requests/GetAvatarRequest.d.mts} +0 -0
- /package/dist/{api/types/BaseModel.d.ts → esm/api/types/BaseModel.d.mts} +0 -0
- /package/dist/{api/types/CargoTypeEnum1.d.ts → esm/api/types/CargoTypeEnum1.d.mts} +0 -0
- /package/dist/{api/types/CreateCheckoutSessionRes2.d.ts → esm/api/types/CreateCheckoutSessionRes2.d.mts} +0 -0
- /package/dist/{api/types/CreateOrderRes.d.ts → esm/api/types/CreateOrderRes.d.mts} +0 -0
- /package/dist/{api/types/DriverStatusEnum.d.ts → esm/api/types/DriverStatusEnum.d.mts} +0 -0
- /package/dist/{api/types/EmailReq.d.ts → esm/api/types/EmailReq.d.mts} +0 -0
- /package/dist/{api/types/IncidentEnum1.d.ts → esm/api/types/IncidentEnum1.d.mts} +0 -0
- /package/dist/{api/types/LineItemEnum1.d.ts → esm/api/types/LineItemEnum1.d.mts} +0 -0
- /package/dist/{api/types/MilestoneTypeEnum1.d.ts → esm/api/types/MilestoneTypeEnum1.d.mts} +0 -0
- /package/dist/{api/types/ObcNfoTaskActionEnum.d.ts → esm/api/types/ObcNfoTaskActionEnum.d.mts} +0 -0
- /package/dist/{api/types/OrderClientCreate1.d.ts → esm/api/types/OrderClientCreate1.d.mts} +0 -0
- /package/dist/{api/types/OrderCreatedByTypeEnum.d.ts → esm/api/types/OrderCreatedByTypeEnum.d.mts} +0 -0
- /package/dist/{api/types/OrderDispatchTypeEnum.d.ts → esm/api/types/OrderDispatchTypeEnum.d.mts} +0 -0
- /package/dist/{api/types/OrderStatusEnum1.d.ts → esm/api/types/OrderStatusEnum1.d.mts} +0 -0
- /package/dist/{api/types/Position2D.d.ts → esm/api/types/Position2D.d.mts} +0 -0
- /package/dist/{api/types/Position3D.d.ts → esm/api/types/Position3D.d.mts} +0 -0
- /package/dist/{api/types/PriceNameEnum.d.ts → esm/api/types/PriceNameEnum.d.mts} +0 -0
- /package/dist/{api/types/RouteTypeEnum1.d.ts → esm/api/types/RouteTypeEnum1.d.mts} +0 -0
- /package/dist/{api/types/TaskActionEnum1.d.ts → esm/api/types/TaskActionEnum1.d.mts} +0 -0
- /package/dist/{api/types/TaskGroupStatusEnum1.d.ts → esm/api/types/TaskGroupStatusEnum1.d.mts} +0 -0
- /package/dist/{api/types/TemplateRes.d.ts → esm/api/types/TemplateRes.d.mts} +0 -0
- /package/dist/{api/types/TransportTypeEnum.d.ts → esm/api/types/TransportTypeEnum.d.mts} +0 -0
- /package/dist/{api/types/UpdateTaskGroupRes.d.ts → esm/api/types/UpdateTaskGroupRes.d.mts} +0 -0
- /package/dist/{api/types/VehicleTypeEnum.d.ts → esm/api/types/VehicleTypeEnum.d.mts} +0 -0
- /package/dist/{core/auth/BasicAuth.d.ts → esm/core/auth/BasicAuth.d.mts} +0 -0
- /package/dist/{core/auth/BearerToken.d.ts → esm/core/auth/BearerToken.d.mts} +0 -0
- /package/dist/{core/fetcher/Supplier.d.ts → esm/core/fetcher/Supplier.d.mts} +0 -0
- /package/dist/{core/fetcher/getHeader.d.ts → esm/core/fetcher/getHeader.d.mts} +0 -0
- /package/dist/{core/fetcher/getRequestBody.d.ts → esm/core/fetcher/getRequestBody.d.mts} +0 -0
- /package/dist/{core/fetcher/getResponseBody.d.ts → esm/core/fetcher/getResponseBody.d.mts} +0 -0
- /package/dist/{core/fetcher/makeRequest.d.ts → esm/core/fetcher/makeRequest.d.mts} +0 -0
- /package/dist/{core/fetcher/requestWithRetries.d.ts → esm/core/fetcher/requestWithRetries.d.mts} +0 -0
- /package/dist/{core/fetcher/signals.d.ts → esm/core/fetcher/signals.d.mts} +0 -0
- /package/dist/{core/json.d.ts → esm/core/json.d.mts} +0 -0
- /package/dist/{core/runtime/runtime.d.ts → esm/core/runtime/runtime.d.mts} +0 -0
- /package/{environments.d.ts → dist/esm/environments.d.mts} +0 -0
- /package/{errors/ChrtTimeoutError.d.ts → dist/esm/errors/ChrtTimeoutError.d.mts} +0 -0
|
@@ -0,0 +1,658 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Mirror = void 0;
|
|
49
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
50
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
51
|
+
const Chrt = __importStar(require("../../../index.js"));
|
|
52
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
53
|
+
const errors = __importStar(require("../../../../errors/index.js"));
|
|
54
|
+
class Mirror {
|
|
55
|
+
constructor(_options = {}) {
|
|
56
|
+
this._options = _options;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @param {Chrt.EmailReq} request
|
|
60
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.mirror.postOrderInProgressEmail({
|
|
66
|
+
* to: ["to"]
|
|
67
|
+
* })
|
|
68
|
+
*/
|
|
69
|
+
postOrderInProgressEmail(request, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__postOrderInProgressEmail(request, requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__postOrderInProgressEmail(request, requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c, _d;
|
|
75
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
76
|
+
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, "order_in_progress_email"),
|
|
77
|
+
method: "POST",
|
|
78
|
+
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),
|
|
79
|
+
contentType: "application/json",
|
|
80
|
+
requestType: "json",
|
|
81
|
+
body: request,
|
|
82
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
83
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
84
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
85
|
+
});
|
|
86
|
+
if (_response.ok) {
|
|
87
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
88
|
+
}
|
|
89
|
+
if (_response.error.reason === "status-code") {
|
|
90
|
+
switch (_response.error.statusCode) {
|
|
91
|
+
case 422:
|
|
92
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
93
|
+
default:
|
|
94
|
+
throw new errors.ChrtError({
|
|
95
|
+
statusCode: _response.error.statusCode,
|
|
96
|
+
body: _response.error.body,
|
|
97
|
+
rawResponse: _response.rawResponse,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
switch (_response.error.reason) {
|
|
102
|
+
case "non-json":
|
|
103
|
+
throw new errors.ChrtError({
|
|
104
|
+
statusCode: _response.error.statusCode,
|
|
105
|
+
body: _response.error.rawBody,
|
|
106
|
+
rawResponse: _response.rawResponse,
|
|
107
|
+
});
|
|
108
|
+
case "timeout":
|
|
109
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /order_in_progress_email.");
|
|
110
|
+
case "unknown":
|
|
111
|
+
throw new errors.ChrtError({
|
|
112
|
+
message: _response.error.errorMessage,
|
|
113
|
+
rawResponse: _response.rawResponse,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @param {Chrt.EmailReq} request
|
|
120
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* await client.mirror.postOrderCompletedEmail({
|
|
126
|
+
* to: ["to"]
|
|
127
|
+
* })
|
|
128
|
+
*/
|
|
129
|
+
postOrderCompletedEmail(request, requestOptions) {
|
|
130
|
+
return core.HttpResponsePromise.fromPromise(this.__postOrderCompletedEmail(request, requestOptions));
|
|
131
|
+
}
|
|
132
|
+
__postOrderCompletedEmail(request, requestOptions) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
var _a, _b, _c, _d;
|
|
135
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
136
|
+
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, "order_completed_email"),
|
|
137
|
+
method: "POST",
|
|
138
|
+
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),
|
|
139
|
+
contentType: "application/json",
|
|
140
|
+
requestType: "json",
|
|
141
|
+
body: request,
|
|
142
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
143
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
144
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
145
|
+
});
|
|
146
|
+
if (_response.ok) {
|
|
147
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
148
|
+
}
|
|
149
|
+
if (_response.error.reason === "status-code") {
|
|
150
|
+
switch (_response.error.statusCode) {
|
|
151
|
+
case 422:
|
|
152
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
153
|
+
default:
|
|
154
|
+
throw new errors.ChrtError({
|
|
155
|
+
statusCode: _response.error.statusCode,
|
|
156
|
+
body: _response.error.body,
|
|
157
|
+
rawResponse: _response.rawResponse,
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
switch (_response.error.reason) {
|
|
162
|
+
case "non-json":
|
|
163
|
+
throw new errors.ChrtError({
|
|
164
|
+
statusCode: _response.error.statusCode,
|
|
165
|
+
body: _response.error.rawBody,
|
|
166
|
+
rawResponse: _response.rawResponse,
|
|
167
|
+
});
|
|
168
|
+
case "timeout":
|
|
169
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /order_completed_email.");
|
|
170
|
+
case "unknown":
|
|
171
|
+
throw new errors.ChrtError({
|
|
172
|
+
message: _response.error.errorMessage,
|
|
173
|
+
rawResponse: _response.rawResponse,
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* await client.mirror.getAuthdMirror()
|
|
183
|
+
*/
|
|
184
|
+
getAuthdMirror(requestOptions) {
|
|
185
|
+
return core.HttpResponsePromise.fromPromise(this.__getAuthdMirror(requestOptions));
|
|
186
|
+
}
|
|
187
|
+
__getAuthdMirror(requestOptions) {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
var _a, _b, _c, _d;
|
|
190
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
191
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
|
|
192
|
+
method: "GET",
|
|
193
|
+
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),
|
|
194
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
195
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
196
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
197
|
+
});
|
|
198
|
+
if (_response.ok) {
|
|
199
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
200
|
+
}
|
|
201
|
+
if (_response.error.reason === "status-code") {
|
|
202
|
+
throw new errors.ChrtError({
|
|
203
|
+
statusCode: _response.error.statusCode,
|
|
204
|
+
body: _response.error.body,
|
|
205
|
+
rawResponse: _response.rawResponse,
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
switch (_response.error.reason) {
|
|
209
|
+
case "non-json":
|
|
210
|
+
throw new errors.ChrtError({
|
|
211
|
+
statusCode: _response.error.statusCode,
|
|
212
|
+
body: _response.error.rawBody,
|
|
213
|
+
rawResponse: _response.rawResponse,
|
|
214
|
+
});
|
|
215
|
+
case "timeout":
|
|
216
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /authd_mirror.");
|
|
217
|
+
case "unknown":
|
|
218
|
+
throw new errors.ChrtError({
|
|
219
|
+
message: _response.error.errorMessage,
|
|
220
|
+
rawResponse: _response.rawResponse,
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* await client.mirror.postAuthdMirror()
|
|
230
|
+
*/
|
|
231
|
+
postAuthdMirror(requestOptions) {
|
|
232
|
+
return core.HttpResponsePromise.fromPromise(this.__postAuthdMirror(requestOptions));
|
|
233
|
+
}
|
|
234
|
+
__postAuthdMirror(requestOptions) {
|
|
235
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
236
|
+
var _a, _b, _c, _d;
|
|
237
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
238
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
|
|
239
|
+
method: "POST",
|
|
240
|
+
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),
|
|
241
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
242
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
243
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
244
|
+
});
|
|
245
|
+
if (_response.ok) {
|
|
246
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
247
|
+
}
|
|
248
|
+
if (_response.error.reason === "status-code") {
|
|
249
|
+
throw new errors.ChrtError({
|
|
250
|
+
statusCode: _response.error.statusCode,
|
|
251
|
+
body: _response.error.body,
|
|
252
|
+
rawResponse: _response.rawResponse,
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
switch (_response.error.reason) {
|
|
256
|
+
case "non-json":
|
|
257
|
+
throw new errors.ChrtError({
|
|
258
|
+
statusCode: _response.error.statusCode,
|
|
259
|
+
body: _response.error.rawBody,
|
|
260
|
+
rawResponse: _response.rawResponse,
|
|
261
|
+
});
|
|
262
|
+
case "timeout":
|
|
263
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /authd_mirror.");
|
|
264
|
+
case "unknown":
|
|
265
|
+
throw new errors.ChrtError({
|
|
266
|
+
message: _response.error.errorMessage,
|
|
267
|
+
rawResponse: _response.rawResponse,
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
274
|
+
*
|
|
275
|
+
* @example
|
|
276
|
+
* await client.mirror.putAuthdMirror()
|
|
277
|
+
*/
|
|
278
|
+
putAuthdMirror(requestOptions) {
|
|
279
|
+
return core.HttpResponsePromise.fromPromise(this.__putAuthdMirror(requestOptions));
|
|
280
|
+
}
|
|
281
|
+
__putAuthdMirror(requestOptions) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
var _a, _b, _c, _d;
|
|
284
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
285
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
|
|
286
|
+
method: "PUT",
|
|
287
|
+
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),
|
|
288
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
289
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
290
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
291
|
+
});
|
|
292
|
+
if (_response.ok) {
|
|
293
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
294
|
+
}
|
|
295
|
+
if (_response.error.reason === "status-code") {
|
|
296
|
+
throw new errors.ChrtError({
|
|
297
|
+
statusCode: _response.error.statusCode,
|
|
298
|
+
body: _response.error.body,
|
|
299
|
+
rawResponse: _response.rawResponse,
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
switch (_response.error.reason) {
|
|
303
|
+
case "non-json":
|
|
304
|
+
throw new errors.ChrtError({
|
|
305
|
+
statusCode: _response.error.statusCode,
|
|
306
|
+
body: _response.error.rawBody,
|
|
307
|
+
rawResponse: _response.rawResponse,
|
|
308
|
+
});
|
|
309
|
+
case "timeout":
|
|
310
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /authd_mirror.");
|
|
311
|
+
case "unknown":
|
|
312
|
+
throw new errors.ChrtError({
|
|
313
|
+
message: _response.error.errorMessage,
|
|
314
|
+
rawResponse: _response.rawResponse,
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
321
|
+
*
|
|
322
|
+
* @example
|
|
323
|
+
* await client.mirror.deleteAuthdMirror()
|
|
324
|
+
*/
|
|
325
|
+
deleteAuthdMirror(requestOptions) {
|
|
326
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteAuthdMirror(requestOptions));
|
|
327
|
+
}
|
|
328
|
+
__deleteAuthdMirror(requestOptions) {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
330
|
+
var _a, _b, _c, _d;
|
|
331
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
332
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
|
|
333
|
+
method: "DELETE",
|
|
334
|
+
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),
|
|
335
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
336
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
337
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
338
|
+
});
|
|
339
|
+
if (_response.ok) {
|
|
340
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
341
|
+
}
|
|
342
|
+
if (_response.error.reason === "status-code") {
|
|
343
|
+
throw new errors.ChrtError({
|
|
344
|
+
statusCode: _response.error.statusCode,
|
|
345
|
+
body: _response.error.body,
|
|
346
|
+
rawResponse: _response.rawResponse,
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
switch (_response.error.reason) {
|
|
350
|
+
case "non-json":
|
|
351
|
+
throw new errors.ChrtError({
|
|
352
|
+
statusCode: _response.error.statusCode,
|
|
353
|
+
body: _response.error.rawBody,
|
|
354
|
+
rawResponse: _response.rawResponse,
|
|
355
|
+
});
|
|
356
|
+
case "timeout":
|
|
357
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /authd_mirror.");
|
|
358
|
+
case "unknown":
|
|
359
|
+
throw new errors.ChrtError({
|
|
360
|
+
message: _response.error.errorMessage,
|
|
361
|
+
rawResponse: _response.rawResponse,
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
368
|
+
*
|
|
369
|
+
* @example
|
|
370
|
+
* await client.mirror.patchAuthdMirror()
|
|
371
|
+
*/
|
|
372
|
+
patchAuthdMirror(requestOptions) {
|
|
373
|
+
return core.HttpResponsePromise.fromPromise(this.__patchAuthdMirror(requestOptions));
|
|
374
|
+
}
|
|
375
|
+
__patchAuthdMirror(requestOptions) {
|
|
376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
377
|
+
var _a, _b, _c, _d;
|
|
378
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
379
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "authd_mirror"),
|
|
380
|
+
method: "PATCH",
|
|
381
|
+
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),
|
|
382
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
383
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
384
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
385
|
+
});
|
|
386
|
+
if (_response.ok) {
|
|
387
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
388
|
+
}
|
|
389
|
+
if (_response.error.reason === "status-code") {
|
|
390
|
+
throw new errors.ChrtError({
|
|
391
|
+
statusCode: _response.error.statusCode,
|
|
392
|
+
body: _response.error.body,
|
|
393
|
+
rawResponse: _response.rawResponse,
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
switch (_response.error.reason) {
|
|
397
|
+
case "non-json":
|
|
398
|
+
throw new errors.ChrtError({
|
|
399
|
+
statusCode: _response.error.statusCode,
|
|
400
|
+
body: _response.error.rawBody,
|
|
401
|
+
rawResponse: _response.rawResponse,
|
|
402
|
+
});
|
|
403
|
+
case "timeout":
|
|
404
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /authd_mirror.");
|
|
405
|
+
case "unknown":
|
|
406
|
+
throw new errors.ChrtError({
|
|
407
|
+
message: _response.error.errorMessage,
|
|
408
|
+
rawResponse: _response.rawResponse,
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
415
|
+
*
|
|
416
|
+
* @example
|
|
417
|
+
* await client.mirror.getMirror()
|
|
418
|
+
*/
|
|
419
|
+
getMirror(requestOptions) {
|
|
420
|
+
return core.HttpResponsePromise.fromPromise(this.__getMirror(requestOptions));
|
|
421
|
+
}
|
|
422
|
+
__getMirror(requestOptions) {
|
|
423
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
424
|
+
var _a, _b, _c, _d;
|
|
425
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
426
|
+
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, "mirror"),
|
|
427
|
+
method: "GET",
|
|
428
|
+
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),
|
|
429
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
430
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
431
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
432
|
+
});
|
|
433
|
+
if (_response.ok) {
|
|
434
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
435
|
+
}
|
|
436
|
+
if (_response.error.reason === "status-code") {
|
|
437
|
+
throw new errors.ChrtError({
|
|
438
|
+
statusCode: _response.error.statusCode,
|
|
439
|
+
body: _response.error.body,
|
|
440
|
+
rawResponse: _response.rawResponse,
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
switch (_response.error.reason) {
|
|
444
|
+
case "non-json":
|
|
445
|
+
throw new errors.ChrtError({
|
|
446
|
+
statusCode: _response.error.statusCode,
|
|
447
|
+
body: _response.error.rawBody,
|
|
448
|
+
rawResponse: _response.rawResponse,
|
|
449
|
+
});
|
|
450
|
+
case "timeout":
|
|
451
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /mirror.");
|
|
452
|
+
case "unknown":
|
|
453
|
+
throw new errors.ChrtError({
|
|
454
|
+
message: _response.error.errorMessage,
|
|
455
|
+
rawResponse: _response.rawResponse,
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
462
|
+
*
|
|
463
|
+
* @example
|
|
464
|
+
* await client.mirror.postMirror()
|
|
465
|
+
*/
|
|
466
|
+
postMirror(requestOptions) {
|
|
467
|
+
return core.HttpResponsePromise.fromPromise(this.__postMirror(requestOptions));
|
|
468
|
+
}
|
|
469
|
+
__postMirror(requestOptions) {
|
|
470
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
471
|
+
var _a, _b, _c, _d;
|
|
472
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
473
|
+
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, "mirror"),
|
|
474
|
+
method: "POST",
|
|
475
|
+
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),
|
|
476
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
477
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
478
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
479
|
+
});
|
|
480
|
+
if (_response.ok) {
|
|
481
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
482
|
+
}
|
|
483
|
+
if (_response.error.reason === "status-code") {
|
|
484
|
+
throw new errors.ChrtError({
|
|
485
|
+
statusCode: _response.error.statusCode,
|
|
486
|
+
body: _response.error.body,
|
|
487
|
+
rawResponse: _response.rawResponse,
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
switch (_response.error.reason) {
|
|
491
|
+
case "non-json":
|
|
492
|
+
throw new errors.ChrtError({
|
|
493
|
+
statusCode: _response.error.statusCode,
|
|
494
|
+
body: _response.error.rawBody,
|
|
495
|
+
rawResponse: _response.rawResponse,
|
|
496
|
+
});
|
|
497
|
+
case "timeout":
|
|
498
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /mirror.");
|
|
499
|
+
case "unknown":
|
|
500
|
+
throw new errors.ChrtError({
|
|
501
|
+
message: _response.error.errorMessage,
|
|
502
|
+
rawResponse: _response.rawResponse,
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
509
|
+
*
|
|
510
|
+
* @example
|
|
511
|
+
* await client.mirror.putMirror()
|
|
512
|
+
*/
|
|
513
|
+
putMirror(requestOptions) {
|
|
514
|
+
return core.HttpResponsePromise.fromPromise(this.__putMirror(requestOptions));
|
|
515
|
+
}
|
|
516
|
+
__putMirror(requestOptions) {
|
|
517
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
518
|
+
var _a, _b, _c, _d;
|
|
519
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
520
|
+
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, "mirror"),
|
|
521
|
+
method: "PUT",
|
|
522
|
+
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),
|
|
523
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
524
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
525
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
526
|
+
});
|
|
527
|
+
if (_response.ok) {
|
|
528
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
529
|
+
}
|
|
530
|
+
if (_response.error.reason === "status-code") {
|
|
531
|
+
throw new errors.ChrtError({
|
|
532
|
+
statusCode: _response.error.statusCode,
|
|
533
|
+
body: _response.error.body,
|
|
534
|
+
rawResponse: _response.rawResponse,
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
switch (_response.error.reason) {
|
|
538
|
+
case "non-json":
|
|
539
|
+
throw new errors.ChrtError({
|
|
540
|
+
statusCode: _response.error.statusCode,
|
|
541
|
+
body: _response.error.rawBody,
|
|
542
|
+
rawResponse: _response.rawResponse,
|
|
543
|
+
});
|
|
544
|
+
case "timeout":
|
|
545
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /mirror.");
|
|
546
|
+
case "unknown":
|
|
547
|
+
throw new errors.ChrtError({
|
|
548
|
+
message: _response.error.errorMessage,
|
|
549
|
+
rawResponse: _response.rawResponse,
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
556
|
+
*
|
|
557
|
+
* @example
|
|
558
|
+
* await client.mirror.deleteMirror()
|
|
559
|
+
*/
|
|
560
|
+
deleteMirror(requestOptions) {
|
|
561
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteMirror(requestOptions));
|
|
562
|
+
}
|
|
563
|
+
__deleteMirror(requestOptions) {
|
|
564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
565
|
+
var _a, _b, _c, _d;
|
|
566
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
567
|
+
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, "mirror"),
|
|
568
|
+
method: "DELETE",
|
|
569
|
+
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),
|
|
570
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
571
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
572
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
573
|
+
});
|
|
574
|
+
if (_response.ok) {
|
|
575
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
576
|
+
}
|
|
577
|
+
if (_response.error.reason === "status-code") {
|
|
578
|
+
throw new errors.ChrtError({
|
|
579
|
+
statusCode: _response.error.statusCode,
|
|
580
|
+
body: _response.error.body,
|
|
581
|
+
rawResponse: _response.rawResponse,
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
switch (_response.error.reason) {
|
|
585
|
+
case "non-json":
|
|
586
|
+
throw new errors.ChrtError({
|
|
587
|
+
statusCode: _response.error.statusCode,
|
|
588
|
+
body: _response.error.rawBody,
|
|
589
|
+
rawResponse: _response.rawResponse,
|
|
590
|
+
});
|
|
591
|
+
case "timeout":
|
|
592
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /mirror.");
|
|
593
|
+
case "unknown":
|
|
594
|
+
throw new errors.ChrtError({
|
|
595
|
+
message: _response.error.errorMessage,
|
|
596
|
+
rawResponse: _response.rawResponse,
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* @param {Mirror.RequestOptions} requestOptions - Request-specific configuration.
|
|
603
|
+
*
|
|
604
|
+
* @example
|
|
605
|
+
* await client.mirror.patchMirror()
|
|
606
|
+
*/
|
|
607
|
+
patchMirror(requestOptions) {
|
|
608
|
+
return core.HttpResponsePromise.fromPromise(this.__patchMirror(requestOptions));
|
|
609
|
+
}
|
|
610
|
+
__patchMirror(requestOptions) {
|
|
611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
612
|
+
var _a, _b, _c, _d;
|
|
613
|
+
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
614
|
+
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, "mirror"),
|
|
615
|
+
method: "PATCH",
|
|
616
|
+
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),
|
|
617
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
618
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
619
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
620
|
+
});
|
|
621
|
+
if (_response.ok) {
|
|
622
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
623
|
+
}
|
|
624
|
+
if (_response.error.reason === "status-code") {
|
|
625
|
+
throw new errors.ChrtError({
|
|
626
|
+
statusCode: _response.error.statusCode,
|
|
627
|
+
body: _response.error.body,
|
|
628
|
+
rawResponse: _response.rawResponse,
|
|
629
|
+
});
|
|
630
|
+
}
|
|
631
|
+
switch (_response.error.reason) {
|
|
632
|
+
case "non-json":
|
|
633
|
+
throw new errors.ChrtError({
|
|
634
|
+
statusCode: _response.error.statusCode,
|
|
635
|
+
body: _response.error.rawBody,
|
|
636
|
+
rawResponse: _response.rawResponse,
|
|
637
|
+
});
|
|
638
|
+
case "timeout":
|
|
639
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /mirror.");
|
|
640
|
+
case "unknown":
|
|
641
|
+
throw new errors.ChrtError({
|
|
642
|
+
message: _response.error.errorMessage,
|
|
643
|
+
rawResponse: _response.rawResponse,
|
|
644
|
+
});
|
|
645
|
+
}
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
_getAuthorizationHeader() {
|
|
649
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
650
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
651
|
+
if (bearer != null) {
|
|
652
|
+
return `Bearer ${bearer}`;
|
|
653
|
+
}
|
|
654
|
+
return undefined;
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
exports.Mirror = Mirror;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|