@chrt-inc/typescript-sdk 1.788.0 → 1.807.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -10
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +31 -26
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +20 -3
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +68 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/{LineItemGroupSharedTaskGroupMileageCreateClientReq.d.ts → SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts} +1 -1
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +24 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/flights/client/Client.d.ts +52 -0
- package/dist/cjs/api/resources/flights/client/Client.js +135 -0
- package/dist/cjs/api/resources/flights/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/flights/client/index.js +17 -0
- package/dist/cjs/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.ts +45 -0
- package/dist/cjs/api/resources/flights/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/flights/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/flights/index.d.ts +1 -0
- package/dist/cjs/api/resources/flights/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +19 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +71 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.ts +16 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +11 -3
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +2 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +0 -22
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +0 -71
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +29 -24
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +54 -51
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +0 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.ts +24 -0
- package/dist/{esm/api/resources/tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.d.mts → cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.d.ts} +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +0 -3
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/types/AlertCallback.d.ts +7 -0
- package/dist/cjs/api/types/AlertCallback.js +5 -0
- package/dist/cjs/api/types/AlertEvent.d.ts +6 -0
- package/dist/cjs/api/types/AlertEvent.js +5 -0
- package/dist/cjs/api/types/AlertMessage.d.ts +10 -0
- package/dist/cjs/api/types/AlertMessage.js +5 -0
- package/dist/cjs/api/types/AlertNameValue.d.ts +7 -0
- package/dist/cjs/api/types/AlertNameValue.js +5 -0
- package/dist/cjs/api/types/AlertNameValues.d.ts +7 -0
- package/dist/cjs/api/types/AlertNameValues.js +5 -0
- package/dist/cjs/api/types/AlertRuleEnvelope.d.ts +7 -0
- package/dist/cjs/api/types/AlertRuleEnvelope.js +5 -0
- package/dist/cjs/api/types/CiriumAirportResources.d.ts +9 -0
- package/dist/cjs/api/types/CiriumAirportResources.js +5 -0
- package/dist/cjs/api/types/CiriumDate.d.ts +6 -0
- package/dist/cjs/api/types/CiriumDate.js +5 -0
- package/dist/cjs/api/types/{FlightAwareWebhookResponse.d.ts → CiriumFlightAlertsWebhookResponse.d.ts} +1 -1
- package/dist/cjs/api/types/CiriumFlightAlertsWebhookResponse.js +5 -0
- package/dist/cjs/api/types/CiriumFlightStatus.d.ts +15 -0
- package/dist/cjs/api/types/CiriumFlightStatus.js +5 -0
- package/dist/cjs/api/types/CiriumOperationalTimes.d.ts +17 -0
- package/dist/cjs/api/types/CiriumOperationalTimes.js +5 -0
- package/dist/cjs/api/types/ConnectionSearchByEnum.d.ts +8 -0
- package/dist/cjs/api/types/ConnectionSearchByEnum.js +10 -0
- package/dist/cjs/api/types/ConnectionSearchPreferenceEnum.d.ts +8 -0
- package/dist/cjs/api/types/ConnectionSearchPreferenceEnum.js +10 -0
- package/dist/cjs/api/types/Driver1.d.ts +0 -1
- package/dist/cjs/api/types/DriverListRes.d.ts +1 -1
- package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +35 -0
- package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.js +5 -0
- package/dist/cjs/api/types/FlightConnection.d.ts +10 -0
- package/dist/cjs/api/types/FlightConnection.js +5 -0
- package/dist/cjs/api/types/FlightConnectionLeg.d.ts +22 -0
- package/dist/cjs/api/types/FlightConnectionLeg.js +5 -0
- package/dist/cjs/api/types/FlightConnectionsSearchRes.d.ts +7 -0
- package/dist/cjs/api/types/FlightConnectionsSearchRes.js +5 -0
- package/dist/cjs/api/types/FlightLeg1.d.ts +3 -2
- package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +1 -1
- package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
- package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
- package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.js +5 -0
- package/dist/cjs/api/types/OrderBuilderReq.d.ts +2 -0
- package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/Session1.d.ts +3 -6
- package/dist/cjs/api/types/index.d.ts +19 -4
- package/dist/cjs/api/types/index.js +19 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +20 -3
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +68 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/{LineItemGroupSharedTaskGroupMileageCreateClientReq.d.mts → SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts} +1 -1
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +24 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/flights/client/Client.d.mts +52 -0
- package/dist/esm/api/resources/flights/client/Client.mjs +98 -0
- package/dist/esm/api/resources/flights/client/index.d.mts +2 -0
- package/dist/esm/api/resources/flights/client/index.mjs +1 -0
- package/dist/esm/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.mts +45 -0
- package/dist/esm/api/resources/flights/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/flights/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/flights/index.d.mts +1 -0
- package/dist/esm/api/resources/flights/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +19 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +71 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.mts +16 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +11 -3
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +2 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +0 -22
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +0 -71
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +29 -24
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +54 -51
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +0 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.mts +24 -0
- package/dist/{cjs/api/resources/tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.d.ts → esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.d.mts} +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +14 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +0 -3
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +3 -3
- package/dist/esm/api/types/AlertCallback.d.mts +7 -0
- package/dist/esm/api/types/AlertCallback.mjs +4 -0
- package/dist/esm/api/types/AlertEvent.d.mts +6 -0
- package/dist/esm/api/types/AlertEvent.mjs +4 -0
- package/dist/esm/api/types/AlertMessage.d.mts +10 -0
- package/dist/esm/api/types/AlertMessage.mjs +4 -0
- package/dist/esm/api/types/AlertNameValue.d.mts +7 -0
- package/dist/esm/api/types/AlertNameValue.mjs +4 -0
- package/dist/esm/api/types/AlertNameValues.d.mts +7 -0
- package/dist/esm/api/types/AlertNameValues.mjs +4 -0
- package/dist/esm/api/types/AlertRuleEnvelope.d.mts +7 -0
- package/dist/esm/api/types/AlertRuleEnvelope.mjs +4 -0
- package/dist/esm/api/types/CiriumAirportResources.d.mts +9 -0
- package/dist/esm/api/types/CiriumAirportResources.mjs +4 -0
- package/dist/esm/api/types/CiriumDate.d.mts +6 -0
- package/dist/esm/api/types/CiriumDate.mjs +4 -0
- package/dist/esm/api/types/{FlightAwareWebhookResponse.d.mts → CiriumFlightAlertsWebhookResponse.d.mts} +1 -1
- package/dist/esm/api/types/CiriumFlightAlertsWebhookResponse.mjs +4 -0
- package/dist/esm/api/types/CiriumFlightStatus.d.mts +15 -0
- package/dist/esm/api/types/CiriumFlightStatus.mjs +4 -0
- package/dist/esm/api/types/CiriumOperationalTimes.d.mts +17 -0
- package/dist/esm/api/types/CiriumOperationalTimes.mjs +4 -0
- package/dist/esm/api/types/ConnectionSearchByEnum.d.mts +8 -0
- package/dist/esm/api/types/ConnectionSearchByEnum.mjs +7 -0
- package/dist/esm/api/types/ConnectionSearchPreferenceEnum.d.mts +8 -0
- package/dist/esm/api/types/ConnectionSearchPreferenceEnum.mjs +7 -0
- package/dist/esm/api/types/Driver1.d.mts +0 -1
- package/dist/esm/api/types/DriverListRes.d.mts +1 -1
- package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +35 -0
- package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.mjs +4 -0
- package/dist/esm/api/types/FlightConnection.d.mts +10 -0
- package/dist/esm/api/types/FlightConnection.mjs +4 -0
- package/dist/esm/api/types/FlightConnectionLeg.d.mts +22 -0
- package/dist/esm/api/types/FlightConnectionLeg.mjs +4 -0
- package/dist/esm/api/types/FlightConnectionsSearchRes.d.mts +7 -0
- package/dist/esm/api/types/FlightConnectionsSearchRes.mjs +4 -0
- package/dist/esm/api/types/FlightLeg1.d.mts +3 -2
- package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.d.mts +7 -0
- package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +1 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
- package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.mts +7 -0
- package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.mjs +4 -0
- package/dist/esm/api/types/OrderBuilderReq.d.mts +2 -0
- package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/Session1.d.mts +3 -6
- package/dist/esm/api/types/index.d.mts +19 -4
- package/dist/esm/api/types/index.mjs +19 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +241 -101
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.ts +0 -16
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.ts +0 -16
- package/dist/cjs/api/types/FlightAwareAlertFlight.d.ts +0 -16
- package/dist/cjs/api/types/FlightAwareAlertPayload.d.ts +0 -17
- package/dist/cjs/api/types/FlightStatusEnum.d.ts +0 -14
- package/dist/cjs/api/types/FlightStatusEnum.js +0 -16
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.mts +0 -16
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.mts +0 -16
- package/dist/esm/api/types/FlightAwareAlertFlight.d.mts +0 -16
- package/dist/esm/api/types/FlightAwareAlertPayload.d.mts +0 -17
- package/dist/esm/api/types/FlightStatusEnum.d.mts +0 -14
- package/dist/esm/api/types/FlightStatusEnum.mjs +0 -13
- /package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/{LineItemGroupSharedTaskGroupMileageCreateClientReq.js → SharedTaskGroupMileageCreateForProviderPayDriverClientReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.js → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.js → flights/client/requests/FlightConnectionsSearchReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.js → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareAlertFlight.js → resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareAlertPayload.js → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareWebhookResponse.js → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.js} +0 -0
- /package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/{LineItemGroupSharedTaskGroupMileageCreateClientReq.mjs → SharedTaskGroupMileageCreateForProviderPayDriverClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.mjs → billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.mjs → flights/client/requests/FlightConnectionsSearchReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionsSyncFlightStatusV1Request.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareAlertFlight.mjs → resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareAlertPayload.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareWebhookResponse.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.mjs} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ConnectionSearchByEnum = "departure_time" | "arrival_time";
|
|
5
|
+
export declare const ConnectionSearchByEnum: {
|
|
6
|
+
readonly DepartureTime: "departure_time";
|
|
7
|
+
readonly ArrivalTime: "arrival_time";
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ConnectionSearchPreferenceEnum = "earliest" | "latest";
|
|
5
|
+
export declare const ConnectionSearchPreferenceEnum: {
|
|
6
|
+
readonly Earliest: "earliest";
|
|
7
|
+
readonly Latest: "latest";
|
|
8
|
+
};
|
|
@@ -21,7 +21,6 @@ export interface Driver1 {
|
|
|
21
21
|
available_according_to_operators?: boolean;
|
|
22
22
|
waiting?: boolean;
|
|
23
23
|
auto_assign_enabled?: boolean;
|
|
24
|
-
active_task_group_ids?: string[];
|
|
25
24
|
last_seen_at_location?: Chrt.LocationFeature | null;
|
|
26
25
|
last_seen_at_timestamp?: string | null;
|
|
27
26
|
last_seen_at_location_city?: string | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Driver read DTO: persisted Driver1 plus the derived active task group IDs.
|
|
7
|
+
*
|
|
8
|
+
* The field is computed per request from shipping.task_groups so the JSON shape
|
|
9
|
+
* stays identical to when active_task_group_ids was persisted on the driver.
|
|
10
|
+
*/
|
|
11
|
+
export interface DriverWithActiveTaskGroupIds1 {
|
|
12
|
+
schema_version: number;
|
|
13
|
+
email_address_primary?: string | null;
|
|
14
|
+
email_address_secondary?: string | null;
|
|
15
|
+
phone_number_primary?: string | null;
|
|
16
|
+
phone_number_secondary?: string | null;
|
|
17
|
+
first_name?: string | null;
|
|
18
|
+
last_name?: string | null;
|
|
19
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
20
|
+
_id: string;
|
|
21
|
+
/** Must be a string starting with `org_` */
|
|
22
|
+
org_id: string;
|
|
23
|
+
/** Must be a string starting with `user_` */
|
|
24
|
+
user_id: string;
|
|
25
|
+
status?: Chrt.DriverStatusEnum;
|
|
26
|
+
available_according_to_driver?: boolean;
|
|
27
|
+
available_according_to_operators?: boolean;
|
|
28
|
+
waiting?: boolean;
|
|
29
|
+
auto_assign_enabled?: boolean;
|
|
30
|
+
last_seen_at_location?: Chrt.LocationFeature | null;
|
|
31
|
+
last_seen_at_timestamp?: string | null;
|
|
32
|
+
last_seen_at_location_city?: string | null;
|
|
33
|
+
last_seen_at_location_large_city?: string | null;
|
|
34
|
+
active_task_group_ids?: string[];
|
|
35
|
+
}
|
|
@@ -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 FlightConnection {
|
|
6
|
+
elapsed_minutes?: number | null;
|
|
7
|
+
score?: number | null;
|
|
8
|
+
stops: number;
|
|
9
|
+
legs: Chrt.FlightConnectionLeg[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface FlightConnectionLeg {
|
|
5
|
+
carrier_iata?: string | null;
|
|
6
|
+
carrier_name?: string | null;
|
|
7
|
+
flight_number?: string | null;
|
|
8
|
+
origin_iata?: string | null;
|
|
9
|
+
origin_name?: string | null;
|
|
10
|
+
origin_time_zone?: string | null;
|
|
11
|
+
origin_latitude?: number | null;
|
|
12
|
+
origin_longitude?: number | null;
|
|
13
|
+
destination_iata?: string | null;
|
|
14
|
+
destination_name?: string | null;
|
|
15
|
+
destination_time_zone?: string | null;
|
|
16
|
+
destination_latitude?: number | null;
|
|
17
|
+
destination_longitude?: number | null;
|
|
18
|
+
departure_time_local?: string | null;
|
|
19
|
+
arrival_time_local?: string | null;
|
|
20
|
+
equipment_name?: string | null;
|
|
21
|
+
is_codeshare?: boolean | null;
|
|
22
|
+
}
|
|
@@ -5,8 +5,9 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface FlightLeg1 {
|
|
6
6
|
schema_version: number;
|
|
7
7
|
_id: string;
|
|
8
|
-
order_id
|
|
9
|
-
task_group_id
|
|
8
|
+
order_id?: string | null;
|
|
9
|
+
task_group_id?: string | null;
|
|
10
|
+
session_id?: string | null;
|
|
10
11
|
flight_number: string;
|
|
11
12
|
provenance: Chrt.FlightLegProvenanceEnum1;
|
|
12
13
|
origin_iata: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Result of removing a Task List from a Case.
|
|
6
6
|
*
|
|
7
7
|
* Only untouched (`not_started`) tasks are deleted; tasks an operator has
|
|
8
|
-
* started, completed, or
|
|
8
|
+
* started, completed, skipped, or cancelled are preserved and reported as `kept_count`.
|
|
9
9
|
*/
|
|
10
10
|
export interface OperationsTaskListRemoveFromCaseRes1 {
|
|
11
11
|
deleted_count: number;
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
* structurally parallel to the Check status model in anticipation of the
|
|
9
9
|
* eventual Task <-> Check merge.
|
|
10
10
|
*/
|
|
11
|
-
export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped";
|
|
11
|
+
export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped" | "cancelled";
|
|
12
12
|
export declare const OperationsTaskStatusEnum: {
|
|
13
13
|
readonly NotStarted: "not_started";
|
|
14
14
|
readonly InProgress: "in_progress";
|
|
15
15
|
readonly Completed: "completed";
|
|
16
16
|
readonly Skipped: "skipped";
|
|
17
|
+
readonly Cancelled: "cancelled";
|
|
17
18
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OperationsTasksBulkUpdateDeadlinesRes1 {
|
|
5
|
+
/** How many of the requested tasks were found in the caller's org and had their deadline set; a value below the number of requested updates means some ids were silently skipped (missing or cross-org). */
|
|
6
|
+
updated_count: number;
|
|
7
|
+
}
|
|
@@ -5,4 +5,6 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface OrderBuilderReq {
|
|
6
6
|
order_template_core?: Chrt.OrderTemplateCore1 | null;
|
|
7
7
|
order_template_id?: string | null;
|
|
8
|
+
/** Per-build pin for the first applied OperationsTask's deadline (later from_previous_task entries cascade from it). Kept off the template so saved templates don't carry a stale absolute time; None anchors the chain to the build time. */
|
|
9
|
+
initial_deadline_timestamp?: string | null;
|
|
8
10
|
}
|
|
@@ -9,6 +9,7 @@ export interface OrderDraftValidationRequirements {
|
|
|
9
9
|
task_groups_have_valid_task_sequence?: boolean | null;
|
|
10
10
|
tasks_have_valid_cargo?: boolean | null;
|
|
11
11
|
cargos_have_valid_lifecycle?: boolean | null;
|
|
12
|
+
at_least_one_task_has_time_window?: boolean | null;
|
|
12
13
|
order_has_shipper?: boolean | null;
|
|
13
14
|
order_has_coordinator?: boolean | null;
|
|
14
15
|
}
|
|
@@ -8,6 +8,7 @@ export interface OrderManifestValidationRequirements {
|
|
|
8
8
|
task_groups_have_valid_task_sequence?: boolean | null;
|
|
9
9
|
tasks_have_valid_cargo?: boolean | null;
|
|
10
10
|
cargos_have_valid_lifecycle?: boolean | null;
|
|
11
|
+
at_least_one_task_has_time_window?: boolean | null;
|
|
11
12
|
order_has_shipper?: boolean | null;
|
|
12
13
|
order_has_coordinator?: boolean | null;
|
|
13
14
|
}
|
|
@@ -10,8 +10,6 @@ export interface Session1 {
|
|
|
10
10
|
public?: boolean;
|
|
11
11
|
off_chrt_shipper_org_id?: string | null;
|
|
12
12
|
termination_scheduled_for_timestamp?: string | null;
|
|
13
|
-
flight_numbers?: string[];
|
|
14
|
-
fa_flight_ids?: string[];
|
|
15
13
|
device_id: string;
|
|
16
14
|
device_mac_address: string;
|
|
17
15
|
/** Must be a string starting with `org_` */
|
|
@@ -27,10 +25,9 @@ export interface Session1 {
|
|
|
27
25
|
destination_geofence_location?: Chrt.LocationFeature | null;
|
|
28
26
|
destination_geofence_radius_miles?: number;
|
|
29
27
|
destination_geofence_entered?: boolean;
|
|
30
|
-
|
|
28
|
+
flight_leg_ids?: string[];
|
|
29
|
+
flight_numbers?: string[];
|
|
31
30
|
flight_loaded_statuses?: string[];
|
|
32
|
-
|
|
33
|
-
flight_status_by_fa_flight_id?: Record<string, Chrt.FlightStatusEnum>;
|
|
34
|
-
flight_loaded_status_by_fa_flight_id?: Record<string, (string | null) | undefined>;
|
|
31
|
+
flight_loaded_status_by_flight_leg_id?: Record<string, (string | null) | undefined>;
|
|
35
32
|
_id: string;
|
|
36
33
|
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export * from "./AiImageDescription.mjs";
|
|
2
|
+
export * from "./AlertCallback.mjs";
|
|
3
|
+
export * from "./AlertEvent.mjs";
|
|
4
|
+
export * from "./AlertMessage.mjs";
|
|
5
|
+
export * from "./AlertNameValue.mjs";
|
|
6
|
+
export * from "./AlertNameValues.mjs";
|
|
7
|
+
export * from "./AlertRuleEnvelope.mjs";
|
|
2
8
|
export * from "./AnalyticsTimeBucketRes.mjs";
|
|
3
9
|
export * from "./AttachBillingLedgerPeriodReq.mjs";
|
|
4
10
|
export * from "./AttachLigToVectorClientReq.mjs";
|
|
@@ -111,6 +117,13 @@ export * from "./ChampQuantity.mjs";
|
|
|
111
117
|
export * from "./ChrtGroundProviderRateSheet1.mjs";
|
|
112
118
|
export * from "./ChrtGroundProviderRateSheetListRes.mjs";
|
|
113
119
|
export * from "./ChrtGroundProviderTaskActionEnum1.mjs";
|
|
120
|
+
export * from "./CiriumAirportResources.mjs";
|
|
121
|
+
export * from "./CiriumDate.mjs";
|
|
122
|
+
export * from "./CiriumFlightAlertsWebhookResponse.mjs";
|
|
123
|
+
export * from "./CiriumFlightStatus.mjs";
|
|
124
|
+
export * from "./CiriumOperationalTimes.mjs";
|
|
125
|
+
export * from "./ConnectionSearchByEnum.mjs";
|
|
126
|
+
export * from "./ConnectionSearchPreferenceEnum.mjs";
|
|
114
127
|
export * from "./CreateCheckoutSessionRes.mjs";
|
|
115
128
|
export * from "./CreateConnectionReq.mjs";
|
|
116
129
|
export * from "./CreateCustomerPortalSessionRes.mjs";
|
|
@@ -146,10 +159,11 @@ export * from "./DriverStatsRes.mjs";
|
|
|
146
159
|
export * from "./DriverStatusEnum.mjs";
|
|
147
160
|
export * from "./DriverUpdateAvailabilityReq.mjs";
|
|
148
161
|
export * from "./DriverUpdateRes.mjs";
|
|
162
|
+
export * from "./DriverWithActiveTaskGroupIds1.mjs";
|
|
149
163
|
export * from "./FirebaseCloudMessagingTokenData1.mjs";
|
|
150
|
-
export * from "./
|
|
151
|
-
export * from "./
|
|
152
|
-
export * from "./
|
|
164
|
+
export * from "./FlightConnection.mjs";
|
|
165
|
+
export * from "./FlightConnectionLeg.mjs";
|
|
166
|
+
export * from "./FlightConnectionsSearchRes.mjs";
|
|
153
167
|
export * from "./FlightInfoForTaskRes.mjs";
|
|
154
168
|
export * from "./FlightLeg1.mjs";
|
|
155
169
|
export * from "./FlightLegClientCreate1.mjs";
|
|
@@ -157,7 +171,6 @@ export * from "./FlightLegProvenanceEnum1.mjs";
|
|
|
157
171
|
export * from "./FlightLegStatusEnum1.mjs";
|
|
158
172
|
export * from "./FlightLegStatusSourceEnum1.mjs";
|
|
159
173
|
export * from "./FlightLegWebhookInfo.mjs";
|
|
160
|
-
export * from "./FlightStatusEnum.mjs";
|
|
161
174
|
export * from "./FlightTrackPosition1.mjs";
|
|
162
175
|
export * from "./FlightTrackRes.mjs";
|
|
163
176
|
export * from "./FlightTrackWaypoint1.mjs";
|
|
@@ -227,6 +240,7 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
|
|
|
227
240
|
export * from "./OperationsCaseS3ObjectAddedWebhookPayload.mjs";
|
|
228
241
|
export * from "./OperationsTask1.mjs";
|
|
229
242
|
export * from "./OperationsTaskComment1.mjs";
|
|
243
|
+
export * from "./OperationsTaskDeadlineUpdate1.mjs";
|
|
230
244
|
export * from "./OperationsTaskList1.mjs";
|
|
231
245
|
export * from "./OperationsTaskListEntry1.mjs";
|
|
232
246
|
export * from "./OperationsTaskListEntryClientCreate1.mjs";
|
|
@@ -237,6 +251,7 @@ export * from "./OperationsTaskListSortByEnum.mjs";
|
|
|
237
251
|
export * from "./OperationsTaskSortByEnum.mjs";
|
|
238
252
|
export * from "./OperationsTaskStatusEnum.mjs";
|
|
239
253
|
export * from "./OperationsTaskTypeEnum.mjs";
|
|
254
|
+
export * from "./OperationsTasksBulkUpdateDeadlinesRes1.mjs";
|
|
240
255
|
export * from "./Order1.mjs";
|
|
241
256
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
242
257
|
export * from "./OrderBuilderReq.mjs";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export * from "./AiImageDescription.mjs";
|
|
2
|
+
export * from "./AlertCallback.mjs";
|
|
3
|
+
export * from "./AlertEvent.mjs";
|
|
4
|
+
export * from "./AlertMessage.mjs";
|
|
5
|
+
export * from "./AlertNameValue.mjs";
|
|
6
|
+
export * from "./AlertNameValues.mjs";
|
|
7
|
+
export * from "./AlertRuleEnvelope.mjs";
|
|
2
8
|
export * from "./AnalyticsTimeBucketRes.mjs";
|
|
3
9
|
export * from "./AttachBillingLedgerPeriodReq.mjs";
|
|
4
10
|
export * from "./AttachLigToVectorClientReq.mjs";
|
|
@@ -111,6 +117,13 @@ export * from "./ChampQuantity.mjs";
|
|
|
111
117
|
export * from "./ChrtGroundProviderRateSheet1.mjs";
|
|
112
118
|
export * from "./ChrtGroundProviderRateSheetListRes.mjs";
|
|
113
119
|
export * from "./ChrtGroundProviderTaskActionEnum1.mjs";
|
|
120
|
+
export * from "./CiriumAirportResources.mjs";
|
|
121
|
+
export * from "./CiriumDate.mjs";
|
|
122
|
+
export * from "./CiriumFlightAlertsWebhookResponse.mjs";
|
|
123
|
+
export * from "./CiriumFlightStatus.mjs";
|
|
124
|
+
export * from "./CiriumOperationalTimes.mjs";
|
|
125
|
+
export * from "./ConnectionSearchByEnum.mjs";
|
|
126
|
+
export * from "./ConnectionSearchPreferenceEnum.mjs";
|
|
114
127
|
export * from "./CreateCheckoutSessionRes.mjs";
|
|
115
128
|
export * from "./CreateConnectionReq.mjs";
|
|
116
129
|
export * from "./CreateCustomerPortalSessionRes.mjs";
|
|
@@ -146,10 +159,11 @@ export * from "./DriverStatsRes.mjs";
|
|
|
146
159
|
export * from "./DriverStatusEnum.mjs";
|
|
147
160
|
export * from "./DriverUpdateAvailabilityReq.mjs";
|
|
148
161
|
export * from "./DriverUpdateRes.mjs";
|
|
162
|
+
export * from "./DriverWithActiveTaskGroupIds1.mjs";
|
|
149
163
|
export * from "./FirebaseCloudMessagingTokenData1.mjs";
|
|
150
|
-
export * from "./
|
|
151
|
-
export * from "./
|
|
152
|
-
export * from "./
|
|
164
|
+
export * from "./FlightConnection.mjs";
|
|
165
|
+
export * from "./FlightConnectionLeg.mjs";
|
|
166
|
+
export * from "./FlightConnectionsSearchRes.mjs";
|
|
153
167
|
export * from "./FlightInfoForTaskRes.mjs";
|
|
154
168
|
export * from "./FlightLeg1.mjs";
|
|
155
169
|
export * from "./FlightLegClientCreate1.mjs";
|
|
@@ -157,7 +171,6 @@ export * from "./FlightLegProvenanceEnum1.mjs";
|
|
|
157
171
|
export * from "./FlightLegStatusEnum1.mjs";
|
|
158
172
|
export * from "./FlightLegStatusSourceEnum1.mjs";
|
|
159
173
|
export * from "./FlightLegWebhookInfo.mjs";
|
|
160
|
-
export * from "./FlightStatusEnum.mjs";
|
|
161
174
|
export * from "./FlightTrackPosition1.mjs";
|
|
162
175
|
export * from "./FlightTrackRes.mjs";
|
|
163
176
|
export * from "./FlightTrackWaypoint1.mjs";
|
|
@@ -227,6 +240,7 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
|
|
|
227
240
|
export * from "./OperationsCaseS3ObjectAddedWebhookPayload.mjs";
|
|
228
241
|
export * from "./OperationsTask1.mjs";
|
|
229
242
|
export * from "./OperationsTaskComment1.mjs";
|
|
243
|
+
export * from "./OperationsTaskDeadlineUpdate1.mjs";
|
|
230
244
|
export * from "./OperationsTaskList1.mjs";
|
|
231
245
|
export * from "./OperationsTaskListEntry1.mjs";
|
|
232
246
|
export * from "./OperationsTaskListEntryClientCreate1.mjs";
|
|
@@ -237,6 +251,7 @@ export * from "./OperationsTaskListSortByEnum.mjs";
|
|
|
237
251
|
export * from "./OperationsTaskSortByEnum.mjs";
|
|
238
252
|
export * from "./OperationsTaskStatusEnum.mjs";
|
|
239
253
|
export * from "./OperationsTaskTypeEnum.mjs";
|
|
254
|
+
export * from "./OperationsTasksBulkUpdateDeadlinesRes1.mjs";
|
|
240
255
|
export * from "./Order1.mjs";
|
|
241
256
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
242
257
|
export * from "./OrderBuilderReq.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.807.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.807.0";
|