@chrt-inc/typescript-sdk 1.925.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.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/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/resources/task/client/requests/TaskClientUpdate1.d.ts +1 -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/SessionGeofenceTemplateClientUpdate1.js +5 -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/SessionGeofenceApplyTemplateReq.js +5 -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/types/BillingInvoiceApprovedWebhookPayload.d.ts +10 -0
- package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.js +5 -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/GeofencePointLocationFeature1.js +5 -0
- package/dist/cjs/api/types/GeofenceTemplateListRes.d.ts +8 -0
- 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/InvoiceExpandedRes.d.ts +1 -1
- package/dist/cjs/api/types/InvoiceLineItemExpandedRes.d.ts +12 -0
- package/dist/cjs/api/types/InvoiceLineItemExpandedRes.js +5 -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/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/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 +14 -2
- package/dist/cjs/api/types/index.js +14 -2
- 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/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/resources/task/client/requests/TaskClientUpdate1.d.mts +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/SessionGeofenceTemplateClientUpdate1.mjs +4 -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/SessionGeofenceApplyTemplateReq.mjs +4 -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/types/BillingInvoiceApprovedWebhookPayload.d.mts +10 -0
- package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.mjs +4 -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/GeofencePointLocationFeature1.mjs +4 -0
- package/dist/esm/api/types/GeofenceTemplateListRes.d.mts +8 -0
- 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/InvoiceExpandedRes.d.mts +1 -1
- package/dist/esm/api/types/InvoiceLineItemExpandedRes.d.mts +12 -0
- package/dist/esm/api/types/InvoiceLineItemExpandedRes.mjs +4 -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/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/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 +14 -2
- package/dist/esm/api/types/index.mjs +14 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +982 -100
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +0 -10
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +0 -10
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.js → shipping/resources/tasks/client/requests/TaskCompleteReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.js → shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.js} +0 -0
- /package/dist/cjs/api/{types/Session1.js → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.js} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.mjs → shipping/resources/tasks/client/requests/TaskCompleteReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.mjs → shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.mjs} +0 -0
- /package/dist/esm/api/{types/Session1.mjs → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -31,9 +31,9 @@ export declare class Sessions {
|
|
|
31
31
|
protected readonly _options: Sessions.Options;
|
|
32
32
|
constructor(_options?: Sessions.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Creates a
|
|
34
|
+
* Creates a tracking session with ordered geofences or an organization template and links its device. | auth: api_key | authz: min_org_role=operator | (SessionsCreateV1Req) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
|
-
* @param {Chrt.tracking.
|
|
36
|
+
* @param {Chrt.tracking.SessionsCreateV1Req} request
|
|
37
37
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -45,7 +45,7 @@ export declare class Sessions {
|
|
|
45
45
|
* schema_version: 1
|
|
46
46
|
* })
|
|
47
47
|
*/
|
|
48
|
-
createSessionV1(request: Chrt.tracking.
|
|
48
|
+
createSessionV1(request: Chrt.tracking.SessionsCreateV1Req, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<string>;
|
|
49
49
|
private __createSessionV1;
|
|
50
50
|
/**
|
|
51
51
|
* Returns the session's flight legs in order, with Cirium-sourced status lazily resolved and refreshed on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (list[FlightLeg1])
|
|
@@ -79,7 +79,7 @@ export declare class Sessions {
|
|
|
79
79
|
flightTrackV1(request: Chrt.tracking.SessionsFlightTrackV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
|
|
80
80
|
private __flightTrackV1;
|
|
81
81
|
/**
|
|
82
|
-
* Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (
|
|
82
|
+
* Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (Session2)
|
|
83
83
|
*
|
|
84
84
|
* @param {Chrt.tracking.SessionsGetV1Request} request
|
|
85
85
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -91,7 +91,7 @@ export declare class Sessions {
|
|
|
91
91
|
* session_id: "session_id"
|
|
92
92
|
* })
|
|
93
93
|
*/
|
|
94
|
-
getV1(request: Chrt.tracking.SessionsGetV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.
|
|
94
|
+
getV1(request: Chrt.tracking.SessionsGetV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.Session2>;
|
|
95
95
|
private __getV1;
|
|
96
96
|
/**
|
|
97
97
|
* Lists sessions with filtering, sorting, and pagination. Use org_scope to restrict to owned, shared, or both (default). | auth: api_key | authz: min_org_role=operator | () -> (SessionListRes)
|
|
@@ -185,9 +185,9 @@ export declare class Sessions {
|
|
|
185
185
|
typeaheadV1(request: Chrt.tracking.SessionsTypeaheadV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.TrackingTypeaheadResult[]>;
|
|
186
186
|
private __typeaheadV1;
|
|
187
187
|
/**
|
|
188
|
-
* Updates
|
|
188
|
+
* Updates mutable non-geofence session fields. Use dedicated geofence routes for geofence changes. | auth: api_key | authz: min_org_role=operator | (SessionClientUpdate2) -> (bool)
|
|
189
189
|
*
|
|
190
|
-
* @param {Chrt.tracking.
|
|
190
|
+
* @param {Chrt.tracking.SessionClientUpdate2} request
|
|
191
191
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
192
192
|
*
|
|
193
193
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -197,7 +197,7 @@ export declare class Sessions {
|
|
|
197
197
|
* session_id: "session_id"
|
|
198
198
|
* })
|
|
199
199
|
*/
|
|
200
|
-
updateV1(request: Chrt.tracking.
|
|
200
|
+
updateV1(request: Chrt.tracking.SessionClientUpdate2, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
201
201
|
private __updateV1;
|
|
202
202
|
/**
|
|
203
203
|
* Adds and/or removes org_ids from a session's shared_with_org_ids list. Only the owning org may modify sharing. Removal overrides addition. | auth: api_key | (SessionsUpdateSharedOrgsReq1) -> (bool)
|
|
@@ -31,9 +31,9 @@ export class Sessions {
|
|
|
31
31
|
this._options = _options;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* Creates a
|
|
34
|
+
* Creates a tracking session with ordered geofences or an organization template and links its device. | auth: api_key | authz: min_org_role=operator | (SessionsCreateV1Req) -> (PydanticObjectId)
|
|
35
35
|
*
|
|
36
|
-
* @param {Chrt.tracking.
|
|
36
|
+
* @param {Chrt.tracking.SessionsCreateV1Req} request
|
|
37
37
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -233,7 +233,7 @@ export class Sessions {
|
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (
|
|
236
|
+
* Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (Session2)
|
|
237
237
|
*
|
|
238
238
|
* @param {Chrt.tracking.SessionsGetV1Request} request
|
|
239
239
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -652,9 +652,9 @@ export class Sessions {
|
|
|
652
652
|
});
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
|
-
* Updates
|
|
655
|
+
* Updates mutable non-geofence session fields. Use dedicated geofence routes for geofence changes. | auth: api_key | authz: min_org_role=operator | (SessionClientUpdate2) -> (bool)
|
|
656
656
|
*
|
|
657
|
-
* @param {Chrt.tracking.
|
|
657
|
+
* @param {Chrt.tracking.SessionClientUpdate2} request
|
|
658
658
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
659
659
|
*
|
|
660
660
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Chrt from "../../../../../../index.mjs";
|
|
5
4
|
/**
|
|
6
5
|
* @example
|
|
7
6
|
* {
|
|
8
7
|
* session_id: "session_id"
|
|
9
8
|
* }
|
|
10
9
|
*/
|
|
11
|
-
export interface
|
|
10
|
+
export interface SessionClientUpdate2 {
|
|
12
11
|
session_id: string;
|
|
13
12
|
comments?: string | null;
|
|
14
13
|
comments__set_to_None?: boolean;
|
|
15
|
-
destination_geofence_location?: Chrt.LocationFeature | null;
|
|
16
|
-
destination_geofence_location__set_to_None?: boolean;
|
|
17
|
-
destination_geofence_radius_miles?: number | null;
|
|
18
14
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
19
15
|
off_chrt_reference_id?: string | null;
|
|
20
16
|
off_chrt_reference_id__set_to_None?: boolean;
|
|
@@ -10,12 +10,12 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
10
10
|
* schema_version: 1
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface SessionsCreateV1Req {
|
|
14
14
|
device_id: string;
|
|
15
15
|
no_auto_termination?: boolean | null;
|
|
16
16
|
comments?: string | null;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
geofence_template_id?: string | null;
|
|
18
|
+
geofences?: Chrt.SessionGeofenceClientCreate1[];
|
|
19
19
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
20
20
|
off_chrt_reference_id?: string | null;
|
|
21
21
|
off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { type SessionsCreateV1Req } from "./SessionsCreateV1Req.mjs";
|
|
2
2
|
export { type SessionsFlightLegsV1Request } from "./SessionsFlightLegsV1Request.mjs";
|
|
3
3
|
export { type SessionsFlightTrackV1Request } from "./SessionsFlightTrackV1Request.mjs";
|
|
4
4
|
export { type SessionsGetV1Request } from "./SessionsGetV1Request.mjs";
|
|
@@ -6,5 +6,5 @@ export { type SessionsListV1Request } from "./SessionsListV1Request.mjs";
|
|
|
6
6
|
export { type SessionSetFlightInfoReq1 } from "./SessionSetFlightInfoReq1.mjs";
|
|
7
7
|
export { type SessionsTerminateV1Request } from "./SessionsTerminateV1Request.mjs";
|
|
8
8
|
export { type SessionsTypeaheadV1Request } from "./SessionsTypeaheadV1Request.mjs";
|
|
9
|
-
export { type
|
|
9
|
+
export { type SessionClientUpdate2 } from "./SessionClientUpdate2.mjs";
|
|
10
10
|
export { type SessionsUpdateSharedOrgsReq1 } from "./SessionsUpdateSharedOrgsReq1.mjs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface BillingInvoiceApprovedWebhookPayload {
|
|
5
|
+
/** UTC timestamp when the event occurred */
|
|
6
|
+
event_timestamp: string;
|
|
7
|
+
event_type?: "billing.invoice.approved";
|
|
8
|
+
/** The invoice that was approved */
|
|
9
|
+
invoice_id: string;
|
|
10
|
+
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface DeviceExpandedRes {
|
|
6
6
|
active_cargo?: Chrt.Cargo1 | null;
|
|
7
|
-
active_session?: Chrt.
|
|
7
|
+
active_session?: Chrt.Session2 | null;
|
|
8
8
|
device: Chrt.DeviceLimitedForList1;
|
|
9
9
|
past_cargos?: Chrt.Cargo1[];
|
|
10
|
-
past_sessions?: Chrt.
|
|
10
|
+
past_sessions?: Chrt.Session2[];
|
|
11
11
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface GeofencePointLocationFeature1 {
|
|
6
|
+
bbox?: unknown[] | null;
|
|
7
|
+
geometry: Chrt.Point;
|
|
8
|
+
id?: GeofencePointLocationFeature1.Id | null;
|
|
9
|
+
properties?: Chrt.LocationProperties | null;
|
|
10
|
+
type: "Feature";
|
|
11
|
+
}
|
|
12
|
+
export declare namespace GeofencePointLocationFeature1 {
|
|
13
|
+
type Id = number | string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type GeofenceTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "last_used_at_timestamp" | "name";
|
|
5
|
+
export declare const GeofenceTemplateSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
|
|
8
|
+
readonly LastUsedAtTimestamp: "last_used_at_timestamp";
|
|
9
|
+
readonly Name: "name";
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const GeofenceTemplateSortByEnum = {
|
|
5
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
6
|
+
LastEditedAtTimestamp: "last_edited_at_timestamp",
|
|
7
|
+
LastUsedAtTimestamp: "last_used_at_timestamp",
|
|
8
|
+
Name: "name",
|
|
9
|
+
};
|
|
@@ -8,5 +8,5 @@ export interface InvoiceExpandedRes {
|
|
|
8
8
|
counterparty_off_chrt_org_data?: Chrt.OffChrtOrgData1 | null;
|
|
9
9
|
counterparty_org?: Chrt.OrgPublicData1 | null;
|
|
10
10
|
invoice: Chrt.Invoice1;
|
|
11
|
-
invoice_line_items?: Chrt.
|
|
11
|
+
invoice_line_items?: Chrt.InvoiceLineItemExpandedRes[];
|
|
12
12
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface InvoiceLineItemExpandedRes {
|
|
6
|
+
counterparty_driver?: Chrt.Driver1 | null;
|
|
7
|
+
counterparty_off_chrt_org_data?: Chrt.OffChrtOrgData1 | null;
|
|
8
|
+
counterparty_org?: Chrt.OrgPublicData1 | null;
|
|
9
|
+
invoice_line_item: Chrt.InvoiceLineItem1;
|
|
10
|
+
order?: Chrt.OrderLimitedForProvider1 | null;
|
|
11
|
+
shipper_account?: Chrt.Account1 | null;
|
|
12
|
+
}
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Set per order or per tracking session for any contact.
|
|
8
8
|
* Limited scope since it can go outside the org, e.g. share order completion but probably not billing events
|
|
9
9
|
*/
|
|
10
|
-
export type NotificationEventsForAdHocEnum = "shipping.order.staged" | "shipping.order.completed" | "tracking.session.
|
|
10
|
+
export type NotificationEventsForAdHocEnum = "shipping.order.staged" | "shipping.order.completed" | "tracking.session.geofence_entered";
|
|
11
11
|
export declare const NotificationEventsForAdHocEnum: {
|
|
12
12
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
13
13
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
14
|
-
readonly
|
|
14
|
+
readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
|
|
15
15
|
};
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
export const NotificationEventsForAdHocEnum = {
|
|
5
5
|
ShippingOrderStaged: "shipping.order.staged",
|
|
6
6
|
ShippingOrderCompleted: "shipping.order.completed",
|
|
7
|
-
|
|
7
|
+
TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
|
|
8
8
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Controlled by Groups that admins configure.
|
|
7
7
|
* Individual users in the group can opt out.
|
|
8
8
|
*/
|
|
9
|
-
export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "tracking.session.
|
|
9
|
+
export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
|
|
10
10
|
export declare const NotificationEventsForOrgsEnum: {
|
|
11
11
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
12
12
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
@@ -32,5 +32,6 @@ export declare const NotificationEventsForOrgsEnum: {
|
|
|
32
32
|
readonly OperationsOrderDepartmentAssigned: "operations.order.department_assigned";
|
|
33
33
|
readonly OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message";
|
|
34
34
|
readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
|
|
35
|
-
readonly
|
|
35
|
+
readonly BillingInvoiceApproved: "billing.invoice.approved";
|
|
36
|
+
readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
|
|
36
37
|
};
|
|
@@ -26,5 +26,6 @@ export const NotificationEventsForOrgsEnum = {
|
|
|
26
26
|
OperationsOrderDepartmentAssigned: "operations.order.department_assigned",
|
|
27
27
|
OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message",
|
|
28
28
|
OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
|
|
29
|
-
|
|
29
|
+
BillingInvoiceApproved: "billing.invoice.approved",
|
|
30
|
+
TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
|
|
30
31
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - Order events: via `order.created_by_user_id`
|
|
9
9
|
* - TaskGroup events: via `task_group.driver_id`
|
|
10
10
|
*/
|
|
11
|
-
export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "tracking.session.
|
|
11
|
+
export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
|
|
12
12
|
export declare const NotificationEventsForUsersEnum: {
|
|
13
13
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
14
14
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
@@ -24,5 +24,6 @@ export declare const NotificationEventsForUsersEnum: {
|
|
|
24
24
|
readonly OperationsOrderDepartmentAssigned: "operations.order.department_assigned";
|
|
25
25
|
readonly OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message";
|
|
26
26
|
readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
|
|
27
|
-
readonly
|
|
27
|
+
readonly BillingInvoiceApproved: "billing.invoice.approved";
|
|
28
|
+
readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
|
|
28
29
|
};
|
|
@@ -16,5 +16,6 @@ export const NotificationEventsForUsersEnum = {
|
|
|
16
16
|
OperationsOrderDepartmentAssigned: "operations.order.department_assigned",
|
|
17
17
|
OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message",
|
|
18
18
|
OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
|
|
19
|
-
|
|
19
|
+
BillingInvoiceApproved: "billing.invoice.approved",
|
|
20
|
+
TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
|
|
20
21
|
};
|
|
@@ -7,6 +7,7 @@ export interface OrderAndTaskGroupExpandedReq {
|
|
|
7
7
|
expand_contacts?: boolean;
|
|
8
8
|
expand_coordinator_org_company_name?: boolean;
|
|
9
9
|
expand_coordinator_org_handle?: boolean;
|
|
10
|
+
expand_coordinator_task_lists_to_apply_at_order_staging?: boolean;
|
|
10
11
|
expand_driver?: boolean;
|
|
11
12
|
expand_executor_org_company_name?: boolean;
|
|
12
13
|
expand_executor_org_handle?: boolean;
|
|
@@ -7,6 +7,7 @@ export interface OrderExpandedForProvider {
|
|
|
7
7
|
/** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
|
|
8
8
|
coordinator_org_handle?: string | null;
|
|
9
9
|
coordinator_shipper_accounts?: Chrt.Account1[] | null;
|
|
10
|
+
coordinator_task_lists_to_apply_at_order_staging_expanded?: Chrt.TaskListToApplyToOrderExpanded[] | null;
|
|
10
11
|
notification_intents_ad_hoc?: Chrt.NotificationIntentAdHoc1[] | null;
|
|
11
12
|
off_chrt_shipper_org_company_name?: string | null;
|
|
12
13
|
order: Chrt.OrderLimitedForProvider1;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface OrderTemplateNewExpanded1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
archived_at_timestamp?: string | null;
|
|
8
|
+
cargos?: Chrt.OrderTemplateNewCargo1[];
|
|
9
|
+
coordinator_assigned_user_ids?: string[];
|
|
10
|
+
coordinator_department_id?: string | null;
|
|
11
|
+
coordinator_label?: string | null;
|
|
12
|
+
coordinator_org?: Chrt.OrgPublicData1 | null;
|
|
13
|
+
/** Must be a string starting with `org_` */
|
|
14
|
+
coordinator_org_id?: string | null;
|
|
15
|
+
created_at_timestamp: string;
|
|
16
|
+
description?: string | null;
|
|
17
|
+
last_edited_at_timestamp: string;
|
|
18
|
+
last_used_at_timestamp?: string | null;
|
|
19
|
+
name: string;
|
|
20
|
+
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
21
|
+
off_chrt_reference_id?: string | null;
|
|
22
|
+
off_chrt_shipper_org?: Chrt.OffChrtOrgData1 | null;
|
|
23
|
+
off_chrt_shipper_org_data_id?: string | null;
|
|
24
|
+
/** Must be a string starting with `org_` */
|
|
25
|
+
owned_by_org_id: string;
|
|
26
|
+
/** Must be a string starting with `user_` */
|
|
27
|
+
owned_by_user_id: string;
|
|
28
|
+
schema_version: number;
|
|
29
|
+
service_line?: Chrt.ServiceLineEnum;
|
|
30
|
+
shipper_org?: Chrt.OrgPublicData1 | null;
|
|
31
|
+
/** Must be a string starting with `org_` */
|
|
32
|
+
shipper_org_id?: string | null;
|
|
33
|
+
task_groups?: Chrt.OrderTemplateNewTaskGroup1[];
|
|
34
|
+
task_groups_expanded?: Chrt.OrderTemplateNewTaskGroupExpanded1[];
|
|
35
|
+
task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
|
|
36
|
+
task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
|
|
37
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface OrderTemplateNewTaskGroupExpanded1 {
|
|
6
|
+
coordinator_shipper_accounts_by_task_key?: Record<string, Chrt.Account1[]>;
|
|
7
|
+
executor_org?: Chrt.OrgPublicData1 | null;
|
|
8
|
+
off_chrt_executor_org?: Chrt.OffChrtOrgData1 | null;
|
|
9
|
+
task_group: Chrt.OrderTemplateNewTaskGroup1;
|
|
10
|
+
}
|
|
@@ -2,19 +2,17 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface
|
|
5
|
+
export interface Session2 {
|
|
6
6
|
_id: string;
|
|
7
7
|
comments?: string | null;
|
|
8
8
|
created_at_timestamp: string;
|
|
9
|
-
destination_geofence_entered?: boolean;
|
|
10
|
-
destination_geofence_location?: Chrt.LocationFeature | null;
|
|
11
|
-
destination_geofence_radius_miles?: number;
|
|
12
9
|
device_id: string;
|
|
13
10
|
device_mac_address: string;
|
|
14
11
|
flight_leg_ids?: string[];
|
|
15
12
|
flight_loaded_status_by_flight_leg_id?: Record<string, (string | null) | undefined>;
|
|
16
13
|
flight_loaded_statuses?: string[];
|
|
17
14
|
flight_numbers?: string[];
|
|
15
|
+
geofences?: Chrt.SessionGeofence1[];
|
|
18
16
|
last_seen_at_location?: Chrt.LocationFeature | null;
|
|
19
17
|
last_seen_at_location_city?: string | null;
|
|
20
18
|
last_seen_at_location_large_city?: string | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface SessionGeofence1 {
|
|
6
|
+
display_name: string;
|
|
7
|
+
entered?: boolean;
|
|
8
|
+
entered_at_timestamp?: string | null;
|
|
9
|
+
geofence_id: string;
|
|
10
|
+
location: Chrt.GeofencePointLocationFeature1;
|
|
11
|
+
radius_miles: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface SessionGeofenceClientCreate1 {
|
|
6
|
+
display_name: string;
|
|
7
|
+
location: Chrt.GeofencePointLocationFeature1;
|
|
8
|
+
radius_miles: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
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
|
+
}
|