@chrt-inc/typescript-sdk 1.961.0 → 1.962.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/shipping/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/index.js +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +63 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/index.js +15 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/TaskArtifactCustodyPartiesUpdateReq.d.ts +14 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/TaskArtifactCustodyPartiesUpdateReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +14 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +63 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCustodyPartiesUpdateReq.d.ts +14 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCustodyPartiesUpdateReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/users/resources/privateData/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/users/resources/privateData/client/Client.js +64 -0
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataNameUpdateReq.d.ts +12 -0
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataNameUpdateReq.js +5 -0
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/types/CustodyParty1.d.ts +10 -0
- package/dist/cjs/api/types/CustodyParty1.js +5 -0
- package/dist/cjs/api/types/CustodyPartyExpanded.d.ts +13 -0
- package/dist/cjs/api/types/CustodyPartyExpanded.js +5 -0
- package/dist/cjs/api/types/OrderEventActionEnum1.d.ts +2 -1
- package/dist/cjs/api/types/OrderEventActionEnum1.js +1 -0
- package/dist/cjs/api/types/OrderEventExpanded1.d.ts +1 -1
- package/dist/cjs/api/types/Task1.d.ts +2 -0
- package/dist/cjs/api/types/TaskArtifact1.d.ts +2 -0
- package/dist/cjs/api/types/TaskExpanded.d.ts +2 -0
- package/dist/cjs/api/types/UserPrivateData1.d.ts +1 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -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/shipping/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +63 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/index.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/TaskArtifactCustodyPartiesUpdateReq.d.mts +14 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/TaskArtifactCustodyPartiesUpdateReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +14 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +63 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCustodyPartiesUpdateReq.d.mts +14 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCustodyPartiesUpdateReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/users/resources/privateData/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/users/resources/privateData/client/Client.mjs +64 -0
- package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataNameUpdateReq.d.mts +12 -0
- package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataNameUpdateReq.mjs +4 -0
- package/dist/esm/api/resources/users/resources/privateData/client/requests/index.d.mts +1 -0
- package/dist/esm/api/types/CustodyParty1.d.mts +10 -0
- package/dist/esm/api/types/CustodyParty1.mjs +4 -0
- package/dist/esm/api/types/CustodyPartyExpanded.d.mts +13 -0
- package/dist/esm/api/types/CustodyPartyExpanded.mjs +4 -0
- package/dist/esm/api/types/OrderEventActionEnum1.d.mts +2 -1
- package/dist/esm/api/types/OrderEventActionEnum1.mjs +1 -0
- package/dist/esm/api/types/OrderEventExpanded1.d.mts +1 -1
- package/dist/esm/api/types/Task1.d.mts +2 -0
- package/dist/esm/api/types/TaskArtifact1.d.mts +2 -0
- package/dist/esm/api/types/TaskExpanded.d.mts +2 -0
- package/dist/esm/api/types/UserPrivateData1.d.mts +1 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +209 -2
package/dist/esm/Client.mjs
CHANGED
|
@@ -24,8 +24,8 @@ export class ChrtClient {
|
|
|
24
24
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
25
25
|
"X-Fern-Language": "JavaScript",
|
|
26
26
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
27
|
-
"X-Fern-SDK-Version": "1.
|
|
28
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
27
|
+
"X-Fern-SDK-Version": "1.962.0",
|
|
28
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.962.0",
|
|
29
29
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
30
30
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
31
31
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -10,5 +10,6 @@ export * from "./drivers/client/requests/index.mjs";
|
|
|
10
10
|
export * from "./flights/client/requests/index.mjs";
|
|
11
11
|
export * from "./orderTemplatesNew/client/requests/index.mjs";
|
|
12
12
|
export * from "./orders/client/requests/index.mjs";
|
|
13
|
+
export * from "./taskArtifacts/client/requests/index.mjs";
|
|
13
14
|
export * from "./taskGroups/client/requests/index.mjs";
|
|
14
15
|
export * from "./tasks/client/requests/index.mjs";
|
|
@@ -10,5 +10,6 @@ export * from "./drivers/client/requests/index.mjs";
|
|
|
10
10
|
export * from "./flights/client/requests/index.mjs";
|
|
11
11
|
export * from "./orderTemplatesNew/client/requests/index.mjs";
|
|
12
12
|
export * from "./orders/client/requests/index.mjs";
|
|
13
|
+
export * from "./taskArtifacts/client/requests/index.mjs";
|
|
13
14
|
export * from "./taskGroups/client/requests/index.mjs";
|
|
14
15
|
export * from "./tasks/client/requests/index.mjs";
|
package/dist/esm/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ export declare class OrderEvents {
|
|
|
31
31
|
protected readonly _options: OrderEvents.Options;
|
|
32
32
|
constructor(_options?: OrderEvents.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Lists event log entries for an order with organization and user
|
|
34
|
+
* Lists event log entries for an order with organization and user display data hydrated, filtering, sorting, and pagination. | authz: min_org_role=administrator | authz_personas=[draft_creator_org_operator, coordinator_org_operators] | () -> (OrderEventListRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {string} orderId
|
|
37
37
|
* @param {Chrt.shipping.orders.OrderEventsListV1Request} request
|
|
@@ -55,7 +55,7 @@ export declare class OrderEvents {
|
|
|
55
55
|
listV1(orderId: string, request?: Chrt.shipping.orders.OrderEventsListV1Request, requestOptions?: OrderEvents.RequestOptions): core.HttpResponsePromise<Chrt.OrderEventListRes>;
|
|
56
56
|
private __listV1;
|
|
57
57
|
/**
|
|
58
|
-
* Retrieves a single order event log entry by its ID with organization and user
|
|
58
|
+
* Retrieves a single order event log entry by its ID with organization and user name hydrated. | authz: min_org_role=administrator | authz_personas=[draft_creator_org_operator, coordinator_org_operators] | () -> (OrderEventExpanded1)
|
|
59
59
|
*
|
|
60
60
|
* @param {string} orderEventId
|
|
61
61
|
* @param {OrderEvents.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/esm/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.mjs
CHANGED
|
@@ -20,7 +20,7 @@ export class OrderEvents {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Lists event log entries for an order with organization and user
|
|
23
|
+
* Lists event log entries for an order with organization and user display data hydrated, filtering, sorting, and pagination. | authz: min_org_role=administrator | authz_personas=[draft_creator_org_operator, coordinator_org_operators] | () -> (OrderEventListRes)
|
|
24
24
|
*
|
|
25
25
|
* @param {string} orderId
|
|
26
26
|
* @param {Chrt.shipping.orders.OrderEventsListV1Request} request
|
|
@@ -124,7 +124,7 @@ export class OrderEvents {
|
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
|
-
* Retrieves a single order event log entry by its ID with organization and user
|
|
127
|
+
* Retrieves a single order event log entry by its ID with organization and user name hydrated. | authz: min_org_role=administrator | authz_personas=[draft_creator_org_operator, coordinator_org_operators] | () -> (OrderEventExpanded1)
|
|
128
128
|
*
|
|
129
129
|
* @param {string} orderEventId
|
|
130
130
|
* @param {OrderEvents.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../../../environments.mjs";
|
|
5
5
|
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../../../index.mjs";
|
|
6
7
|
import { S3Object } from "../resources/s3Object/client/Client.mjs";
|
|
7
8
|
import { Scan } from "../resources/scan/client/Client.mjs";
|
|
8
9
|
export declare namespace TaskArtifacts {
|
|
@@ -48,6 +49,20 @@ export declare class TaskArtifacts {
|
|
|
48
49
|
*/
|
|
49
50
|
completeV1(taskArtifactId: string, requestOptions?: TaskArtifacts.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
50
51
|
private __completeV1;
|
|
52
|
+
/**
|
|
53
|
+
* Updates or clears the parties that provided or received cargo for a task artifact. Contact references must belong to the caller's organization. | authz_personas=[draft_creator_org_operator, driver_for_executor, executor_org_operators, coordinator_org_operators] (depending on status) | (TaskArtifactCustodyPartiesUpdateReq) -> (bool)
|
|
54
|
+
*
|
|
55
|
+
* @param {string} taskArtifactId
|
|
56
|
+
* @param {Chrt.shipping.TaskArtifactCustodyPartiesUpdateReq} request
|
|
57
|
+
* @param {TaskArtifacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* await client.shipping.taskArtifacts.updateCustodyPartiesV1("task_artifact_id")
|
|
63
|
+
*/
|
|
64
|
+
updateCustodyPartiesV1(taskArtifactId: string, request?: Chrt.shipping.TaskArtifactCustodyPartiesUpdateReq, requestOptions?: TaskArtifacts.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
65
|
+
private __updateCustodyPartiesV1;
|
|
51
66
|
/**
|
|
52
67
|
* Marks a task artifact as SKIPPED. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators] | () -> (bool)
|
|
53
68
|
*
|
|
@@ -88,6 +88,69 @@ export class TaskArtifacts {
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Updates or clears the parties that provided or received cargo for a task artifact. Contact references must belong to the caller's organization. | authz_personas=[draft_creator_org_operator, driver_for_executor, executor_org_operators, coordinator_org_operators] (depending on status) | (TaskArtifactCustodyPartiesUpdateReq) -> (bool)
|
|
93
|
+
*
|
|
94
|
+
* @param {string} taskArtifactId
|
|
95
|
+
* @param {Chrt.shipping.TaskArtifactCustodyPartiesUpdateReq} request
|
|
96
|
+
* @param {TaskArtifacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* await client.shipping.taskArtifacts.updateCustodyPartiesV1("task_artifact_id")
|
|
102
|
+
*/
|
|
103
|
+
updateCustodyPartiesV1(taskArtifactId, request = {}, requestOptions) {
|
|
104
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCustodyPartiesV1(taskArtifactId, request, requestOptions));
|
|
105
|
+
}
|
|
106
|
+
__updateCustodyPartiesV1(taskArtifactId_1) {
|
|
107
|
+
return __awaiter(this, arguments, void 0, function* (taskArtifactId, request = {}, requestOptions) {
|
|
108
|
+
var _a, _b, _c, _d;
|
|
109
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
110
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
111
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_artifacts/custody_parties/update/v1/${encodeURIComponent(taskArtifactId)}`),
|
|
112
|
+
method: "PATCH",
|
|
113
|
+
headers: _headers,
|
|
114
|
+
contentType: "application/json",
|
|
115
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
116
|
+
requestType: "json",
|
|
117
|
+
body: request,
|
|
118
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
119
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
120
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
121
|
+
});
|
|
122
|
+
if (_response.ok) {
|
|
123
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
124
|
+
}
|
|
125
|
+
if (_response.error.reason === "status-code") {
|
|
126
|
+
switch (_response.error.statusCode) {
|
|
127
|
+
case 422:
|
|
128
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
129
|
+
default:
|
|
130
|
+
throw new errors.ChrtError({
|
|
131
|
+
statusCode: _response.error.statusCode,
|
|
132
|
+
body: _response.error.body,
|
|
133
|
+
rawResponse: _response.rawResponse,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
switch (_response.error.reason) {
|
|
138
|
+
case "non-json":
|
|
139
|
+
throw new errors.ChrtError({
|
|
140
|
+
statusCode: _response.error.statusCode,
|
|
141
|
+
body: _response.error.rawBody,
|
|
142
|
+
rawResponse: _response.rawResponse,
|
|
143
|
+
});
|
|
144
|
+
case "timeout":
|
|
145
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_artifacts/custody_parties/update/v1/{task_artifact_id}.");
|
|
146
|
+
case "unknown":
|
|
147
|
+
throw new errors.ChrtError({
|
|
148
|
+
message: _response.error.errorMessage,
|
|
149
|
+
rawResponse: _response.rawResponse,
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
}
|
|
91
154
|
/**
|
|
92
155
|
* Marks a task artifact as SKIPPED. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators] | () -> (bool)
|
|
93
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface TaskArtifactCustodyPartiesUpdateReq {
|
|
10
|
+
provided_by?: Chrt.CustodyParty1 | null;
|
|
11
|
+
provided_by__set_to_None?: boolean;
|
|
12
|
+
received_by?: Chrt.CustodyParty1 | null;
|
|
13
|
+
received_by__set_to_None?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type TaskArtifactCustodyPartiesUpdateReq } from "./TaskArtifactCustodyPartiesUpdateReq.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -77,6 +77,20 @@ export declare class Tasks {
|
|
|
77
77
|
*/
|
|
78
78
|
updateCompletionTimestampV1(taskId: string, request: Chrt.shipping.TaskCompletionTimestampUpdateReq, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
79
79
|
private __updateCompletionTimestampV1;
|
|
80
|
+
/**
|
|
81
|
+
* Updates or clears the parties that provided or received cargo for a task. Contact references must belong to the caller's organization. | authz_personas=[draft_creator_org_operator, driver_for_executor, executor_org_operators, coordinator_org_operators] (depending on status) | (TaskCustodyPartiesUpdateReq) -> (bool)
|
|
82
|
+
*
|
|
83
|
+
* @param {string} taskId
|
|
84
|
+
* @param {Chrt.shipping.TaskCustodyPartiesUpdateReq} request
|
|
85
|
+
* @param {Tasks.RequestOptions} requestOptions - Request-specific configuration.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* await client.shipping.tasks.updateCustodyPartiesV1("task_id")
|
|
91
|
+
*/
|
|
92
|
+
updateCustodyPartiesV1(taskId: string, request?: Chrt.shipping.TaskCustodyPartiesUpdateReq, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
93
|
+
private __updateCustodyPartiesV1;
|
|
80
94
|
/**
|
|
81
95
|
* Overrides a draft or staged task location from a contact or coordinator shipper account and associates the reference. | authz_personas=[draft_creator_org_operator, order_creator_org_operators, task_group_operating_org_operators, coordinator_org_operators] | (TaskLocationFromReferenceReq) -> (PydanticObjectId)
|
|
82
96
|
*
|
|
@@ -215,6 +215,69 @@ export class Tasks {
|
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* Updates or clears the parties that provided or received cargo for a task. Contact references must belong to the caller's organization. | authz_personas=[draft_creator_org_operator, driver_for_executor, executor_org_operators, coordinator_org_operators] (depending on status) | (TaskCustodyPartiesUpdateReq) -> (bool)
|
|
220
|
+
*
|
|
221
|
+
* @param {string} taskId
|
|
222
|
+
* @param {Chrt.shipping.TaskCustodyPartiesUpdateReq} request
|
|
223
|
+
* @param {Tasks.RequestOptions} requestOptions - Request-specific configuration.
|
|
224
|
+
*
|
|
225
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* await client.shipping.tasks.updateCustodyPartiesV1("task_id")
|
|
229
|
+
*/
|
|
230
|
+
updateCustodyPartiesV1(taskId, request = {}, requestOptions) {
|
|
231
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCustodyPartiesV1(taskId, request, requestOptions));
|
|
232
|
+
}
|
|
233
|
+
__updateCustodyPartiesV1(taskId_1) {
|
|
234
|
+
return __awaiter(this, arguments, void 0, function* (taskId, request = {}, requestOptions) {
|
|
235
|
+
var _a, _b, _c, _d;
|
|
236
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
237
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
238
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/tasks/custody_parties/update/v1/${encodeURIComponent(taskId)}`),
|
|
239
|
+
method: "PATCH",
|
|
240
|
+
headers: _headers,
|
|
241
|
+
contentType: "application/json",
|
|
242
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
243
|
+
requestType: "json",
|
|
244
|
+
body: request,
|
|
245
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
246
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
247
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
248
|
+
});
|
|
249
|
+
if (_response.ok) {
|
|
250
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
251
|
+
}
|
|
252
|
+
if (_response.error.reason === "status-code") {
|
|
253
|
+
switch (_response.error.statusCode) {
|
|
254
|
+
case 422:
|
|
255
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
256
|
+
default:
|
|
257
|
+
throw new errors.ChrtError({
|
|
258
|
+
statusCode: _response.error.statusCode,
|
|
259
|
+
body: _response.error.body,
|
|
260
|
+
rawResponse: _response.rawResponse,
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
switch (_response.error.reason) {
|
|
265
|
+
case "non-json":
|
|
266
|
+
throw new errors.ChrtError({
|
|
267
|
+
statusCode: _response.error.statusCode,
|
|
268
|
+
body: _response.error.rawBody,
|
|
269
|
+
rawResponse: _response.rawResponse,
|
|
270
|
+
});
|
|
271
|
+
case "timeout":
|
|
272
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/tasks/custody_parties/update/v1/{task_id}.");
|
|
273
|
+
case "unknown":
|
|
274
|
+
throw new errors.ChrtError({
|
|
275
|
+
message: _response.error.errorMessage,
|
|
276
|
+
rawResponse: _response.rawResponse,
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
}
|
|
218
281
|
/**
|
|
219
282
|
* Overrides a draft or staged task location from a contact or coordinator shipper account and associates the reference. | authz_personas=[draft_creator_org_operator, order_creator_org_operators, task_group_operating_org_operators, coordinator_org_operators] | (TaskLocationFromReferenceReq) -> (PydanticObjectId)
|
|
220
283
|
*
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface TaskCustodyPartiesUpdateReq {
|
|
10
|
+
provided_by?: Chrt.CustodyParty1 | null;
|
|
11
|
+
provided_by__set_to_None?: boolean;
|
|
12
|
+
received_by?: Chrt.CustodyParty1 | null;
|
|
13
|
+
received_by__set_to_None?: boolean;
|
|
14
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { type AttemptTaskReq } from "./AttemptTaskReq.mjs";
|
|
2
2
|
export { type TaskCompleteReq } from "./TaskCompleteReq.mjs";
|
|
3
3
|
export { type TaskCompletionTimestampUpdateReq } from "./TaskCompletionTimestampUpdateReq.mjs";
|
|
4
|
+
export { type TaskCustodyPartiesUpdateReq } from "./TaskCustodyPartiesUpdateReq.mjs";
|
|
4
5
|
export { type TaskLocationFromReferenceReq } from "./TaskLocationFromReferenceReq.mjs";
|
|
5
6
|
export { type WaitTimeOverrideReq } from "./WaitTimeOverrideReq.mjs";
|
|
@@ -45,6 +45,21 @@ export declare class PrivateData {
|
|
|
45
45
|
*/
|
|
46
46
|
upsertFirebaseCloudMessagingTokenV1(request: Chrt.users.FirebaseCloudMessagingTokenClientCreate1, requestOptions?: PrivateData.RequestOptions): core.HttpResponsePromise<Chrt.UserPrivateData1>;
|
|
47
47
|
private __upsertFirebaseCloudMessagingTokenV1;
|
|
48
|
+
/**
|
|
49
|
+
* Updates the caller's name in WorkOS and private user data. | (UserPrivateDataNameUpdateReq) -> (UserPrivateData1)
|
|
50
|
+
*
|
|
51
|
+
* @param {Chrt.users.UserPrivateDataNameUpdateReq} request
|
|
52
|
+
* @param {PrivateData.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.users.privateData.updateNameV1({
|
|
58
|
+
* name: "name"
|
|
59
|
+
* })
|
|
60
|
+
*/
|
|
61
|
+
updateNameV1(request: Chrt.users.UserPrivateDataNameUpdateReq, requestOptions?: PrivateData.RequestOptions): core.HttpResponsePromise<Chrt.UserPrivateData1>;
|
|
62
|
+
private __updateNameV1;
|
|
48
63
|
/**
|
|
49
64
|
* Retrieves private user data for the caller. | () -> (UserPrivateData1)
|
|
50
65
|
*
|
|
@@ -83,6 +83,70 @@ export class PrivateData {
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Updates the caller's name in WorkOS and private user data. | (UserPrivateDataNameUpdateReq) -> (UserPrivateData1)
|
|
88
|
+
*
|
|
89
|
+
* @param {Chrt.users.UserPrivateDataNameUpdateReq} request
|
|
90
|
+
* @param {PrivateData.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* await client.users.privateData.updateNameV1({
|
|
96
|
+
* name: "name"
|
|
97
|
+
* })
|
|
98
|
+
*/
|
|
99
|
+
updateNameV1(request, requestOptions) {
|
|
100
|
+
return core.HttpResponsePromise.fromPromise(this.__updateNameV1(request, requestOptions));
|
|
101
|
+
}
|
|
102
|
+
__updateNameV1(request, requestOptions) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
var _a, _b, _c, _d;
|
|
105
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
106
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
107
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "users/user_private_data/update_name/v1"),
|
|
108
|
+
method: "PATCH",
|
|
109
|
+
headers: _headers,
|
|
110
|
+
contentType: "application/json",
|
|
111
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
112
|
+
requestType: "json",
|
|
113
|
+
body: request,
|
|
114
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
115
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
116
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
117
|
+
});
|
|
118
|
+
if (_response.ok) {
|
|
119
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
120
|
+
}
|
|
121
|
+
if (_response.error.reason === "status-code") {
|
|
122
|
+
switch (_response.error.statusCode) {
|
|
123
|
+
case 422:
|
|
124
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
125
|
+
default:
|
|
126
|
+
throw new errors.ChrtError({
|
|
127
|
+
statusCode: _response.error.statusCode,
|
|
128
|
+
body: _response.error.body,
|
|
129
|
+
rawResponse: _response.rawResponse,
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
switch (_response.error.reason) {
|
|
134
|
+
case "non-json":
|
|
135
|
+
throw new errors.ChrtError({
|
|
136
|
+
statusCode: _response.error.statusCode,
|
|
137
|
+
body: _response.error.rawBody,
|
|
138
|
+
rawResponse: _response.rawResponse,
|
|
139
|
+
});
|
|
140
|
+
case "timeout":
|
|
141
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /users/user_private_data/update_name/v1.");
|
|
142
|
+
case "unknown":
|
|
143
|
+
throw new errors.ChrtError({
|
|
144
|
+
message: _response.error.errorMessage,
|
|
145
|
+
rawResponse: _response.rawResponse,
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
}
|
|
86
150
|
/**
|
|
87
151
|
* Retrieves private user data for the caller. | () -> (UserPrivateData1)
|
|
88
152
|
*
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type FirebaseCloudMessagingTokenClientCreate1 } from "./FirebaseCloudMessagingTokenClientCreate1.mjs";
|
|
2
|
+
export { type UserPrivateDataNameUpdateReq } from "./UserPrivateDataNameUpdateReq.mjs";
|
|
2
3
|
export { type UserPrivateDataClientCreate1 } from "./UserPrivateDataClientCreate1.mjs";
|
|
3
4
|
export { type UserPrivateDataClientUpdate1 } from "./UserPrivateDataClientUpdate1.mjs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface CustodyParty1 {
|
|
5
|
+
contact_id?: string | null;
|
|
6
|
+
name?: string | null;
|
|
7
|
+
note?: string | null;
|
|
8
|
+
/** Must be a string starting with `user_` */
|
|
9
|
+
user_id?: string | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface CustodyPartyExpanded {
|
|
6
|
+
contact?: Chrt.Contact1 | null;
|
|
7
|
+
contact_id?: string | null;
|
|
8
|
+
name?: string | null;
|
|
9
|
+
note?: string | null;
|
|
10
|
+
/** Must be a string starting with `user_` */
|
|
11
|
+
user_id?: string | null;
|
|
12
|
+
user_name?: string | null;
|
|
13
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Canonical vocabulary for shipping order-event and notification actions.
|
|
6
6
|
*/
|
|
7
|
-
export type OrderEventActionEnum1 = "shipping.order.draft_started" | "shipping.order.staged" | "shipping.order.in_progress" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.order.exception" | "shipping.order.updated" | "shipping.order.deleted" | "shipping.task_group.added" | "shipping.task_group.staged" | "shipping.task_group.provider_assigned" | "shipping.task_group.driver_assigned" | "shipping.task_group.driver_unassigned" | "shipping.task_group.in_progress" | "shipping.task_group.completed" | "shipping.task_group.skipped" | "shipping.task_group.cancelled" | "shipping.task_group.exception" | "shipping.task_group.message" | "shipping.task_group.file_added" | "shipping.task_group.file_deleted" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task_group.vehicle_type_updated" | "shipping.task_group.ordering_updated" | "shipping.task_group.deleted" | "shipping.task.added" | "shipping.task.staged" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.cancelled" | "shipping.task.exception" | "shipping.task.wait_time_started" | "shipping.task.wait_time_ended" | "shipping.task.wait_time_validated" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "shipping.task.updated" | "shipping.task.deleted" | "shipping.cargo.added" | "shipping.cargo.staged" | "shipping.cargo.in_transit" | "shipping.cargo.delivered" | "shipping.cargo.skipped" | "shipping.cargo.cancelled" | "shipping.cargo.exception" | "shipping.cargo.device_linked" | "shipping.cargo.device_unlinked" | "shipping.cargo.associated" | "shipping.cargo.unassociated" | "shipping.cargo.updated" | "shipping.cargo.deleted" | "shipping.task_artifact.added" | "shipping.task_artifact.completed" | "shipping.task_artifact.file_added" | "shipping.task_artifact.file_deleted" | "shipping.task_artifact.deleted" | "shipping.account.associated" | "shipping.account.removed" | "shipping.contact.associated" | "shipping.contact.removed";
|
|
7
|
+
export type OrderEventActionEnum1 = "shipping.order.draft_started" | "shipping.order.staged" | "shipping.order.in_progress" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.order.exception" | "shipping.order.updated" | "shipping.order.deleted" | "shipping.task_group.added" | "shipping.task_group.staged" | "shipping.task_group.provider_assigned" | "shipping.task_group.driver_assigned" | "shipping.task_group.driver_unassigned" | "shipping.task_group.in_progress" | "shipping.task_group.completed" | "shipping.task_group.skipped" | "shipping.task_group.cancelled" | "shipping.task_group.exception" | "shipping.task_group.message" | "shipping.task_group.file_added" | "shipping.task_group.file_deleted" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task_group.vehicle_type_updated" | "shipping.task_group.ordering_updated" | "shipping.task_group.deleted" | "shipping.task.added" | "shipping.task.staged" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.cancelled" | "shipping.task.exception" | "shipping.task.wait_time_started" | "shipping.task.wait_time_ended" | "shipping.task.wait_time_validated" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "shipping.task.updated" | "shipping.task.deleted" | "shipping.cargo.added" | "shipping.cargo.staged" | "shipping.cargo.in_transit" | "shipping.cargo.delivered" | "shipping.cargo.skipped" | "shipping.cargo.cancelled" | "shipping.cargo.exception" | "shipping.cargo.device_linked" | "shipping.cargo.device_unlinked" | "shipping.cargo.associated" | "shipping.cargo.unassociated" | "shipping.cargo.updated" | "shipping.cargo.deleted" | "shipping.task_artifact.added" | "shipping.task_artifact.completed" | "shipping.task_artifact.updated" | "shipping.task_artifact.file_added" | "shipping.task_artifact.file_deleted" | "shipping.task_artifact.deleted" | "shipping.account.associated" | "shipping.account.removed" | "shipping.contact.associated" | "shipping.contact.removed";
|
|
8
8
|
export declare const OrderEventActionEnum1: {
|
|
9
9
|
readonly ShippingOrderDraftStarted: "shipping.order.draft_started";
|
|
10
10
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
@@ -61,6 +61,7 @@ export declare const OrderEventActionEnum1: {
|
|
|
61
61
|
readonly ShippingCargoDeleted: "shipping.cargo.deleted";
|
|
62
62
|
readonly ShippingTaskArtifactAdded: "shipping.task_artifact.added";
|
|
63
63
|
readonly ShippingTaskArtifactCompleted: "shipping.task_artifact.completed";
|
|
64
|
+
readonly ShippingTaskArtifactUpdated: "shipping.task_artifact.updated";
|
|
64
65
|
readonly ShippingTaskArtifactFileAdded: "shipping.task_artifact.file_added";
|
|
65
66
|
readonly ShippingTaskArtifactFileDeleted: "shipping.task_artifact.file_deleted";
|
|
66
67
|
readonly ShippingTaskArtifactDeleted: "shipping.task_artifact.deleted";
|
|
@@ -57,6 +57,7 @@ export const OrderEventActionEnum1 = {
|
|
|
57
57
|
ShippingCargoDeleted: "shipping.cargo.deleted",
|
|
58
58
|
ShippingTaskArtifactAdded: "shipping.task_artifact.added",
|
|
59
59
|
ShippingTaskArtifactCompleted: "shipping.task_artifact.completed",
|
|
60
|
+
ShippingTaskArtifactUpdated: "shipping.task_artifact.updated",
|
|
60
61
|
ShippingTaskArtifactFileAdded: "shipping.task_artifact.file_added",
|
|
61
62
|
ShippingTaskArtifactFileDeleted: "shipping.task_artifact.file_deleted",
|
|
62
63
|
ShippingTaskArtifactDeleted: "shipping.task_artifact.deleted",
|
|
@@ -29,6 +29,8 @@ export interface Task1 {
|
|
|
29
29
|
order_id: string;
|
|
30
30
|
order_placer_comments?: string | null;
|
|
31
31
|
order_short_id: string;
|
|
32
|
+
provided_by?: Chrt.CustodyParty1 | null;
|
|
33
|
+
received_by?: Chrt.CustodyParty1 | null;
|
|
32
34
|
schema_version: number;
|
|
33
35
|
skipped_at_timestamp?: string | null;
|
|
34
36
|
staged_at_timestamp?: string | null;
|
|
@@ -20,6 +20,8 @@ export interface TaskArtifact1 {
|
|
|
20
20
|
observed_scan_payloads?: string[];
|
|
21
21
|
order_id: string;
|
|
22
22
|
order_short_id: string;
|
|
23
|
+
provided_by?: Chrt.CustodyParty1 | null;
|
|
24
|
+
received_by?: Chrt.CustodyParty1 | null;
|
|
23
25
|
/** Must be a string starting with `org_` */
|
|
24
26
|
requested_by_org_id?: string | null;
|
|
25
27
|
/** Must be a string starting with `user_` */
|
|
@@ -5,6 +5,8 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface TaskExpanded {
|
|
6
6
|
cargos?: Chrt.Cargo1[] | null;
|
|
7
7
|
contacts?: Chrt.Contact1[] | null;
|
|
8
|
+
provided_by?: Chrt.CustodyPartyExpanded | null;
|
|
9
|
+
received_by?: Chrt.CustodyPartyExpanded | null;
|
|
8
10
|
task: Chrt.Task1;
|
|
9
11
|
task_artifacts?: Chrt.TaskArtifact1[] | null;
|
|
10
12
|
}
|
|
@@ -6,6 +6,7 @@ export interface UserPrivateData1 {
|
|
|
6
6
|
_id: string;
|
|
7
7
|
created_at_timestamp: string;
|
|
8
8
|
firebase_cloud_messaging_token_data?: Chrt.FirebaseCloudMessagingTokenData1[];
|
|
9
|
+
name?: string | null;
|
|
9
10
|
phone_number?: string | null;
|
|
10
11
|
primary_email_address?: string | null;
|
|
11
12
|
schema_version: number;
|
|
@@ -159,6 +159,8 @@ export * from "./CreateInvoiceLineItemsFromLineItemsRes.mjs";
|
|
|
159
159
|
export * from "./CreateOffChrtOrgRes.mjs";
|
|
160
160
|
export * from "./CreateStripeConnectAccountRes.mjs";
|
|
161
161
|
export * from "./CredentialInfoRes.mjs";
|
|
162
|
+
export * from "./CustodyParty1.mjs";
|
|
163
|
+
export * from "./CustodyPartyExpanded.mjs";
|
|
162
164
|
export * from "./CxtAuthTypeEnum1.mjs";
|
|
163
165
|
export * from "./CxtCredsLimited1.mjs";
|
|
164
166
|
export * from "./CxtCredsListRes.mjs";
|
|
@@ -159,6 +159,8 @@ export * from "./CreateInvoiceLineItemsFromLineItemsRes.mjs";
|
|
|
159
159
|
export * from "./CreateOffChrtOrgRes.mjs";
|
|
160
160
|
export * from "./CreateStripeConnectAccountRes.mjs";
|
|
161
161
|
export * from "./CredentialInfoRes.mjs";
|
|
162
|
+
export * from "./CustodyParty1.mjs";
|
|
163
|
+
export * from "./CustodyPartyExpanded.mjs";
|
|
162
164
|
export * from "./CxtAuthTypeEnum1.mjs";
|
|
163
165
|
export * from "./CxtCredsLimited1.mjs";
|
|
164
166
|
export * from "./CxtCredsListRes.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.962.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.962.0";
|