@chrt-inc/typescript-sdk 1.992.0 → 1.998.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/errors/ForbiddenError.d.ts +9 -0
- package/dist/cjs/api/errors/ForbiddenError.js +52 -0
- package/dist/cjs/api/errors/LockedError.d.ts +9 -0
- package/dist/cjs/api/errors/LockedError.js +52 -0
- package/dist/cjs/api/errors/NotFoundError.d.ts +9 -0
- package/dist/cjs/api/errors/NotFoundError.js +52 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +9 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +52 -0
- package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +1 -2
- package/dist/cjs/api/errors/index.d.ts +4 -0
- package/dist/cjs/api/errors/index.js +4 -0
- package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.js +13 -1
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +13 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +13 -1
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +13 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +13 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +1 -1
- package/dist/cjs/api/types/FileDownloadErrorRes.d.ts +27 -0
- package/dist/cjs/api/types/FileDownloadErrorRes.js +19 -0
- package/dist/cjs/api/types/FileDownloadRequestErrorRes.d.ts +13 -0
- package/dist/cjs/api/types/FlightLeg1.d.ts +1 -0
- package/dist/cjs/api/types/FlightTrackPosition1.d.ts +8 -6
- package/dist/cjs/api/types/FlightTrackRes.d.ts +5 -15
- package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/NotFoundErrorBody.js +5 -0
- package/dist/cjs/api/types/UnprocessableEntityErrorBody.d.ts +5 -0
- package/dist/cjs/api/types/UnprocessableEntityErrorBody.js +5 -0
- package/dist/cjs/api/types/index.d.ts +4 -1
- package/dist/cjs/api/types/index.js +4 -1
- 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/errors/ForbiddenError.d.mts +9 -0
- package/dist/esm/api/errors/ForbiddenError.mjs +15 -0
- package/dist/esm/api/errors/LockedError.d.mts +9 -0
- package/dist/esm/api/errors/LockedError.mjs +15 -0
- package/dist/esm/api/errors/NotFoundError.d.mts +9 -0
- package/dist/esm/api/errors/NotFoundError.mjs +15 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +9 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +15 -0
- package/dist/esm/api/errors/UnprocessableEntityError.d.mts +1 -2
- package/dist/esm/api/errors/index.d.mts +4 -0
- package/dist/esm/api/errors/index.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.mjs +13 -1
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +13 -1
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +13 -1
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +13 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +13 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +1 -1
- package/dist/esm/api/types/FileDownloadErrorRes.d.mts +27 -0
- package/dist/esm/api/types/FileDownloadErrorRes.mjs +16 -0
- package/dist/esm/api/types/FileDownloadRequestErrorRes.d.mts +13 -0
- package/dist/esm/api/types/FlightLeg1.d.mts +1 -0
- package/dist/esm/api/types/FlightTrackPosition1.d.mts +8 -6
- package/dist/esm/api/types/FlightTrackRes.d.mts +5 -15
- package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
- package/dist/esm/api/types/NotFoundErrorBody.mjs +4 -0
- package/dist/esm/api/types/UnprocessableEntityErrorBody.d.mts +5 -0
- package/dist/esm/api/types/UnprocessableEntityErrorBody.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +4 -1
- package/dist/esm/api/types/index.mjs +4 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +7 -7
- package/dist/cjs/api/types/FlightTrackWaypoint1.d.ts +0 -7
- package/dist/esm/api/types/FlightTrackWaypoint1.d.mts +0 -7
- /package/dist/cjs/api/types/{FlightTrackWaypoint1.js → FileDownloadRequestErrorRes.js} +0 -0
- /package/dist/esm/api/types/{FlightTrackWaypoint1.mjs → FileDownloadRequestErrorRes.mjs} +0 -0
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class S3Object {
|
|
|
31
31
|
protected readonly _options: S3Object.Options;
|
|
32
32
|
constructor(_options?: S3Object.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Uploads a file (image, PDF, etc.) to a task group.
|
|
34
|
+
* Uploads a file (image, PDF, etc.) to a task group. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} taskGroupId
|
|
37
37
|
* @param {Chrt.shipping.taskGroups.BodyPostTaskGroupsS3ObjectAddV1} request
|
|
@@ -75,7 +75,11 @@ export declare class S3Object {
|
|
|
75
75
|
private __getS3ObjectMetadataV1;
|
|
76
76
|
/**
|
|
77
77
|
* Streams a task group S3 object file from storage. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (binary)
|
|
78
|
+
* @throws {@link Chrt.ForbiddenError}
|
|
79
|
+
* @throws {@link Chrt.NotFoundError}
|
|
78
80
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
81
|
+
* @throws {@link Chrt.LockedError}
|
|
82
|
+
* @throws {@link Chrt.ServiceUnavailableError}
|
|
79
83
|
*/
|
|
80
84
|
getV1(taskGroupS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
81
85
|
private __getV1;
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs
CHANGED
|
@@ -20,7 +20,7 @@ export class S3Object {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Uploads a file (image, PDF, etc.) to a task group.
|
|
23
|
+
* Uploads a file (image, PDF, etc.) to a task group. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
|
|
24
24
|
*
|
|
25
25
|
* @param {string} taskGroupId
|
|
26
26
|
* @param {Chrt.shipping.taskGroups.BodyPostTaskGroupsS3ObjectAddV1} request
|
|
@@ -208,7 +208,11 @@ export class S3Object {
|
|
|
208
208
|
}
|
|
209
209
|
/**
|
|
210
210
|
* Streams a task group S3 object file from storage. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (binary)
|
|
211
|
+
* @throws {@link Chrt.ForbiddenError}
|
|
212
|
+
* @throws {@link Chrt.NotFoundError}
|
|
211
213
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
214
|
+
* @throws {@link Chrt.LockedError}
|
|
215
|
+
* @throws {@link Chrt.ServiceUnavailableError}
|
|
212
216
|
*/
|
|
213
217
|
getV1(taskGroupS3ObjectMetadataId, requestOptions) {
|
|
214
218
|
return core.HttpResponsePromise.fromPromise(this.__getV1(taskGroupS3ObjectMetadataId, requestOptions));
|
|
@@ -232,8 +236,16 @@ export class S3Object {
|
|
|
232
236
|
}
|
|
233
237
|
if (_response.error.reason === "status-code") {
|
|
234
238
|
switch (_response.error.statusCode) {
|
|
239
|
+
case 403:
|
|
240
|
+
throw new Chrt.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
241
|
+
case 404:
|
|
242
|
+
throw new Chrt.NotFoundError(_response.error.body, _response.rawResponse);
|
|
235
243
|
case 422:
|
|
236
244
|
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
245
|
+
case 423:
|
|
246
|
+
throw new Chrt.LockedError(_response.error.body, _response.rawResponse);
|
|
247
|
+
case 503:
|
|
248
|
+
throw new Chrt.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
237
249
|
default:
|
|
238
250
|
throw new errors.ChrtError({
|
|
239
251
|
statusCode: _response.error.statusCode,
|
|
@@ -63,7 +63,7 @@ export declare class Sessions {
|
|
|
63
63
|
flightLegsV1(request: Chrt.tracking.SessionsFlightLegsV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1[]>;
|
|
64
64
|
private __flightLegsV1;
|
|
65
65
|
/**
|
|
66
|
-
* Returns the
|
|
66
|
+
* Returns the FlightAware actual path, planned path, and latest position for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
|
|
67
67
|
*
|
|
68
68
|
* @param {Chrt.tracking.SessionsFlightTrackV1Request} request
|
|
69
69
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -167,7 +167,7 @@ export class Sessions {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
|
-
* Returns the
|
|
170
|
+
* Returns the FlightAware actual path, planned path, and latest position for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
|
|
171
171
|
*
|
|
172
172
|
* @param {Chrt.tracking.SessionsFlightTrackV1Request} request
|
|
173
173
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface FileDownloadErrorRes {
|
|
5
|
+
/** Stable code for client behavior; do not parse detail. */
|
|
6
|
+
code: FileDownloadErrorRes.Code;
|
|
7
|
+
/** Factual description of the file or scan condition. */
|
|
8
|
+
detail: string;
|
|
9
|
+
/** Whether another download attempt may help without operator intervention. */
|
|
10
|
+
retryable: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace FileDownloadErrorRes {
|
|
13
|
+
/**
|
|
14
|
+
* Stable code for client behavior; do not parse detail.
|
|
15
|
+
*/
|
|
16
|
+
type Code = "FILE_SCAN_PENDING" | "FILE_MALWARE_DETECTED" | "FILE_SCAN_UNSUPPORTED" | "FILE_SCAN_FAILED" | "FILE_SCAN_ACCESS_DENIED" | "FILE_SCAN_STATUS_UNAVAILABLE" | "FILE_DOWNLOAD_UNAVAILABLE" | "FILE_NOT_FOUND";
|
|
17
|
+
const Code: {
|
|
18
|
+
readonly FileScanPending: "FILE_SCAN_PENDING";
|
|
19
|
+
readonly FileMalwareDetected: "FILE_MALWARE_DETECTED";
|
|
20
|
+
readonly FileScanUnsupported: "FILE_SCAN_UNSUPPORTED";
|
|
21
|
+
readonly FileScanFailed: "FILE_SCAN_FAILED";
|
|
22
|
+
readonly FileScanAccessDenied: "FILE_SCAN_ACCESS_DENIED";
|
|
23
|
+
readonly FileScanStatusUnavailable: "FILE_SCAN_STATUS_UNAVAILABLE";
|
|
24
|
+
readonly FileDownloadUnavailable: "FILE_DOWNLOAD_UNAVAILABLE";
|
|
25
|
+
readonly FileNotFound: "FILE_NOT_FOUND";
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export var FileDownloadErrorRes;
|
|
5
|
+
(function (FileDownloadErrorRes) {
|
|
6
|
+
FileDownloadErrorRes.Code = {
|
|
7
|
+
FileScanPending: "FILE_SCAN_PENDING",
|
|
8
|
+
FileMalwareDetected: "FILE_MALWARE_DETECTED",
|
|
9
|
+
FileScanUnsupported: "FILE_SCAN_UNSUPPORTED",
|
|
10
|
+
FileScanFailed: "FILE_SCAN_FAILED",
|
|
11
|
+
FileScanAccessDenied: "FILE_SCAN_ACCESS_DENIED",
|
|
12
|
+
FileScanStatusUnavailable: "FILE_SCAN_STATUS_UNAVAILABLE",
|
|
13
|
+
FileDownloadUnavailable: "FILE_DOWNLOAD_UNAVAILABLE",
|
|
14
|
+
FileNotFound: "FILE_NOT_FOUND",
|
|
15
|
+
};
|
|
16
|
+
})(FileDownloadErrorRes || (FileDownloadErrorRes = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface FileDownloadRequestErrorRes {
|
|
5
|
+
/** Existing authorization/resource error message or FastAPI request-validation errors. */
|
|
6
|
+
detail: FileDownloadRequestErrorRes.Detail;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace FileDownloadRequestErrorRes {
|
|
9
|
+
/**
|
|
10
|
+
* Existing authorization/resource error message or FastAPI request-validation errors.
|
|
11
|
+
*/
|
|
12
|
+
type Detail = string | Record<string, unknown>[];
|
|
13
|
+
}
|
|
@@ -16,6 +16,7 @@ export interface FlightLeg1 {
|
|
|
16
16
|
destination_iata: string;
|
|
17
17
|
estimated_arrival_utc?: string | null;
|
|
18
18
|
estimated_departure_utc?: string | null;
|
|
19
|
+
fa_flight_id?: string | null;
|
|
19
20
|
flight_number: string;
|
|
20
21
|
flight_status?: Chrt.FlightLegStatusEnum1 | null;
|
|
21
22
|
flight_status_fetched_at_utc?: string | null;
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface FlightTrackPosition1 {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
altitude_feet?: number | null;
|
|
6
|
+
ground_speed_knots?: number | null;
|
|
7
|
+
heading_degrees?: number | null;
|
|
8
|
+
latitude?: number | null;
|
|
9
|
+
longitude?: number | null;
|
|
10
|
+
name?: string | null;
|
|
11
|
+
position_source?: string | null;
|
|
12
|
+
received_at_timestamp?: string | null;
|
|
11
13
|
}
|
|
@@ -2,20 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Positional track for a flight leg: live trail + (optional) planned path.
|
|
7
|
-
*
|
|
8
|
-
* `positions` is the flown breadcrumb trail (present once airborne);
|
|
9
|
-
* `waypoints` / `legacy_route` are the planned path (present once Cirium has
|
|
10
|
-
* the filed flight plan, ~24h before departure). Everything is empty when the
|
|
11
|
-
* leg has no resolvable Cirium `flightId` or Cirium has no track yet — the
|
|
12
|
-
* endpoint never errors on a missing track (fail-soft, like the status route).
|
|
13
|
-
*/
|
|
14
5
|
export interface FlightTrackRes {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
waypoints?: Chrt.FlightTrackWaypoint1[];
|
|
6
|
+
actual_flight_path?: Chrt.FlightTrackPosition1[];
|
|
7
|
+
fa_flight_id?: string | null;
|
|
8
|
+
last_refresh_attempt_at_timestamp?: string | null;
|
|
9
|
+
latest_position?: Chrt.FlightTrackPosition1 | null;
|
|
10
|
+
planned_flight_path?: Chrt.FlightTrackPosition1[];
|
|
21
11
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./NotFoundErrorBody.mjs";
|
|
2
|
+
export * from "./UnprocessableEntityErrorBody.mjs";
|
|
1
3
|
export * from "./AiImageDescription.mjs";
|
|
2
4
|
export * from "./Account1.mjs";
|
|
3
5
|
export * from "./AccountListRes.mjs";
|
|
@@ -228,6 +230,8 @@ export * from "./EcourierOrderResponse1.mjs";
|
|
|
228
230
|
export * from "./EcourierOrderSortByEnum.mjs";
|
|
229
231
|
export * from "./EcourierOrderStopResponse1.mjs";
|
|
230
232
|
export * from "./ExtraStopRate1.mjs";
|
|
233
|
+
export * from "./FileDownloadErrorRes.mjs";
|
|
234
|
+
export * from "./FileDownloadRequestErrorRes.mjs";
|
|
231
235
|
export * from "./FirebaseCloudMessagingTokenData1.mjs";
|
|
232
236
|
export * from "./FlatFeeRate1.mjs";
|
|
233
237
|
export * from "./FlightConnection.mjs";
|
|
@@ -242,7 +246,6 @@ export * from "./FlightLegStatusSourceEnum1.mjs";
|
|
|
242
246
|
export * from "./FlightLegWebhookInfo.mjs";
|
|
243
247
|
export * from "./FlightTrackPosition1.mjs";
|
|
244
248
|
export * from "./FlightTrackRes.mjs";
|
|
245
|
-
export * from "./FlightTrackWaypoint1.mjs";
|
|
246
249
|
export * from "./FraytWebhookResponse.mjs";
|
|
247
250
|
export * from "./FromPayables1.mjs";
|
|
248
251
|
export * from "./FuelSurchargeRate1.mjs";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./NotFoundErrorBody.mjs";
|
|
2
|
+
export * from "./UnprocessableEntityErrorBody.mjs";
|
|
1
3
|
export * from "./AiImageDescription.mjs";
|
|
2
4
|
export * from "./Account1.mjs";
|
|
3
5
|
export * from "./AccountListRes.mjs";
|
|
@@ -228,6 +230,8 @@ export * from "./EcourierOrderResponse1.mjs";
|
|
|
228
230
|
export * from "./EcourierOrderSortByEnum.mjs";
|
|
229
231
|
export * from "./EcourierOrderStopResponse1.mjs";
|
|
230
232
|
export * from "./ExtraStopRate1.mjs";
|
|
233
|
+
export * from "./FileDownloadErrorRes.mjs";
|
|
234
|
+
export * from "./FileDownloadRequestErrorRes.mjs";
|
|
231
235
|
export * from "./FirebaseCloudMessagingTokenData1.mjs";
|
|
232
236
|
export * from "./FlatFeeRate1.mjs";
|
|
233
237
|
export * from "./FlightConnection.mjs";
|
|
@@ -242,7 +246,6 @@ export * from "./FlightLegStatusSourceEnum1.mjs";
|
|
|
242
246
|
export * from "./FlightLegWebhookInfo.mjs";
|
|
243
247
|
export * from "./FlightTrackPosition1.mjs";
|
|
244
248
|
export * from "./FlightTrackRes.mjs";
|
|
245
|
-
export * from "./FlightTrackWaypoint1.mjs";
|
|
246
249
|
export * from "./FraytWebhookResponse.mjs";
|
|
247
250
|
export * from "./FromPayables1.mjs";
|
|
248
251
|
export * from "./FuelSurchargeRate1.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.998.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.998.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -11678,7 +11678,7 @@ await client.operations.orderInternalMessages.deleteMessageV1("order_id", "messa
|
|
|
11678
11678
|
<dl>
|
|
11679
11679
|
<dd>
|
|
11680
11680
|
|
|
11681
|
-
Uploads a file to the caller's OrderInternalMessages for this order (lazy-creates the messages doc).
|
|
11681
|
+
Uploads a file to the caller's OrderInternalMessages for this order (lazy-creates the messages doc). Retains uploaded files; previews require a clean malware scan. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (UploadFile) -> (OrderInternalMessageS3ObjectMetadata1)
|
|
11682
11682
|
|
|
11683
11683
|
</dd>
|
|
11684
11684
|
</dl>
|
|
@@ -14409,7 +14409,7 @@ await client.orgs.publicData.getByOrgIdV1("org_id");
|
|
|
14409
14409
|
<dl>
|
|
14410
14410
|
<dd>
|
|
14411
14411
|
|
|
14412
|
-
Uploads a file to an organization compliance document.
|
|
14412
|
+
Uploads a file to an organization compliance document. Retains uploaded files; previews require a clean malware scan. | authz: allowed_org_types=[provider], min_org_role=administrator | (UploadFile) -> (OrgComplianceDocumentS3ObjectMetadata1)
|
|
14413
14413
|
|
|
14414
14414
|
</dd>
|
|
14415
14415
|
</dl>
|
|
@@ -16374,7 +16374,7 @@ await client.shipping.flights.getFlightStatusForFlightLegV1("flight_leg_id");
|
|
|
16374
16374
|
<dl>
|
|
16375
16375
|
<dd>
|
|
16376
16376
|
|
|
16377
|
-
Returns the
|
|
16377
|
+
Returns the FlightAware actual path, planned path, and latest position for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
|
|
16378
16378
|
|
|
16379
16379
|
</dd>
|
|
16380
16380
|
</dl>
|
|
@@ -19782,7 +19782,7 @@ await client.shipping.drivers.complianceDocuments.getV1("driver_compliance_docum
|
|
|
19782
19782
|
<dl>
|
|
19783
19783
|
<dd>
|
|
19784
19784
|
|
|
19785
|
-
Uploads a file to a driver compliance document.
|
|
19785
|
+
Uploads a file to a driver compliance document. Retains uploaded files; previews require a clean malware scan. | authz: allowed_org_types=[provider], min_org_role=administrator | (UploadFile) -> (DriverComplianceDocumentS3ObjectMetadata1)
|
|
19786
19786
|
|
|
19787
19787
|
</dd>
|
|
19788
19788
|
</dl>
|
|
@@ -23621,7 +23621,7 @@ await client.shipping.orders.utils.imageToTextV1({
|
|
|
23621
23621
|
<dl>
|
|
23622
23622
|
<dd>
|
|
23623
23623
|
|
|
23624
|
-
Uploads a file (image, PDF, etc.) to a task artifact.
|
|
23624
|
+
Uploads a file (image, PDF, etc.) to a task artifact. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
|
|
23625
23625
|
|
|
23626
23626
|
</dd>
|
|
23627
23627
|
</dl>
|
|
@@ -24511,7 +24511,7 @@ await client.shipping.taskGroups.expanded.listForProviderOperatorsV1({
|
|
|
24511
24511
|
<dl>
|
|
24512
24512
|
<dd>
|
|
24513
24513
|
|
|
24514
|
-
Uploads a file (image, PDF, etc.) to a task group.
|
|
24514
|
+
Uploads a file (image, PDF, etc.) to a task group. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
|
|
24515
24515
|
|
|
24516
24516
|
</dd>
|
|
24517
24517
|
</dl>
|
|
@@ -30747,7 +30747,7 @@ await client.tracking.sessions.flightLegsV1({
|
|
|
30747
30747
|
<dl>
|
|
30748
30748
|
<dd>
|
|
30749
30749
|
|
|
30750
|
-
Returns the
|
|
30750
|
+
Returns the FlightAware actual path, planned path, and latest position for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
|
|
30751
30751
|
|
|
30752
30752
|
</dd>
|
|
30753
30753
|
</dl>
|
|
File without changes
|
|
File without changes
|