@chrt-inc/typescript-sdk 1.925.0 → 1.930.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/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +3 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +11 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/shipping/client/Client.js +10 -15
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +19 -11
- package/dist/cjs/api/resources/shipping/resources/flights/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/index.js +15 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -2
- package/dist/cjs/api/resources/shipping/resources/index.js +2 -3
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +6 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +30 -2
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +103 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +442 -0
- package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts} +1 -1
- package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.ts} +1 -1
- package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.ts} +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts → client/requests/OrdersUpdateDraftReq.d.ts} +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +0 -109
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +0 -452
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +59 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +19 -2
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +74 -5
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.ts +10 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/tracking/client/Client.js +16 -6
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/Client.d.ts +140 -0
- package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/Client.js +65 -291
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.ts +45 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.ts +28 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tracking/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/tracking/resources/index.js +5 -1
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.d.ts +117 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.js +393 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → tracking/resources/sessionGeofences/client}/index.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.ts +12 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.ts +10 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +11 -10
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +16 -12
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.ts → SessionClientUpdate2.d.ts} +1 -5
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.ts → SessionsCreateV1Req.d.ts} +3 -3
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.d.ts +10 -0
- package/dist/cjs/api/types/DeviceExpandedRes.d.ts +2 -2
- package/dist/cjs/api/types/GeofencePointLocationFeature1.d.ts +14 -0
- package/dist/cjs/api/types/{OrderTemplateListRes.d.ts → GeofenceTemplateListRes.d.ts} +2 -2
- package/dist/cjs/api/types/{OrderTemplateSortByEnum.d.ts → GeofenceTemplateSortByEnum.d.ts} +2 -3
- package/dist/cjs/api/types/{OrderTemplateSortByEnum.js → GeofenceTemplateSortByEnum.js} +2 -3
- package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -1
- package/dist/cjs/api/types/InvoiceLineItemExpandedRes.d.ts +12 -0
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +2 -2
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -1
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +3 -2
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +2 -1
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +3 -2
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +2 -1
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -0
- package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +0 -1
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +0 -1
- package/dist/cjs/api/types/{OrderTemplate1.d.ts → OrderTemplateNewExpanded1.d.ts} +11 -9
- package/dist/cjs/api/types/OrderTemplateNewExpanded1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.d.ts +10 -0
- package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.js +5 -0
- package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.d.ts → OrdersDeleteManyDraftsRes.d.ts} +1 -1
- package/dist/cjs/api/types/OrdersDeleteManyDraftsRes.js +5 -0
- package/dist/cjs/api/types/{OrdersDraftUpdateRes.d.ts → OrdersUpdateDraftRes.d.ts} +1 -1
- package/dist/cjs/api/types/OrdersUpdateDraftRes.js +5 -0
- package/dist/cjs/api/types/Point.d.ts +1 -0
- package/dist/cjs/api/types/{Session1.d.ts → Session2.d.ts} +2 -4
- package/dist/cjs/api/types/Session2.js +5 -0
- package/dist/cjs/api/types/SessionGeofence1.d.ts +12 -0
- package/dist/cjs/api/types/SessionGeofence1.js +5 -0
- package/dist/cjs/api/types/SessionGeofenceBase1.d.ts +9 -0
- package/dist/cjs/api/types/SessionGeofenceBase1.js +5 -0
- package/dist/cjs/api/types/SessionGeofenceClientCreate1.d.ts +9 -0
- package/dist/cjs/api/types/SessionGeofenceClientCreate1.js +5 -0
- package/dist/cjs/api/types/SessionGeofenceTemplate1.d.ts +19 -0
- package/dist/cjs/api/types/SessionGeofenceTemplate1.js +5 -0
- package/dist/cjs/api/types/SessionListRes.d.ts +1 -1
- package/dist/cjs/api/types/Task1.d.ts +1 -0
- package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.d.ts +8 -0
- package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.js +5 -0
- package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.ts +14 -0
- package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.js +5 -0
- package/dist/cjs/api/types/index.d.ts +16 -11
- package/dist/cjs/api/types/index.js +16 -11
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +3 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +11 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +19 -11
- package/dist/esm/api/resources/shipping/resources/flights/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/flights/client/index.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/flights/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -2
- package/dist/esm/api/resources/shipping/resources/index.mjs +1 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +6 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +30 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +17 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +103 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +442 -0
- package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts} +1 -1
- package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.mts} +1 -1
- package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.mts} +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts → client/requests/OrdersUpdateDraftReq.d.mts} +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +0 -109
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +0 -452
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +59 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +19 -2
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +74 -5
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.mts +10 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/tracking/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/tracking/client/Client.mjs +10 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/Client.d.mts +140 -0
- package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/Client.mjs +63 -289
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.mts +45 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.mts +28 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tracking/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/tracking/resources/index.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.d.mts +117 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.mjs +356 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.mts +10 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +11 -10
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +16 -12
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.mts → SessionClientUpdate2.d.mts} +1 -5
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.mts → SessionsCreateV1Req.d.mts} +3 -3
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +4 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +2 -2
- package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.d.mts +10 -0
- package/dist/esm/api/types/DeviceExpandedRes.d.mts +2 -2
- package/dist/esm/api/types/GeofencePointLocationFeature1.d.mts +14 -0
- package/dist/esm/api/types/{OrderTemplateListRes.d.mts → GeofenceTemplateListRes.d.mts} +2 -2
- package/dist/esm/api/types/{OrderTemplateSortByEnum.d.mts → GeofenceTemplateSortByEnum.d.mts} +2 -3
- package/dist/esm/api/types/{OrderTemplateSortByEnum.mjs → GeofenceTemplateSortByEnum.mjs} +1 -2
- package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -1
- package/dist/esm/api/types/InvoiceLineItemExpandedRes.d.mts +12 -0
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +2 -2
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -1
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +3 -2
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +2 -1
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +3 -2
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +2 -1
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -0
- package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +0 -1
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +0 -1
- package/dist/esm/api/types/{OrderTemplate1.d.mts → OrderTemplateNewExpanded1.d.mts} +11 -9
- package/dist/esm/api/types/OrderTemplateNewExpanded1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.d.mts +10 -0
- package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.mjs +4 -0
- package/dist/esm/api/types/{OrdersDraftDeleteManyRes.d.mts → OrdersDeleteManyDraftsRes.d.mts} +1 -1
- package/dist/esm/api/types/OrdersDeleteManyDraftsRes.mjs +4 -0
- package/dist/esm/api/types/{OrdersDraftUpdateRes.d.mts → OrdersUpdateDraftRes.d.mts} +1 -1
- package/dist/esm/api/types/OrdersUpdateDraftRes.mjs +4 -0
- package/dist/esm/api/types/Point.d.mts +1 -0
- package/dist/esm/api/types/{Session1.d.mts → Session2.d.mts} +2 -4
- package/dist/esm/api/types/Session2.mjs +4 -0
- package/dist/esm/api/types/SessionGeofence1.d.mts +12 -0
- package/dist/esm/api/types/SessionGeofence1.mjs +4 -0
- package/dist/esm/api/types/SessionGeofenceBase1.d.mts +9 -0
- package/dist/esm/api/types/SessionGeofenceBase1.mjs +4 -0
- package/dist/esm/api/types/SessionGeofenceClientCreate1.d.mts +9 -0
- package/dist/esm/api/types/SessionGeofenceClientCreate1.mjs +4 -0
- package/dist/esm/api/types/SessionGeofenceTemplate1.d.mts +19 -0
- package/dist/esm/api/types/SessionGeofenceTemplate1.mjs +4 -0
- package/dist/esm/api/types/SessionListRes.d.mts +1 -1
- package/dist/esm/api/types/Task1.d.mts +1 -0
- package/dist/esm/api/types/TaskListToApplyToOrderExpanded.d.mts +8 -0
- package/dist/esm/api/types/TaskListToApplyToOrderExpanded.mjs +4 -0
- package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.mts +14 -0
- package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +16 -11
- package/dist/esm/api/types/index.mjs +16 -11
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1350 -1077
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +0 -182
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +0 -33
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +0 -37
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.ts +0 -14
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +0 -80
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.ts +0 -46
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.js +0 -127
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.js +0 -38
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -46
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -127
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.ts +0 -1
- package/dist/cjs/api/types/Order1.d.ts +0 -43
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +0 -16
- package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +0 -10
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +0 -13
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +0 -15
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +0 -10
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +0 -182
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +0 -33
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +0 -37
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.mts +0 -14
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +0 -80
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.mts +0 -46
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.mjs +0 -90
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -46
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -90
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.mjs +0 -1
- package/dist/esm/api/types/Order1.d.mts +0 -43
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +0 -16
- package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +0 -10
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +0 -13
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +0 -12
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +0 -10
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.js → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.js → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.js → orders/client/requests/OrdersDeleteManyDraftsReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.js → orders/client/requests/OrdersTaskGroupOrderingReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js → client/requests/OrdersUpdateDraftReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.js → tasks/client/requests/TaskCompleteReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftUpdateReq.js → tasks/client/requests/TaskCompletionTimestampUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.js → tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessions/client/requests/SessionClientCreate1.js → geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/{sessions/client/requests/SessionClientUpdate1.js → geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client → tracking/resources/geofenceTemplates/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.js +0 -0
- /package/dist/cjs/api/{types/Order1.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplate1.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplateExpanded1.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup/client → tracking/resources/sessionGeofences/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.js +0 -0
- /package/dist/cjs/api/{types/OrderTemplateListRes.js → resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplateOrgInfo1.js → resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.js} +0 -0
- /package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.js → BillingInvoiceApprovedWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{OrdersDraftUpdateRes.js → GeofencePointLocationFeature1.js} +0 -0
- /package/dist/cjs/api/types/{Session1.js → GeofenceTemplateListRes.js} +0 -0
- /package/dist/cjs/api/types/{TrackingSessionDestinationGeofenceEnteredWebhookPayload.js → InvoiceLineItemExpandedRes.js} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.mjs → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.mjs → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.mjs → orders/client/requests/OrdersDeleteManyDraftsReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.mjs → orders/client/requests/OrdersTaskGroupOrderingReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs → client/requests/OrdersUpdateDraftReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.mjs → tasks/client/requests/TaskCompleteReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/client/requests/OrdersDraftUpdateReq.mjs → tasks/client/requests/TaskCompletionTimestampUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.mjs → tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessions/client/requests/SessionClientCreate1.mjs → geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/{sessions/client/requests/SessionClientUpdate1.mjs → geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo/client → tracking/resources/geofenceTemplates/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → tracking/resources/geofenceTemplates}/index.mjs +0 -0
- /package/dist/esm/api/{types/Order1.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplate1.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplateExpanded1.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup/client → tracking/resources/sessionGeofences/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → tracking/resources/sessionGeofences}/index.mjs +0 -0
- /package/dist/esm/api/{types/OrderTemplateListRes.mjs → resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplateOrgInfo1.mjs → resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersDraftDeleteManyRes.mjs → BillingInvoiceApprovedWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersDraftUpdateRes.mjs → GeofencePointLocationFeature1.mjs} +0 -0
- /package/dist/esm/api/types/{Session1.mjs → GeofenceTemplateListRes.mjs} +0 -0
- /package/dist/esm/api/types/{TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs → InvoiceLineItemExpandedRes.mjs} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface SessionGeofenceTemplate1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
archived_at_timestamp?: string | null;
|
|
8
|
+
created_at_timestamp: string;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
geofences: Chrt.SessionGeofenceBase1[];
|
|
11
|
+
last_edited_at_timestamp: string;
|
|
12
|
+
last_used_at_timestamp?: string | null;
|
|
13
|
+
name: string;
|
|
14
|
+
/** Must be a string starting with `org_` */
|
|
15
|
+
owned_by_org_id: string;
|
|
16
|
+
/** Must be a string starting with `user_` */
|
|
17
|
+
owned_by_user_id: string;
|
|
18
|
+
schema_version: number;
|
|
19
|
+
}
|
|
@@ -13,6 +13,7 @@ export interface Task1 {
|
|
|
13
13
|
completed_by_org_id?: string | null;
|
|
14
14
|
/** Must be a string starting with `user_` */
|
|
15
15
|
completed_by_user_id?: string | null;
|
|
16
|
+
completion_submitted_at_timestamp?: string | null;
|
|
16
17
|
contact_ids?: string[];
|
|
17
18
|
coordinator_shipper_account_ids?: string[];
|
|
18
19
|
/** Must be a string starting with `org_` */
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface TaskListToApplyToOrderExpanded {
|
|
6
|
+
operations_task_list?: Chrt.OperationsTaskList1 | null;
|
|
7
|
+
task_list_to_apply: Chrt.TaskListToApplyToOrder1;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TrackingSessionGeofenceEnteredWebhookPayload {
|
|
5
|
+
/** UTC timestamp when the event occurred */
|
|
6
|
+
event_timestamp: string;
|
|
7
|
+
event_type?: "tracking.session.geofence_entered";
|
|
8
|
+
/** The display name of the geofence that the tracker entered */
|
|
9
|
+
geofence_display_name: string;
|
|
10
|
+
/** The geofence that the tracker entered */
|
|
11
|
+
geofence_id: string;
|
|
12
|
+
/** The tracking session whose tracker entered a geofence */
|
|
13
|
+
session_id: string;
|
|
14
|
+
}
|
|
@@ -27,6 +27,7 @@ export * from "./BidThreadListRes.js";
|
|
|
27
27
|
export * from "./BidThreadSortByEnum.js";
|
|
28
28
|
export * from "./BidThreadStatusEnum.js";
|
|
29
29
|
export * from "./BillingCurrencyCodeEnum1.js";
|
|
30
|
+
export * from "./BillingInvoiceApprovedWebhookPayload.js";
|
|
30
31
|
export * from "./BillingPeriod1.js";
|
|
31
32
|
export * from "./BillingPeriodCycleEnum1.js";
|
|
32
33
|
export * from "./BillingPeriodExpanded1.js";
|
|
@@ -195,6 +196,9 @@ export * from "./FlightTrackRes.js";
|
|
|
195
196
|
export * from "./FlightTrackWaypoint1.js";
|
|
196
197
|
export * from "./FromPayables1.js";
|
|
197
198
|
export * from "./FuelSurchargeRate1.js";
|
|
199
|
+
export * from "./GeofencePointLocationFeature1.js";
|
|
200
|
+
export * from "./GeofenceTemplateListRes.js";
|
|
201
|
+
export * from "./GeofenceTemplateSortByEnum.js";
|
|
198
202
|
export * from "./GeographyRes.js";
|
|
199
203
|
export * from "./GeometryCollectionGeometriesItem.js";
|
|
200
204
|
export * from "./GeometryCollection.js";
|
|
@@ -210,6 +214,7 @@ export * from "./InvoiceLineItemAmountTransformation1.js";
|
|
|
210
214
|
export * from "./InvoiceLineItemAmountTransformationTypeEnum1.js";
|
|
211
215
|
export * from "./InvoiceLineItemClientCreate1.js";
|
|
212
216
|
export * from "./InvoiceLineItemExpandedListItem.js";
|
|
217
|
+
export * from "./InvoiceLineItemExpandedRes.js";
|
|
213
218
|
export * from "./InvoiceLineItemListRes.js";
|
|
214
219
|
export * from "./InvoiceLineItemServerCreate1.js";
|
|
215
220
|
export * from "./InvoiceLineItemSortByEnum.js";
|
|
@@ -286,7 +291,6 @@ export * from "./OperationsTaskStatusEnum.js";
|
|
|
286
291
|
export * from "./OperationsTaskTypeEnum.js";
|
|
287
292
|
export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.js";
|
|
288
293
|
export * from "./OperationsTasksStatusUpdateRes1.js";
|
|
289
|
-
export * from "./Order1.js";
|
|
290
294
|
export * from "./OrderAndTaskGroupExpandedReq.js";
|
|
291
295
|
export * from "./OrderAwbBillingAccount1.js";
|
|
292
296
|
export * from "./OrderAwbBillingListItem1.js";
|
|
@@ -318,30 +322,26 @@ export * from "./OrderSortByEnum.js";
|
|
|
318
322
|
export * from "./OrderStatusEnum1.js";
|
|
319
323
|
export * from "./OrderTaskGroupExecutorDetails1.js";
|
|
320
324
|
export * from "./OrderTaskGroupSharedDetails1.js";
|
|
321
|
-
export * from "./OrderTemplate1.js";
|
|
322
|
-
export * from "./OrderTemplateExpanded1.js";
|
|
323
|
-
export * from "./OrderTemplateListRes.js";
|
|
324
325
|
export * from "./OrderTemplateNew1.js";
|
|
325
326
|
export * from "./OrderTemplateNewCargo1.js";
|
|
326
327
|
export * from "./OrderTemplateNewCore1.js";
|
|
327
328
|
export * from "./OrderTemplateNewDateTimeWindow1.js";
|
|
328
329
|
export * from "./OrderTemplateNewDateparserResolveRes.js";
|
|
330
|
+
export * from "./OrderTemplateNewExpanded1.js";
|
|
329
331
|
export * from "./OrderTemplateNewListRes.js";
|
|
330
332
|
export * from "./OrderTemplateNewSortByEnum.js";
|
|
331
333
|
export * from "./OrderTemplateNewTask1.js";
|
|
332
334
|
export * from "./OrderTemplateNewTaskArtifact1.js";
|
|
333
335
|
export * from "./OrderTemplateNewTaskGroup1.js";
|
|
334
|
-
export * from "./
|
|
335
|
-
export * from "./OrderTemplateReferenceColumnEnum1.js";
|
|
336
|
-
export * from "./OrderTemplateSortByEnum.js";
|
|
336
|
+
export * from "./OrderTemplateNewTaskGroupExpanded1.js";
|
|
337
337
|
export * from "./OrderTypeaheadFieldEnum.js";
|
|
338
338
|
export * from "./OrderTypeaheadResult.js";
|
|
339
339
|
export * from "./OrderTypeaheadValue.js";
|
|
340
|
-
export * from "./
|
|
341
|
-
export * from "./OrdersDraftUpdateRes.js";
|
|
340
|
+
export * from "./OrdersDeleteManyDraftsRes.js";
|
|
342
341
|
export * from "./OrdersExpandedListForProviderRes.js";
|
|
343
342
|
export * from "./OrdersExpandedListForShipperRes.js";
|
|
344
343
|
export * from "./OrdersOpenDraftRes.js";
|
|
344
|
+
export * from "./OrdersUpdateDraftRes.js";
|
|
345
345
|
export * from "./OrdersUpdateOffChrtReferenceIdRes.js";
|
|
346
346
|
export * from "./OrgBiddingGroup1.js";
|
|
347
347
|
export * from "./OrgBiddingGroupListRes.js";
|
|
@@ -383,11 +383,15 @@ export * from "./ScheduleCalendarSpec.js";
|
|
|
383
383
|
export * from "./ScheduleIntervalSpec.js";
|
|
384
384
|
export * from "./ScheduleRange.js";
|
|
385
385
|
export * from "./ServiceLineEnum.js";
|
|
386
|
-
export * from "./
|
|
386
|
+
export * from "./Session2.js";
|
|
387
387
|
export * from "./SessionByDeviceDataPoint1.js";
|
|
388
388
|
export * from "./SessionByDeviceDataPointMetadata1.js";
|
|
389
389
|
export * from "./SessionByDeviceHistoryRes1.js";
|
|
390
390
|
export * from "./SessionByDeviceMarkOutliersResponse1.js";
|
|
391
|
+
export * from "./SessionGeofence1.js";
|
|
392
|
+
export * from "./SessionGeofenceBase1.js";
|
|
393
|
+
export * from "./SessionGeofenceClientCreate1.js";
|
|
394
|
+
export * from "./SessionGeofenceTemplate1.js";
|
|
391
395
|
export * from "./SessionListRes.js";
|
|
392
396
|
export * from "./SessionSortByEnum.js";
|
|
393
397
|
export * from "./ShipperCoordinatorConnection1.js";
|
|
@@ -445,6 +449,7 @@ export * from "./TaskGroupTypeEnum1.js";
|
|
|
445
449
|
export * from "./TaskGroupTypeaheadFieldEnum.js";
|
|
446
450
|
export * from "./TaskGroupTypeaheadResult.js";
|
|
447
451
|
export * from "./TaskListToApplyToOrder1.js";
|
|
452
|
+
export * from "./TaskListToApplyToOrderExpanded.js";
|
|
448
453
|
export * from "./TaskStatusEnum1.js";
|
|
449
454
|
export * from "./TaskWaitTimeGeofenceRes.js";
|
|
450
455
|
export * from "./TaxRate1.js";
|
|
@@ -465,7 +470,7 @@ export * from "./TiveTimeseriesRes.js";
|
|
|
465
470
|
export * from "./TiveTimeseriesSyncRes.js";
|
|
466
471
|
export * from "./TrackingDeviceTypeEnum1.js";
|
|
467
472
|
export * from "./TrackingOrgScopeEnum.js";
|
|
468
|
-
export * from "./
|
|
473
|
+
export * from "./TrackingSessionGeofenceEnteredWebhookPayload.js";
|
|
469
474
|
export * from "./TrackingSharingSettingsRes.js";
|
|
470
475
|
export * from "./TrackingTypeaheadFieldEnum.js";
|
|
471
476
|
export * from "./TrackingTypeaheadResult.js";
|
|
@@ -43,6 +43,7 @@ __exportStar(require("./BidThreadListRes.js"), exports);
|
|
|
43
43
|
__exportStar(require("./BidThreadSortByEnum.js"), exports);
|
|
44
44
|
__exportStar(require("./BidThreadStatusEnum.js"), exports);
|
|
45
45
|
__exportStar(require("./BillingCurrencyCodeEnum1.js"), exports);
|
|
46
|
+
__exportStar(require("./BillingInvoiceApprovedWebhookPayload.js"), exports);
|
|
46
47
|
__exportStar(require("./BillingPeriod1.js"), exports);
|
|
47
48
|
__exportStar(require("./BillingPeriodCycleEnum1.js"), exports);
|
|
48
49
|
__exportStar(require("./BillingPeriodExpanded1.js"), exports);
|
|
@@ -211,6 +212,9 @@ __exportStar(require("./FlightTrackRes.js"), exports);
|
|
|
211
212
|
__exportStar(require("./FlightTrackWaypoint1.js"), exports);
|
|
212
213
|
__exportStar(require("./FromPayables1.js"), exports);
|
|
213
214
|
__exportStar(require("./FuelSurchargeRate1.js"), exports);
|
|
215
|
+
__exportStar(require("./GeofencePointLocationFeature1.js"), exports);
|
|
216
|
+
__exportStar(require("./GeofenceTemplateListRes.js"), exports);
|
|
217
|
+
__exportStar(require("./GeofenceTemplateSortByEnum.js"), exports);
|
|
214
218
|
__exportStar(require("./GeographyRes.js"), exports);
|
|
215
219
|
__exportStar(require("./GeometryCollectionGeometriesItem.js"), exports);
|
|
216
220
|
__exportStar(require("./GeometryCollection.js"), exports);
|
|
@@ -226,6 +230,7 @@ __exportStar(require("./InvoiceLineItemAmountTransformation1.js"), exports);
|
|
|
226
230
|
__exportStar(require("./InvoiceLineItemAmountTransformationTypeEnum1.js"), exports);
|
|
227
231
|
__exportStar(require("./InvoiceLineItemClientCreate1.js"), exports);
|
|
228
232
|
__exportStar(require("./InvoiceLineItemExpandedListItem.js"), exports);
|
|
233
|
+
__exportStar(require("./InvoiceLineItemExpandedRes.js"), exports);
|
|
229
234
|
__exportStar(require("./InvoiceLineItemListRes.js"), exports);
|
|
230
235
|
__exportStar(require("./InvoiceLineItemServerCreate1.js"), exports);
|
|
231
236
|
__exportStar(require("./InvoiceLineItemSortByEnum.js"), exports);
|
|
@@ -302,7 +307,6 @@ __exportStar(require("./OperationsTaskStatusEnum.js"), exports);
|
|
|
302
307
|
__exportStar(require("./OperationsTaskTypeEnum.js"), exports);
|
|
303
308
|
__exportStar(require("./OperationsTasksDeadlineTimestampsUpdateRes1.js"), exports);
|
|
304
309
|
__exportStar(require("./OperationsTasksStatusUpdateRes1.js"), exports);
|
|
305
|
-
__exportStar(require("./Order1.js"), exports);
|
|
306
310
|
__exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
|
|
307
311
|
__exportStar(require("./OrderAwbBillingAccount1.js"), exports);
|
|
308
312
|
__exportStar(require("./OrderAwbBillingListItem1.js"), exports);
|
|
@@ -334,30 +338,26 @@ __exportStar(require("./OrderSortByEnum.js"), exports);
|
|
|
334
338
|
__exportStar(require("./OrderStatusEnum1.js"), exports);
|
|
335
339
|
__exportStar(require("./OrderTaskGroupExecutorDetails1.js"), exports);
|
|
336
340
|
__exportStar(require("./OrderTaskGroupSharedDetails1.js"), exports);
|
|
337
|
-
__exportStar(require("./OrderTemplate1.js"), exports);
|
|
338
|
-
__exportStar(require("./OrderTemplateExpanded1.js"), exports);
|
|
339
|
-
__exportStar(require("./OrderTemplateListRes.js"), exports);
|
|
340
341
|
__exportStar(require("./OrderTemplateNew1.js"), exports);
|
|
341
342
|
__exportStar(require("./OrderTemplateNewCargo1.js"), exports);
|
|
342
343
|
__exportStar(require("./OrderTemplateNewCore1.js"), exports);
|
|
343
344
|
__exportStar(require("./OrderTemplateNewDateTimeWindow1.js"), exports);
|
|
344
345
|
__exportStar(require("./OrderTemplateNewDateparserResolveRes.js"), exports);
|
|
346
|
+
__exportStar(require("./OrderTemplateNewExpanded1.js"), exports);
|
|
345
347
|
__exportStar(require("./OrderTemplateNewListRes.js"), exports);
|
|
346
348
|
__exportStar(require("./OrderTemplateNewSortByEnum.js"), exports);
|
|
347
349
|
__exportStar(require("./OrderTemplateNewTask1.js"), exports);
|
|
348
350
|
__exportStar(require("./OrderTemplateNewTaskArtifact1.js"), exports);
|
|
349
351
|
__exportStar(require("./OrderTemplateNewTaskGroup1.js"), exports);
|
|
350
|
-
__exportStar(require("./
|
|
351
|
-
__exportStar(require("./OrderTemplateReferenceColumnEnum1.js"), exports);
|
|
352
|
-
__exportStar(require("./OrderTemplateSortByEnum.js"), exports);
|
|
352
|
+
__exportStar(require("./OrderTemplateNewTaskGroupExpanded1.js"), exports);
|
|
353
353
|
__exportStar(require("./OrderTypeaheadFieldEnum.js"), exports);
|
|
354
354
|
__exportStar(require("./OrderTypeaheadResult.js"), exports);
|
|
355
355
|
__exportStar(require("./OrderTypeaheadValue.js"), exports);
|
|
356
|
-
__exportStar(require("./
|
|
357
|
-
__exportStar(require("./OrdersDraftUpdateRes.js"), exports);
|
|
356
|
+
__exportStar(require("./OrdersDeleteManyDraftsRes.js"), exports);
|
|
358
357
|
__exportStar(require("./OrdersExpandedListForProviderRes.js"), exports);
|
|
359
358
|
__exportStar(require("./OrdersExpandedListForShipperRes.js"), exports);
|
|
360
359
|
__exportStar(require("./OrdersOpenDraftRes.js"), exports);
|
|
360
|
+
__exportStar(require("./OrdersUpdateDraftRes.js"), exports);
|
|
361
361
|
__exportStar(require("./OrdersUpdateOffChrtReferenceIdRes.js"), exports);
|
|
362
362
|
__exportStar(require("./OrgBiddingGroup1.js"), exports);
|
|
363
363
|
__exportStar(require("./OrgBiddingGroupListRes.js"), exports);
|
|
@@ -399,11 +399,15 @@ __exportStar(require("./ScheduleCalendarSpec.js"), exports);
|
|
|
399
399
|
__exportStar(require("./ScheduleIntervalSpec.js"), exports);
|
|
400
400
|
__exportStar(require("./ScheduleRange.js"), exports);
|
|
401
401
|
__exportStar(require("./ServiceLineEnum.js"), exports);
|
|
402
|
-
__exportStar(require("./
|
|
402
|
+
__exportStar(require("./Session2.js"), exports);
|
|
403
403
|
__exportStar(require("./SessionByDeviceDataPoint1.js"), exports);
|
|
404
404
|
__exportStar(require("./SessionByDeviceDataPointMetadata1.js"), exports);
|
|
405
405
|
__exportStar(require("./SessionByDeviceHistoryRes1.js"), exports);
|
|
406
406
|
__exportStar(require("./SessionByDeviceMarkOutliersResponse1.js"), exports);
|
|
407
|
+
__exportStar(require("./SessionGeofence1.js"), exports);
|
|
408
|
+
__exportStar(require("./SessionGeofenceBase1.js"), exports);
|
|
409
|
+
__exportStar(require("./SessionGeofenceClientCreate1.js"), exports);
|
|
410
|
+
__exportStar(require("./SessionGeofenceTemplate1.js"), exports);
|
|
407
411
|
__exportStar(require("./SessionListRes.js"), exports);
|
|
408
412
|
__exportStar(require("./SessionSortByEnum.js"), exports);
|
|
409
413
|
__exportStar(require("./ShipperCoordinatorConnection1.js"), exports);
|
|
@@ -461,6 +465,7 @@ __exportStar(require("./TaskGroupTypeEnum1.js"), exports);
|
|
|
461
465
|
__exportStar(require("./TaskGroupTypeaheadFieldEnum.js"), exports);
|
|
462
466
|
__exportStar(require("./TaskGroupTypeaheadResult.js"), exports);
|
|
463
467
|
__exportStar(require("./TaskListToApplyToOrder1.js"), exports);
|
|
468
|
+
__exportStar(require("./TaskListToApplyToOrderExpanded.js"), exports);
|
|
464
469
|
__exportStar(require("./TaskStatusEnum1.js"), exports);
|
|
465
470
|
__exportStar(require("./TaskWaitTimeGeofenceRes.js"), exports);
|
|
466
471
|
__exportStar(require("./TaxRate1.js"), exports);
|
|
@@ -481,7 +486,7 @@ __exportStar(require("./TiveTimeseriesRes.js"), exports);
|
|
|
481
486
|
__exportStar(require("./TiveTimeseriesSyncRes.js"), exports);
|
|
482
487
|
__exportStar(require("./TrackingDeviceTypeEnum1.js"), exports);
|
|
483
488
|
__exportStar(require("./TrackingOrgScopeEnum.js"), exports);
|
|
484
|
-
__exportStar(require("./
|
|
489
|
+
__exportStar(require("./TrackingSessionGeofenceEnteredWebhookPayload.js"), exports);
|
|
485
490
|
__exportStar(require("./TrackingSharingSettingsRes.js"), exports);
|
|
486
491
|
__exportStar(require("./TrackingTypeaheadFieldEnum.js"), exports);
|
|
487
492
|
__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.930.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -23,8 +23,8 @@ export class ChrtClient {
|
|
|
23
23
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
24
24
|
"X-Fern-Language": "JavaScript",
|
|
25
25
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
26
|
-
"X-Fern-SDK-Version": "1.
|
|
27
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
26
|
+
"X-Fern-SDK-Version": "1.930.0",
|
|
27
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.930.0",
|
|
28
28
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
29
29
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
30
30
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -74,7 +74,7 @@ export declare class Invoices {
|
|
|
74
74
|
deleteV1(invoiceId: string, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
75
75
|
private __deleteV1;
|
|
76
76
|
/**
|
|
77
|
-
* Retrieves an owner-scoped invoice with
|
|
77
|
+
* Retrieves an owner-scoped invoice with line-item orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
|
|
78
78
|
*
|
|
79
79
|
* @param {string} invoiceId
|
|
80
80
|
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -204,7 +204,7 @@ export class Invoices {
|
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
/**
|
|
207
|
-
* Retrieves an owner-scoped invoice with
|
|
207
|
+
* Retrieves an owner-scoped invoice with line-item orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceExpandedRes)
|
|
208
208
|
*
|
|
209
209
|
* @param {string} invoiceId
|
|
210
210
|
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -95,6 +95,7 @@ export declare class OperationsTasks {
|
|
|
95
95
|
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
96
96
|
* filter_department_id: "filter_department_id",
|
|
97
97
|
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
98
|
+
* filter_source_task_list_id: "filter_source_task_list_id",
|
|
98
99
|
* filter_deadline_gte: "2024-01-15T09:30:00Z",
|
|
99
100
|
* filter_deadline_lte: "2024-01-15T09:30:00Z"
|
|
100
101
|
* })
|
|
@@ -102,7 +103,7 @@ export declare class OperationsTasks {
|
|
|
102
103
|
expandedListV1(request?: Chrt.operations.OperationsTasksExpandedListV1Request, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskExpandedListRes>;
|
|
103
104
|
private __expandedListV1;
|
|
104
105
|
/**
|
|
105
|
-
* Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
|
|
106
|
+
* Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
|
|
106
107
|
*
|
|
107
108
|
* @param {Chrt.operations.OperationsTasksListV1Request} request
|
|
108
109
|
* @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -120,6 +121,7 @@ export declare class OperationsTasks {
|
|
|
120
121
|
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
121
122
|
* filter_department_id: "filter_department_id",
|
|
122
123
|
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
124
|
+
* filter_source_task_list_id: "filter_source_task_list_id",
|
|
123
125
|
* filter_deadline_gte: "2024-01-15T09:30:00Z",
|
|
124
126
|
* filter_deadline_lte: "2024-01-15T09:30:00Z"
|
|
125
127
|
* })
|
|
@@ -231,6 +231,7 @@ export class OperationsTasks {
|
|
|
231
231
|
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
232
232
|
* filter_department_id: "filter_department_id",
|
|
233
233
|
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
234
|
+
* filter_source_task_list_id: "filter_source_task_list_id",
|
|
234
235
|
* filter_deadline_gte: "2024-01-15T09:30:00Z",
|
|
235
236
|
* filter_deadline_lte: "2024-01-15T09:30:00Z"
|
|
236
237
|
* })
|
|
@@ -241,7 +242,7 @@ export class OperationsTasks {
|
|
|
241
242
|
__expandedListV1() {
|
|
242
243
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
243
244
|
var _a, _b, _c, _d, _e, _f;
|
|
244
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
|
|
245
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_source_task_list_id: filterSourceTaskListId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
|
|
245
246
|
const _queryParams = {};
|
|
246
247
|
if (sortBy !== undefined) {
|
|
247
248
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -294,6 +295,9 @@ export class OperationsTasks {
|
|
|
294
295
|
if (filterAssignedUserId !== undefined) {
|
|
295
296
|
_queryParams["filter_assigned_user_id"] = filterAssignedUserId;
|
|
296
297
|
}
|
|
298
|
+
if (filterSourceTaskListId !== undefined) {
|
|
299
|
+
_queryParams["filter_source_task_list_id"] = filterSourceTaskListId;
|
|
300
|
+
}
|
|
297
301
|
if (filterDeadlineGte !== undefined) {
|
|
298
302
|
_queryParams["filter_deadline_gte"] = filterDeadlineGte;
|
|
299
303
|
}
|
|
@@ -343,7 +347,7 @@ export class OperationsTasks {
|
|
|
343
347
|
});
|
|
344
348
|
}
|
|
345
349
|
/**
|
|
346
|
-
* Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
|
|
350
|
+
* Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
|
|
347
351
|
*
|
|
348
352
|
* @param {Chrt.operations.OperationsTasksListV1Request} request
|
|
349
353
|
* @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -361,6 +365,7 @@ export class OperationsTasks {
|
|
|
361
365
|
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
362
366
|
* filter_department_id: "filter_department_id",
|
|
363
367
|
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
368
|
+
* filter_source_task_list_id: "filter_source_task_list_id",
|
|
364
369
|
* filter_deadline_gte: "2024-01-15T09:30:00Z",
|
|
365
370
|
* filter_deadline_lte: "2024-01-15T09:30:00Z"
|
|
366
371
|
* })
|
|
@@ -371,7 +376,7 @@ export class OperationsTasks {
|
|
|
371
376
|
__listV1() {
|
|
372
377
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
373
378
|
var _a, _b, _c, _d, _e, _f;
|
|
374
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
|
|
379
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_assigned_user_id: filterAssignedUserId, filter_source_task_list_id: filterSourceTaskListId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
|
|
375
380
|
const _queryParams = {};
|
|
376
381
|
if (sortBy !== undefined) {
|
|
377
382
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -424,6 +429,9 @@ export class OperationsTasks {
|
|
|
424
429
|
if (filterAssignedUserId !== undefined) {
|
|
425
430
|
_queryParams["filter_assigned_user_id"] = filterAssignedUserId;
|
|
426
431
|
}
|
|
432
|
+
if (filterSourceTaskListId !== undefined) {
|
|
433
|
+
_queryParams["filter_source_task_list_id"] = filterSourceTaskListId;
|
|
434
|
+
}
|
|
427
435
|
if (filterDeadlineGte !== undefined) {
|
|
428
436
|
_queryParams["filter_deadline_gte"] = filterDeadlineGte;
|
|
429
437
|
}
|
|
@@ -14,6 +14,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
14
14
|
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
15
15
|
* filter_department_id: "filter_department_id",
|
|
16
16
|
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
17
|
+
* filter_source_task_list_id: "filter_source_task_list_id",
|
|
17
18
|
* filter_deadline_gte: "2024-01-15T09:30:00Z",
|
|
18
19
|
* filter_deadline_lte: "2024-01-15T09:30:00Z"
|
|
19
20
|
* }
|
|
@@ -41,6 +42,8 @@ export interface OperationsTasksExpandedListV1Request {
|
|
|
41
42
|
filter_status?: (Chrt.OperationsTaskStatusEnum | null) | (Chrt.OperationsTaskStatusEnum | null)[];
|
|
42
43
|
/** Filter to tasks this user is directly assigned to */
|
|
43
44
|
filter_assigned_user_id?: string | null;
|
|
45
|
+
/** Filter to tasks created from this OperationsTaskList */
|
|
46
|
+
filter_source_task_list_id?: string | null;
|
|
44
47
|
/** Filter to tasks with deadline >= this timestamp */
|
|
45
48
|
filter_deadline_gte?: string | null;
|
|
46
49
|
/** Filter to tasks with deadline <= this timestamp */
|
|
@@ -14,6 +14,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
14
14
|
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
15
15
|
* filter_department_id: "filter_department_id",
|
|
16
16
|
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
17
|
+
* filter_source_task_list_id: "filter_source_task_list_id",
|
|
17
18
|
* filter_deadline_gte: "2024-01-15T09:30:00Z",
|
|
18
19
|
* filter_deadline_lte: "2024-01-15T09:30:00Z"
|
|
19
20
|
* }
|
|
@@ -41,6 +42,8 @@ export interface OperationsTasksListV1Request {
|
|
|
41
42
|
filter_status?: (Chrt.OperationsTaskStatusEnum | null) | (Chrt.OperationsTaskStatusEnum | null)[];
|
|
42
43
|
/** Filter to tasks this user is directly assigned to */
|
|
43
44
|
filter_assigned_user_id?: string | null;
|
|
45
|
+
/** Filter to tasks created from this OperationsTaskList */
|
|
46
|
+
filter_source_task_list_id?: string | null;
|
|
44
47
|
/** Filter to tasks with deadline >= this timestamp */
|
|
45
48
|
filter_deadline_gte?: string | null;
|
|
46
49
|
/** Filter to tasks with deadline <= this timestamp */
|
|
@@ -5,7 +5,6 @@ import * as environments from "../../../../environments.mjs";
|
|
|
5
5
|
import * as core from "../../../../core/index.mjs";
|
|
6
6
|
import { Drivers } from "../resources/drivers/client/Client.mjs";
|
|
7
7
|
import { Flights } from "../resources/flights/client/Client.mjs";
|
|
8
|
-
import { OrderTemplates } from "../resources/orderTemplates/client/Client.mjs";
|
|
9
8
|
import { OrderTemplatesNew } from "../resources/orderTemplatesNew/client/Client.mjs";
|
|
10
9
|
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
11
10
|
import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
|
|
@@ -26,7 +25,6 @@ export declare class Shipping {
|
|
|
26
25
|
protected readonly _options: Shipping.Options;
|
|
27
26
|
protected _drivers: Drivers | undefined;
|
|
28
27
|
protected _flights: Flights | undefined;
|
|
29
|
-
protected _orderTemplates: OrderTemplates | undefined;
|
|
30
28
|
protected _orderTemplatesNew: OrderTemplatesNew | undefined;
|
|
31
29
|
protected _orders: Orders | undefined;
|
|
32
30
|
protected _taskArtifacts: TaskArtifacts | undefined;
|
|
@@ -35,7 +33,6 @@ export declare class Shipping {
|
|
|
35
33
|
constructor(_options?: Shipping.Options);
|
|
36
34
|
get drivers(): Drivers;
|
|
37
35
|
get flights(): Flights;
|
|
38
|
-
get orderTemplates(): OrderTemplates;
|
|
39
36
|
get orderTemplatesNew(): OrderTemplatesNew;
|
|
40
37
|
get orders(): Orders;
|
|
41
38
|
get taskArtifacts(): TaskArtifacts;
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Drivers } from "../resources/drivers/client/Client.mjs";
|
|
5
5
|
import { Flights } from "../resources/flights/client/Client.mjs";
|
|
6
|
-
import { OrderTemplates } from "../resources/orderTemplates/client/Client.mjs";
|
|
7
6
|
import { OrderTemplatesNew } from "../resources/orderTemplatesNew/client/Client.mjs";
|
|
8
7
|
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
9
8
|
import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
|
|
@@ -21,10 +20,6 @@ export class Shipping {
|
|
|
21
20
|
var _a;
|
|
22
21
|
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Flights(this._options)));
|
|
23
22
|
}
|
|
24
|
-
get orderTemplates() {
|
|
25
|
-
var _a;
|
|
26
|
-
return ((_a = this._orderTemplates) !== null && _a !== void 0 ? _a : (this._orderTemplates = new OrderTemplates(this._options)));
|
|
27
|
-
}
|
|
28
23
|
get orderTemplatesNew() {
|
|
29
24
|
var _a;
|
|
30
25
|
return ((_a = this._orderTemplatesNew) !== null && _a !== void 0 ? _a : (this._orderTemplatesNew = new OrderTemplatesNew(this._options)));
|
|
@@ -70,17 +70,20 @@ export declare class Flights {
|
|
|
70
70
|
getFlightStatusForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1>;
|
|
71
71
|
private __getFlightStatusForFlightLegV1;
|
|
72
72
|
/**
|
|
73
|
-
* Returns the Cirium
|
|
73
|
+
* Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
|
|
74
74
|
*
|
|
75
75
|
* @param {string} flightLegId
|
|
76
|
+
* @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
|
|
76
77
|
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
78
|
*
|
|
78
79
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
81
|
-
* await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id"
|
|
82
|
+
* await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id", {
|
|
83
|
+
* force_refresh: true
|
|
84
|
+
* })
|
|
82
85
|
*/
|
|
83
|
-
getFlightTrackForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
|
|
86
|
+
getFlightTrackForFlightLegV1(flightLegId: string, request?: Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
|
|
84
87
|
private __getFlightTrackForFlightLegV1;
|
|
85
88
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
86
89
|
}
|
|
@@ -197,28 +197,36 @@ export class Flights {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
|
-
* Returns the Cirium
|
|
200
|
+
* Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
|
|
201
201
|
*
|
|
202
202
|
* @param {string} flightLegId
|
|
203
|
+
* @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
|
|
203
204
|
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
204
205
|
*
|
|
205
206
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
206
207
|
*
|
|
207
208
|
* @example
|
|
208
|
-
* await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id"
|
|
209
|
+
* await client.shipping.flights.getFlightTrackForFlightLegV1("flight_leg_id", {
|
|
210
|
+
* force_refresh: true
|
|
211
|
+
* })
|
|
209
212
|
*/
|
|
210
|
-
getFlightTrackForFlightLegV1(flightLegId, requestOptions) {
|
|
211
|
-
return core.HttpResponsePromise.fromPromise(this.__getFlightTrackForFlightLegV1(flightLegId, requestOptions));
|
|
213
|
+
getFlightTrackForFlightLegV1(flightLegId, request = {}, requestOptions) {
|
|
214
|
+
return core.HttpResponsePromise.fromPromise(this.__getFlightTrackForFlightLegV1(flightLegId, request, requestOptions));
|
|
212
215
|
}
|
|
213
|
-
__getFlightTrackForFlightLegV1(
|
|
214
|
-
return __awaiter(this,
|
|
215
|
-
var _a, _b, _c, _d;
|
|
216
|
-
|
|
217
|
-
const
|
|
218
|
-
|
|
216
|
+
__getFlightTrackForFlightLegV1(flightLegId_1) {
|
|
217
|
+
return __awaiter(this, arguments, void 0, function* (flightLegId, request = {}, requestOptions) {
|
|
218
|
+
var _a, _b, _c, _d, _e;
|
|
219
|
+
const { force_refresh: forceRefresh } = request;
|
|
220
|
+
const _queryParams = {};
|
|
221
|
+
if (forceRefresh !== undefined) {
|
|
222
|
+
_queryParams["force_refresh"] = (_a = forceRefresh === null || forceRefresh === void 0 ? void 0 : forceRefresh.toString()) !== null && _a !== void 0 ? _a : null;
|
|
223
|
+
}
|
|
224
|
+
let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
225
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
226
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, `shipping/flights/track/for_flight_leg/v1/${encodeURIComponent(flightLegId)}`),
|
|
219
227
|
method: "GET",
|
|
220
228
|
headers: _headers,
|
|
221
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
229
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
222
230
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
223
231
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
224
232
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests/index.mjs";
|