@chrt-inc/typescript-sdk 1.601.0 → 1.602.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.
@@ -54,8 +54,8 @@ class ChrtClient {
54
54
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
55
55
  "X-Fern-Language": "JavaScript",
56
56
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
57
- "X-Fern-SDK-Version": "1.601.0",
58
- "User-Agent": "@chrt-inc/typescript-sdk/1.601.0",
57
+ "X-Fern-SDK-Version": "1.602.0",
58
+ "User-Agent": "@chrt-inc/typescript-sdk/1.602.0",
59
59
  "X-Fern-Runtime": core.RUNTIME.type,
60
60
  "X-Fern-Runtime-Version": core.RUNTIME.version,
61
61
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -51,7 +51,7 @@ export declare class Tasks {
51
51
  addToTaskGroupV1(taskGroupId: string, request: Chrt.shipping.AddTaskToGroupReq, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<string>;
52
52
  private __addToTaskGroupV1;
53
53
  /**
54
- * Updates a task. Operational fields require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
54
+ * Updates a task. Operational fields (location, action, time_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
55
55
  *
56
56
  * @param {string} taskId
57
57
  * @param {Chrt.TaskClientUpdate1} request
@@ -125,7 +125,7 @@ class Tasks {
125
125
  });
126
126
  }
127
127
  /**
128
- * Updates a task. Operational fields require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
128
+ * Updates a task. Operational fields (location, action, time_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
129
129
  *
130
130
  * @param {string} taskId
131
131
  * @param {Chrt.TaskClientUpdate1} request
@@ -6,12 +6,19 @@ export interface TaskGroupExpanded {
6
6
  task_group: Chrt.TaskGroup1;
7
7
  tasks_expanded?: Chrt.TaskExpanded[] | null;
8
8
  driver?: Chrt.Driver1 | null;
9
+ /** Must be a string starting with `org_` */
10
+ courier_org_id?: string | null;
9
11
  courier_org_company_name?: string | null;
10
12
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
11
13
  courier_org_handle?: string | null;
14
+ /** Must be a string starting with `org_` */
15
+ forwarder_org_id?: string | null;
12
16
  forwarder_org_company_name?: string | null;
13
17
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
14
18
  forwarder_org_handle?: string | null;
19
+ /** Must be a string starting with `org_` */
20
+ shipper_org_id?: string | null;
15
21
  shipper_org_company_name?: string | null;
22
+ off_chrt_shipper_org_id?: string | null;
16
23
  off_chrt_shipper_org_company_name?: string | null;
17
24
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.601.0";
1
+ export declare const SDK_VERSION = "1.602.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.601.0";
4
+ exports.SDK_VERSION = "1.602.0";
@@ -18,8 +18,8 @@ export class ChrtClient {
18
18
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
19
19
  "X-Fern-Language": "JavaScript",
20
20
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
21
- "X-Fern-SDK-Version": "1.601.0",
22
- "User-Agent": "@chrt-inc/typescript-sdk/1.601.0",
21
+ "X-Fern-SDK-Version": "1.602.0",
22
+ "User-Agent": "@chrt-inc/typescript-sdk/1.602.0",
23
23
  "X-Fern-Runtime": core.RUNTIME.type,
24
24
  "X-Fern-Runtime-Version": core.RUNTIME.version,
25
25
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -51,7 +51,7 @@ export declare class Tasks {
51
51
  addToTaskGroupV1(taskGroupId: string, request: Chrt.shipping.AddTaskToGroupReq, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<string>;
52
52
  private __addToTaskGroupV1;
53
53
  /**
54
- * Updates a task. Operational fields require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
54
+ * Updates a task. Operational fields (location, action, time_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
55
55
  *
56
56
  * @param {string} taskId
57
57
  * @param {Chrt.TaskClientUpdate1} request
@@ -89,7 +89,7 @@ export class Tasks {
89
89
  });
90
90
  }
91
91
  /**
92
- * Updates a task. Operational fields require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
92
+ * Updates a task. Operational fields (location, action, time_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
93
93
  *
94
94
  * @param {string} taskId
95
95
  * @param {Chrt.TaskClientUpdate1} request
@@ -6,12 +6,19 @@ export interface TaskGroupExpanded {
6
6
  task_group: Chrt.TaskGroup1;
7
7
  tasks_expanded?: Chrt.TaskExpanded[] | null;
8
8
  driver?: Chrt.Driver1 | null;
9
+ /** Must be a string starting with `org_` */
10
+ courier_org_id?: string | null;
9
11
  courier_org_company_name?: string | null;
10
12
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
11
13
  courier_org_handle?: string | null;
14
+ /** Must be a string starting with `org_` */
15
+ forwarder_org_id?: string | null;
12
16
  forwarder_org_company_name?: string | null;
13
17
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
14
18
  forwarder_org_handle?: string | null;
19
+ /** Must be a string starting with `org_` */
20
+ shipper_org_id?: string | null;
15
21
  shipper_org_company_name?: string | null;
22
+ off_chrt_shipper_org_id?: string | null;
16
23
  off_chrt_shipper_org_company_name?: string | null;
17
24
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.601.0";
1
+ export declare const SDK_VERSION = "1.602.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.601.0";
1
+ export const SDK_VERSION = "1.602.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.601.0",
3
+ "version": "1.602.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -9792,7 +9792,7 @@ await client.shipping.tasks.addToTaskGroupV1("task_group_id", {
9792
9792
  <dl>
9793
9793
  <dd>
9794
9794
 
9795
- Updates a task. Operational fields require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
9795
+ Updates a task. Operational fields (location, action, time_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
9796
9796
 
9797
9797
  </dd>
9798
9798
  </dl>