@chrt-inc/typescript-sdk 1.280.0 → 1.282.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/taskGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/taskGroups/client/Client.js +1 -1
- package/dist/cjs/api/resources/taskGroups/client/requests/TaskGroupsExpandedReq.d.ts +3 -0
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +3 -0
- 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/taskGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +1 -1
- package/dist/esm/api/resources/taskGroups/client/requests/TaskGroupsExpandedReq.d.mts +3 -0
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -68,8 +68,8 @@ class ChrtClient {
|
|
|
68
68
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
71
|
-
"X-Fern-SDK-Version": "1.
|
|
72
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
71
|
+
"X-Fern-SDK-Version": "1.282.0",
|
|
72
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.282.0",
|
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
75
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -101,7 +101,7 @@ export declare class TaskGroups {
|
|
|
101
101
|
start(id: string, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
102
102
|
private __start;
|
|
103
103
|
/**
|
|
104
|
-
* Fetches task groups by driver with optional expanded data
|
|
104
|
+
* Fetches task groups by driver with optional expanded data
|
|
105
105
|
*
|
|
106
106
|
* @param {Chrt.TaskGroupsExpandedReq} request
|
|
107
107
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -358,7 +358,7 @@ class TaskGroups {
|
|
|
358
358
|
});
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
|
-
* Fetches task groups by driver with optional expanded data
|
|
361
|
+
* Fetches task groups by driver with optional expanded data
|
|
362
362
|
*
|
|
363
363
|
* @param {Chrt.TaskGroupsExpandedReq} request
|
|
364
364
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -18,4 +18,7 @@ export interface TaskGroupsExpandedReq {
|
|
|
18
18
|
expand_order_org_company_name?: boolean;
|
|
19
19
|
expand_order_org_handle?: boolean;
|
|
20
20
|
expand_task_group_mileage?: boolean;
|
|
21
|
+
expand_courier_pay_driver_line_item_groups?: boolean;
|
|
22
|
+
expand_courier_pay_driver_rate_sheet?: boolean;
|
|
23
|
+
expand_courier_pay_driver_payout?: boolean;
|
|
21
24
|
}
|
|
@@ -11,4 +11,7 @@ export interface TaskGroupExpanded {
|
|
|
11
11
|
order_org_company_name?: string | null;
|
|
12
12
|
order_org_handle?: string | null;
|
|
13
13
|
task_group_mileage?: number | null;
|
|
14
|
+
courier_pay_driver_line_item_groups?: Chrt.CourierPayDriverLineItemGroup1[] | null;
|
|
15
|
+
courier_pay_driver_rate_sheet?: Chrt.CourierPayDriverRateSheet1 | null;
|
|
16
|
+
courier_pay_driver_payout?: Chrt.CourierPayDriverPayout1 | null;
|
|
14
17
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.282.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -32,8 +32,8 @@ export class ChrtClient {
|
|
|
32
32
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
33
33
|
"X-Fern-Language": "JavaScript",
|
|
34
34
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
35
|
-
"X-Fern-SDK-Version": "1.
|
|
36
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
35
|
+
"X-Fern-SDK-Version": "1.282.0",
|
|
36
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.282.0",
|
|
37
37
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
38
38
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
39
39
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -101,7 +101,7 @@ export declare class TaskGroups {
|
|
|
101
101
|
start(id: string, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
102
102
|
private __start;
|
|
103
103
|
/**
|
|
104
|
-
* Fetches task groups by driver with optional expanded data
|
|
104
|
+
* Fetches task groups by driver with optional expanded data
|
|
105
105
|
*
|
|
106
106
|
* @param {Chrt.TaskGroupsExpandedReq} request
|
|
107
107
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -322,7 +322,7 @@ export class TaskGroups {
|
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
|
-
* Fetches task groups by driver with optional expanded data
|
|
325
|
+
* Fetches task groups by driver with optional expanded data
|
|
326
326
|
*
|
|
327
327
|
* @param {Chrt.TaskGroupsExpandedReq} request
|
|
328
328
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -18,4 +18,7 @@ export interface TaskGroupsExpandedReq {
|
|
|
18
18
|
expand_order_org_company_name?: boolean;
|
|
19
19
|
expand_order_org_handle?: boolean;
|
|
20
20
|
expand_task_group_mileage?: boolean;
|
|
21
|
+
expand_courier_pay_driver_line_item_groups?: boolean;
|
|
22
|
+
expand_courier_pay_driver_rate_sheet?: boolean;
|
|
23
|
+
expand_courier_pay_driver_payout?: boolean;
|
|
21
24
|
}
|
|
@@ -11,4 +11,7 @@ export interface TaskGroupExpanded {
|
|
|
11
11
|
order_org_company_name?: string | null;
|
|
12
12
|
order_org_handle?: string | null;
|
|
13
13
|
task_group_mileage?: number | null;
|
|
14
|
+
courier_pay_driver_line_item_groups?: Chrt.CourierPayDriverLineItemGroup1[] | null;
|
|
15
|
+
courier_pay_driver_rate_sheet?: Chrt.CourierPayDriverRateSheet1 | null;
|
|
16
|
+
courier_pay_driver_payout?: Chrt.CourierPayDriverPayout1 | null;
|
|
14
17
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.282.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.282.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -4637,7 +4637,7 @@ await client.taskGroups.start("id");
|
|
|
4637
4637
|
<dl>
|
|
4638
4638
|
<dd>
|
|
4639
4639
|
|
|
4640
|
-
Fetches task groups by driver with optional expanded data
|
|
4640
|
+
Fetches task groups by driver with optional expanded data
|
|
4641
4641
|
|
|
4642
4642
|
</dd>
|
|
4643
4643
|
</dl>
|