@chrt-inc/typescript-sdk 1.924.0 → 1.929.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.d.ts +3 -0
- package/dist/cjs/Client.js +29 -24
- package/dist/cjs/api/resources/agent/client/Client.d.ts +23 -0
- package/dist/cjs/api/resources/agent/client/Client.js +17 -0
- package/dist/cjs/api/resources/agent/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/index.js +18 -0
- package/dist/cjs/api/resources/agent/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/resources/index.js +41 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.d.ts +79 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.js +260 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/index.js +17 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.ts +12 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.ts +13 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/orderInformation/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +1 -5
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +0 -3
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +20 -3
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +69 -3
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.d.ts +14 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/index.js +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.js +41 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.js +135 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +10 -8
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +21 -13
- 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/operations/resources/operationsTasks/client/requests/{OperationsTaskStatusReq.d.ts → OperationsTasksSetStatusReq1.d.ts} +3 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +1 -1
- 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/cargos/client/Client.d.ts +14 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.js +60 -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/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/expanded/client/Client.d.ts +2 -105
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +6 -518
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +18 -31
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +34 -93
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForDriverForExecutorV1Request.d.ts → ExpandedListForDriverV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForExecutorOperatorsV1Request.d.ts → ExpandedListForProviderOperatorsV1Request.d.ts} +3 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +11 -7
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +23 -15
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.js +15 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.js +2 -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/tracking/resources/geofenceTemplates/client/Client.js +494 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/index.js +17 -0
- 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/geofenceTemplates/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/index.js +17 -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/tracking/resources/sessionGeofences/client/index.js +17 -0
- 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/SessionGeofenceClientUpdate1.js +5 -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/SessionGeofenceReorderReq.js +5 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/sessionGeofences/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +5 -5
- 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/SessionClientUpdate2.js +5 -0
- 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/SessionsCreateV1Req.js +5 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +2 -2
- package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
- package/dist/{esm/api/types/LlmModelEnum.d.mts → cjs/api/types/ArchivedModel.d.ts} +5 -2
- package/dist/cjs/api/types/{LlmModelEnum.js → ArchivedModel.js} +2 -2
- package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.d.ts +10 -0
- package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +0 -1
- package/dist/cjs/api/types/ContactExpandedListItem.d.ts +10 -0
- package/dist/cjs/api/types/ContactExpandedListItem.js +5 -0
- package/dist/cjs/api/types/ContactListRes.d.ts +1 -1
- 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/GeofencePointLocationFeature1.js +5 -0
- package/dist/cjs/api/types/{OrdersExpandedListForExecutorRes.d.ts → GeofenceTemplateListRes.d.ts} +2 -2
- package/dist/cjs/api/types/GeofenceTemplateListRes.js +5 -0
- package/dist/cjs/api/types/GeofenceTemplateSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/GeofenceTemplateSortByEnum.js +12 -0
- package/dist/cjs/api/types/Invoice1.d.ts +2 -0
- package/dist/cjs/api/types/InvoiceExpandedListItem.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceExpandedListItem.js +5 -0
- package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -1
- package/dist/cjs/api/types/InvoiceLineItemExpandedListItem.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceLineItemExpandedListItem.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemExpandedRes.d.ts +12 -0
- package/dist/cjs/api/types/InvoiceLineItemExpandedRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemListRes.d.ts +1 -1
- package/dist/cjs/api/types/InvoiceListRes.d.ts +1 -1
- package/dist/cjs/api/types/Model.d.ts +12 -0
- package/dist/cjs/api/types/Model.js +11 -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/OperationsTaskExpandedListItem.d.ts +1 -0
- package/dist/cjs/api/types/OperationsTasksStatusUpdateRes1.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTasksStatusUpdateRes1.js +5 -0
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +2 -0
- package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +3 -0
- package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +1 -0
- package/dist/cjs/api/types/OrderInformationConversationRes.d.ts +7 -0
- package/dist/cjs/api/types/OrderInformationConversationRes.js +5 -0
- package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyRes.d.ts +12 -0
- package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyRes.js +5 -0
- package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyResult1.d.ts +11 -0
- package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyResult1.js +5 -0
- package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.js +11 -0
- package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +37 -0
- 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/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/StoredModel.d.ts +5 -0
- package/dist/cjs/api/types/StoredModel.js +5 -0
- package/dist/cjs/api/types/Task1.d.ts +1 -0
- package/dist/cjs/api/types/TaskGroupByDriverDataPointsRes.d.ts +8 -0
- package/dist/cjs/api/types/TaskGroupByDriverDataPointsRes.js +5 -0
- package/dist/cjs/api/types/TaskGroupByDriverLastSeenRes.d.ts +8 -0
- package/dist/cjs/api/types/TaskGroupByDriverLastSeenRes.js +5 -0
- package/dist/cjs/api/types/TaskGroupProviderRoleFilterEnum.d.ts +9 -0
- package/dist/cjs/api/types/TaskGroupProviderRoleFilterEnum.js +11 -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 +28 -9
- package/dist/cjs/api/types/index.js +28 -9
- 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/agent/client/Client.d.mts +23 -0
- package/dist/esm/api/resources/agent/client/Client.mjs +13 -0
- package/dist/esm/api/resources/agent/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.d.mts +79 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.mjs +223 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.mts +12 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.mts +13 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/orderInformation/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +1 -5
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +0 -3
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +20 -3
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +69 -3
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.d.mts +14 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +5 -0
- package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/index.mjs +2 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.mjs +98 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +10 -8
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +21 -13
- 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/operations/resources/operationsTasks/client/requests/{OperationsTaskStatusReq.d.mts → OperationsTasksSetStatusReq1.d.mts} +3 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +1 -1
- 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/cargos/client/Client.d.mts +14 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.mjs +60 -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/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/expanded/client/Client.d.mts +2 -105
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +6 -518
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +18 -31
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +34 -93
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForDriverForExecutorV1Request.d.mts → ExpandedListForDriverV1Request.d.mts} +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForExecutorOperatorsV1Request.d.mts → ExpandedListForProviderOperatorsV1Request.d.mts} +3 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +11 -7
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +23 -15
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.mjs +1 -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/tracking/resources/geofenceTemplates/client/Client.mjs +457 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/index.mjs +1 -0
- 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/geofenceTemplates/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/geofenceTemplates/index.mjs +1 -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/SessionGeofenceClientUpdate1.mjs +4 -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/SessionGeofenceReorderReq.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/sessionGeofences/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +5 -5
- 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/SessionClientUpdate2.mjs +4 -0
- 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/SessionsCreateV1Req.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +2 -2
- package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
- package/dist/{cjs/api/types/LlmModelEnum.d.ts → esm/api/types/ArchivedModel.d.mts} +5 -2
- package/dist/esm/api/types/{LlmModelEnum.mjs → ArchivedModel.mjs} +1 -1
- package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.d.mts +10 -0
- package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +0 -1
- package/dist/esm/api/types/ContactExpandedListItem.d.mts +10 -0
- package/dist/esm/api/types/ContactExpandedListItem.mjs +4 -0
- package/dist/esm/api/types/ContactListRes.d.mts +1 -1
- 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/GeofencePointLocationFeature1.mjs +4 -0
- package/dist/esm/api/types/{OrdersExpandedListForExecutorRes.d.mts → GeofenceTemplateListRes.d.mts} +2 -2
- package/dist/esm/api/types/GeofenceTemplateListRes.mjs +4 -0
- package/dist/esm/api/types/GeofenceTemplateSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/GeofenceTemplateSortByEnum.mjs +9 -0
- package/dist/esm/api/types/Invoice1.d.mts +2 -0
- package/dist/esm/api/types/InvoiceExpandedListItem.d.mts +11 -0
- package/dist/esm/api/types/InvoiceExpandedListItem.mjs +4 -0
- package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -1
- package/dist/esm/api/types/InvoiceLineItemExpandedListItem.d.mts +8 -0
- package/dist/esm/api/types/InvoiceLineItemExpandedListItem.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemExpandedRes.d.mts +12 -0
- package/dist/esm/api/types/InvoiceLineItemExpandedRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemListRes.d.mts +1 -1
- package/dist/esm/api/types/InvoiceListRes.d.mts +1 -1
- package/dist/esm/api/types/Model.d.mts +12 -0
- package/dist/esm/api/types/Model.mjs +8 -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/OperationsTaskExpandedListItem.d.mts +1 -0
- package/dist/esm/api/types/OperationsTasksStatusUpdateRes1.d.mts +7 -0
- package/dist/esm/api/types/OperationsTasksStatusUpdateRes1.mjs +4 -0
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +2 -0
- package/dist/esm/api/types/OrderExpandedForProvider.d.mts +3 -0
- package/dist/esm/api/types/OrderExpandedForShipper.d.mts +1 -0
- package/dist/esm/api/types/OrderInformationConversationRes.d.mts +7 -0
- package/dist/esm/api/types/OrderInformationConversationRes.mjs +4 -0
- package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyRes.d.mts +12 -0
- package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyRes.mjs +4 -0
- package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyResult1.d.mts +11 -0
- package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyResult1.mjs +4 -0
- package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.mjs +8 -0
- package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +37 -0
- 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/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/StoredModel.d.mts +5 -0
- package/dist/esm/api/types/StoredModel.mjs +4 -0
- package/dist/esm/api/types/Task1.d.mts +1 -0
- package/dist/esm/api/types/TaskGroupByDriverDataPointsRes.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupByDriverDataPointsRes.mjs +4 -0
- package/dist/esm/api/types/TaskGroupByDriverLastSeenRes.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupByDriverLastSeenRes.mjs +4 -0
- package/dist/esm/api/types/TaskGroupProviderRoleFilterEnum.d.mts +9 -0
- package/dist/esm/api/types/TaskGroupProviderRoleFilterEnum.mjs +8 -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 +28 -9
- package/dist/esm/api/types/index.mjs +28 -9
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1785 -802
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +0 -73
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +0 -66
- package/dist/cjs/api/types/OrderExpandedForCoordinator.d.ts +0 -15
- package/dist/cjs/api/types/OrderExpandedForExecutor.d.ts +0 -14
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +0 -47
- package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +0 -27
- package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.d.ts +0 -8
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +0 -10
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +0 -73
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +0 -66
- package/dist/esm/api/types/OrderExpandedForCoordinator.d.mts +0 -15
- package/dist/esm/api/types/OrderExpandedForExecutor.d.mts +0 -14
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +0 -47
- package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +0 -27
- package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.d.mts +0 -8
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +0 -10
- /package/dist/cjs/api/resources/{operations/resources/operationsTasks/client/requests/OperationsTaskStatusReq.js → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js → billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js → billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.js → operations/resources/operationsTasks/client/requests/OperationsTasksSetStatusReq1.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.js → shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderExpandedForCoordinator.js → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderExpandedForExecutor.js → resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderLimitedForCoordinator1.js → resources/shipping/resources/tasks/client/requests/TaskCompleteReq.js} +0 -0
- /package/dist/cjs/api/{types/OrderLimitedForExecutor1.js → resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.js} +0 -0
- /package/dist/cjs/api/{types/OrdersExpandedListForCoordinatorRes.js → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrdersExpandedListForExecutorRes.js → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/Session1.js → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.js} +0 -0
- /package/dist/esm/api/resources/{operations/resources/operationsTasks/client/requests/OperationsTaskStatusReq.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs → billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs → billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksSetStatusReq1.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.mjs → shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderExpandedForCoordinator.mjs → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderExpandedForExecutor.mjs → resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderLimitedForCoordinator1.mjs → resources/shipping/resources/tasks/client/requests/TaskCompleteReq.mjs} +0 -0
- /package/dist/esm/api/{types/OrderLimitedForExecutor1.mjs → resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.mjs} +0 -0
- /package/dist/esm/api/{types/OrdersExpandedListForCoordinatorRes.mjs → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrdersExpandedListForExecutorRes.mjs → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/Session1.mjs → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs → resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.mjs} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { type OrderInformationConversationMessageReq } from "./OrderInformationConversationMessageReq.mjs";
|
|
2
|
+
export { type OrderInformationConversationStartReq } from "./OrderInformationConversationStartReq.mjs";
|
|
3
|
+
export { type OrderInformationConversationClientUpdate1 } from "./OrderInformationConversationClientUpdate1.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts
CHANGED
|
@@ -92,7 +92,6 @@ export declare class ChrtGroundProviderRates {
|
|
|
92
92
|
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
93
93
|
* filter_shipper_account_id: "filter_shipper_account_id",
|
|
94
94
|
* filter_counterparty_driver_id: "filter_counterparty_driver_id",
|
|
95
|
-
* filter_counterparty_scope_driver_id: "filter_counterparty_scope_driver_id",
|
|
96
95
|
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
97
96
|
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
98
97
|
* filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs
CHANGED
|
@@ -222,7 +222,6 @@ export class ChrtGroundProviderRates {
|
|
|
222
222
|
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
223
223
|
* filter_shipper_account_id: "filter_shipper_account_id",
|
|
224
224
|
* filter_counterparty_driver_id: "filter_counterparty_driver_id",
|
|
225
|
-
* filter_counterparty_scope_driver_id: "filter_counterparty_scope_driver_id",
|
|
226
225
|
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
227
226
|
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
228
227
|
* filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -235,7 +234,7 @@ export class ChrtGroundProviderRates {
|
|
|
235
234
|
__listV1() {
|
|
236
235
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
237
236
|
var _a, _b, _c, _d, _e, _f;
|
|
238
|
-
const { search, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_service_line: filterServiceLine, filter_invoice_types: filterInvoiceTypes, filter_currency_codes: filterCurrencyCodes, filter_counterparty_org_id: filterCounterpartyOrgId, filter_counterparty_off_chrt_org_data_id: filterCounterpartyOffChrtOrgDataId, filter_shipper_account_id: filterShipperAccountId, filter_counterparty_driver_id: filterCounterpartyDriverId,
|
|
237
|
+
const { search, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_service_line: filterServiceLine, filter_invoice_types: filterInvoiceTypes, filter_currency_codes: filterCurrencyCodes, filter_counterparty_org_id: filterCounterpartyOrgId, filter_counterparty_off_chrt_org_data_id: filterCounterpartyOffChrtOrgDataId, filter_shipper_account_id: filterShipperAccountId, filter_counterparty_driver_id: filterCounterpartyDriverId, filter_cargo_types: filterCargoTypes, filter_vehicle_types: filterVehicleTypes, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
239
238
|
const _queryParams = {};
|
|
240
239
|
if (search !== undefined) {
|
|
241
240
|
_queryParams["search"] = search;
|
|
@@ -288,9 +287,6 @@ export class ChrtGroundProviderRates {
|
|
|
288
287
|
if (filterCounterpartyDriverId !== undefined) {
|
|
289
288
|
_queryParams["filter_counterparty_driver_id"] = filterCounterpartyDriverId;
|
|
290
289
|
}
|
|
291
|
-
if (filterCounterpartyScopeDriverId !== undefined) {
|
|
292
|
-
_queryParams["filter_counterparty_scope_driver_id"] = filterCounterpartyScopeDriverId;
|
|
293
|
-
}
|
|
294
290
|
if (filterCargoTypes !== undefined) {
|
|
295
291
|
if (Array.isArray(filterCargoTypes)) {
|
|
296
292
|
_queryParams["filter_cargo_types"] = filterCargoTypes.map((item) => item);
|
|
@@ -19,7 +19,6 @@ export interface ChrtGroundProviderRatesClientCreate1 {
|
|
|
19
19
|
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
20
20
|
comments?: string | null;
|
|
21
21
|
counterparty_driver_id?: string | null;
|
|
22
|
-
counterparty_driver_ids?: string[];
|
|
23
22
|
counterparty_off_chrt_org_data_id?: string | null;
|
|
24
23
|
/** Must be a string starting with `org_` */
|
|
25
24
|
counterparty_org_id?: string | null;
|
|
@@ -14,7 +14,6 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
14
14
|
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
15
15
|
* filter_shipper_account_id: "filter_shipper_account_id",
|
|
16
16
|
* filter_counterparty_driver_id: "filter_counterparty_driver_id",
|
|
17
|
-
* filter_counterparty_scope_driver_id: "filter_counterparty_scope_driver_id",
|
|
18
17
|
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
19
18
|
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
20
19
|
* filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -44,8 +43,6 @@ export interface ChrtGroundProviderRatesListV1Request {
|
|
|
44
43
|
filter_shipper_account_id?: string | null;
|
|
45
44
|
/** Filter by a driver counterparty. */
|
|
46
45
|
filter_counterparty_driver_id?: string | null;
|
|
47
|
-
/** Filter by a driver included in rate-sheet scope. */
|
|
48
|
-
filter_counterparty_scope_driver_id?: string | null;
|
|
49
46
|
/** Filter by one or more cargo types. */
|
|
50
47
|
filter_cargo_types?: (Chrt.CargoTypeEnum1 | null) | (Chrt.CargoTypeEnum1 | null)[];
|
|
51
48
|
/** Filter by one or more vehicle types. */
|
|
@@ -236,7 +236,7 @@ export declare class InvoiceLineItems {
|
|
|
236
236
|
previewFromRateSheetsV1(request: Chrt.InvoiceLineItemsFromChrtGroundProviderRateSheetsReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.TaskGroupInvoiceLineItemsFromChrtGroundProviderRateSheetsPreview1[]>;
|
|
237
237
|
private __previewFromRateSheetsV1;
|
|
238
238
|
/**
|
|
239
|
-
* Lists owner-scoped invoice line items with
|
|
239
|
+
* Lists owner-scoped invoice line items with attached invoices expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemListRes)
|
|
240
240
|
*
|
|
241
241
|
* @param {Chrt.billingNew.InvoiceLineItemsListV1Request} request
|
|
242
242
|
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -727,7 +727,7 @@ export class InvoiceLineItems {
|
|
|
727
727
|
});
|
|
728
728
|
}
|
|
729
729
|
/**
|
|
730
|
-
* Lists owner-scoped invoice line items with
|
|
730
|
+
* Lists owner-scoped invoice line items with attached invoices expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemListRes)
|
|
731
731
|
*
|
|
732
732
|
* @param {Chrt.billingNew.InvoiceLineItemsListV1Request} request
|
|
733
733
|
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -44,7 +44,7 @@ export declare class Invoices {
|
|
|
44
44
|
approveV1(invoiceId: string, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<Chrt.Invoice1>;
|
|
45
45
|
private __approveV1;
|
|
46
46
|
/**
|
|
47
|
-
* Returns the matching
|
|
47
|
+
* Returns the matching draft invoice period, or creates one with an optional rolling-month default. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientCreate1) -> (PydanticObjectId)
|
|
48
48
|
*
|
|
49
49
|
* @param {Chrt.billingNew.InvoiceClientCreate1} request
|
|
50
50
|
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -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.
|
|
@@ -147,7 +147,7 @@ export declare class Invoices {
|
|
|
147
147
|
removeLineItemsV1(invoiceId: string, request: Chrt.billingNew.InvoiceLineItemsRemoveReq, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<Chrt.Invoice1>;
|
|
148
148
|
private __removeLineItemsV1;
|
|
149
149
|
/**
|
|
150
|
-
* Lists owner-scoped invoices with
|
|
150
|
+
* Lists owner-scoped invoices with related orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceListRes)
|
|
151
151
|
*
|
|
152
152
|
* @param {Chrt.billingNew.InvoicesListV1Request} request
|
|
153
153
|
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -187,6 +187,23 @@ export declare class Invoices {
|
|
|
187
187
|
*/
|
|
188
188
|
updateV1(invoiceId: string, request?: Chrt.billingNew.InvoiceClientUpdate1, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
189
189
|
private __updateV1;
|
|
190
|
+
/**
|
|
191
|
+
* Updates the period of a draft invoice without changing its attached line items. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoicePeriodUpdateReq) -> (bool)
|
|
192
|
+
*
|
|
193
|
+
* @param {string} invoiceId
|
|
194
|
+
* @param {Chrt.billingNew.InvoicePeriodUpdateReq} request
|
|
195
|
+
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* await client.billingNew.invoices.updatePeriodV1("invoice_id", {
|
|
201
|
+
* period_end_at_timestamp: "2024-01-15T09:30:00Z",
|
|
202
|
+
* period_start_at_timestamp: "2024-01-15T09:30:00Z"
|
|
203
|
+
* })
|
|
204
|
+
*/
|
|
205
|
+
updatePeriodV1(invoiceId: string, request: Chrt.billingNew.InvoicePeriodUpdateReq, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
206
|
+
private __updatePeriodV1;
|
|
190
207
|
/**
|
|
191
208
|
* Retrieves an invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
|
|
192
209
|
*
|
|
@@ -79,7 +79,7 @@ export class Invoices {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Returns the matching
|
|
82
|
+
* Returns the matching draft invoice period, or creates one with an optional rolling-month default. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientCreate1) -> (PydanticObjectId)
|
|
83
83
|
*
|
|
84
84
|
* @param {Chrt.billingNew.InvoiceClientCreate1} request
|
|
85
85
|
* @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.
|
|
@@ -513,7 +513,7 @@ export class Invoices {
|
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
515
|
/**
|
|
516
|
-
* Lists owner-scoped invoices with
|
|
516
|
+
* Lists owner-scoped invoices with related orders, counterparties, and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceListRes)
|
|
517
517
|
*
|
|
518
518
|
* @param {Chrt.billingNew.InvoicesListV1Request} request
|
|
519
519
|
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -713,6 +713,72 @@ export class Invoices {
|
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* Updates the period of a draft invoice without changing its attached line items. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoicePeriodUpdateReq) -> (bool)
|
|
718
|
+
*
|
|
719
|
+
* @param {string} invoiceId
|
|
720
|
+
* @param {Chrt.billingNew.InvoicePeriodUpdateReq} request
|
|
721
|
+
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
722
|
+
*
|
|
723
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
724
|
+
*
|
|
725
|
+
* @example
|
|
726
|
+
* await client.billingNew.invoices.updatePeriodV1("invoice_id", {
|
|
727
|
+
* period_end_at_timestamp: "2024-01-15T09:30:00Z",
|
|
728
|
+
* period_start_at_timestamp: "2024-01-15T09:30:00Z"
|
|
729
|
+
* })
|
|
730
|
+
*/
|
|
731
|
+
updatePeriodV1(invoiceId, request, requestOptions) {
|
|
732
|
+
return core.HttpResponsePromise.fromPromise(this.__updatePeriodV1(invoiceId, request, requestOptions));
|
|
733
|
+
}
|
|
734
|
+
__updatePeriodV1(invoiceId, request, requestOptions) {
|
|
735
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
736
|
+
var _a, _b, _c, _d;
|
|
737
|
+
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);
|
|
738
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
739
|
+
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_new/invoices/update_period/v1/${encodeURIComponent(invoiceId)}`),
|
|
740
|
+
method: "PATCH",
|
|
741
|
+
headers: _headers,
|
|
742
|
+
contentType: "application/json",
|
|
743
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
744
|
+
requestType: "json",
|
|
745
|
+
body: request,
|
|
746
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
747
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
748
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
749
|
+
});
|
|
750
|
+
if (_response.ok) {
|
|
751
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
752
|
+
}
|
|
753
|
+
if (_response.error.reason === "status-code") {
|
|
754
|
+
switch (_response.error.statusCode) {
|
|
755
|
+
case 422:
|
|
756
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
757
|
+
default:
|
|
758
|
+
throw new errors.ChrtError({
|
|
759
|
+
statusCode: _response.error.statusCode,
|
|
760
|
+
body: _response.error.body,
|
|
761
|
+
rawResponse: _response.rawResponse,
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
switch (_response.error.reason) {
|
|
766
|
+
case "non-json":
|
|
767
|
+
throw new errors.ChrtError({
|
|
768
|
+
statusCode: _response.error.statusCode,
|
|
769
|
+
body: _response.error.rawBody,
|
|
770
|
+
rawResponse: _response.rawResponse,
|
|
771
|
+
});
|
|
772
|
+
case "timeout":
|
|
773
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing_new/invoices/update_period/v1/{invoice_id}.");
|
|
774
|
+
case "unknown":
|
|
775
|
+
throw new errors.ChrtError({
|
|
776
|
+
message: _response.error.errorMessage,
|
|
777
|
+
rawResponse: _response.rawResponse,
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
});
|
|
781
|
+
}
|
|
716
782
|
/**
|
|
717
783
|
* Retrieves an invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Invoice1)
|
|
718
784
|
*
|
|
@@ -21,5 +21,7 @@ export interface InvoiceClientCreate1 {
|
|
|
21
21
|
export_ref__sage__department_id?: string | null;
|
|
22
22
|
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
23
23
|
name?: string | null;
|
|
24
|
+
period_end_at_timestamp?: string | null;
|
|
25
|
+
period_start_at_timestamp?: string | null;
|
|
24
26
|
schema_version: number;
|
|
25
27
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* period_end_at_timestamp: "2024-01-15T09:30:00Z",
|
|
8
|
+
* period_start_at_timestamp: "2024-01-15T09:30:00Z"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface InvoicePeriodUpdateReq {
|
|
12
|
+
period_end_at_timestamp: string;
|
|
13
|
+
period_start_at_timestamp: string;
|
|
14
|
+
}
|
|
@@ -3,4 +3,5 @@ export { type InvoiceLineItemsAddReq } from "./InvoiceLineItemsAddReq.mjs";
|
|
|
3
3
|
export { type InvoiceLineItemsRemoveReq } from "./InvoiceLineItemsRemoveReq.mjs";
|
|
4
4
|
export { type InvoicesListV1Request } from "./InvoicesListV1Request.mjs";
|
|
5
5
|
export { type InvoiceClientUpdate1 } from "./InvoiceClientUpdate1.mjs";
|
|
6
|
+
export { type InvoicePeriodUpdateReq } from "./InvoicePeriodUpdateReq.mjs";
|
|
6
7
|
export { type InvoiceVoidReq } from "./InvoiceVoidReq.mjs";
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as environments from "../../../../../../environments.mjs";
|
|
5
5
|
import * as core from "../../../../../../core/index.mjs";
|
|
6
6
|
import * as Chrt from "../../../../../index.mjs";
|
|
7
|
+
import { RateSheetLineItems } from "../resources/rateSheetLineItems/client/Client.mjs";
|
|
7
8
|
export declare namespace Orders {
|
|
8
9
|
interface Options {
|
|
9
10
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -29,7 +30,9 @@ export declare namespace Orders {
|
|
|
29
30
|
}
|
|
30
31
|
export declare class Orders {
|
|
31
32
|
protected readonly _options: Orders.Options;
|
|
33
|
+
protected _rateSheetLineItems: RateSheetLineItems | undefined;
|
|
32
34
|
constructor(_options?: Orders.Options);
|
|
35
|
+
get rateSheetLineItems(): RateSheetLineItems;
|
|
33
36
|
/**
|
|
34
37
|
* Lists completed, unbilled AWBs with delivery account allocations. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrderAwbBillingListRes)
|
|
35
38
|
*
|
|
@@ -26,10 +26,15 @@ import * as core from "../../../../../../core/index.mjs";
|
|
|
26
26
|
import * as Chrt from "../../../../../index.mjs";
|
|
27
27
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
|
|
28
28
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
29
|
+
import { RateSheetLineItems } from "../resources/rateSheetLineItems/client/Client.mjs";
|
|
29
30
|
export class Orders {
|
|
30
31
|
constructor(_options = {}) {
|
|
31
32
|
this._options = _options;
|
|
32
33
|
}
|
|
34
|
+
get rateSheetLineItems() {
|
|
35
|
+
var _a;
|
|
36
|
+
return ((_a = this._rateSheetLineItems) !== null && _a !== void 0 ? _a : (this._rateSheetLineItems = new RateSheetLineItems(this._options)));
|
|
37
|
+
}
|
|
33
38
|
/**
|
|
34
39
|
* Lists completed, unbilled AWBs with delivery account allocations. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrderAwbBillingListRes)
|
|
35
40
|
*
|
|
@@ -0,0 +1,49 @@
|
|
|
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 RateSheetLineItems {
|
|
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 RateSheetLineItems {
|
|
31
|
+
protected readonly _options: RateSheetLineItems.Options;
|
|
32
|
+
constructor(_options?: RateSheetLineItems.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Resolves all matching CHRT-ground provider rate sheets for each unique Order and independently replaces that Order's rate-sheet-derived line items on draft invoices. Orders without matching rate sheets are skipped, expected per-Order failures are returned without stopping later Orders, and invoice approval or finalization is not performed. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators] | (OrderRateSheetLineItemsGenerateManyReq) -> (OrderRateSheetLineItemsGenerateManyRes)
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.billingNew.orders.OrderRateSheetLineItemsGenerateManyReq} request
|
|
37
|
+
* @param {RateSheetLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.billingNew.orders.rateSheetLineItems.generateManyV1({
|
|
43
|
+
* order_ids: ["order_ids"]
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
generateManyV1(request: Chrt.billingNew.orders.OrderRateSheetLineItemsGenerateManyReq, requestOptions?: RateSheetLineItems.RequestOptions): core.HttpResponsePromise<Chrt.OrderRateSheetLineItemsGenerateManyRes>;
|
|
47
|
+
private __generateManyV1;
|
|
48
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
49
|
+
}
|
|
@@ -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 RateSheetLineItems {
|
|
19
|
+
constructor(_options = {}) {
|
|
20
|
+
this._options = _options;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Resolves all matching CHRT-ground provider rate sheets for each unique Order and independently replaces that Order's rate-sheet-derived line items on draft invoices. Orders without matching rate sheets are skipped, expected per-Order failures are returned without stopping later Orders, and invoice approval or finalization is not performed. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators] | (OrderRateSheetLineItemsGenerateManyReq) -> (OrderRateSheetLineItemsGenerateManyRes)
|
|
24
|
+
*
|
|
25
|
+
* @param {Chrt.billingNew.orders.OrderRateSheetLineItemsGenerateManyReq} request
|
|
26
|
+
* @param {RateSheetLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.billingNew.orders.rateSheetLineItems.generateManyV1({
|
|
32
|
+
* order_ids: ["order_ids"]
|
|
33
|
+
* })
|
|
34
|
+
*/
|
|
35
|
+
generateManyV1(request, requestOptions) {
|
|
36
|
+
return core.HttpResponsePromise.fromPromise(this.__generateManyV1(request, requestOptions));
|
|
37
|
+
}
|
|
38
|
+
__generateManyV1(request, requestOptions) {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
var _a, _b, _c, _d;
|
|
41
|
+
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);
|
|
42
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
43
|
+
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_new/orders/rate_sheet_line_items/generate_many/v1"),
|
|
44
|
+
method: "POST",
|
|
45
|
+
headers: _headers,
|
|
46
|
+
contentType: "application/json",
|
|
47
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
48
|
+
requestType: "json",
|
|
49
|
+
body: request,
|
|
50
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
51
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
52
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
53
|
+
});
|
|
54
|
+
if (_response.ok) {
|
|
55
|
+
return {
|
|
56
|
+
data: _response.body,
|
|
57
|
+
rawResponse: _response.rawResponse,
|
|
58
|
+
};
|
|
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 /billing_new/orders/rate_sheet_line_items/generate_many/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 @@
|
|
|
1
|
+
export { type OrderRateSheetLineItemsGenerateManyReq } from "./OrderRateSheetLineItemsGenerateManyReq.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -2,6 +2,7 @@ export * as orgs from "./orgs/index.mjs";
|
|
|
2
2
|
export * as shipping from "./shipping/index.mjs";
|
|
3
3
|
export * as flights from "./flights/index.mjs";
|
|
4
4
|
export * as utils from "./utils/index.mjs";
|
|
5
|
+
export * as agent from "./agent/index.mjs";
|
|
5
6
|
export * as analytics from "./analytics/index.mjs";
|
|
6
7
|
export * as billing from "./billing/index.mjs";
|
|
7
8
|
export * as billingNew from "./billingNew/index.mjs";
|
|
@@ -2,6 +2,7 @@ export * as orgs from "./orgs/index.mjs";
|
|
|
2
2
|
export * as shipping from "./shipping/index.mjs";
|
|
3
3
|
export * as flights from "./flights/index.mjs";
|
|
4
4
|
export * as utils from "./utils/index.mjs";
|
|
5
|
+
export * as agent from "./agent/index.mjs";
|
|
5
6
|
export * as analytics from "./analytics/index.mjs";
|
|
6
7
|
export * as billing from "./billing/index.mjs";
|
|
7
8
|
export * as billingNew from "./billingNew/index.mjs";
|
|
@@ -77,7 +77,7 @@ export declare class OperationsTasks {
|
|
|
77
77
|
deleteCommentV1(taskId: string, commentId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
78
78
|
private __deleteCommentV1;
|
|
79
79
|
/**
|
|
80
|
-
* Lists OperationsTasks with department and assigned-user details. | authz: min_org_role=operator | () -> (OperationsTaskExpandedListRes)
|
|
80
|
+
* Lists OperationsTasks with task-list, department, and assigned-user details. | authz: min_org_role=operator | () -> (OperationsTaskExpandedListRes)
|
|
81
81
|
*
|
|
82
82
|
* @param {Chrt.operations.OperationsTasksExpandedListV1Request} request
|
|
83
83
|
* @param {OperationsTasks.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
|
* })
|
|
@@ -145,21 +147,21 @@ export declare class OperationsTasks {
|
|
|
145
147
|
setDeadlineTimestampsV1(request: Chrt.operations.OperationsTasksSetDeadlineTimestampsReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksDeadlineTimestampsUpdateRes1>;
|
|
146
148
|
private __setDeadlineTimestampsV1;
|
|
147
149
|
/**
|
|
148
|
-
* Sets
|
|
150
|
+
* Sets the same status on each selected OperationsTask. Completing tasks stamps completed_at/by while other statuses clear them; missing or cross-org ids are skipped. | authz: min_org_role=operator | (OperationsTasksSetStatusReq1) -> (OperationsTasksStatusUpdateRes1)
|
|
149
151
|
*
|
|
150
|
-
* @param {
|
|
151
|
-
* @param {Chrt.operations.OperationsTaskStatusReq} request
|
|
152
|
+
* @param {Chrt.operations.OperationsTasksSetStatusReq1} request
|
|
152
153
|
* @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
|
|
153
154
|
*
|
|
154
155
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
155
156
|
*
|
|
156
157
|
* @example
|
|
157
|
-
* await client.operations.operationsTasks.
|
|
158
|
+
* await client.operations.operationsTasks.setStatusV1({
|
|
159
|
+
* operations_task_ids: ["operations_task_ids"],
|
|
158
160
|
* status: "not_started"
|
|
159
161
|
* })
|
|
160
162
|
*/
|
|
161
|
-
|
|
162
|
-
private
|
|
163
|
+
setStatusV1(request: Chrt.operations.OperationsTasksSetStatusReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksStatusUpdateRes1>;
|
|
164
|
+
private __setStatusV1;
|
|
163
165
|
/**
|
|
164
166
|
* Creates a new OperationsTask on an Order where the caller is coordinator or executor. Seeds department_id from the caller's Order department fields. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
|
|
165
167
|
*
|