@chrt-inc/typescript-sdk 1.762.0 → 1.787.0
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 +13 -10
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +31 -26
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +133 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts +23 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +24 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/flights/client/Client.d.ts +52 -0
- package/dist/cjs/api/resources/flights/client/Client.js +135 -0
- package/dist/cjs/api/resources/flights/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/flights/client/index.js +17 -0
- package/dist/cjs/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.ts +45 -0
- package/dist/cjs/api/resources/flights/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/flights/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/flights/index.d.ts +1 -0
- package/dist/cjs/api/resources/flights/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +36 -2
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +138 -1
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +47 -10
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +149 -17
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListReorderEntries1.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +19 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +71 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.ts +16 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +11 -3
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +30 -25
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +55 -52
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +3 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +4 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.ts +24 -0
- package/dist/{esm/api/resources/tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +0 -3
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/types/AlertCallback.d.ts +7 -0
- package/dist/cjs/api/types/AlertCallback.js +5 -0
- package/dist/cjs/api/types/AlertEvent.d.ts +6 -0
- package/dist/cjs/api/types/AlertEvent.js +5 -0
- package/dist/cjs/api/types/AlertMessage.d.ts +10 -0
- package/dist/cjs/api/types/AlertMessage.js +5 -0
- package/dist/cjs/api/types/AlertNameValue.d.ts +7 -0
- package/dist/cjs/api/types/AlertNameValue.js +5 -0
- package/dist/cjs/api/types/AlertNameValues.d.ts +7 -0
- package/dist/cjs/api/types/AlertNameValues.js +5 -0
- package/dist/cjs/api/types/AlertRuleEnvelope.d.ts +7 -0
- package/dist/cjs/api/types/AlertRuleEnvelope.js +5 -0
- package/dist/cjs/api/types/CiriumAirportResources.d.ts +9 -0
- package/dist/cjs/api/types/CiriumAirportResources.js +5 -0
- package/dist/cjs/api/types/CiriumDate.d.ts +6 -0
- package/dist/cjs/api/types/CiriumDate.js +5 -0
- package/dist/cjs/api/types/{FlightAwareWebhookResponse.d.ts → CiriumFlightAlertsWebhookResponse.d.ts} +1 -1
- package/dist/cjs/api/types/CiriumFlightAlertsWebhookResponse.js +5 -0
- package/dist/cjs/api/types/CiriumFlightStatus.d.ts +15 -0
- package/dist/cjs/api/types/CiriumFlightStatus.js +5 -0
- package/dist/cjs/api/types/CiriumOperationalTimes.d.ts +17 -0
- package/dist/cjs/api/types/CiriumOperationalTimes.js +5 -0
- package/dist/cjs/api/types/ConnectionSearchByEnum.d.ts +8 -0
- package/dist/cjs/api/types/ConnectionSearchByEnum.js +10 -0
- package/dist/cjs/api/types/ConnectionSearchPreferenceEnum.d.ts +8 -0
- package/dist/cjs/api/types/ConnectionSearchPreferenceEnum.js +10 -0
- package/dist/cjs/api/types/Driver1.d.ts +0 -1
- package/dist/cjs/api/types/DriverListRes.d.ts +1 -1
- package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +35 -0
- package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.js +5 -0
- package/dist/cjs/api/types/FlightConnection.d.ts +10 -0
- package/dist/cjs/api/types/FlightConnection.js +5 -0
- package/dist/cjs/api/types/FlightConnectionLeg.d.ts +22 -0
- package/dist/cjs/api/types/FlightConnectionLeg.js +5 -0
- package/dist/cjs/api/types/FlightConnectionsSearchRes.d.ts +7 -0
- package/dist/cjs/api/types/FlightConnectionsSearchRes.js +5 -0
- package/dist/cjs/api/types/FlightLeg1.d.ts +3 -2
- package/dist/cjs/api/types/LineItem1.d.ts +1 -0
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +4 -3
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -0
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +2 -1
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +1 -0
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +2 -1
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +1 -0
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +2 -1
- package/dist/cjs/api/{resources/notifications/resources/adHoc/client/requests → types}/NotificationIntentAdHocClientCreate1.d.ts +1 -8
- package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.js +5 -0
- package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.d.ts +1 -11
- package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.js +0 -10
- package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +4 -12
- package/dist/cjs/api/types/OperationsTaskListEntryClientCreate1.d.ts +15 -0
- package/dist/cjs/api/types/OperationsTaskListEntryClientCreate1.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +1 -1
- package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
- package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
- package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.js +5 -0
- package/dist/cjs/api/types/OrderBuilderReq.d.ts +2 -0
- package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplate1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +1 -0
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/Session1.d.ts +6 -6
- package/dist/cjs/api/types/TaskGroup1.d.ts +1 -0
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +10 -0
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js +5 -0
- package/dist/cjs/api/types/index.d.ts +22 -4
- package/dist/cjs/api/types/index.js +22 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +133 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts +23 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +24 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/flights/client/Client.d.mts +52 -0
- package/dist/esm/api/resources/flights/client/Client.mjs +98 -0
- package/dist/esm/api/resources/flights/client/index.d.mts +2 -0
- package/dist/esm/api/resources/flights/client/index.mjs +1 -0
- package/dist/esm/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.mts +45 -0
- package/dist/esm/api/resources/flights/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/flights/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/flights/index.d.mts +1 -0
- package/dist/esm/api/resources/flights/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +36 -2
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +138 -1
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.d.mts +14 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +47 -10
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +149 -17
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListReorderEntries1.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +19 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +71 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.mts +16 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +11 -3
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +30 -25
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +55 -52
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +3 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +4 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.mts +24 -0
- package/dist/{cjs/api/resources/tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.d.ts → esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.d.mts} +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +0 -3
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +3 -3
- package/dist/esm/api/types/AlertCallback.d.mts +7 -0
- package/dist/esm/api/types/AlertCallback.mjs +4 -0
- package/dist/esm/api/types/AlertEvent.d.mts +6 -0
- package/dist/esm/api/types/AlertEvent.mjs +4 -0
- package/dist/esm/api/types/AlertMessage.d.mts +10 -0
- package/dist/esm/api/types/AlertMessage.mjs +4 -0
- package/dist/esm/api/types/AlertNameValue.d.mts +7 -0
- package/dist/esm/api/types/AlertNameValue.mjs +4 -0
- package/dist/esm/api/types/AlertNameValues.d.mts +7 -0
- package/dist/esm/api/types/AlertNameValues.mjs +4 -0
- package/dist/esm/api/types/AlertRuleEnvelope.d.mts +7 -0
- package/dist/esm/api/types/AlertRuleEnvelope.mjs +4 -0
- package/dist/esm/api/types/CiriumAirportResources.d.mts +9 -0
- package/dist/esm/api/types/CiriumAirportResources.mjs +4 -0
- package/dist/esm/api/types/CiriumDate.d.mts +6 -0
- package/dist/esm/api/types/CiriumDate.mjs +4 -0
- package/dist/esm/api/types/{FlightAwareWebhookResponse.d.mts → CiriumFlightAlertsWebhookResponse.d.mts} +1 -1
- package/dist/esm/api/types/CiriumFlightAlertsWebhookResponse.mjs +4 -0
- package/dist/esm/api/types/CiriumFlightStatus.d.mts +15 -0
- package/dist/esm/api/types/CiriumFlightStatus.mjs +4 -0
- package/dist/esm/api/types/CiriumOperationalTimes.d.mts +17 -0
- package/dist/esm/api/types/CiriumOperationalTimes.mjs +4 -0
- package/dist/esm/api/types/ConnectionSearchByEnum.d.mts +8 -0
- package/dist/esm/api/types/ConnectionSearchByEnum.mjs +7 -0
- package/dist/esm/api/types/ConnectionSearchPreferenceEnum.d.mts +8 -0
- package/dist/esm/api/types/ConnectionSearchPreferenceEnum.mjs +7 -0
- package/dist/esm/api/types/Driver1.d.mts +0 -1
- package/dist/esm/api/types/DriverListRes.d.mts +1 -1
- package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +35 -0
- package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.mjs +4 -0
- package/dist/esm/api/types/FlightConnection.d.mts +10 -0
- package/dist/esm/api/types/FlightConnection.mjs +4 -0
- package/dist/esm/api/types/FlightConnectionLeg.d.mts +22 -0
- package/dist/esm/api/types/FlightConnectionLeg.mjs +4 -0
- package/dist/esm/api/types/FlightConnectionsSearchRes.d.mts +7 -0
- package/dist/esm/api/types/FlightConnectionsSearchRes.mjs +4 -0
- package/dist/esm/api/types/FlightLeg1.d.mts +3 -2
- package/dist/esm/api/types/LineItem1.d.mts +1 -0
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +4 -3
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -0
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +2 -1
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +1 -0
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +2 -1
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +1 -0
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +2 -1
- package/dist/esm/api/{resources/notifications/resources/adHoc/client/requests → types}/NotificationIntentAdHocClientCreate1.d.mts +1 -8
- package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.mjs +4 -0
- package/dist/esm/api/types/OnboardCourierTaskActionEnum1.d.mts +1 -11
- package/dist/esm/api/types/OnboardCourierTaskActionEnum1.mjs +0 -10
- package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.d.mts +7 -0
- package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +4 -12
- package/dist/esm/api/types/OperationsTaskListEntryClientCreate1.d.mts +15 -0
- package/dist/esm/api/types/OperationsTaskListEntryClientCreate1.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +1 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
- package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.mts +7 -0
- package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.mjs +4 -0
- package/dist/esm/api/types/OrderBuilderReq.d.mts +2 -0
- package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplate1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +1 -0
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/Session1.d.mts +6 -6
- package/dist/esm/api/types/TaskGroup1.d.mts +1 -0
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +10 -0
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +22 -4
- package/dist/esm/api/types/index.mjs +22 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +639 -51
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.d.ts +0 -11
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.ts +0 -16
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.ts +0 -16
- package/dist/cjs/api/types/FlightAwareAlertFlight.d.ts +0 -16
- package/dist/cjs/api/types/FlightAwareAlertPayload.d.ts +0 -17
- package/dist/cjs/api/types/FlightStatusEnum.d.ts +0 -14
- package/dist/cjs/api/types/FlightStatusEnum.js +0 -16
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.d.mts +0 -11
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.mts +0 -16
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.mts +0 -16
- package/dist/esm/api/types/FlightAwareAlertFlight.d.mts +0 -16
- package/dist/esm/api/types/FlightAwareAlertPayload.d.mts +0 -17
- package/dist/esm/api/types/FlightStatusEnum.d.mts +0 -14
- package/dist/esm/api/types/FlightStatusEnum.mjs +0 -13
- /package/dist/cjs/api/resources/{notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.js → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.js} +0 -0
- /package/dist/cjs/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.js → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.js → flights/client/requests/FlightConnectionsSearchReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.js → notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.js → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareAlertFlight.js → resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareAlertPayload.js → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareWebhookResponse.js → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.js} +0 -0
- /package/dist/esm/api/resources/{notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.mjs → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/{operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.mjs → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.mjs → flights/client/requests/FlightConnectionsSearchReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.mjs → notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareAlertFlight.mjs → resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareAlertPayload.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareWebhookResponse.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.mjs} +0 -0
|
@@ -15,6 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AiImageDescription.js"), exports);
|
|
18
|
+
__exportStar(require("./AlertCallback.js"), exports);
|
|
19
|
+
__exportStar(require("./AlertEvent.js"), exports);
|
|
20
|
+
__exportStar(require("./AlertMessage.js"), exports);
|
|
21
|
+
__exportStar(require("./AlertNameValue.js"), exports);
|
|
22
|
+
__exportStar(require("./AlertNameValues.js"), exports);
|
|
23
|
+
__exportStar(require("./AlertRuleEnvelope.js"), exports);
|
|
18
24
|
__exportStar(require("./AnalyticsTimeBucketRes.js"), exports);
|
|
19
25
|
__exportStar(require("./AttachBillingLedgerPeriodReq.js"), exports);
|
|
20
26
|
__exportStar(require("./AttachLigToVectorClientReq.js"), exports);
|
|
@@ -127,6 +133,13 @@ __exportStar(require("./ChampQuantity.js"), exports);
|
|
|
127
133
|
__exportStar(require("./ChrtGroundProviderRateSheet1.js"), exports);
|
|
128
134
|
__exportStar(require("./ChrtGroundProviderRateSheetListRes.js"), exports);
|
|
129
135
|
__exportStar(require("./ChrtGroundProviderTaskActionEnum1.js"), exports);
|
|
136
|
+
__exportStar(require("./CiriumAirportResources.js"), exports);
|
|
137
|
+
__exportStar(require("./CiriumDate.js"), exports);
|
|
138
|
+
__exportStar(require("./CiriumFlightAlertsWebhookResponse.js"), exports);
|
|
139
|
+
__exportStar(require("./CiriumFlightStatus.js"), exports);
|
|
140
|
+
__exportStar(require("./CiriumOperationalTimes.js"), exports);
|
|
141
|
+
__exportStar(require("./ConnectionSearchByEnum.js"), exports);
|
|
142
|
+
__exportStar(require("./ConnectionSearchPreferenceEnum.js"), exports);
|
|
130
143
|
__exportStar(require("./CreateCheckoutSessionRes.js"), exports);
|
|
131
144
|
__exportStar(require("./CreateConnectionReq.js"), exports);
|
|
132
145
|
__exportStar(require("./CreateCustomerPortalSessionRes.js"), exports);
|
|
@@ -162,10 +175,11 @@ __exportStar(require("./DriverStatsRes.js"), exports);
|
|
|
162
175
|
__exportStar(require("./DriverStatusEnum.js"), exports);
|
|
163
176
|
__exportStar(require("./DriverUpdateAvailabilityReq.js"), exports);
|
|
164
177
|
__exportStar(require("./DriverUpdateRes.js"), exports);
|
|
178
|
+
__exportStar(require("./DriverWithActiveTaskGroupIds1.js"), exports);
|
|
165
179
|
__exportStar(require("./FirebaseCloudMessagingTokenData1.js"), exports);
|
|
166
|
-
__exportStar(require("./
|
|
167
|
-
__exportStar(require("./
|
|
168
|
-
__exportStar(require("./
|
|
180
|
+
__exportStar(require("./FlightConnection.js"), exports);
|
|
181
|
+
__exportStar(require("./FlightConnectionLeg.js"), exports);
|
|
182
|
+
__exportStar(require("./FlightConnectionsSearchRes.js"), exports);
|
|
169
183
|
__exportStar(require("./FlightInfoForTaskRes.js"), exports);
|
|
170
184
|
__exportStar(require("./FlightLeg1.js"), exports);
|
|
171
185
|
__exportStar(require("./FlightLegClientCreate1.js"), exports);
|
|
@@ -173,7 +187,6 @@ __exportStar(require("./FlightLegProvenanceEnum1.js"), exports);
|
|
|
173
187
|
__exportStar(require("./FlightLegStatusEnum1.js"), exports);
|
|
174
188
|
__exportStar(require("./FlightLegStatusSourceEnum1.js"), exports);
|
|
175
189
|
__exportStar(require("./FlightLegWebhookInfo.js"), exports);
|
|
176
|
-
__exportStar(require("./FlightStatusEnum.js"), exports);
|
|
177
190
|
__exportStar(require("./FlightTrackPosition1.js"), exports);
|
|
178
191
|
__exportStar(require("./FlightTrackRes.js"), exports);
|
|
179
192
|
__exportStar(require("./FlightTrackWaypoint1.js"), exports);
|
|
@@ -226,6 +239,7 @@ __exportStar(require("./NotificationGroupLimitedForDriver1.js"), exports);
|
|
|
226
239
|
__exportStar(require("./NotificationGroupListRes.js"), exports);
|
|
227
240
|
__exportStar(require("./NotificationGroupUserListRes.js"), exports);
|
|
228
241
|
__exportStar(require("./NotificationIntentAdHoc1.js"), exports);
|
|
242
|
+
__exportStar(require("./NotificationIntentAdHocClientCreate1.js"), exports);
|
|
229
243
|
__exportStar(require("./NotificationUserPreferences1.js"), exports);
|
|
230
244
|
__exportStar(require("./OffChrtProviderOrg1.js"), exports);
|
|
231
245
|
__exportStar(require("./OffChrtProviderOrgListRes.js"), exports);
|
|
@@ -242,8 +256,10 @@ __exportStar(require("./OperationsCaseOperatorAssignedWebhookPayload.js"), expor
|
|
|
242
256
|
__exportStar(require("./OperationsCaseS3ObjectAddedWebhookPayload.js"), exports);
|
|
243
257
|
__exportStar(require("./OperationsTask1.js"), exports);
|
|
244
258
|
__exportStar(require("./OperationsTaskComment1.js"), exports);
|
|
259
|
+
__exportStar(require("./OperationsTaskDeadlineUpdate1.js"), exports);
|
|
245
260
|
__exportStar(require("./OperationsTaskList1.js"), exports);
|
|
246
261
|
__exportStar(require("./OperationsTaskListEntry1.js"), exports);
|
|
262
|
+
__exportStar(require("./OperationsTaskListEntryClientCreate1.js"), exports);
|
|
247
263
|
__exportStar(require("./OperationsTaskListListRes.js"), exports);
|
|
248
264
|
__exportStar(require("./OperationsTaskListRemoveFromCaseRes1.js"), exports);
|
|
249
265
|
__exportStar(require("./OperationsTaskListRes.js"), exports);
|
|
@@ -251,6 +267,7 @@ __exportStar(require("./OperationsTaskListSortByEnum.js"), exports);
|
|
|
251
267
|
__exportStar(require("./OperationsTaskSortByEnum.js"), exports);
|
|
252
268
|
__exportStar(require("./OperationsTaskStatusEnum.js"), exports);
|
|
253
269
|
__exportStar(require("./OperationsTaskTypeEnum.js"), exports);
|
|
270
|
+
__exportStar(require("./OperationsTasksBulkUpdateDeadlinesRes1.js"), exports);
|
|
254
271
|
__exportStar(require("./Order1.js"), exports);
|
|
255
272
|
__exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
|
|
256
273
|
__exportStar(require("./OrderBuilderReq.js"), exports);
|
|
@@ -421,6 +438,7 @@ __exportStar(require("./TiveTimeseriesRes.js"), exports);
|
|
|
421
438
|
__exportStar(require("./TiveTimeseriesSyncRes.js"), exports);
|
|
422
439
|
__exportStar(require("./TrackingDeviceTypeEnum1.js"), exports);
|
|
423
440
|
__exportStar(require("./TrackingOrgScopeEnum.js"), exports);
|
|
441
|
+
__exportStar(require("./TrackingSessionDestinationGeofenceEnteredWebhookPayload.js"), exports);
|
|
424
442
|
__exportStar(require("./TrackingSharingSettingsRes.js"), exports);
|
|
425
443
|
__exportStar(require("./TrackingTypeaheadFieldEnum.js"), exports);
|
|
426
444
|
__exportStar(require("./TrackingTypeaheadResult.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.787.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments.mjs";
|
|
5
5
|
import * as core from "./core/index.mjs";
|
|
6
|
+
import { Flights } from "./api/resources/flights/client/Client.mjs";
|
|
6
7
|
import { Orgs } from "./api/resources/orgs/client/Client.mjs";
|
|
7
8
|
import { Utils } from "./api/resources/utils/client/Client.mjs";
|
|
8
9
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
@@ -40,6 +41,7 @@ export declare namespace ChrtClient {
|
|
|
40
41
|
}
|
|
41
42
|
export declare class ChrtClient {
|
|
42
43
|
protected readonly _options: ChrtClient.Options;
|
|
44
|
+
protected _flights: Flights | undefined;
|
|
43
45
|
protected _orgs: Orgs | undefined;
|
|
44
46
|
protected _utils: Utils | undefined;
|
|
45
47
|
protected _analytics: Analytics | undefined;
|
|
@@ -53,6 +55,7 @@ export declare class ChrtClient {
|
|
|
53
55
|
protected _trackingIntegrations: TrackingIntegrations | undefined;
|
|
54
56
|
protected _users: Users | undefined;
|
|
55
57
|
constructor(_options?: ChrtClient.Options);
|
|
58
|
+
get flights(): Flights;
|
|
56
59
|
get orgs(): Orgs;
|
|
57
60
|
get utils(): Utils;
|
|
58
61
|
get analytics(): Analytics;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "./core/index.mjs";
|
|
5
5
|
import { mergeHeaders } from "./core/headers.mjs";
|
|
6
|
+
import { Flights } from "./api/resources/flights/client/Client.mjs";
|
|
6
7
|
import { Orgs } from "./api/resources/orgs/client/Client.mjs";
|
|
7
8
|
import { Utils } from "./api/resources/utils/client/Client.mjs";
|
|
8
9
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
@@ -20,12 +21,16 @@ export class ChrtClient {
|
|
|
20
21
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
21
22
|
"X-Fern-Language": "JavaScript",
|
|
22
23
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
23
|
-
"X-Fern-SDK-Version": "1.
|
|
24
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
24
|
+
"X-Fern-SDK-Version": "1.787.0",
|
|
25
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.787.0",
|
|
25
26
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
26
27
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
27
28
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
28
29
|
}
|
|
30
|
+
get flights() {
|
|
31
|
+
var _a;
|
|
32
|
+
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Flights(this._options)));
|
|
33
|
+
}
|
|
29
34
|
get orgs() {
|
|
30
35
|
var _a;
|
|
31
36
|
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Orgs(this._options)));
|
|
@@ -268,5 +268,40 @@ export declare class LineItemGroups {
|
|
|
268
268
|
*/
|
|
269
269
|
fromRateSheetCreateForProviderPayDriverV1(request: Chrt.CreateLigFromRateSheetForVectorClientReq, requestOptions?: LineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.LineItemGroup1>;
|
|
270
270
|
private __fromRateSheetCreateForProviderPayDriverV1;
|
|
271
|
+
/**
|
|
272
|
+
* Prices a single driver's combined trip across several task groups once. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayDriverClientReq) -> (LineItemGroup1)
|
|
273
|
+
*
|
|
274
|
+
* @param {Chrt.billing.SharedTaskGroupMileageCreateForProviderPayDriverClientReq} request
|
|
275
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
276
|
+
*
|
|
277
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
* await client.billing.lineItemGroups.sharedTaskGroupMileageCreateV1({
|
|
281
|
+
* order_group_id: "order_group_id",
|
|
282
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
283
|
+
* payment_destination_driver_id: "payment_destination_driver_id",
|
|
284
|
+
* task_ids: ["task_ids"]
|
|
285
|
+
* })
|
|
286
|
+
*/
|
|
287
|
+
sharedTaskGroupMileageCreateV1(request: Chrt.billing.SharedTaskGroupMileageCreateForProviderPayDriverClientReq, requestOptions?: LineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.LineItemGroup1>;
|
|
288
|
+
private __sharedTaskGroupMileageCreateV1;
|
|
289
|
+
/**
|
|
290
|
+
* Prices a single agent's combined trip across several task groups once, on the provider_pay_provider vector — a coordinator paying the executor (commonly an off-chrt agent) that ran the route. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayProviderClientReq) -> (LineItemGroup1)
|
|
291
|
+
*
|
|
292
|
+
* @param {Chrt.billing.SharedTaskGroupMileageCreateForProviderPayProviderClientReq} request
|
|
293
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
294
|
+
*
|
|
295
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
296
|
+
*
|
|
297
|
+
* @example
|
|
298
|
+
* await client.billing.lineItemGroups.sharedTaskGroupMileageCreateForProviderPayProviderV1({
|
|
299
|
+
* order_group_id: "order_group_id",
|
|
300
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
301
|
+
* task_ids: ["task_ids"]
|
|
302
|
+
* })
|
|
303
|
+
*/
|
|
304
|
+
sharedTaskGroupMileageCreateForProviderPayProviderV1(request: Chrt.billing.SharedTaskGroupMileageCreateForProviderPayProviderClientReq, requestOptions?: LineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.LineItemGroup1>;
|
|
305
|
+
private __sharedTaskGroupMileageCreateForProviderPayProviderV1;
|
|
271
306
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
272
307
|
}
|
|
@@ -1021,6 +1021,139 @@ export class LineItemGroups {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
});
|
|
1023
1023
|
}
|
|
1024
|
+
/**
|
|
1025
|
+
* Prices a single driver's combined trip across several task groups once. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayDriverClientReq) -> (LineItemGroup1)
|
|
1026
|
+
*
|
|
1027
|
+
* @param {Chrt.billing.SharedTaskGroupMileageCreateForProviderPayDriverClientReq} request
|
|
1028
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1029
|
+
*
|
|
1030
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1031
|
+
*
|
|
1032
|
+
* @example
|
|
1033
|
+
* await client.billing.lineItemGroups.sharedTaskGroupMileageCreateV1({
|
|
1034
|
+
* order_group_id: "order_group_id",
|
|
1035
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
1036
|
+
* payment_destination_driver_id: "payment_destination_driver_id",
|
|
1037
|
+
* task_ids: ["task_ids"]
|
|
1038
|
+
* })
|
|
1039
|
+
*/
|
|
1040
|
+
sharedTaskGroupMileageCreateV1(request, requestOptions) {
|
|
1041
|
+
return core.HttpResponsePromise.fromPromise(this.__sharedTaskGroupMileageCreateV1(request, requestOptions));
|
|
1042
|
+
}
|
|
1043
|
+
__sharedTaskGroupMileageCreateV1(request, requestOptions) {
|
|
1044
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1045
|
+
var _a, _b, _c, _d;
|
|
1046
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1047
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1048
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/line_item_groups/shared_task_group_mileage/create/v1"),
|
|
1049
|
+
method: "POST",
|
|
1050
|
+
headers: _headers,
|
|
1051
|
+
contentType: "application/json",
|
|
1052
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1053
|
+
requestType: "json",
|
|
1054
|
+
body: request,
|
|
1055
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1056
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1057
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1058
|
+
});
|
|
1059
|
+
if (_response.ok) {
|
|
1060
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1061
|
+
}
|
|
1062
|
+
if (_response.error.reason === "status-code") {
|
|
1063
|
+
switch (_response.error.statusCode) {
|
|
1064
|
+
case 422:
|
|
1065
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1066
|
+
default:
|
|
1067
|
+
throw new errors.ChrtError({
|
|
1068
|
+
statusCode: _response.error.statusCode,
|
|
1069
|
+
body: _response.error.body,
|
|
1070
|
+
rawResponse: _response.rawResponse,
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
switch (_response.error.reason) {
|
|
1075
|
+
case "non-json":
|
|
1076
|
+
throw new errors.ChrtError({
|
|
1077
|
+
statusCode: _response.error.statusCode,
|
|
1078
|
+
body: _response.error.rawBody,
|
|
1079
|
+
rawResponse: _response.rawResponse,
|
|
1080
|
+
});
|
|
1081
|
+
case "timeout":
|
|
1082
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/shared_task_group_mileage/create/v1.");
|
|
1083
|
+
case "unknown":
|
|
1084
|
+
throw new errors.ChrtError({
|
|
1085
|
+
message: _response.error.errorMessage,
|
|
1086
|
+
rawResponse: _response.rawResponse,
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
/**
|
|
1092
|
+
* Prices a single agent's combined trip across several task groups once, on the provider_pay_provider vector — a coordinator paying the executor (commonly an off-chrt agent) that ran the route. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayProviderClientReq) -> (LineItemGroup1)
|
|
1093
|
+
*
|
|
1094
|
+
* @param {Chrt.billing.SharedTaskGroupMileageCreateForProviderPayProviderClientReq} request
|
|
1095
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1096
|
+
*
|
|
1097
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1098
|
+
*
|
|
1099
|
+
* @example
|
|
1100
|
+
* await client.billing.lineItemGroups.sharedTaskGroupMileageCreateForProviderPayProviderV1({
|
|
1101
|
+
* order_group_id: "order_group_id",
|
|
1102
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
1103
|
+
* task_ids: ["task_ids"]
|
|
1104
|
+
* })
|
|
1105
|
+
*/
|
|
1106
|
+
sharedTaskGroupMileageCreateForProviderPayProviderV1(request, requestOptions) {
|
|
1107
|
+
return core.HttpResponsePromise.fromPromise(this.__sharedTaskGroupMileageCreateForProviderPayProviderV1(request, requestOptions));
|
|
1108
|
+
}
|
|
1109
|
+
__sharedTaskGroupMileageCreateForProviderPayProviderV1(request, requestOptions) {
|
|
1110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1111
|
+
var _a, _b, _c, _d;
|
|
1112
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1113
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1114
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/line_item_groups/shared_task_group_mileage/create_for_provider_pay_provider/v1"),
|
|
1115
|
+
method: "POST",
|
|
1116
|
+
headers: _headers,
|
|
1117
|
+
contentType: "application/json",
|
|
1118
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1119
|
+
requestType: "json",
|
|
1120
|
+
body: request,
|
|
1121
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1122
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1123
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1124
|
+
});
|
|
1125
|
+
if (_response.ok) {
|
|
1126
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1127
|
+
}
|
|
1128
|
+
if (_response.error.reason === "status-code") {
|
|
1129
|
+
switch (_response.error.statusCode) {
|
|
1130
|
+
case 422:
|
|
1131
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1132
|
+
default:
|
|
1133
|
+
throw new errors.ChrtError({
|
|
1134
|
+
statusCode: _response.error.statusCode,
|
|
1135
|
+
body: _response.error.body,
|
|
1136
|
+
rawResponse: _response.rawResponse,
|
|
1137
|
+
});
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
switch (_response.error.reason) {
|
|
1141
|
+
case "non-json":
|
|
1142
|
+
throw new errors.ChrtError({
|
|
1143
|
+
statusCode: _response.error.statusCode,
|
|
1144
|
+
body: _response.error.rawBody,
|
|
1145
|
+
rawResponse: _response.rawResponse,
|
|
1146
|
+
});
|
|
1147
|
+
case "timeout":
|
|
1148
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/shared_task_group_mileage/create_for_provider_pay_provider/v1.");
|
|
1149
|
+
case "unknown":
|
|
1150
|
+
throw new errors.ChrtError({
|
|
1151
|
+
message: _response.error.errorMessage,
|
|
1152
|
+
rawResponse: _response.rawResponse,
|
|
1153
|
+
});
|
|
1154
|
+
}
|
|
1155
|
+
});
|
|
1156
|
+
}
|
|
1024
1157
|
_getAuthorizationHeader() {
|
|
1025
1158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1026
1159
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* order_group_id: "order_group_id",
|
|
9
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
10
|
+
* payment_destination_driver_id: "payment_destination_driver_id",
|
|
11
|
+
* task_ids: ["task_ids"]
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface SharedTaskGroupMileageCreateForProviderPayDriverClientReq {
|
|
15
|
+
order_group_id: string;
|
|
16
|
+
rate_sheet_id: string;
|
|
17
|
+
payment_destination_driver_id: string;
|
|
18
|
+
task_ids: string[];
|
|
19
|
+
start_location?: Chrt.LocationFeature | null;
|
|
20
|
+
start_location_label?: string | null;
|
|
21
|
+
end_location?: Chrt.LocationFeature | null;
|
|
22
|
+
end_location_label?: string | null;
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* order_group_id: "order_group_id",
|
|
9
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
10
|
+
* task_ids: ["task_ids"]
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface SharedTaskGroupMileageCreateForProviderPayProviderClientReq {
|
|
14
|
+
order_group_id: string;
|
|
15
|
+
rate_sheet_id: string;
|
|
16
|
+
/** Must be a string starting with `org_` */
|
|
17
|
+
executor_org_id?: string | null;
|
|
18
|
+
off_chrt_executor_org_id?: string | null;
|
|
19
|
+
task_ids: string[];
|
|
20
|
+
start_location?: Chrt.LocationFeature | null;
|
|
21
|
+
start_location_label?: string | null;
|
|
22
|
+
end_location?: Chrt.LocationFeature | null;
|
|
23
|
+
end_location_label?: string | null;
|
|
24
|
+
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { type LineItemGroupsListV1Request } from "./LineItemGroupsListV1Request.mjs";
|
|
2
2
|
export { type LineItemGroupAdHocCreateClientReq } from "./LineItemGroupAdHocCreateClientReq.mjs";
|
|
3
|
+
export { type SharedTaskGroupMileageCreateForProviderPayDriverClientReq } from "./SharedTaskGroupMileageCreateForProviderPayDriverClientReq.mjs";
|
|
4
|
+
export { type SharedTaskGroupMileageCreateForProviderPayProviderClientReq } from "./SharedTaskGroupMileageCreateForProviderPayProviderClientReq.mjs";
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../index.mjs";
|
|
7
|
+
export declare namespace Flights {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional query string parameters to include in the request. */
|
|
25
|
+
queryParams?: Record<string, unknown>;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class Flights {
|
|
31
|
+
protected readonly _options: Flights.Options;
|
|
32
|
+
constructor(_options?: Flights.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.FlightConnectionsSearchReq} request
|
|
37
|
+
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.flights.searchConnectionsV1({
|
|
43
|
+
* origin: "origin",
|
|
44
|
+
* destination: "destination",
|
|
45
|
+
* search_by: "departure_time",
|
|
46
|
+
* local_date_time: "2024-01-15T09:30:00Z"
|
|
47
|
+
* })
|
|
48
|
+
*/
|
|
49
|
+
searchConnectionsV1(request: Chrt.FlightConnectionsSearchReq, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightConnectionsSearchRes>;
|
|
50
|
+
private __searchConnectionsV1;
|
|
51
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
import * as environments from "../../../../environments.mjs";
|
|
14
|
+
import * as core from "../../../../core/index.mjs";
|
|
15
|
+
import * as Chrt from "../../../index.mjs";
|
|
16
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
17
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
18
|
+
export class Flights {
|
|
19
|
+
constructor(_options = {}) {
|
|
20
|
+
this._options = _options;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
24
|
+
*
|
|
25
|
+
* @param {Chrt.FlightConnectionsSearchReq} request
|
|
26
|
+
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.flights.searchConnectionsV1({
|
|
32
|
+
* origin: "origin",
|
|
33
|
+
* destination: "destination",
|
|
34
|
+
* search_by: "departure_time",
|
|
35
|
+
* local_date_time: "2024-01-15T09:30:00Z"
|
|
36
|
+
* })
|
|
37
|
+
*/
|
|
38
|
+
searchConnectionsV1(request, requestOptions) {
|
|
39
|
+
return core.HttpResponsePromise.fromPromise(this.__searchConnectionsV1(request, requestOptions));
|
|
40
|
+
}
|
|
41
|
+
__searchConnectionsV1(request, requestOptions) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
var _a, _b, _c, _d;
|
|
44
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
45
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
46
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "flights/connections/search/v1"),
|
|
47
|
+
method: "POST",
|
|
48
|
+
headers: _headers,
|
|
49
|
+
contentType: "application/json",
|
|
50
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
51
|
+
requestType: "json",
|
|
52
|
+
body: request,
|
|
53
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
54
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
55
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
56
|
+
});
|
|
57
|
+
if (_response.ok) {
|
|
58
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
59
|
+
}
|
|
60
|
+
if (_response.error.reason === "status-code") {
|
|
61
|
+
switch (_response.error.statusCode) {
|
|
62
|
+
case 422:
|
|
63
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
64
|
+
default:
|
|
65
|
+
throw new errors.ChrtError({
|
|
66
|
+
statusCode: _response.error.statusCode,
|
|
67
|
+
body: _response.error.body,
|
|
68
|
+
rawResponse: _response.rawResponse,
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
switch (_response.error.reason) {
|
|
73
|
+
case "non-json":
|
|
74
|
+
throw new errors.ChrtError({
|
|
75
|
+
statusCode: _response.error.statusCode,
|
|
76
|
+
body: _response.error.rawBody,
|
|
77
|
+
rawResponse: _response.rawResponse,
|
|
78
|
+
});
|
|
79
|
+
case "timeout":
|
|
80
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /flights/connections/search/v1.");
|
|
81
|
+
case "unknown":
|
|
82
|
+
throw new errors.ChrtError({
|
|
83
|
+
message: _response.error.errorMessage,
|
|
84
|
+
rawResponse: _response.rawResponse,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
_getAuthorizationHeader() {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
92
|
+
if (bearer != null) {
|
|
93
|
+
return `Bearer ${bearer}`;
|
|
94
|
+
}
|
|
95
|
+
return undefined;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* origin: "origin",
|
|
9
|
+
* destination: "destination",
|
|
10
|
+
* search_by: "departure_time",
|
|
11
|
+
* local_date_time: "2024-01-15T09:30:00Z"
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export interface FlightConnectionsSearchReq {
|
|
15
|
+
/** Departure airport code (IATA preferred), e.g. 'EWR'. */
|
|
16
|
+
origin: string;
|
|
17
|
+
/** Arrival airport code (IATA preferred), e.g. 'LAX'. */
|
|
18
|
+
destination: string;
|
|
19
|
+
/** Whether local_date_time is a departure constraint (leaving after) or an arrival constraint (arriving before). */
|
|
20
|
+
search_by: Chrt.ConnectionSearchByEnum;
|
|
21
|
+
/** Return the earliest or latest flights within the search window. */
|
|
22
|
+
prefer?: Chrt.ConnectionSearchPreferenceEnum;
|
|
23
|
+
/** Airport-local date+time (naive, no offset). Origin-local for DEPARTURE_TIME, destination-local for ARRIVAL_TIME. */
|
|
24
|
+
local_date_time: string;
|
|
25
|
+
/** Search window size in hours relative to local_date_time. Default 6; Cirium max 24. */
|
|
26
|
+
num_hours?: number;
|
|
27
|
+
/** Max stops per itinerary. 0 returns nonstop only. */
|
|
28
|
+
max_connections?: number;
|
|
29
|
+
/** Max number of connections to return. */
|
|
30
|
+
max_results?: number;
|
|
31
|
+
/** Include airports sharing the origin's city code. */
|
|
32
|
+
allow_nearby_departures?: boolean;
|
|
33
|
+
/** Include airports sharing the destination's city code. */
|
|
34
|
+
allow_nearby_arrivals?: boolean;
|
|
35
|
+
/** Minimum layover in minutes; useful for cargo since published connect times are not auto-applied for cargo payloads. */
|
|
36
|
+
minimum_connect_time_minutes?: number | null;
|
|
37
|
+
/** Restrict to these airline codes. */
|
|
38
|
+
include_airlines?: string[] | null;
|
|
39
|
+
/** Exclude these airline codes. */
|
|
40
|
+
exclude_airlines?: string[] | null;
|
|
41
|
+
/** Restrict connections to pass through these airports. */
|
|
42
|
+
include_airports?: string[] | null;
|
|
43
|
+
/** Exclude these airports from connections. */
|
|
44
|
+
exclude_airports?: string[] | null;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type FlightConnectionsSearchReq } from "./FlightConnectionsSearchReq.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as orgs from "./orgs/index.mjs";
|
|
2
2
|
export * as shipping from "./shipping/index.mjs";
|
|
3
|
+
export * as flights from "./flights/index.mjs";
|
|
3
4
|
export * as utils from "./utils/index.mjs";
|
|
4
5
|
export * as analytics from "./analytics/index.mjs";
|
|
5
6
|
export * as billing from "./billing/index.mjs";
|
|
@@ -10,5 +11,6 @@ export * as operations from "./operations/index.mjs";
|
|
|
10
11
|
export * as tracking from "./tracking/index.mjs";
|
|
11
12
|
export * as trackingIntegrations from "./trackingIntegrations/index.mjs";
|
|
12
13
|
export * as users from "./users/index.mjs";
|
|
14
|
+
export * from "./flights/client/requests/index.mjs";
|
|
13
15
|
export * from "./orgs/client/requests/index.mjs";
|
|
14
16
|
export * from "./utils/client/requests/index.mjs";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as orgs from "./orgs/index.mjs";
|
|
2
2
|
export * as shipping from "./shipping/index.mjs";
|
|
3
|
+
export * as flights from "./flights/index.mjs";
|
|
3
4
|
export * as utils from "./utils/index.mjs";
|
|
4
5
|
export * as analytics from "./analytics/index.mjs";
|
|
5
6
|
export * as billing from "./billing/index.mjs";
|
|
@@ -10,5 +11,6 @@ export * as operations from "./operations/index.mjs";
|
|
|
10
11
|
export * as tracking from "./tracking/index.mjs";
|
|
11
12
|
export * as trackingIntegrations from "./trackingIntegrations/index.mjs";
|
|
12
13
|
export * as users from "./users/index.mjs";
|
|
14
|
+
export * from "./flights/client/requests/index.mjs";
|
|
13
15
|
export * from "./orgs/client/requests/index.mjs";
|
|
14
16
|
export * from "./utils/client/requests/index.mjs";
|