@chrt-inc/typescript-sdk 1.314.0 → 1.318.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/index.d.ts +2 -3
- package/dist/cjs/api/resources/index.js +3 -4
- package/dist/cjs/api/resources/orders/client/Client.d.ts +0 -27
- package/dist/cjs/api/resources/orders/client/Client.js +0 -124
- package/dist/cjs/api/resources/orders/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/client/index.js +0 -15
- package/dist/cjs/api/resources/orders/index.d.ts +1 -1
- package/dist/cjs/api/resources/orders/index.js +1 -1
- package/dist/cjs/api/resources/orders/resources/expanded/client/Client.d.ts +68 -6
- package/dist/cjs/api/resources/orders/resources/expanded/client/Client.js +290 -14
- package/dist/cjs/api/resources/orders/resources/expanded/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/resources/expanded/client/index.js +15 -0
- package/dist/cjs/api/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +46 -0
- package/dist/cjs/api/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +46 -0
- package/dist/cjs/api/resources/orders/resources/expanded/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/expanded/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/resources/expanded/index.js +1 -0
- package/dist/cjs/api/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.d.ts +8 -0
- package/dist/cjs/api/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.js +10 -0
- package/dist/cjs/api/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.d.ts +8 -0
- package/dist/cjs/api/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.js +10 -0
- package/dist/cjs/api/resources/orders/resources/expanded/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/expanded/types/index.js +18 -0
- package/dist/cjs/api/resources/orders/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/index.js +5 -0
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +10 -23
- package/dist/cjs/api/resources/taskGroups/client/Client.js +18 -86
- package/dist/cjs/api/resources/taskGroups/index.d.ts +1 -1
- package/dist/cjs/api/resources/taskGroups/index.js +1 -1
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.d.ts +58 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/Client.js +260 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/index.js +15 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +42 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +42 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.js +5 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/index.js +1 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.d.ts +8 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.js +10 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.d.ts +8 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.js +10 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/expanded/types/index.js +18 -0
- package/dist/cjs/api/resources/taskGroups/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskGroups/resources/index.js +5 -0
- package/dist/cjs/api/types/OrderSortByEnum.d.ts +12 -0
- package/dist/cjs/api/types/OrderSortByEnum.js +14 -0
- package/dist/cjs/api/types/TaskGroupSortByEnum.d.ts +11 -0
- package/dist/cjs/api/types/TaskGroupSortByEnum.js +13 -0
- package/dist/cjs/api/types/index.d.ts +2 -1
- package/dist/cjs/api/types/index.js +2 -1
- 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/index.d.mts +2 -3
- package/dist/esm/api/resources/index.mjs +2 -3
- package/dist/esm/api/resources/orders/client/Client.d.mts +0 -27
- package/dist/esm/api/resources/orders/client/Client.mjs +0 -124
- package/dist/esm/api/resources/orders/client/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/client/index.mjs +1 -1
- package/dist/esm/api/resources/orders/index.d.mts +1 -1
- package/dist/esm/api/resources/orders/index.mjs +1 -1
- package/dist/esm/api/resources/orders/resources/expanded/client/Client.d.mts +68 -6
- package/dist/esm/api/resources/orders/resources/expanded/client/Client.mjs +290 -14
- package/dist/esm/api/resources/orders/resources/expanded/client/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/expanded/client/index.mjs +1 -1
- package/dist/esm/api/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +46 -0
- package/dist/esm/api/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +46 -0
- package/dist/esm/api/resources/orders/resources/expanded/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/expanded/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/expanded/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.d.mts +8 -0
- package/dist/esm/api/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.mjs +7 -0
- package/dist/esm/api/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.d.mts +8 -0
- package/dist/esm/api/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.mjs +7 -0
- package/dist/esm/api/resources/orders/resources/expanded/types/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/expanded/types/index.mjs +2 -0
- package/dist/esm/api/resources/orders/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/index.mjs +2 -0
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +10 -23
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +18 -86
- package/dist/esm/api/resources/taskGroups/index.d.mts +1 -1
- package/dist/esm/api/resources/taskGroups/index.mjs +1 -1
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.d.mts +58 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/Client.mjs +260 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/index.mjs +1 -1
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +42 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +42 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.mjs +4 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/index.d.mts +1 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.d.mts +8 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.mjs +7 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.d.mts +8 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.mjs +7 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/types/index.d.mts +2 -0
- package/dist/esm/api/resources/taskGroups/resources/expanded/types/index.mjs +2 -0
- package/dist/esm/api/resources/taskGroups/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/taskGroups/resources/index.mjs +2 -0
- package/dist/esm/api/types/OrderSortByEnum.d.mts +12 -0
- package/dist/esm/api/types/OrderSortByEnum.mjs +11 -0
- package/dist/esm/api/types/TaskGroupSortByEnum.d.mts +11 -0
- package/dist/esm/api/types/TaskGroupSortByEnum.mjs +10 -0
- package/dist/esm/api/types/index.d.mts +2 -1
- package/dist/esm/api/types/index.mjs +2 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +334 -203
- package/dist/cjs/api/resources/orders/client/requests/OrdersExpandedListForForwarderReq.d.ts +0 -28
- package/dist/cjs/api/resources/orders/client/requests/OrdersExpandedListForShipperReq.d.ts +0 -28
- package/dist/cjs/api/resources/orders/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/types/TaskGroupExpandedListReq.d.ts +0 -26
- package/dist/esm/api/resources/orders/client/requests/OrdersExpandedListForForwarderReq.d.mts +0 -28
- package/dist/esm/api/resources/orders/client/requests/OrdersExpandedListForShipperReq.d.mts +0 -28
- package/dist/esm/api/resources/orders/client/requests/index.d.mts +0 -2
- package/dist/esm/api/types/TaskGroupExpandedListReq.d.mts +0 -26
- /package/dist/cjs/api/resources/orders/{client/requests/OrdersExpandedListForForwarderReq.js → resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orders/{client/requests/OrdersExpandedListForShipperReq.js → resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orders/{client → resources/expanded/client}/requests/index.js +0 -0
- /package/dist/cjs/api/{types/TaskGroupExpandedListReq.js → resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.js} +0 -0
- /package/dist/esm/api/resources/orders/{client/requests/OrdersExpandedListForForwarderReq.mjs → resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orders/{client/requests/OrdersExpandedListForShipperReq.mjs → resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orders/{client → resources/expanded/client}/requests/index.mjs +0 -0
- /package/dist/esm/api/{types/TaskGroupExpandedListReq.mjs → resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.mjs} +0 -0
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/index.js"), exports);
|
|
17
18
|
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ExpandedListForCourierDriverV1RequestSortOrder = "ascending" | "descending";
|
|
5
|
+
export declare const ExpandedListForCourierDriverV1RequestSortOrder: {
|
|
6
|
+
readonly Ascending: "ascending";
|
|
7
|
+
readonly Descending: "descending";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExpandedListForCourierDriverV1RequestSortOrder = void 0;
|
|
7
|
+
exports.ExpandedListForCourierDriverV1RequestSortOrder = {
|
|
8
|
+
Ascending: "ascending",
|
|
9
|
+
Descending: "descending",
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ExpandedListForCourierOperatorsV1RequestSortOrder = "ascending" | "descending";
|
|
5
|
+
export declare const ExpandedListForCourierOperatorsV1RequestSortOrder: {
|
|
6
|
+
readonly Ascending: "ascending";
|
|
7
|
+
readonly Descending: "descending";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ExpandedListForCourierOperatorsV1RequestSortOrder = void 0;
|
|
7
|
+
exports.ExpandedListForCourierOperatorsV1RequestSortOrder = {
|
|
8
|
+
Ascending: "ascending",
|
|
9
|
+
Descending: "descending",
|
|
10
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ExpandedListForCourierOperatorsV1RequestSortOrder.js"), exports);
|
|
18
|
+
__exportStar(require("./ExpandedListForCourierDriverV1RequestSortOrder.js"), exports);
|
|
@@ -32,6 +32,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.expanded = void 0;
|
|
37
40
|
exports.expanded = __importStar(require("./expanded/index.js"));
|
|
41
|
+
__exportStar(require("./expanded/types/index.js"), exports);
|
|
42
|
+
__exportStar(require("./expanded/client/requests/index.js"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "exception_at_timestamp" | "order_cancelled_at_timestamp";
|
|
5
|
+
export declare const OrderSortByEnum: {
|
|
6
|
+
readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
|
|
7
|
+
readonly StagedAtTimestamp: "staged_at_timestamp";
|
|
8
|
+
readonly InProgressAtTimestamp: "in_progress_at_timestamp";
|
|
9
|
+
readonly CompletedAtTimestamp: "completed_at_timestamp";
|
|
10
|
+
readonly ExceptionAtTimestamp: "exception_at_timestamp";
|
|
11
|
+
readonly OrderCancelledAtTimestamp: "order_cancelled_at_timestamp";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.OrderSortByEnum = void 0;
|
|
7
|
+
exports.OrderSortByEnum = {
|
|
8
|
+
DraftStartedAtTimestamp: "draft_started_at_timestamp",
|
|
9
|
+
StagedAtTimestamp: "staged_at_timestamp",
|
|
10
|
+
InProgressAtTimestamp: "in_progress_at_timestamp",
|
|
11
|
+
CompletedAtTimestamp: "completed_at_timestamp",
|
|
12
|
+
ExceptionAtTimestamp: "exception_at_timestamp",
|
|
13
|
+
OrderCancelledAtTimestamp: "order_cancelled_at_timestamp",
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type TaskGroupSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "exception_at_timestamp";
|
|
5
|
+
export declare const TaskGroupSortByEnum: {
|
|
6
|
+
readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
|
|
7
|
+
readonly StagedAtTimestamp: "staged_at_timestamp";
|
|
8
|
+
readonly InProgressAtTimestamp: "in_progress_at_timestamp";
|
|
9
|
+
readonly CompletedAtTimestamp: "completed_at_timestamp";
|
|
10
|
+
readonly ExceptionAtTimestamp: "exception_at_timestamp";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.TaskGroupSortByEnum = void 0;
|
|
7
|
+
exports.TaskGroupSortByEnum = {
|
|
8
|
+
DraftStartedAtTimestamp: "draft_started_at_timestamp",
|
|
9
|
+
StagedAtTimestamp: "staged_at_timestamp",
|
|
10
|
+
InProgressAtTimestamp: "in_progress_at_timestamp",
|
|
11
|
+
CompletedAtTimestamp: "completed_at_timestamp",
|
|
12
|
+
ExceptionAtTimestamp: "exception_at_timestamp",
|
|
13
|
+
};
|
|
@@ -59,6 +59,7 @@ export * from "./OrderAndTaskGroupExpandedReq.js";
|
|
|
59
59
|
export * from "./OrderDraftExpandedListRes.js";
|
|
60
60
|
export * from "./OrderDraftExpandedRes.js";
|
|
61
61
|
export * from "./OrderExpanded.js";
|
|
62
|
+
export * from "./OrderSortByEnum.js";
|
|
62
63
|
export * from "./OrderStatusEnum1.js";
|
|
63
64
|
export * from "./OrdersDraftUpdateRes.js";
|
|
64
65
|
export * from "./OrdersExpandedListRes.js";
|
|
@@ -108,10 +109,10 @@ export * from "./TaskExpanded.js";
|
|
|
108
109
|
export * from "./TaskGroup1.js";
|
|
109
110
|
export * from "./TaskGroupDraftExpanded.js";
|
|
110
111
|
export * from "./TaskGroupExpanded.js";
|
|
111
|
-
export * from "./TaskGroupExpandedListReq.js";
|
|
112
112
|
export * from "./TaskGroupExpandedListRes.js";
|
|
113
113
|
export * from "./TaskGroupMessage1.js";
|
|
114
114
|
export * from "./TaskGroupMileage1.js";
|
|
115
|
+
export * from "./TaskGroupSortByEnum.js";
|
|
115
116
|
export * from "./TaskGroupStatusEnum1.js";
|
|
116
117
|
export * from "./TaskGroupTypeEnum1.js";
|
|
117
118
|
export * from "./TaskStatusEnum1.js";
|
|
@@ -75,6 +75,7 @@ __exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
|
|
|
75
75
|
__exportStar(require("./OrderDraftExpandedListRes.js"), exports);
|
|
76
76
|
__exportStar(require("./OrderDraftExpandedRes.js"), exports);
|
|
77
77
|
__exportStar(require("./OrderExpanded.js"), exports);
|
|
78
|
+
__exportStar(require("./OrderSortByEnum.js"), exports);
|
|
78
79
|
__exportStar(require("./OrderStatusEnum1.js"), exports);
|
|
79
80
|
__exportStar(require("./OrdersDraftUpdateRes.js"), exports);
|
|
80
81
|
__exportStar(require("./OrdersExpandedListRes.js"), exports);
|
|
@@ -124,10 +125,10 @@ __exportStar(require("./TaskExpanded.js"), exports);
|
|
|
124
125
|
__exportStar(require("./TaskGroup1.js"), exports);
|
|
125
126
|
__exportStar(require("./TaskGroupDraftExpanded.js"), exports);
|
|
126
127
|
__exportStar(require("./TaskGroupExpanded.js"), exports);
|
|
127
|
-
__exportStar(require("./TaskGroupExpandedListReq.js"), exports);
|
|
128
128
|
__exportStar(require("./TaskGroupExpandedListRes.js"), exports);
|
|
129
129
|
__exportStar(require("./TaskGroupMessage1.js"), exports);
|
|
130
130
|
__exportStar(require("./TaskGroupMileage1.js"), exports);
|
|
131
|
+
__exportStar(require("./TaskGroupSortByEnum.js"), exports);
|
|
131
132
|
__exportStar(require("./TaskGroupStatusEnum1.js"), exports);
|
|
132
133
|
__exportStar(require("./TaskGroupTypeEnum1.js"), exports);
|
|
133
134
|
__exportStar(require("./TaskStatusEnum1.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.318.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -35,8 +35,8 @@ export class ChrtClient {
|
|
|
35
35
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
36
36
|
"X-Fern-Language": "JavaScript",
|
|
37
37
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
38
|
-
"X-Fern-SDK-Version": "1.
|
|
39
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
38
|
+
"X-Fern-SDK-Version": "1.318.0",
|
|
39
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.318.0",
|
|
40
40
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
41
41
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
42
42
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * as connections from "./connections/index.mjs";
|
|
2
2
|
export * from "./connections/types/index.mjs";
|
|
3
|
+
export * as orders from "./orders/index.mjs";
|
|
4
|
+
export * as taskGroups from "./taskGroups/index.mjs";
|
|
3
5
|
export * as payments from "./payments/index.mjs";
|
|
4
6
|
export * as courierPayDriverLineItemGroups from "./courierPayDriverLineItemGroups/index.mjs";
|
|
5
7
|
export * as courierPayDriverPayouts from "./courierPayDriverPayouts/index.mjs";
|
|
@@ -15,9 +17,7 @@ export * as taskArtifactNotifications from "./taskArtifactNotifications/index.mj
|
|
|
15
17
|
export * as drivers from "./drivers/index.mjs";
|
|
16
18
|
export * as taskArtifacts from "./taskArtifacts/index.mjs";
|
|
17
19
|
export * as offChrtShipperOrg from "./offChrtShipperOrg/index.mjs";
|
|
18
|
-
export * as orders from "./orders/index.mjs";
|
|
19
20
|
export * as orderDrafts from "./orderDrafts/index.mjs";
|
|
20
|
-
export * as taskGroups from "./taskGroups/index.mjs";
|
|
21
21
|
export * as shipperContactInfo from "./shipperContactInfo/index.mjs";
|
|
22
22
|
export * as orgs from "./orgs/index.mjs";
|
|
23
23
|
export * as root from "./root/index.mjs";
|
|
@@ -37,7 +37,6 @@ export * from "./taskArtifactNotifications/client/requests/index.mjs";
|
|
|
37
37
|
export * from "./drivers/client/requests/index.mjs";
|
|
38
38
|
export * from "./taskArtifacts/client/requests/index.mjs";
|
|
39
39
|
export * from "./offChrtShipperOrg/client/requests/index.mjs";
|
|
40
|
-
export * from "./orders/client/requests/index.mjs";
|
|
41
40
|
export * from "./orderDrafts/client/requests/index.mjs";
|
|
42
41
|
export * from "./taskGroups/client/requests/index.mjs";
|
|
43
42
|
export * from "./shipperContactInfo/client/requests/index.mjs";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * as connections from "./connections/index.mjs";
|
|
2
2
|
export * from "./connections/types/index.mjs";
|
|
3
|
+
export * as orders from "./orders/index.mjs";
|
|
4
|
+
export * as taskGroups from "./taskGroups/index.mjs";
|
|
3
5
|
export * as payments from "./payments/index.mjs";
|
|
4
6
|
export * as courierPayDriverLineItemGroups from "./courierPayDriverLineItemGroups/index.mjs";
|
|
5
7
|
export * as courierPayDriverPayouts from "./courierPayDriverPayouts/index.mjs";
|
|
@@ -15,9 +17,7 @@ export * as taskArtifactNotifications from "./taskArtifactNotifications/index.mj
|
|
|
15
17
|
export * as drivers from "./drivers/index.mjs";
|
|
16
18
|
export * as taskArtifacts from "./taskArtifacts/index.mjs";
|
|
17
19
|
export * as offChrtShipperOrg from "./offChrtShipperOrg/index.mjs";
|
|
18
|
-
export * as orders from "./orders/index.mjs";
|
|
19
20
|
export * as orderDrafts from "./orderDrafts/index.mjs";
|
|
20
|
-
export * as taskGroups from "./taskGroups/index.mjs";
|
|
21
21
|
export * as shipperContactInfo from "./shipperContactInfo/index.mjs";
|
|
22
22
|
export * as orgs from "./orgs/index.mjs";
|
|
23
23
|
export * as root from "./root/index.mjs";
|
|
@@ -37,7 +37,6 @@ export * from "./taskArtifactNotifications/client/requests/index.mjs";
|
|
|
37
37
|
export * from "./drivers/client/requests/index.mjs";
|
|
38
38
|
export * from "./taskArtifacts/client/requests/index.mjs";
|
|
39
39
|
export * from "./offChrtShipperOrg/client/requests/index.mjs";
|
|
40
|
-
export * from "./orders/client/requests/index.mjs";
|
|
41
40
|
export * from "./orderDrafts/client/requests/index.mjs";
|
|
42
41
|
export * from "./taskGroups/client/requests/index.mjs";
|
|
43
42
|
export * from "./shipperContactInfo/client/requests/index.mjs";
|
|
@@ -3,7 +3,6 @@
|
|
|
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";
|
|
7
6
|
import { Expanded } from "../resources/expanded/client/Client.mjs";
|
|
8
7
|
export declare namespace Orders {
|
|
9
8
|
interface Options {
|
|
@@ -33,32 +32,6 @@ export declare class Orders {
|
|
|
33
32
|
protected _expanded: Expanded | undefined;
|
|
34
33
|
constructor(_options?: Orders.Options);
|
|
35
34
|
get expanded(): Expanded;
|
|
36
|
-
/**
|
|
37
|
-
* Retrieves a list of expanded orders with optional filters and related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrdersExpandedListForShipperReq) -> (OrdersExpandedListRes)
|
|
38
|
-
*
|
|
39
|
-
* @param {Chrt.OrdersExpandedListForShipperReq} request
|
|
40
|
-
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
|
-
*
|
|
42
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* await client.orders.postExpandedListForShipperOperatorsV1()
|
|
46
|
-
*/
|
|
47
|
-
postExpandedListForShipperOperatorsV1(request?: Chrt.OrdersExpandedListForShipperReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
|
|
48
|
-
private __postExpandedListForShipperOperatorsV1;
|
|
49
|
-
/**
|
|
50
|
-
* Retrieves a list of expanded orders with optional filters and related data for forwarder operators. | authz_personas=[forwarder_org_operators] | (OrdersExpandedListForForwarderReq) -> (OrdersExpandedListRes)
|
|
51
|
-
*
|
|
52
|
-
* @param {Chrt.OrdersExpandedListForForwarderReq} request
|
|
53
|
-
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.orders.postExpandedListForForwarderOperatorsV1()
|
|
59
|
-
*/
|
|
60
|
-
postExpandedListForForwarderOperatorsV1(request?: Chrt.OrdersExpandedListForForwarderReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
|
|
61
|
-
private __postExpandedListForForwarderOperatorsV1;
|
|
62
35
|
/**
|
|
63
36
|
* Validates a draft order and stages all related entities in a transaction. | () -> (bool)
|
|
64
37
|
*
|
|
@@ -24,130 +24,6 @@ export class Orders {
|
|
|
24
24
|
var _a;
|
|
25
25
|
return ((_a = this._expanded) !== null && _a !== void 0 ? _a : (this._expanded = new Expanded(this._options)));
|
|
26
26
|
}
|
|
27
|
-
/**
|
|
28
|
-
* Retrieves a list of expanded orders with optional filters and related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrdersExpandedListForShipperReq) -> (OrdersExpandedListRes)
|
|
29
|
-
*
|
|
30
|
-
* @param {Chrt.OrdersExpandedListForShipperReq} request
|
|
31
|
-
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
|
-
*
|
|
33
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* await client.orders.postExpandedListForShipperOperatorsV1()
|
|
37
|
-
*/
|
|
38
|
-
postExpandedListForShipperOperatorsV1(request = {}, requestOptions) {
|
|
39
|
-
return core.HttpResponsePromise.fromPromise(this.__postExpandedListForShipperOperatorsV1(request, requestOptions));
|
|
40
|
-
}
|
|
41
|
-
__postExpandedListForShipperOperatorsV1() {
|
|
42
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
43
|
-
var _a, _b, _c, _d;
|
|
44
|
-
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);
|
|
45
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
46
|
-
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, "oort/orders/orders/expanded/list/for_shipper_operators/v1"),
|
|
47
|
-
method: "POST",
|
|
48
|
-
headers: _headers,
|
|
49
|
-
contentType: "application/json",
|
|
50
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
51
|
-
requestType: "json",
|
|
52
|
-
body: request,
|
|
53
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
54
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
55
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
56
|
-
});
|
|
57
|
-
if (_response.ok) {
|
|
58
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
59
|
-
}
|
|
60
|
-
if (_response.error.reason === "status-code") {
|
|
61
|
-
switch (_response.error.statusCode) {
|
|
62
|
-
case 422:
|
|
63
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
64
|
-
default:
|
|
65
|
-
throw new errors.ChrtError({
|
|
66
|
-
statusCode: _response.error.statusCode,
|
|
67
|
-
body: _response.error.body,
|
|
68
|
-
rawResponse: _response.rawResponse,
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
switch (_response.error.reason) {
|
|
73
|
-
case "non-json":
|
|
74
|
-
throw new errors.ChrtError({
|
|
75
|
-
statusCode: _response.error.statusCode,
|
|
76
|
-
body: _response.error.rawBody,
|
|
77
|
-
rawResponse: _response.rawResponse,
|
|
78
|
-
});
|
|
79
|
-
case "timeout":
|
|
80
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/orders/orders/expanded/list/for_shipper_operators/v1.");
|
|
81
|
-
case "unknown":
|
|
82
|
-
throw new errors.ChrtError({
|
|
83
|
-
message: _response.error.errorMessage,
|
|
84
|
-
rawResponse: _response.rawResponse,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Retrieves a list of expanded orders with optional filters and related data for forwarder operators. | authz_personas=[forwarder_org_operators] | (OrdersExpandedListForForwarderReq) -> (OrdersExpandedListRes)
|
|
91
|
-
*
|
|
92
|
-
* @param {Chrt.OrdersExpandedListForForwarderReq} request
|
|
93
|
-
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* await client.orders.postExpandedListForForwarderOperatorsV1()
|
|
99
|
-
*/
|
|
100
|
-
postExpandedListForForwarderOperatorsV1(request = {}, requestOptions) {
|
|
101
|
-
return core.HttpResponsePromise.fromPromise(this.__postExpandedListForForwarderOperatorsV1(request, requestOptions));
|
|
102
|
-
}
|
|
103
|
-
__postExpandedListForForwarderOperatorsV1() {
|
|
104
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
105
|
-
var _a, _b, _c, _d;
|
|
106
|
-
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);
|
|
107
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
108
|
-
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, "oort/orders/orders/expanded/list/for_forwarder_operators/v1"),
|
|
109
|
-
method: "POST",
|
|
110
|
-
headers: _headers,
|
|
111
|
-
contentType: "application/json",
|
|
112
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
113
|
-
requestType: "json",
|
|
114
|
-
body: request,
|
|
115
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
116
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
117
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
118
|
-
});
|
|
119
|
-
if (_response.ok) {
|
|
120
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
121
|
-
}
|
|
122
|
-
if (_response.error.reason === "status-code") {
|
|
123
|
-
switch (_response.error.statusCode) {
|
|
124
|
-
case 422:
|
|
125
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
126
|
-
default:
|
|
127
|
-
throw new errors.ChrtError({
|
|
128
|
-
statusCode: _response.error.statusCode,
|
|
129
|
-
body: _response.error.body,
|
|
130
|
-
rawResponse: _response.rawResponse,
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
switch (_response.error.reason) {
|
|
135
|
-
case "non-json":
|
|
136
|
-
throw new errors.ChrtError({
|
|
137
|
-
statusCode: _response.error.statusCode,
|
|
138
|
-
body: _response.error.rawBody,
|
|
139
|
-
rawResponse: _response.rawResponse,
|
|
140
|
-
});
|
|
141
|
-
case "timeout":
|
|
142
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/orders/orders/expanded/list/for_forwarder_operators/v1.");
|
|
143
|
-
case "unknown":
|
|
144
|
-
throw new errors.ChrtError({
|
|
145
|
-
message: _response.error.errorMessage,
|
|
146
|
-
rawResponse: _response.rawResponse,
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
27
|
/**
|
|
152
28
|
* Validates a draft order and stages all related entities in a transaction. | () -> (bool)
|
|
153
29
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export {};
|
|
@@ -33,30 +33,92 @@ export declare class Expanded {
|
|
|
33
33
|
/**
|
|
34
34
|
* Retrieves an expanded order with optional related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
|
|
35
35
|
*
|
|
36
|
-
* @param {string}
|
|
36
|
+
* @param {string} orderIdOrShortId
|
|
37
37
|
* @param {Chrt.OrderAndTaskGroupExpandedReq} request
|
|
38
38
|
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
39
|
*
|
|
40
40
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
|
-
* await client.orders.expanded.forShipperOperatorsV1("
|
|
43
|
+
* await client.orders.expanded.forShipperOperatorsV1("order_id_or_short_id", {})
|
|
44
44
|
*/
|
|
45
|
-
forShipperOperatorsV1(
|
|
45
|
+
forShipperOperatorsV1(orderIdOrShortId: string, request: Chrt.OrderAndTaskGroupExpandedReq, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderExpanded>;
|
|
46
46
|
private __forShipperOperatorsV1;
|
|
47
47
|
/**
|
|
48
48
|
* Retrieves an expanded order with optional related data for forwarder operators. | authz_personas=[forwarder_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
|
|
49
49
|
*
|
|
50
|
-
* @param {string}
|
|
50
|
+
* @param {string} orderIdOrShortId
|
|
51
51
|
* @param {Chrt.OrderAndTaskGroupExpandedReq} request
|
|
52
52
|
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
|
-
* await client.orders.expanded.forForwarderOperatorsV1("
|
|
57
|
+
* await client.orders.expanded.forForwarderOperatorsV1("order_id_or_short_id", {})
|
|
58
58
|
*/
|
|
59
|
-
forForwarderOperatorsV1(
|
|
59
|
+
forForwarderOperatorsV1(orderIdOrShortId: string, request: Chrt.OrderAndTaskGroupExpandedReq, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrderExpanded>;
|
|
60
60
|
private __forForwarderOperatorsV1;
|
|
61
|
+
/**
|
|
62
|
+
* Lists expanded orders for forwarder operators with filtering, sorting, and pagination. | authz_personas=[forwarder_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
|
|
63
|
+
*
|
|
64
|
+
* @param {Chrt.orders.ExpandedListForForwarderOperatorsV1Request} request
|
|
65
|
+
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* await client.orders.expanded.listForForwarderOperatorsV1({
|
|
71
|
+
* sort_by: "draft_started_at_timestamp",
|
|
72
|
+
* sort_order: "ascending",
|
|
73
|
+
* page: 1,
|
|
74
|
+
* page_size: 1,
|
|
75
|
+
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
76
|
+
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
77
|
+
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
78
|
+
* filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
79
|
+
* filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
80
|
+
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
81
|
+
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
82
|
+
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
83
|
+
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
84
|
+
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
85
|
+
* filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
86
|
+
* filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
87
|
+
* body: {}
|
|
88
|
+
* })
|
|
89
|
+
*/
|
|
90
|
+
listForForwarderOperatorsV1(request: Chrt.orders.ExpandedListForForwarderOperatorsV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
|
|
91
|
+
private __listForForwarderOperatorsV1;
|
|
92
|
+
/**
|
|
93
|
+
* Lists expanded orders for shipper operators with filtering, sorting, and pagination. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
|
|
94
|
+
*
|
|
95
|
+
* @param {Chrt.orders.ExpandedListForShipperOperatorsV1Request} request
|
|
96
|
+
* @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* await client.orders.expanded.listForShipperOperatorsV1({
|
|
102
|
+
* sort_by: "draft_started_at_timestamp",
|
|
103
|
+
* sort_order: "ascending",
|
|
104
|
+
* page: 1,
|
|
105
|
+
* page_size: 1,
|
|
106
|
+
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
107
|
+
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
108
|
+
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
109
|
+
* filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
110
|
+
* filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
111
|
+
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
112
|
+
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
113
|
+
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
114
|
+
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
115
|
+
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
116
|
+
* filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
117
|
+
* filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
118
|
+
* body: {}
|
|
119
|
+
* })
|
|
120
|
+
*/
|
|
121
|
+
listForShipperOperatorsV1(request: Chrt.orders.ExpandedListForShipperOperatorsV1Request, requestOptions?: Expanded.RequestOptions): core.HttpResponsePromise<Chrt.OrdersExpandedListRes>;
|
|
122
|
+
private __listForShipperOperatorsV1;
|
|
61
123
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
62
124
|
}
|