@chrt-inc/typescript-sdk 1.972.0 → 1.976.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/billingNew/resources/orders/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +5 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.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/billingNew/resources/orders/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +5 -1
- package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.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 -0
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.976.0",
|
|
64
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.976.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) });
|
|
@@ -70,6 +70,7 @@ export declare class Orders {
|
|
|
70
70
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
71
71
|
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
72
72
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
73
|
+
* filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
73
74
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
74
75
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
75
76
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -162,6 +162,7 @@ class Orders {
|
|
|
162
162
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
163
163
|
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
164
164
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
165
|
+
* filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
165
166
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
166
167
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
167
168
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -183,7 +184,7 @@ class Orders {
|
|
|
183
184
|
__listExpandedForCoordinatorOperatorsV1() {
|
|
184
185
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
185
186
|
var _a, _b, _c, _d, _e, _f;
|
|
186
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_label: filterCoordinatorLabel, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_coordinator_label", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
187
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_label: filterCoordinatorLabel, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_label", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
187
188
|
const _queryParams = {};
|
|
188
189
|
if (sortBy !== undefined) {
|
|
189
190
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -228,6 +229,9 @@ class Orders {
|
|
|
228
229
|
if (filterExecutorOrgId !== undefined) {
|
|
229
230
|
_queryParams["filter_executor_org_id"] = filterExecutorOrgId;
|
|
230
231
|
}
|
|
232
|
+
if (filterOffChrtExecutorOrgDataId !== undefined) {
|
|
233
|
+
_queryParams["filter_off_chrt_executor_org_data_id"] = filterOffChrtExecutorOrgDataId;
|
|
234
|
+
}
|
|
231
235
|
if (filterCoordinatorLabel !== undefined) {
|
|
232
236
|
_queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
|
|
233
237
|
}
|
|
@@ -16,6 +16,7 @@ import * as Chrt from "../../../../../../index.js";
|
|
|
16
16
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
17
17
|
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
18
18
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
19
|
+
* filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
19
20
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
20
21
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
22
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -52,6 +53,8 @@ export interface OrderBillingExpandedListReq {
|
|
|
52
53
|
filter_coordinator_shipper_account_ids?: (string | null) | (string | null)[];
|
|
53
54
|
/** Filter by an on-CHRT executor organization. */
|
|
54
55
|
filter_executor_org_id?: string | null;
|
|
56
|
+
/** Filter by an off-CHRT executor. */
|
|
57
|
+
filter_off_chrt_executor_org_data_id?: string | null;
|
|
55
58
|
/** Filter by an exact coordinator label. */
|
|
56
59
|
filter_coordinator_label?: string | null;
|
|
57
60
|
filter_draft_started_at_timestamp_gte?: string | null;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.976.0";
|
package/dist/cjs/version.js
CHANGED
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.976.0",
|
|
28
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.976.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) });
|
|
@@ -70,6 +70,7 @@ export declare class Orders {
|
|
|
70
70
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
71
71
|
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
72
72
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
73
|
+
* filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
73
74
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
74
75
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
75
76
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -126,6 +126,7 @@ export class Orders {
|
|
|
126
126
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
127
127
|
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
128
128
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
129
|
+
* filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
129
130
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
130
131
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
131
132
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -147,7 +148,7 @@ export class Orders {
|
|
|
147
148
|
__listExpandedForCoordinatorOperatorsV1() {
|
|
148
149
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
149
150
|
var _a, _b, _c, _d, _e, _f;
|
|
150
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_label: filterCoordinatorLabel, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_coordinator_label", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
151
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_label: filterCoordinatorLabel, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_label", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
151
152
|
const _queryParams = {};
|
|
152
153
|
if (sortBy !== undefined) {
|
|
153
154
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -192,6 +193,9 @@ export class Orders {
|
|
|
192
193
|
if (filterExecutorOrgId !== undefined) {
|
|
193
194
|
_queryParams["filter_executor_org_id"] = filterExecutorOrgId;
|
|
194
195
|
}
|
|
196
|
+
if (filterOffChrtExecutorOrgDataId !== undefined) {
|
|
197
|
+
_queryParams["filter_off_chrt_executor_org_data_id"] = filterOffChrtExecutorOrgDataId;
|
|
198
|
+
}
|
|
195
199
|
if (filterCoordinatorLabel !== undefined) {
|
|
196
200
|
_queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
|
|
197
201
|
}
|
|
@@ -16,6 +16,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
16
16
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
17
17
|
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
18
18
|
* filter_executor_org_id: "filter_executor_org_id",
|
|
19
|
+
* filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
19
20
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
20
21
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
21
22
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -52,6 +53,8 @@ export interface OrderBillingExpandedListReq {
|
|
|
52
53
|
filter_coordinator_shipper_account_ids?: (string | null) | (string | null)[];
|
|
53
54
|
/** Filter by an on-CHRT executor organization. */
|
|
54
55
|
filter_executor_org_id?: string | null;
|
|
56
|
+
/** Filter by an off-CHRT executor. */
|
|
57
|
+
filter_off_chrt_executor_org_data_id?: string | null;
|
|
55
58
|
/** Filter by an exact coordinator label. */
|
|
56
59
|
filter_coordinator_label?: string | null;
|
|
57
60
|
filter_draft_started_at_timestamp_gte?: string | null;
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.976.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.976.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3891,6 +3891,7 @@ await client.billingNew.orders.listExpandedForCoordinatorOperatorsV1({
|
|
|
3891
3891
|
filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
3892
3892
|
filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
3893
3893
|
filter_executor_org_id: "filter_executor_org_id",
|
|
3894
|
+
filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
|
|
3894
3895
|
filter_coordinator_label: "filter_coordinator_label",
|
|
3895
3896
|
filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
3896
3897
|
filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|