@chrt-inc/typescript-sdk 1.308.0 → 1.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +3 -3
- package/dist/cjs/api/types/Cargo1.d.ts +1 -1
- package/dist/cjs/api/types/Order1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +3 -3
- package/dist/cjs/api/types/Task1.d.ts +7 -7
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +3 -3
- package/dist/esm/api/types/Cargo1.d.mts +1 -1
- package/dist/esm/api/types/Order1.d.mts +1 -1
- package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +3 -3
- package/dist/esm/api/types/Task1.d.mts +7 -7
- package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -71,8 +71,8 @@ class ChrtClient {
|
|
|
71
71
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
74
|
-
"X-Fern-SDK-Version": "1.
|
|
75
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
74
|
+
"X-Fern-SDK-Version": "1.309.0",
|
|
75
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.309.0",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -24,9 +24,9 @@ import * as Chrt from "../../../../index.js";
|
|
|
24
24
|
export interface ShipperPayCourierRateSheetClientCreate1 {
|
|
25
25
|
schema_version: number;
|
|
26
26
|
name?: string | null;
|
|
27
|
-
cargo_types?: Chrt.CargoTypeEnum1[]
|
|
28
|
-
vehicle_types?: Chrt.VehicleTypeEnum[]
|
|
29
|
-
route_types?: Chrt.RouteTypeEnum1[]
|
|
27
|
+
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
28
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
29
|
+
route_types?: Chrt.RouteTypeEnum1[];
|
|
30
30
|
/** Must be a string starting with `org_` */
|
|
31
31
|
shipper_org_id?: string | null;
|
|
32
32
|
off_chrt_shipper_org_id?: string | null;
|
|
@@ -20,7 +20,7 @@ export interface Cargo1 {
|
|
|
20
20
|
created_by_org_id: string;
|
|
21
21
|
/** Must be a string starting with `user_` */
|
|
22
22
|
created_by_user_id: string;
|
|
23
|
-
device_ids?: string[]
|
|
23
|
+
device_ids?: string[];
|
|
24
24
|
status?: Chrt.CargoStatusEnum1;
|
|
25
25
|
draft_started_at_timestamp: string;
|
|
26
26
|
staged_at_timestamp?: string | null;
|
|
@@ -6,7 +6,7 @@ export interface Order1 {
|
|
|
6
6
|
schema_version: number;
|
|
7
7
|
_id: string;
|
|
8
8
|
short_id: string;
|
|
9
|
-
task_group_ids?: string[]
|
|
9
|
+
task_group_ids?: string[];
|
|
10
10
|
created_by_org_type: Chrt.OrgTypeEnum;
|
|
11
11
|
/** Must be a string starting with `org_` */
|
|
12
12
|
created_by_org_id: string;
|
|
@@ -5,9 +5,9 @@ import * as Chrt from "../index.js";
|
|
|
5
5
|
export interface ShipperPayCourierRateSheet1 {
|
|
6
6
|
schema_version: number;
|
|
7
7
|
name?: string | null;
|
|
8
|
-
cargo_types?: Chrt.CargoTypeEnum1[]
|
|
9
|
-
vehicle_types?: Chrt.VehicleTypeEnum[]
|
|
10
|
-
route_types?: Chrt.RouteTypeEnum1[]
|
|
8
|
+
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
9
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
10
|
+
route_types?: Chrt.RouteTypeEnum1[];
|
|
11
11
|
/** Must be a string starting with `org_` */
|
|
12
12
|
shipper_org_id?: string | null;
|
|
13
13
|
off_chrt_shipper_org_id?: string | null;
|
|
@@ -8,7 +8,7 @@ export interface Task1 {
|
|
|
8
8
|
action?: Task1.Action | null;
|
|
9
9
|
time_windows?: Chrt.TimeWindow1[];
|
|
10
10
|
order_placer_comments?: string | null;
|
|
11
|
-
shipper_contact_info_ids?: string[]
|
|
11
|
+
shipper_contact_info_ids?: string[];
|
|
12
12
|
flight_number?: string | null;
|
|
13
13
|
_id: string;
|
|
14
14
|
order_id: string;
|
|
@@ -22,18 +22,18 @@ export interface Task1 {
|
|
|
22
22
|
completed_by_org_id?: string | null;
|
|
23
23
|
/** Must be a string starting with `user_` */
|
|
24
24
|
completed_by_user_id?: string | null;
|
|
25
|
-
cargo_ids?: string[]
|
|
26
|
-
task_artifact_ids?: string[]
|
|
25
|
+
cargo_ids?: string[];
|
|
26
|
+
task_artifact_ids?: string[];
|
|
27
27
|
status?: Chrt.TaskStatusEnum1;
|
|
28
28
|
draft_started_at_timestamp: string;
|
|
29
29
|
staged_at_timestamp?: string | null;
|
|
30
30
|
completed_at_timestamp?: string | null;
|
|
31
31
|
exception_at_timestamp?: string | null;
|
|
32
32
|
order_cancelled?: boolean;
|
|
33
|
-
task_notification_email_ids?: string[]
|
|
34
|
-
task_notification_sms_ids?: string[]
|
|
35
|
-
task_notification_push_ids?: string[]
|
|
36
|
-
task_notification_voice_ids?: string[]
|
|
33
|
+
task_notification_email_ids?: string[];
|
|
34
|
+
task_notification_sms_ids?: string[];
|
|
35
|
+
task_notification_push_ids?: string[];
|
|
36
|
+
task_notification_voice_ids?: string[];
|
|
37
37
|
}
|
|
38
38
|
export declare namespace Task1 {
|
|
39
39
|
type Action = Chrt.ChrtGroundCourierTaskActionEnum1 | Chrt.FlightTaskActionEnum1 | Chrt.OnboardCourierTaskActionEnum1;
|
|
@@ -8,7 +8,7 @@ export interface TaskClientCreate1 {
|
|
|
8
8
|
action?: TaskClientCreate1.Action | null;
|
|
9
9
|
time_windows?: Chrt.TimeWindow1[];
|
|
10
10
|
order_placer_comments?: string | null;
|
|
11
|
-
shipper_contact_info_ids?: string[]
|
|
11
|
+
shipper_contact_info_ids?: string[];
|
|
12
12
|
flight_number?: string | null;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace TaskClientCreate1 {
|
|
@@ -5,9 +5,9 @@ import * as Chrt from "../index.js";
|
|
|
5
5
|
export interface TaskClientUpdate1 {
|
|
6
6
|
location?: Chrt.LocationFeature | null;
|
|
7
7
|
action?: TaskClientUpdate1.Action | null;
|
|
8
|
-
time_windows?: Chrt.TimeWindow1[]
|
|
8
|
+
time_windows?: Chrt.TimeWindow1[];
|
|
9
9
|
order_placer_comments?: string | null;
|
|
10
|
-
shipper_contact_info_ids?: string[]
|
|
10
|
+
shipper_contact_info_ids?: string[];
|
|
11
11
|
flight_number?: string | null;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace TaskClientUpdate1 {
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.309.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -35,8 +35,8 @@ export class ChrtClient {
|
|
|
35
35
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
36
36
|
"X-Fern-Language": "JavaScript",
|
|
37
37
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
38
|
-
"X-Fern-SDK-Version": "1.
|
|
39
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
38
|
+
"X-Fern-SDK-Version": "1.309.0",
|
|
39
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.309.0",
|
|
40
40
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
41
41
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
42
42
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -24,9 +24,9 @@ import * as Chrt from "../../../../index.mjs";
|
|
|
24
24
|
export interface ShipperPayCourierRateSheetClientCreate1 {
|
|
25
25
|
schema_version: number;
|
|
26
26
|
name?: string | null;
|
|
27
|
-
cargo_types?: Chrt.CargoTypeEnum1[]
|
|
28
|
-
vehicle_types?: Chrt.VehicleTypeEnum[]
|
|
29
|
-
route_types?: Chrt.RouteTypeEnum1[]
|
|
27
|
+
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
28
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
29
|
+
route_types?: Chrt.RouteTypeEnum1[];
|
|
30
30
|
/** Must be a string starting with `org_` */
|
|
31
31
|
shipper_org_id?: string | null;
|
|
32
32
|
off_chrt_shipper_org_id?: string | null;
|
|
@@ -20,7 +20,7 @@ export interface Cargo1 {
|
|
|
20
20
|
created_by_org_id: string;
|
|
21
21
|
/** Must be a string starting with `user_` */
|
|
22
22
|
created_by_user_id: string;
|
|
23
|
-
device_ids?: string[]
|
|
23
|
+
device_ids?: string[];
|
|
24
24
|
status?: Chrt.CargoStatusEnum1;
|
|
25
25
|
draft_started_at_timestamp: string;
|
|
26
26
|
staged_at_timestamp?: string | null;
|
|
@@ -6,7 +6,7 @@ export interface Order1 {
|
|
|
6
6
|
schema_version: number;
|
|
7
7
|
_id: string;
|
|
8
8
|
short_id: string;
|
|
9
|
-
task_group_ids?: string[]
|
|
9
|
+
task_group_ids?: string[];
|
|
10
10
|
created_by_org_type: Chrt.OrgTypeEnum;
|
|
11
11
|
/** Must be a string starting with `org_` */
|
|
12
12
|
created_by_org_id: string;
|
|
@@ -5,9 +5,9 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface ShipperPayCourierRateSheet1 {
|
|
6
6
|
schema_version: number;
|
|
7
7
|
name?: string | null;
|
|
8
|
-
cargo_types?: Chrt.CargoTypeEnum1[]
|
|
9
|
-
vehicle_types?: Chrt.VehicleTypeEnum[]
|
|
10
|
-
route_types?: Chrt.RouteTypeEnum1[]
|
|
8
|
+
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
9
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
10
|
+
route_types?: Chrt.RouteTypeEnum1[];
|
|
11
11
|
/** Must be a string starting with `org_` */
|
|
12
12
|
shipper_org_id?: string | null;
|
|
13
13
|
off_chrt_shipper_org_id?: string | null;
|
|
@@ -8,7 +8,7 @@ export interface Task1 {
|
|
|
8
8
|
action?: Task1.Action | null;
|
|
9
9
|
time_windows?: Chrt.TimeWindow1[];
|
|
10
10
|
order_placer_comments?: string | null;
|
|
11
|
-
shipper_contact_info_ids?: string[]
|
|
11
|
+
shipper_contact_info_ids?: string[];
|
|
12
12
|
flight_number?: string | null;
|
|
13
13
|
_id: string;
|
|
14
14
|
order_id: string;
|
|
@@ -22,18 +22,18 @@ export interface Task1 {
|
|
|
22
22
|
completed_by_org_id?: string | null;
|
|
23
23
|
/** Must be a string starting with `user_` */
|
|
24
24
|
completed_by_user_id?: string | null;
|
|
25
|
-
cargo_ids?: string[]
|
|
26
|
-
task_artifact_ids?: string[]
|
|
25
|
+
cargo_ids?: string[];
|
|
26
|
+
task_artifact_ids?: string[];
|
|
27
27
|
status?: Chrt.TaskStatusEnum1;
|
|
28
28
|
draft_started_at_timestamp: string;
|
|
29
29
|
staged_at_timestamp?: string | null;
|
|
30
30
|
completed_at_timestamp?: string | null;
|
|
31
31
|
exception_at_timestamp?: string | null;
|
|
32
32
|
order_cancelled?: boolean;
|
|
33
|
-
task_notification_email_ids?: string[]
|
|
34
|
-
task_notification_sms_ids?: string[]
|
|
35
|
-
task_notification_push_ids?: string[]
|
|
36
|
-
task_notification_voice_ids?: string[]
|
|
33
|
+
task_notification_email_ids?: string[];
|
|
34
|
+
task_notification_sms_ids?: string[];
|
|
35
|
+
task_notification_push_ids?: string[];
|
|
36
|
+
task_notification_voice_ids?: string[];
|
|
37
37
|
}
|
|
38
38
|
export declare namespace Task1 {
|
|
39
39
|
type Action = Chrt.ChrtGroundCourierTaskActionEnum1 | Chrt.FlightTaskActionEnum1 | Chrt.OnboardCourierTaskActionEnum1;
|
|
@@ -8,7 +8,7 @@ export interface TaskClientCreate1 {
|
|
|
8
8
|
action?: TaskClientCreate1.Action | null;
|
|
9
9
|
time_windows?: Chrt.TimeWindow1[];
|
|
10
10
|
order_placer_comments?: string | null;
|
|
11
|
-
shipper_contact_info_ids?: string[]
|
|
11
|
+
shipper_contact_info_ids?: string[];
|
|
12
12
|
flight_number?: string | null;
|
|
13
13
|
}
|
|
14
14
|
export declare namespace TaskClientCreate1 {
|
|
@@ -5,9 +5,9 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface TaskClientUpdate1 {
|
|
6
6
|
location?: Chrt.LocationFeature | null;
|
|
7
7
|
action?: TaskClientUpdate1.Action | null;
|
|
8
|
-
time_windows?: Chrt.TimeWindow1[]
|
|
8
|
+
time_windows?: Chrt.TimeWindow1[];
|
|
9
9
|
order_placer_comments?: string | null;
|
|
10
|
-
shipper_contact_info_ids?: string[]
|
|
10
|
+
shipper_contact_info_ids?: string[];
|
|
11
11
|
flight_number?: string | null;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace TaskClientUpdate1 {
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.309.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.309.0";
|