@chrt-inc/typescript-sdk 1.794.0 → 1.810.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/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/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/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionsSyncFlightStatusV1Request.d.ts → 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/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/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/Session1.d.ts +3 -6
- package/dist/cjs/api/types/index.d.ts +18 -4
- package/dist/cjs/api/types/index.js +18 -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/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/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/esm/api/resources/tracking/resources/sessions/client/requests/{SessionsSyncFlightStatusV1Request.d.mts → 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/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/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/Session1.d.mts +3 -6
- package/dist/esm/api/types/index.d.mts +18 -4
- package/dist/esm/api/types/index.mjs +18 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +168 -95
- 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/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.js → flights/client/requests/FlightConnectionsSearchReq.js} +0 -0
- /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.js → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.js} +0 -0
- /package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionsSyncFlightStatusV1Request.js → SessionSetFlightInfoReq1.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareAlertFlight.js → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.js} +0 -0
- /package/dist/cjs/api/{types/FlightAwareAlertPayload.js → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.js} +0 -0
- /package/dist/cjs/api/types/{FlightAwareWebhookResponse.js → AlertCallback.js} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionAddFlightReq1.mjs → flights/client/requests/FlightConnectionsSearchReq.mjs} +0 -0
- /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.mjs} +0 -0
- /package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionsSyncFlightStatusV1Request.mjs → SessionSetFlightInfoReq1.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareAlertFlight.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightLegsV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/FlightAwareAlertPayload.mjs → resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.mjs} +0 -0
- /package/dist/esm/api/types/{FlightAwareWebhookResponse.mjs → AlertCallback.mjs} +0 -0
|
@@ -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
|
}
|
|
@@ -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";
|
|
@@ -148,9 +161,9 @@ export * from "./DriverUpdateAvailabilityReq.mjs";
|
|
|
148
161
|
export * from "./DriverUpdateRes.mjs";
|
|
149
162
|
export * from "./DriverWithActiveTaskGroupIds1.mjs";
|
|
150
163
|
export * from "./FirebaseCloudMessagingTokenData1.mjs";
|
|
151
|
-
export * from "./
|
|
152
|
-
export * from "./
|
|
153
|
-
export * from "./
|
|
164
|
+
export * from "./FlightConnection.mjs";
|
|
165
|
+
export * from "./FlightConnectionLeg.mjs";
|
|
166
|
+
export * from "./FlightConnectionsSearchRes.mjs";
|
|
154
167
|
export * from "./FlightInfoForTaskRes.mjs";
|
|
155
168
|
export * from "./FlightLeg1.mjs";
|
|
156
169
|
export * from "./FlightLegClientCreate1.mjs";
|
|
@@ -158,7 +171,6 @@ export * from "./FlightLegProvenanceEnum1.mjs";
|
|
|
158
171
|
export * from "./FlightLegStatusEnum1.mjs";
|
|
159
172
|
export * from "./FlightLegStatusSourceEnum1.mjs";
|
|
160
173
|
export * from "./FlightLegWebhookInfo.mjs";
|
|
161
|
-
export * from "./FlightStatusEnum.mjs";
|
|
162
174
|
export * from "./FlightTrackPosition1.mjs";
|
|
163
175
|
export * from "./FlightTrackRes.mjs";
|
|
164
176
|
export * from "./FlightTrackWaypoint1.mjs";
|
|
@@ -228,6 +240,7 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
|
|
|
228
240
|
export * from "./OperationsCaseS3ObjectAddedWebhookPayload.mjs";
|
|
229
241
|
export * from "./OperationsTask1.mjs";
|
|
230
242
|
export * from "./OperationsTaskComment1.mjs";
|
|
243
|
+
export * from "./OperationsTaskDeadlineUpdate1.mjs";
|
|
231
244
|
export * from "./OperationsTaskList1.mjs";
|
|
232
245
|
export * from "./OperationsTaskListEntry1.mjs";
|
|
233
246
|
export * from "./OperationsTaskListEntryClientCreate1.mjs";
|
|
@@ -238,6 +251,7 @@ export * from "./OperationsTaskListSortByEnum.mjs";
|
|
|
238
251
|
export * from "./OperationsTaskSortByEnum.mjs";
|
|
239
252
|
export * from "./OperationsTaskStatusEnum.mjs";
|
|
240
253
|
export * from "./OperationsTaskTypeEnum.mjs";
|
|
254
|
+
export * from "./OperationsTasksBulkUpdateDeadlinesRes1.mjs";
|
|
241
255
|
export * from "./Order1.mjs";
|
|
242
256
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
243
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";
|
|
@@ -148,9 +161,9 @@ export * from "./DriverUpdateAvailabilityReq.mjs";
|
|
|
148
161
|
export * from "./DriverUpdateRes.mjs";
|
|
149
162
|
export * from "./DriverWithActiveTaskGroupIds1.mjs";
|
|
150
163
|
export * from "./FirebaseCloudMessagingTokenData1.mjs";
|
|
151
|
-
export * from "./
|
|
152
|
-
export * from "./
|
|
153
|
-
export * from "./
|
|
164
|
+
export * from "./FlightConnection.mjs";
|
|
165
|
+
export * from "./FlightConnectionLeg.mjs";
|
|
166
|
+
export * from "./FlightConnectionsSearchRes.mjs";
|
|
154
167
|
export * from "./FlightInfoForTaskRes.mjs";
|
|
155
168
|
export * from "./FlightLeg1.mjs";
|
|
156
169
|
export * from "./FlightLegClientCreate1.mjs";
|
|
@@ -158,7 +171,6 @@ export * from "./FlightLegProvenanceEnum1.mjs";
|
|
|
158
171
|
export * from "./FlightLegStatusEnum1.mjs";
|
|
159
172
|
export * from "./FlightLegStatusSourceEnum1.mjs";
|
|
160
173
|
export * from "./FlightLegWebhookInfo.mjs";
|
|
161
|
-
export * from "./FlightStatusEnum.mjs";
|
|
162
174
|
export * from "./FlightTrackPosition1.mjs";
|
|
163
175
|
export * from "./FlightTrackRes.mjs";
|
|
164
176
|
export * from "./FlightTrackWaypoint1.mjs";
|
|
@@ -228,6 +240,7 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
|
|
|
228
240
|
export * from "./OperationsCaseS3ObjectAddedWebhookPayload.mjs";
|
|
229
241
|
export * from "./OperationsTask1.mjs";
|
|
230
242
|
export * from "./OperationsTaskComment1.mjs";
|
|
243
|
+
export * from "./OperationsTaskDeadlineUpdate1.mjs";
|
|
231
244
|
export * from "./OperationsTaskList1.mjs";
|
|
232
245
|
export * from "./OperationsTaskListEntry1.mjs";
|
|
233
246
|
export * from "./OperationsTaskListEntryClientCreate1.mjs";
|
|
@@ -238,6 +251,7 @@ export * from "./OperationsTaskListSortByEnum.mjs";
|
|
|
238
251
|
export * from "./OperationsTaskSortByEnum.mjs";
|
|
239
252
|
export * from "./OperationsTaskStatusEnum.mjs";
|
|
240
253
|
export * from "./OperationsTaskTypeEnum.mjs";
|
|
254
|
+
export * from "./OperationsTasksBulkUpdateDeadlinesRes1.mjs";
|
|
241
255
|
export * from "./Order1.mjs";
|
|
242
256
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
243
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.810.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.810.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
# Reference
|
|
2
2
|
|
|
3
|
+
## Flights
|
|
4
|
+
|
|
5
|
+
<details><summary><code>client.flights.<a href="/src/api/resources/flights/client/Client.ts">searchConnectionsV1</a>({ ...params }) -> Chrt.FlightConnectionsSearchRes</code></summary>
|
|
6
|
+
<dl>
|
|
7
|
+
<dd>
|
|
8
|
+
|
|
9
|
+
#### 📝 Description
|
|
10
|
+
|
|
11
|
+
<dl>
|
|
12
|
+
<dd>
|
|
13
|
+
|
|
14
|
+
<dl>
|
|
15
|
+
<dd>
|
|
16
|
+
|
|
17
|
+
Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
18
|
+
|
|
19
|
+
</dd>
|
|
20
|
+
</dl>
|
|
21
|
+
</dd>
|
|
22
|
+
</dl>
|
|
23
|
+
|
|
24
|
+
#### 🔌 Usage
|
|
25
|
+
|
|
26
|
+
<dl>
|
|
27
|
+
<dd>
|
|
28
|
+
|
|
29
|
+
<dl>
|
|
30
|
+
<dd>
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
await client.flights.searchConnectionsV1({
|
|
34
|
+
origin: "origin",
|
|
35
|
+
destination: "destination",
|
|
36
|
+
search_by: "departure_time",
|
|
37
|
+
local_date_time: "2024-01-15T09:30:00Z",
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
</dd>
|
|
42
|
+
</dl>
|
|
43
|
+
</dd>
|
|
44
|
+
</dl>
|
|
45
|
+
|
|
46
|
+
#### ⚙️ Parameters
|
|
47
|
+
|
|
48
|
+
<dl>
|
|
49
|
+
<dd>
|
|
50
|
+
|
|
51
|
+
<dl>
|
|
52
|
+
<dd>
|
|
53
|
+
|
|
54
|
+
**request:** `Chrt.FlightConnectionsSearchReq`
|
|
55
|
+
|
|
56
|
+
</dd>
|
|
57
|
+
</dl>
|
|
58
|
+
|
|
59
|
+
<dl>
|
|
60
|
+
<dd>
|
|
61
|
+
|
|
62
|
+
**requestOptions:** `Flights.RequestOptions`
|
|
63
|
+
|
|
64
|
+
</dd>
|
|
65
|
+
</dl>
|
|
66
|
+
</dd>
|
|
67
|
+
</dl>
|
|
68
|
+
|
|
69
|
+
</dd>
|
|
70
|
+
</dl>
|
|
71
|
+
</details>
|
|
72
|
+
|
|
3
73
|
## Orgs
|
|
4
74
|
|
|
5
75
|
<details><summary><code>client.orgs.<a href="/src/api/resources/orgs/client/Client.ts">getInfoV1</a>() -> Chrt.OrgInfoResponse</code></summary>
|
|
@@ -13575,7 +13645,7 @@ await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_
|
|
|
13575
13645
|
<dl>
|
|
13576
13646
|
<dd>
|
|
13577
13647
|
|
|
13578
|
-
Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
|
|
13648
|
+
Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
|
|
13579
13649
|
|
|
13580
13650
|
</dd>
|
|
13581
13651
|
</dl>
|
|
@@ -13974,6 +14044,76 @@ await client.operations.operationsTasks.createV1({
|
|
|
13974
14044
|
</dl>
|
|
13975
14045
|
</details>
|
|
13976
14046
|
|
|
14047
|
+
<details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">bulkUpdateDeadlinesV1</a>({ ...params }) -> Chrt.OperationsTasksBulkUpdateDeadlinesRes1</code></summary>
|
|
14048
|
+
<dl>
|
|
14049
|
+
<dd>
|
|
14050
|
+
|
|
14051
|
+
#### 📝 Description
|
|
14052
|
+
|
|
14053
|
+
<dl>
|
|
14054
|
+
<dd>
|
|
14055
|
+
|
|
14056
|
+
<dl>
|
|
14057
|
+
<dd>
|
|
14058
|
+
|
|
14059
|
+
Sets deadline_timestamp on multiple OperationsTasks in one call, each scoped to the caller's organization. Task ids that don't exist or belong to another org are silently skipped; the response reports how many were updated. | authz: min_org_role=operator | (OperationsTasksBulkUpdateDeadlinesReq1) -> (OperationsTasksBulkUpdateDeadlinesRes1)
|
|
14060
|
+
|
|
14061
|
+
</dd>
|
|
14062
|
+
</dl>
|
|
14063
|
+
</dd>
|
|
14064
|
+
</dl>
|
|
14065
|
+
|
|
14066
|
+
#### 🔌 Usage
|
|
14067
|
+
|
|
14068
|
+
<dl>
|
|
14069
|
+
<dd>
|
|
14070
|
+
|
|
14071
|
+
<dl>
|
|
14072
|
+
<dd>
|
|
14073
|
+
|
|
14074
|
+
```typescript
|
|
14075
|
+
await client.operations.operationsTasks.bulkUpdateDeadlinesV1({
|
|
14076
|
+
operations_task_deadline_updates: [
|
|
14077
|
+
{
|
|
14078
|
+
task_id: "task_id",
|
|
14079
|
+
deadline_timestamp: "2024-01-15T09:30:00Z",
|
|
14080
|
+
},
|
|
14081
|
+
],
|
|
14082
|
+
});
|
|
14083
|
+
```
|
|
14084
|
+
|
|
14085
|
+
</dd>
|
|
14086
|
+
</dl>
|
|
14087
|
+
</dd>
|
|
14088
|
+
</dl>
|
|
14089
|
+
|
|
14090
|
+
#### ⚙️ Parameters
|
|
14091
|
+
|
|
14092
|
+
<dl>
|
|
14093
|
+
<dd>
|
|
14094
|
+
|
|
14095
|
+
<dl>
|
|
14096
|
+
<dd>
|
|
14097
|
+
|
|
14098
|
+
**request:** `Chrt.operations.OperationsTasksBulkUpdateDeadlinesReq1`
|
|
14099
|
+
|
|
14100
|
+
</dd>
|
|
14101
|
+
</dl>
|
|
14102
|
+
|
|
14103
|
+
<dl>
|
|
14104
|
+
<dd>
|
|
14105
|
+
|
|
14106
|
+
**requestOptions:** `OperationsTasks.RequestOptions`
|
|
14107
|
+
|
|
14108
|
+
</dd>
|
|
14109
|
+
</dl>
|
|
14110
|
+
</dd>
|
|
14111
|
+
</dl>
|
|
14112
|
+
|
|
14113
|
+
</dd>
|
|
14114
|
+
</dl>
|
|
14115
|
+
</details>
|
|
14116
|
+
|
|
13977
14117
|
<details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">updateStatusV1</a>(taskId, { ...params }) -> boolean</code></summary>
|
|
13978
14118
|
<dl>
|
|
13979
14119
|
<dd>
|
|
@@ -13986,7 +14126,7 @@ await client.operations.operationsTasks.createV1({
|
|
|
13986
14126
|
<dl>
|
|
13987
14127
|
<dd>
|
|
13988
14128
|
|
|
13989
|
-
Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
|
|
14129
|
+
Sets an OperationsTask's status (not_started / in_progress / completed / skipped / cancelled). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
|
|
13990
14130
|
|
|
13991
14131
|
</dd>
|
|
13992
14132
|
</dl>
|
|
@@ -29110,80 +29250,6 @@ await client.tracking.devices.typeaheadV1({
|
|
|
29110
29250
|
|
|
29111
29251
|
## Tracking Driver
|
|
29112
29252
|
|
|
29113
|
-
<details><summary><code>client.tracking.driver.<a href="/src/api/resources/tracking/resources/driver/client/Client.ts">updateV1</a>({ ...params }) -> Chrt.DriverUpdateRes</code></summary>
|
|
29114
|
-
<dl>
|
|
29115
|
-
<dd>
|
|
29116
|
-
|
|
29117
|
-
#### 📝 Description
|
|
29118
|
-
|
|
29119
|
-
<dl>
|
|
29120
|
-
<dd>
|
|
29121
|
-
|
|
29122
|
-
<dl>
|
|
29123
|
-
<dd>
|
|
29124
|
-
|
|
29125
|
-
Records driver location updates. Updates driver's last seen timestamp and location. Automatically records tracking data for all IN_PROGRESS task groups and their associated IN_TRANSIT cargos (cargo_by_driver). | auth: api_key | (LocationFeature) -> (DriverUpdateRes)
|
|
29126
|
-
|
|
29127
|
-
</dd>
|
|
29128
|
-
</dl>
|
|
29129
|
-
</dd>
|
|
29130
|
-
</dl>
|
|
29131
|
-
|
|
29132
|
-
#### 🔌 Usage
|
|
29133
|
-
|
|
29134
|
-
<dl>
|
|
29135
|
-
<dd>
|
|
29136
|
-
|
|
29137
|
-
<dl>
|
|
29138
|
-
<dd>
|
|
29139
|
-
|
|
29140
|
-
```typescript
|
|
29141
|
-
await client.tracking.driver.updateV1({
|
|
29142
|
-
type: "Feature",
|
|
29143
|
-
geometry: {
|
|
29144
|
-
type: "GeometryCollection",
|
|
29145
|
-
geometries: [
|
|
29146
|
-
{
|
|
29147
|
-
type: "LineString",
|
|
29148
|
-
coordinates: [[]],
|
|
29149
|
-
},
|
|
29150
|
-
],
|
|
29151
|
-
},
|
|
29152
|
-
});
|
|
29153
|
-
```
|
|
29154
|
-
|
|
29155
|
-
</dd>
|
|
29156
|
-
</dl>
|
|
29157
|
-
</dd>
|
|
29158
|
-
</dl>
|
|
29159
|
-
|
|
29160
|
-
#### ⚙️ Parameters
|
|
29161
|
-
|
|
29162
|
-
<dl>
|
|
29163
|
-
<dd>
|
|
29164
|
-
|
|
29165
|
-
<dl>
|
|
29166
|
-
<dd>
|
|
29167
|
-
|
|
29168
|
-
**request:** `Chrt.LocationFeature`
|
|
29169
|
-
|
|
29170
|
-
</dd>
|
|
29171
|
-
</dl>
|
|
29172
|
-
|
|
29173
|
-
<dl>
|
|
29174
|
-
<dd>
|
|
29175
|
-
|
|
29176
|
-
**requestOptions:** `Driver.RequestOptions`
|
|
29177
|
-
|
|
29178
|
-
</dd>
|
|
29179
|
-
</dl>
|
|
29180
|
-
</dd>
|
|
29181
|
-
</dl>
|
|
29182
|
-
|
|
29183
|
-
</dd>
|
|
29184
|
-
</dl>
|
|
29185
|
-
</details>
|
|
29186
|
-
|
|
29187
29253
|
<details><summary><code>client.tracking.driver.<a href="/src/api/resources/tracking/resources/driver/client/Client.ts">updateV2</a>({ ...params }) -> Chrt.DriverUpdateRes</code></summary>
|
|
29188
29254
|
<dl>
|
|
29189
29255
|
<dd>
|
|
@@ -29304,7 +29370,6 @@ await client.tracking.sessions.listV1({
|
|
|
29304
29370
|
filter_device_id: "filter_device_id",
|
|
29305
29371
|
filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
|
|
29306
29372
|
filter_flight_number: "filter_flight_number",
|
|
29307
|
-
filter_fa_flight_id: "filter_fa_flight_id",
|
|
29308
29373
|
filter_flight_loaded_status: "filter_flight_loaded_status",
|
|
29309
29374
|
filter_has_last_seen: true,
|
|
29310
29375
|
filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -29494,7 +29559,7 @@ await client.tracking.sessions.typeaheadV1({
|
|
|
29494
29559
|
<dl>
|
|
29495
29560
|
<dd>
|
|
29496
29561
|
|
|
29497
|
-
Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Optionally seed a destination geofence (location + radius) to fire a destination geofence entered notification. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
|
|
29562
|
+
Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Optionally seed a destination geofence (location + radius) to fire a destination geofence entered notification; attach flights afterwards via set_flight_info. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
|
|
29498
29563
|
|
|
29499
29564
|
</dd>
|
|
29500
29565
|
</dl>
|
|
@@ -29691,7 +29756,7 @@ await client.tracking.sessions.updateSharedOrgsV1({
|
|
|
29691
29756
|
<dl>
|
|
29692
29757
|
<dd>
|
|
29693
29758
|
|
|
29694
|
-
Terminates a session. Moves device.active_session_id to device.past_session_ids. | auth: api_key | () -> (bool)
|
|
29759
|
+
Terminates a session. Moves device.active_session_id to device.past_session_ids and deactivates the device. | auth: api_key | () -> (bool)
|
|
29695
29760
|
|
|
29696
29761
|
</dd>
|
|
29697
29762
|
</dl>
|
|
@@ -29744,7 +29809,7 @@ await client.tracking.sessions.terminateV1({
|
|
|
29744
29809
|
</dl>
|
|
29745
29810
|
</details>
|
|
29746
29811
|
|
|
29747
|
-
<details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">
|
|
29812
|
+
<details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">flightLegsV1</a>({ ...params }) -> Chrt.FlightLeg1[]</code></summary>
|
|
29748
29813
|
<dl>
|
|
29749
29814
|
<dd>
|
|
29750
29815
|
|
|
@@ -29756,7 +29821,7 @@ await client.tracking.sessions.terminateV1({
|
|
|
29756
29821
|
<dl>
|
|
29757
29822
|
<dd>
|
|
29758
29823
|
|
|
29759
|
-
|
|
29824
|
+
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])
|
|
29760
29825
|
|
|
29761
29826
|
</dd>
|
|
29762
29827
|
</dl>
|
|
@@ -29772,10 +29837,8 @@ Adds a flight number and FA flight IDs to an existing session. Creates or reuses
|
|
|
29772
29837
|
<dd>
|
|
29773
29838
|
|
|
29774
29839
|
```typescript
|
|
29775
|
-
await client.tracking.sessions.
|
|
29840
|
+
await client.tracking.sessions.flightLegsV1({
|
|
29776
29841
|
session_id: "session_id",
|
|
29777
|
-
flight_number: "flight_number",
|
|
29778
|
-
fa_flight_ids: ["fa_flight_ids"],
|
|
29779
29842
|
});
|
|
29780
29843
|
```
|
|
29781
29844
|
|
|
@@ -29792,7 +29855,7 @@ await client.tracking.sessions.addFlightV1({
|
|
|
29792
29855
|
<dl>
|
|
29793
29856
|
<dd>
|
|
29794
29857
|
|
|
29795
|
-
**request:** `Chrt.tracking.
|
|
29858
|
+
**request:** `Chrt.tracking.SessionsFlightLegsV1Request`
|
|
29796
29859
|
|
|
29797
29860
|
</dd>
|
|
29798
29861
|
</dl>
|
|
@@ -29811,7 +29874,7 @@ await client.tracking.sessions.addFlightV1({
|
|
|
29811
29874
|
</dl>
|
|
29812
29875
|
</details>
|
|
29813
29876
|
|
|
29814
|
-
<details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">
|
|
29877
|
+
<details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">flightTrackV1</a>({ ...params }) -> Chrt.FlightTrackRes</code></summary>
|
|
29815
29878
|
<dl>
|
|
29816
29879
|
<dd>
|
|
29817
29880
|
|
|
@@ -29823,7 +29886,7 @@ await client.tracking.sessions.addFlightV1({
|
|
|
29823
29886
|
<dl>
|
|
29824
29887
|
<dd>
|
|
29825
29888
|
|
|
29826
|
-
|
|
29889
|
+
Returns the Cirium-sourced positional track for one of the session's flight legs — the live breadcrumb trail plus the planned path (waypoints + legacy route) — cached on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
|
|
29827
29890
|
|
|
29828
29891
|
</dd>
|
|
29829
29892
|
</dl>
|
|
@@ -29839,10 +29902,9 @@ Removes a flight number and FA flight IDs from a session. Runs the shared-aware
|
|
|
29839
29902
|
<dd>
|
|
29840
29903
|
|
|
29841
29904
|
```typescript
|
|
29842
|
-
await client.tracking.sessions.
|
|
29905
|
+
await client.tracking.sessions.flightTrackV1({
|
|
29843
29906
|
session_id: "session_id",
|
|
29844
|
-
|
|
29845
|
-
fa_flight_ids: ["fa_flight_ids"],
|
|
29907
|
+
flight_leg_id: "flight_leg_id",
|
|
29846
29908
|
});
|
|
29847
29909
|
```
|
|
29848
29910
|
|
|
@@ -29859,7 +29921,7 @@ await client.tracking.sessions.removeFlightV1({
|
|
|
29859
29921
|
<dl>
|
|
29860
29922
|
<dd>
|
|
29861
29923
|
|
|
29862
|
-
**request:** `Chrt.tracking.
|
|
29924
|
+
**request:** `Chrt.tracking.SessionsFlightTrackV1Request`
|
|
29863
29925
|
|
|
29864
29926
|
</dd>
|
|
29865
29927
|
</dl>
|
|
@@ -29878,7 +29940,7 @@ await client.tracking.sessions.removeFlightV1({
|
|
|
29878
29940
|
</dl>
|
|
29879
29941
|
</details>
|
|
29880
29942
|
|
|
29881
|
-
<details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">
|
|
29943
|
+
<details><summary><code>client.tracking.sessions.<a href="/src/api/resources/tracking/resources/sessions/client/Client.ts">setFlightInfoV1</a>({ ...params }) -> boolean</code></summary>
|
|
29882
29944
|
<dl>
|
|
29883
29945
|
<dd>
|
|
29884
29946
|
|
|
@@ -29890,7 +29952,7 @@ await client.tracking.sessions.removeFlightV1({
|
|
|
29890
29952
|
<dl>
|
|
29891
29953
|
<dd>
|
|
29892
29954
|
|
|
29893
|
-
|
|
29955
|
+
Replaces the session's followed flights: deletes the existing session-owned FlightLeg documents and creates new ones from the supplied flight details. Each leg's Cirium flightId and status resolve lazily on read. Pass an empty list to clear all flights. | auth: api_key | authz: min_org_role=operator | (SessionSetFlightInfoReq1) -> (bool)
|
|
29894
29956
|
|
|
29895
29957
|
</dd>
|
|
29896
29958
|
</dl>
|
|
@@ -29906,8 +29968,19 @@ Fetches current OOOI timestamps from FlightAware for each fa_flight_id on the se
|
|
|
29906
29968
|
<dd>
|
|
29907
29969
|
|
|
29908
29970
|
```typescript
|
|
29909
|
-
await client.tracking.sessions.
|
|
29971
|
+
await client.tracking.sessions.setFlightInfoV1({
|
|
29910
29972
|
session_id: "session_id",
|
|
29973
|
+
flight_legs: [
|
|
29974
|
+
{
|
|
29975
|
+
schema_version: 1,
|
|
29976
|
+
flight_number: "flight_number",
|
|
29977
|
+
provenance: "manual",
|
|
29978
|
+
origin_iata: "origin_iata",
|
|
29979
|
+
destination_iata: "destination_iata",
|
|
29980
|
+
scheduled_departure_utc: "2024-01-15T09:30:00Z",
|
|
29981
|
+
carrier_iata: "carrier_iata",
|
|
29982
|
+
},
|
|
29983
|
+
],
|
|
29911
29984
|
});
|
|
29912
29985
|
```
|
|
29913
29986
|
|
|
@@ -29924,7 +29997,7 @@ await client.tracking.sessions.syncFlightStatusV1({
|
|
|
29924
29997
|
<dl>
|
|
29925
29998
|
<dd>
|
|
29926
29999
|
|
|
29927
|
-
**request:** `Chrt.tracking.
|
|
30000
|
+
**request:** `Chrt.tracking.SessionSetFlightInfoReq1`
|
|
29928
30001
|
|
|
29929
30002
|
</dd>
|
|
29930
30003
|
</dl>
|
package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* session_id: "session_id",
|
|
8
|
-
* flight_number: "flight_number",
|
|
9
|
-
* fa_flight_ids: ["fa_flight_ids"]
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface SessionAddFlightReq1 {
|
|
13
|
-
session_id: string;
|
|
14
|
-
flight_number: string;
|
|
15
|
-
fa_flight_ids: string[];
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* session_id: "session_id",
|
|
8
|
-
* flight_number: "flight_number",
|
|
9
|
-
* fa_flight_ids: ["fa_flight_ids"]
|
|
10
|
-
* }
|
|
11
|
-
*/
|
|
12
|
-
export interface SessionRemoveFlightReq1 {
|
|
13
|
-
session_id: string;
|
|
14
|
-
flight_number: string;
|
|
15
|
-
fa_flight_ids: string[];
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* The 'flight' object nested inside a FlightAware alert POST payload.
|
|
6
|
-
*/
|
|
7
|
-
export interface FlightAwareAlertFlight {
|
|
8
|
-
fa_flight_id: string;
|
|
9
|
-
ident: string;
|
|
10
|
-
registration?: string | null;
|
|
11
|
-
aircraft_type?: string | null;
|
|
12
|
-
origin?: string | null;
|
|
13
|
-
destination?: string | null;
|
|
14
|
-
/** Accepts any additional properties */
|
|
15
|
-
[key: string]: any;
|
|
16
|
-
}
|