@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/cjs/Client.js
CHANGED
|
@@ -60,8 +60,8 @@ class ChrtClient {
|
|
|
60
60
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
63
|
-
"X-Fern-SDK-Version": "1.
|
|
64
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
63
|
+
"X-Fern-SDK-Version": "1.962.0",
|
|
64
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.962.0",
|
|
65
65
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
66
66
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
67
67
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -10,5 +10,6 @@ export * from "./drivers/client/requests/index.js";
|
|
|
10
10
|
export * from "./flights/client/requests/index.js";
|
|
11
11
|
export * from "./orderTemplatesNew/client/requests/index.js";
|
|
12
12
|
export * from "./orders/client/requests/index.js";
|
|
13
|
+
export * from "./taskArtifacts/client/requests/index.js";
|
|
13
14
|
export * from "./taskGroups/client/requests/index.js";
|
|
14
15
|
export * from "./tasks/client/requests/index.js";
|
|
@@ -49,5 +49,6 @@ __exportStar(require("./drivers/client/requests/index.js"), exports);
|
|
|
49
49
|
__exportStar(require("./flights/client/requests/index.js"), exports);
|
|
50
50
|
__exportStar(require("./orderTemplatesNew/client/requests/index.js"), exports);
|
|
51
51
|
__exportStar(require("./orders/client/requests/index.js"), exports);
|
|
52
|
+
__exportStar(require("./taskArtifacts/client/requests/index.js"), exports);
|
|
52
53
|
__exportStar(require("./taskGroups/client/requests/index.js"), exports);
|
|
53
54
|
__exportStar(require("./tasks/client/requests/index.js"), exports);
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.d.ts
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/cjs/api/resources/shipping/resources/orders/resources/orderEvents/client/Client.js
CHANGED
|
@@ -56,7 +56,7 @@ class OrderEvents {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Lists event log entries for an order with organization and user
|
|
59
|
+
* 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)
|
|
60
60
|
*
|
|
61
61
|
* @param {string} orderId
|
|
62
62
|
* @param {Chrt.shipping.orders.OrderEventsListV1Request} request
|
|
@@ -160,7 +160,7 @@ class OrderEvents {
|
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* Retrieves a single order event log entry by its ID with organization and user
|
|
163
|
+
* 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)
|
|
164
164
|
*
|
|
165
165
|
* @param {string} orderEventId
|
|
166
166
|
* @param {OrderEvents.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../../../environments.js";
|
|
5
5
|
import * as core from "../../../../../../core/index.js";
|
|
6
|
+
import * as Chrt from "../../../../../index.js";
|
|
6
7
|
import { S3Object } from "../resources/s3Object/client/Client.js";
|
|
7
8
|
import { Scan } from "../resources/scan/client/Client.js";
|
|
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
|
*
|
|
@@ -124,6 +124,69 @@ class TaskArtifacts {
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* 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)
|
|
129
|
+
*
|
|
130
|
+
* @param {string} taskArtifactId
|
|
131
|
+
* @param {Chrt.shipping.TaskArtifactCustodyPartiesUpdateReq} request
|
|
132
|
+
* @param {TaskArtifacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* await client.shipping.taskArtifacts.updateCustodyPartiesV1("task_artifact_id")
|
|
138
|
+
*/
|
|
139
|
+
updateCustodyPartiesV1(taskArtifactId, request = {}, requestOptions) {
|
|
140
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCustodyPartiesV1(taskArtifactId, request, requestOptions));
|
|
141
|
+
}
|
|
142
|
+
__updateCustodyPartiesV1(taskArtifactId_1) {
|
|
143
|
+
return __awaiter(this, arguments, void 0, function* (taskArtifactId, request = {}, requestOptions) {
|
|
144
|
+
var _a, _b, _c, _d;
|
|
145
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
146
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
147
|
+
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)}`),
|
|
148
|
+
method: "PATCH",
|
|
149
|
+
headers: _headers,
|
|
150
|
+
contentType: "application/json",
|
|
151
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
152
|
+
requestType: "json",
|
|
153
|
+
body: request,
|
|
154
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
155
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
156
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
157
|
+
});
|
|
158
|
+
if (_response.ok) {
|
|
159
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
160
|
+
}
|
|
161
|
+
if (_response.error.reason === "status-code") {
|
|
162
|
+
switch (_response.error.statusCode) {
|
|
163
|
+
case 422:
|
|
164
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
165
|
+
default:
|
|
166
|
+
throw new errors.ChrtError({
|
|
167
|
+
statusCode: _response.error.statusCode,
|
|
168
|
+
body: _response.error.body,
|
|
169
|
+
rawResponse: _response.rawResponse,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
switch (_response.error.reason) {
|
|
174
|
+
case "non-json":
|
|
175
|
+
throw new errors.ChrtError({
|
|
176
|
+
statusCode: _response.error.statusCode,
|
|
177
|
+
body: _response.error.rawBody,
|
|
178
|
+
rawResponse: _response.rawResponse,
|
|
179
|
+
});
|
|
180
|
+
case "timeout":
|
|
181
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_artifacts/custody_parties/update/v1/{task_artifact_id}.");
|
|
182
|
+
case "unknown":
|
|
183
|
+
throw new errors.ChrtError({
|
|
184
|
+
message: _response.error.errorMessage,
|
|
185
|
+
rawResponse: _response.rawResponse,
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
}
|
|
127
190
|
/**
|
|
128
191
|
* Marks a task artifact as SKIPPED. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators] | () -> (bool)
|
|
129
192
|
*
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
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.js";
|
|
@@ -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
|
*
|
|
@@ -251,6 +251,69 @@ class Tasks {
|
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* 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)
|
|
256
|
+
*
|
|
257
|
+
* @param {string} taskId
|
|
258
|
+
* @param {Chrt.shipping.TaskCustodyPartiesUpdateReq} request
|
|
259
|
+
* @param {Tasks.RequestOptions} requestOptions - Request-specific configuration.
|
|
260
|
+
*
|
|
261
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* await client.shipping.tasks.updateCustodyPartiesV1("task_id")
|
|
265
|
+
*/
|
|
266
|
+
updateCustodyPartiesV1(taskId, request = {}, requestOptions) {
|
|
267
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCustodyPartiesV1(taskId, request, requestOptions));
|
|
268
|
+
}
|
|
269
|
+
__updateCustodyPartiesV1(taskId_1) {
|
|
270
|
+
return __awaiter(this, arguments, void 0, function* (taskId, request = {}, requestOptions) {
|
|
271
|
+
var _a, _b, _c, _d;
|
|
272
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
273
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
274
|
+
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)}`),
|
|
275
|
+
method: "PATCH",
|
|
276
|
+
headers: _headers,
|
|
277
|
+
contentType: "application/json",
|
|
278
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
279
|
+
requestType: "json",
|
|
280
|
+
body: request,
|
|
281
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
282
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
283
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
284
|
+
});
|
|
285
|
+
if (_response.ok) {
|
|
286
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
287
|
+
}
|
|
288
|
+
if (_response.error.reason === "status-code") {
|
|
289
|
+
switch (_response.error.statusCode) {
|
|
290
|
+
case 422:
|
|
291
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
292
|
+
default:
|
|
293
|
+
throw new errors.ChrtError({
|
|
294
|
+
statusCode: _response.error.statusCode,
|
|
295
|
+
body: _response.error.body,
|
|
296
|
+
rawResponse: _response.rawResponse,
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
switch (_response.error.reason) {
|
|
301
|
+
case "non-json":
|
|
302
|
+
throw new errors.ChrtError({
|
|
303
|
+
statusCode: _response.error.statusCode,
|
|
304
|
+
body: _response.error.rawBody,
|
|
305
|
+
rawResponse: _response.rawResponse,
|
|
306
|
+
});
|
|
307
|
+
case "timeout":
|
|
308
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/tasks/custody_parties/update/v1/{task_id}.");
|
|
309
|
+
case "unknown":
|
|
310
|
+
throw new errors.ChrtError({
|
|
311
|
+
message: _response.error.errorMessage,
|
|
312
|
+
rawResponse: _response.rawResponse,
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
}
|
|
254
317
|
/**
|
|
255
318
|
* 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)
|
|
256
319
|
*
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
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.js";
|
|
2
2
|
export { type TaskCompleteReq } from "./TaskCompleteReq.js";
|
|
3
3
|
export { type TaskCompletionTimestampUpdateReq } from "./TaskCompletionTimestampUpdateReq.js";
|
|
4
|
+
export { type TaskCustodyPartiesUpdateReq } from "./TaskCustodyPartiesUpdateReq.js";
|
|
4
5
|
export { type TaskLocationFromReferenceReq } from "./TaskLocationFromReferenceReq.js";
|
|
5
6
|
export { type WaitTimeOverrideReq } from "./WaitTimeOverrideReq.js";
|
|
@@ -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
|
*
|
|
@@ -119,6 +119,70 @@ class PrivateData {
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Updates the caller's name in WorkOS and private user data. | (UserPrivateDataNameUpdateReq) -> (UserPrivateData1)
|
|
124
|
+
*
|
|
125
|
+
* @param {Chrt.users.UserPrivateDataNameUpdateReq} request
|
|
126
|
+
* @param {PrivateData.RequestOptions} requestOptions - Request-specific configuration.
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* await client.users.privateData.updateNameV1({
|
|
132
|
+
* name: "name"
|
|
133
|
+
* })
|
|
134
|
+
*/
|
|
135
|
+
updateNameV1(request, requestOptions) {
|
|
136
|
+
return core.HttpResponsePromise.fromPromise(this.__updateNameV1(request, requestOptions));
|
|
137
|
+
}
|
|
138
|
+
__updateNameV1(request, requestOptions) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
var _a, _b, _c, _d;
|
|
141
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
142
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
143
|
+
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"),
|
|
144
|
+
method: "PATCH",
|
|
145
|
+
headers: _headers,
|
|
146
|
+
contentType: "application/json",
|
|
147
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
148
|
+
requestType: "json",
|
|
149
|
+
body: request,
|
|
150
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
151
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
152
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
153
|
+
});
|
|
154
|
+
if (_response.ok) {
|
|
155
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
156
|
+
}
|
|
157
|
+
if (_response.error.reason === "status-code") {
|
|
158
|
+
switch (_response.error.statusCode) {
|
|
159
|
+
case 422:
|
|
160
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
161
|
+
default:
|
|
162
|
+
throw new errors.ChrtError({
|
|
163
|
+
statusCode: _response.error.statusCode,
|
|
164
|
+
body: _response.error.body,
|
|
165
|
+
rawResponse: _response.rawResponse,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
switch (_response.error.reason) {
|
|
170
|
+
case "non-json":
|
|
171
|
+
throw new errors.ChrtError({
|
|
172
|
+
statusCode: _response.error.statusCode,
|
|
173
|
+
body: _response.error.rawBody,
|
|
174
|
+
rawResponse: _response.rawResponse,
|
|
175
|
+
});
|
|
176
|
+
case "timeout":
|
|
177
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /users/user_private_data/update_name/v1.");
|
|
178
|
+
case "unknown":
|
|
179
|
+
throw new errors.ChrtError({
|
|
180
|
+
message: _response.error.errorMessage,
|
|
181
|
+
rawResponse: _response.rawResponse,
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
}
|
|
122
186
|
/**
|
|
123
187
|
* Retrieves private user data for the caller. | () -> (UserPrivateData1)
|
|
124
188
|
*
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type FirebaseCloudMessagingTokenClientCreate1 } from "./FirebaseCloudMessagingTokenClientCreate1.js";
|
|
2
|
+
export { type UserPrivateDataNameUpdateReq } from "./UserPrivateDataNameUpdateReq.js";
|
|
2
3
|
export { type UserPrivateDataClientCreate1 } from "./UserPrivateDataClientCreate1.js";
|
|
3
4
|
export { type UserPrivateDataClientUpdate1 } from "./UserPrivateDataClientUpdate1.js";
|
|
@@ -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.js";
|
|
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";
|
|
@@ -60,6 +60,7 @@ exports.OrderEventActionEnum1 = {
|
|
|
60
60
|
ShippingCargoDeleted: "shipping.cargo.deleted",
|
|
61
61
|
ShippingTaskArtifactAdded: "shipping.task_artifact.added",
|
|
62
62
|
ShippingTaskArtifactCompleted: "shipping.task_artifact.completed",
|
|
63
|
+
ShippingTaskArtifactUpdated: "shipping.task_artifact.updated",
|
|
63
64
|
ShippingTaskArtifactFileAdded: "shipping.task_artifact.file_added",
|
|
64
65
|
ShippingTaskArtifactFileDeleted: "shipping.task_artifact.file_deleted",
|
|
65
66
|
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.js";
|
|
|
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.js";
|
|
|
159
159
|
export * from "./CreateOffChrtOrgRes.js";
|
|
160
160
|
export * from "./CreateStripeConnectAccountRes.js";
|
|
161
161
|
export * from "./CredentialInfoRes.js";
|
|
162
|
+
export * from "./CustodyParty1.js";
|
|
163
|
+
export * from "./CustodyPartyExpanded.js";
|
|
162
164
|
export * from "./CxtAuthTypeEnum1.js";
|
|
163
165
|
export * from "./CxtCredsLimited1.js";
|
|
164
166
|
export * from "./CxtCredsListRes.js";
|
|
@@ -175,6 +175,8 @@ __exportStar(require("./CreateInvoiceLineItemsFromLineItemsRes.js"), exports);
|
|
|
175
175
|
__exportStar(require("./CreateOffChrtOrgRes.js"), exports);
|
|
176
176
|
__exportStar(require("./CreateStripeConnectAccountRes.js"), exports);
|
|
177
177
|
__exportStar(require("./CredentialInfoRes.js"), exports);
|
|
178
|
+
__exportStar(require("./CustodyParty1.js"), exports);
|
|
179
|
+
__exportStar(require("./CustodyPartyExpanded.js"), exports);
|
|
178
180
|
__exportStar(require("./CxtAuthTypeEnum1.js"), exports);
|
|
179
181
|
__exportStar(require("./CxtCredsLimited1.js"), exports);
|
|
180
182
|
__exportStar(require("./CxtCredsListRes.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.962.0";
|
package/dist/cjs/version.js
CHANGED