@chrt-inc/typescript-sdk 1.406.1 → 1.410.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/resources/taskGroupId/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/taskGroups/resources/taskGroupId/client/Client.js +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/taskGroups/resources/taskGroupId/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/taskGroups/resources/taskGroupId/client/Client.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -4
package/dist/cjs/Client.js
CHANGED
|
@@ -67,8 +67,8 @@ class ChrtClient {
|
|
|
67
67
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
70
|
-
"X-Fern-SDK-Version": "1.
|
|
71
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
70
|
+
"X-Fern-SDK-Version": "1.410.0",
|
|
71
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.410.0",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -30,7 +30,7 @@ export declare class TaskGroupId {
|
|
|
30
30
|
protected readonly _options: TaskGroupId.Options;
|
|
31
31
|
constructor(_options?: TaskGroupId.Options);
|
|
32
32
|
/**
|
|
33
|
-
* Retrieves the task group
|
|
33
|
+
* Retrieves the task group IDs for the courier organization assigned to an order's task groups. | authz_personas=[courier_org_operators] | () -> (list[PydanticObjectId])
|
|
34
34
|
*
|
|
35
35
|
* @param {string} orderIdOrShortId
|
|
36
36
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -40,10 +40,10 @@ export declare class TaskGroupId {
|
|
|
40
40
|
* @example
|
|
41
41
|
* await client.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_short_id")
|
|
42
42
|
*/
|
|
43
|
-
forCourierOperatorsV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string>;
|
|
43
|
+
forCourierOperatorsV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string[]>;
|
|
44
44
|
private __forCourierOperatorsV1;
|
|
45
45
|
/**
|
|
46
|
-
* Retrieves the task group
|
|
46
|
+
* Retrieves the task group IDs for the courier driver assigned to an order's task groups. | authz_personas=[courier_driver] | () -> (list[PydanticObjectId])
|
|
47
47
|
*
|
|
48
48
|
* @param {string} orderIdOrShortId
|
|
49
49
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -53,7 +53,7 @@ export declare class TaskGroupId {
|
|
|
53
53
|
* @example
|
|
54
54
|
* await client.taskGroups.taskGroupId.forCourierDriverV1("order_id_or_short_id")
|
|
55
55
|
*/
|
|
56
|
-
forCourierDriverV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string>;
|
|
56
|
+
forCourierDriverV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string[]>;
|
|
57
57
|
private __forCourierDriverV1;
|
|
58
58
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
59
59
|
}
|
|
@@ -56,7 +56,7 @@ class TaskGroupId {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves the task group
|
|
59
|
+
* Retrieves the task group IDs for the courier organization assigned to an order's task groups. | authz_personas=[courier_org_operators] | () -> (list[PydanticObjectId])
|
|
60
60
|
*
|
|
61
61
|
* @param {string} orderIdOrShortId
|
|
62
62
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -115,7 +115,7 @@ class TaskGroupId {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
* Retrieves the task group
|
|
118
|
+
* Retrieves the task group IDs for the courier driver assigned to an order's task groups. | authz_personas=[courier_driver] | () -> (list[PydanticObjectId])
|
|
119
119
|
*
|
|
120
120
|
* @param {string} orderIdOrShortId
|
|
121
121
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.410.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -31,8 +31,8 @@ export class ChrtClient {
|
|
|
31
31
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
32
32
|
"X-Fern-Language": "JavaScript",
|
|
33
33
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
34
|
-
"X-Fern-SDK-Version": "1.
|
|
35
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
34
|
+
"X-Fern-SDK-Version": "1.410.0",
|
|
35
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.410.0",
|
|
36
36
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
37
37
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
38
38
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -30,7 +30,7 @@ export declare class TaskGroupId {
|
|
|
30
30
|
protected readonly _options: TaskGroupId.Options;
|
|
31
31
|
constructor(_options?: TaskGroupId.Options);
|
|
32
32
|
/**
|
|
33
|
-
* Retrieves the task group
|
|
33
|
+
* Retrieves the task group IDs for the courier organization assigned to an order's task groups. | authz_personas=[courier_org_operators] | () -> (list[PydanticObjectId])
|
|
34
34
|
*
|
|
35
35
|
* @param {string} orderIdOrShortId
|
|
36
36
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -40,10 +40,10 @@ export declare class TaskGroupId {
|
|
|
40
40
|
* @example
|
|
41
41
|
* await client.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_short_id")
|
|
42
42
|
*/
|
|
43
|
-
forCourierOperatorsV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string>;
|
|
43
|
+
forCourierOperatorsV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string[]>;
|
|
44
44
|
private __forCourierOperatorsV1;
|
|
45
45
|
/**
|
|
46
|
-
* Retrieves the task group
|
|
46
|
+
* Retrieves the task group IDs for the courier driver assigned to an order's task groups. | authz_personas=[courier_driver] | () -> (list[PydanticObjectId])
|
|
47
47
|
*
|
|
48
48
|
* @param {string} orderIdOrShortId
|
|
49
49
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -53,7 +53,7 @@ export declare class TaskGroupId {
|
|
|
53
53
|
* @example
|
|
54
54
|
* await client.taskGroups.taskGroupId.forCourierDriverV1("order_id_or_short_id")
|
|
55
55
|
*/
|
|
56
|
-
forCourierDriverV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string>;
|
|
56
|
+
forCourierDriverV1(orderIdOrShortId: string, requestOptions?: TaskGroupId.RequestOptions): core.HttpResponsePromise<string[]>;
|
|
57
57
|
private __forCourierDriverV1;
|
|
58
58
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
59
59
|
}
|
|
@@ -20,7 +20,7 @@ export class TaskGroupId {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieves the task group
|
|
23
|
+
* Retrieves the task group IDs for the courier organization assigned to an order's task groups. | authz_personas=[courier_org_operators] | () -> (list[PydanticObjectId])
|
|
24
24
|
*
|
|
25
25
|
* @param {string} orderIdOrShortId
|
|
26
26
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -79,7 +79,7 @@ export class TaskGroupId {
|
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* Retrieves the task group
|
|
82
|
+
* Retrieves the task group IDs for the courier driver assigned to an order's task groups. | authz_personas=[courier_driver] | () -> (list[PydanticObjectId])
|
|
83
83
|
*
|
|
84
84
|
* @param {string} orderIdOrShortId
|
|
85
85
|
* @param {TaskGroupId.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.410.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.410.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -12201,7 +12201,7 @@ await client.taskArtifacts.s3Object.deleteV1("task_artifact_s3_object_metadata_i
|
|
|
12201
12201
|
|
|
12202
12202
|
## TaskGroups TaskGroupId
|
|
12203
12203
|
|
|
12204
|
-
<details><summary><code>client.taskGroups.taskGroupId.<a href="/src/api/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierOperatorsV1</a>(orderIdOrShortId) -> string</code></summary>
|
|
12204
|
+
<details><summary><code>client.taskGroups.taskGroupId.<a href="/src/api/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierOperatorsV1</a>(orderIdOrShortId) -> string[]</code></summary>
|
|
12205
12205
|
<dl>
|
|
12206
12206
|
<dd>
|
|
12207
12207
|
|
|
@@ -12213,7 +12213,7 @@ await client.taskArtifacts.s3Object.deleteV1("task_artifact_s3_object_metadata_i
|
|
|
12213
12213
|
<dl>
|
|
12214
12214
|
<dd>
|
|
12215
12215
|
|
|
12216
|
-
Retrieves the task group
|
|
12216
|
+
Retrieves the task group IDs for the courier organization assigned to an order's task groups. | authz_personas=[courier_org_operators] | () -> (list[PydanticObjectId])
|
|
12217
12217
|
|
|
12218
12218
|
</dd>
|
|
12219
12219
|
</dl>
|
|
@@ -12264,7 +12264,7 @@ await client.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_short_id"
|
|
|
12264
12264
|
</dl>
|
|
12265
12265
|
</details>
|
|
12266
12266
|
|
|
12267
|
-
<details><summary><code>client.taskGroups.taskGroupId.<a href="/src/api/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierDriverV1</a>(orderIdOrShortId) -> string</code></summary>
|
|
12267
|
+
<details><summary><code>client.taskGroups.taskGroupId.<a href="/src/api/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierDriverV1</a>(orderIdOrShortId) -> string[]</code></summary>
|
|
12268
12268
|
<dl>
|
|
12269
12269
|
<dd>
|
|
12270
12270
|
|
|
@@ -12276,7 +12276,7 @@ await client.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_short_id"
|
|
|
12276
12276
|
<dl>
|
|
12277
12277
|
<dd>
|
|
12278
12278
|
|
|
12279
|
-
Retrieves the task group
|
|
12279
|
+
Retrieves the task group IDs for the courier driver assigned to an order's task groups. | authz_personas=[courier_driver] | () -> (list[PydanticObjectId])
|
|
12280
12280
|
|
|
12281
12281
|
</dd>
|
|
12282
12282
|
</dl>
|