@chrt-inc/typescript-sdk 1.616.0 → 1.625.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/billing/resources/lineItemGroups/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +0 -1
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +0 -2
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +0 -2
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/client/Client.js +0 -1
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/shipping/client/Client.js +16 -21
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +0 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/index.js +1 -3
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +0 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +0 -1
- package/dist/cjs/api/types/index.js +0 -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/billing/resources/lineItemGroups/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +0 -1
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.mts +0 -1
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +0 -2
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +0 -2
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +0 -1
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +0 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/orgs/client/Client.mjs +0 -1
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +0 -1
- package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +0 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/index.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +0 -1
- package/dist/esm/api/types/index.mjs +0 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +0 -77
- package/dist/cjs/api/resources/shipping/resources/docs/client/Client.d.ts +0 -40
- package/dist/cjs/api/resources/shipping/resources/docs/client/Client.js +0 -124
- package/dist/cjs/api/resources/shipping/resources/docs/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/docs/client/index.js +0 -17
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.ts +0 -15
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.js +0 -5
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/shipping/resources/docs/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/docs/index.js +0 -17
- package/dist/cjs/api/types/ShippingDocTemplateEnum.d.ts +0 -8
- package/dist/cjs/api/types/ShippingDocTemplateEnum.js +0 -10
- package/dist/esm/api/resources/shipping/resources/docs/client/Client.d.mts +0 -40
- package/dist/esm/api/resources/shipping/resources/docs/client/Client.mjs +0 -87
- package/dist/esm/api/resources/shipping/resources/docs/client/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/docs/client/index.mjs +0 -1
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.mts +0 -15
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.mjs +0 -4
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/shipping/resources/docs/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/docs/index.mjs +0 -1
- package/dist/esm/api/types/ShippingDocTemplateEnum.d.mts +0 -8
- package/dist/esm/api/types/ShippingDocTemplateEnum.mjs +0 -7
package/dist/cjs/Client.js
CHANGED
|
@@ -54,8 +54,8 @@ class ChrtClient {
|
|
|
54
54
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
55
55
|
"X-Fern-Language": "JavaScript",
|
|
56
56
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
57
|
-
"X-Fern-SDK-Version": "1.
|
|
58
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
57
|
+
"X-Fern-SDK-Version": "1.625.0",
|
|
58
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.625.0",
|
|
59
59
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
60
60
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
61
61
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -63,7 +63,6 @@ export declare class LineItemGroups {
|
|
|
63
63
|
* @example
|
|
64
64
|
* await client.billing.lineItemGroups.listForCourierOrgV1({
|
|
65
65
|
* filter_driver_id: "filter_driver_id",
|
|
66
|
-
* filter_status: ["staged"],
|
|
67
66
|
* filter_attached_to_statement: true,
|
|
68
67
|
* filter_order_id: "filter_order_id",
|
|
69
68
|
* filter_payment_role: "origin",
|
|
@@ -140,7 +140,6 @@ class LineItemGroups {
|
|
|
140
140
|
* @example
|
|
141
141
|
* await client.billing.lineItemGroups.listForCourierOrgV1({
|
|
142
142
|
* filter_driver_id: "filter_driver_id",
|
|
143
|
-
* filter_status: ["staged"],
|
|
144
143
|
* filter_attached_to_statement: true,
|
|
145
144
|
* filter_order_id: "filter_order_id",
|
|
146
145
|
* filter_payment_role: "origin",
|
|
@@ -85,7 +85,6 @@ export declare class Statements {
|
|
|
85
85
|
* sort_order: "asc",
|
|
86
86
|
* page: 1,
|
|
87
87
|
* page_size: 1,
|
|
88
|
-
* filter_status: ["staged"],
|
|
89
88
|
* filter_settlement_type: "stripe_connect",
|
|
90
89
|
* filter_order_id: "filter_order_id",
|
|
91
90
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -120,7 +119,6 @@ export declare class Statements {
|
|
|
120
119
|
* sort_order: "asc",
|
|
121
120
|
* page: 1,
|
|
122
121
|
* page_size: 1,
|
|
123
|
-
* filter_status: ["staged"],
|
|
124
122
|
* filter_settlement_type: "stripe_connect",
|
|
125
123
|
* filter_order_id: "filter_order_id",
|
|
126
124
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -251,7 +251,6 @@ class Statements {
|
|
|
251
251
|
* sort_order: "asc",
|
|
252
252
|
* page: 1,
|
|
253
253
|
* page_size: 1,
|
|
254
|
-
* filter_status: ["staged"],
|
|
255
254
|
* filter_settlement_type: "stripe_connect",
|
|
256
255
|
* filter_order_id: "filter_order_id",
|
|
257
256
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -402,7 +401,6 @@ class Statements {
|
|
|
402
401
|
* sort_order: "asc",
|
|
403
402
|
* page: 1,
|
|
404
403
|
* page_size: 1,
|
|
405
|
-
* filter_status: ["staged"],
|
|
406
404
|
* filter_settlement_type: "stripe_connect",
|
|
407
405
|
* filter_order_id: "filter_order_id",
|
|
408
406
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -9,7 +9,6 @@ import * as Chrt from "../../../../../../index.js";
|
|
|
9
9
|
* sort_order: "asc",
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
|
-
* filter_status: ["staged"],
|
|
13
12
|
* filter_settlement_type: "stripe_connect",
|
|
14
13
|
* filter_order_id: "filter_order_id",
|
|
15
14
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -9,7 +9,6 @@ import * as Chrt from "../../../../../../index.js";
|
|
|
9
9
|
* sort_order: "asc",
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
|
-
* filter_status: ["staged"],
|
|
13
12
|
* filter_settlement_type: "stripe_connect",
|
|
14
13
|
* filter_order_id: "filter_order_id",
|
|
15
14
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments.js";
|
|
5
5
|
import * as core from "../../../../core/index.js";
|
|
6
|
-
import { Docs } from "../resources/docs/client/Client.js";
|
|
7
6
|
import { Drivers } from "../resources/drivers/client/Client.js";
|
|
8
7
|
import { Cargos } from "../resources/cargos/client/Client.js";
|
|
9
8
|
import { Flights } from "../resources/flights/client/Client.js";
|
|
@@ -25,7 +24,6 @@ export declare namespace Shipping {
|
|
|
25
24
|
}
|
|
26
25
|
export declare class Shipping {
|
|
27
26
|
protected readonly _options: Shipping.Options;
|
|
28
|
-
protected _docs: Docs | undefined;
|
|
29
27
|
protected _drivers: Drivers | undefined;
|
|
30
28
|
protected _cargos: Cargos | undefined;
|
|
31
29
|
protected _flights: Flights | undefined;
|
|
@@ -35,7 +33,6 @@ export declare class Shipping {
|
|
|
35
33
|
protected _taskGroups: TaskGroups | undefined;
|
|
36
34
|
protected _tasks: Tasks | undefined;
|
|
37
35
|
constructor(_options?: Shipping.Options);
|
|
38
|
-
get docs(): Docs;
|
|
39
36
|
get drivers(): Drivers;
|
|
40
37
|
get cargos(): Cargos;
|
|
41
38
|
get flights(): Flights;
|
|
@@ -4,54 +4,49 @@
|
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Shipping = void 0;
|
|
7
|
-
const Client_js_1 = require("../resources/
|
|
8
|
-
const Client_js_2 = require("../resources/
|
|
9
|
-
const Client_js_3 = require("../resources/
|
|
10
|
-
const Client_js_4 = require("../resources/
|
|
11
|
-
const Client_js_5 = require("../resources/
|
|
12
|
-
const Client_js_6 = require("../resources/
|
|
13
|
-
const Client_js_7 = require("../resources/
|
|
14
|
-
const Client_js_8 = require("../resources/
|
|
15
|
-
const Client_js_9 = require("../resources/tasks/client/Client.js");
|
|
7
|
+
const Client_js_1 = require("../resources/drivers/client/Client.js");
|
|
8
|
+
const Client_js_2 = require("../resources/cargos/client/Client.js");
|
|
9
|
+
const Client_js_3 = require("../resources/flights/client/Client.js");
|
|
10
|
+
const Client_js_4 = require("../resources/taskArtifacts/client/Client.js");
|
|
11
|
+
const Client_js_5 = require("../resources/orders/client/Client.js");
|
|
12
|
+
const Client_js_6 = require("../resources/orderDrafts/client/Client.js");
|
|
13
|
+
const Client_js_7 = require("../resources/taskGroups/client/Client.js");
|
|
14
|
+
const Client_js_8 = require("../resources/tasks/client/Client.js");
|
|
16
15
|
class Shipping {
|
|
17
16
|
constructor(_options = {}) {
|
|
18
17
|
this._options = _options;
|
|
19
18
|
}
|
|
20
|
-
get docs() {
|
|
21
|
-
var _a;
|
|
22
|
-
return ((_a = this._docs) !== null && _a !== void 0 ? _a : (this._docs = new Client_js_1.Docs(this._options)));
|
|
23
|
-
}
|
|
24
19
|
get drivers() {
|
|
25
20
|
var _a;
|
|
26
|
-
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new
|
|
21
|
+
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_1.Drivers(this._options)));
|
|
27
22
|
}
|
|
28
23
|
get cargos() {
|
|
29
24
|
var _a;
|
|
30
|
-
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new
|
|
25
|
+
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new Client_js_2.Cargos(this._options)));
|
|
31
26
|
}
|
|
32
27
|
get flights() {
|
|
33
28
|
var _a;
|
|
34
|
-
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new
|
|
29
|
+
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Client_js_3.Flights(this._options)));
|
|
35
30
|
}
|
|
36
31
|
get taskArtifacts() {
|
|
37
32
|
var _a;
|
|
38
|
-
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new
|
|
33
|
+
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_4.TaskArtifacts(this._options)));
|
|
39
34
|
}
|
|
40
35
|
get orders() {
|
|
41
36
|
var _a;
|
|
42
|
-
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new
|
|
37
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_5.Orders(this._options)));
|
|
43
38
|
}
|
|
44
39
|
get orderDrafts() {
|
|
45
40
|
var _a;
|
|
46
|
-
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new
|
|
41
|
+
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new Client_js_6.OrderDrafts(this._options)));
|
|
47
42
|
}
|
|
48
43
|
get taskGroups() {
|
|
49
44
|
var _a;
|
|
50
|
-
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new
|
|
45
|
+
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_7.TaskGroups(this._options)));
|
|
51
46
|
}
|
|
52
47
|
get tasks() {
|
|
53
48
|
var _a;
|
|
54
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
49
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_8.Tasks(this._options)));
|
|
55
50
|
}
|
|
56
51
|
}
|
|
57
52
|
exports.Shipping = Shipping;
|
|
@@ -64,7 +64,6 @@ export declare class Drivers {
|
|
|
64
64
|
* @example
|
|
65
65
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
66
66
|
* search: "search",
|
|
67
|
-
* filter_role: ["owner"],
|
|
68
67
|
* filter_available_according_to_driver: true,
|
|
69
68
|
* filter_available_according_to_operators: true,
|
|
70
69
|
* sort_by: "first_name",
|
|
@@ -187,7 +187,6 @@ class Drivers {
|
|
|
187
187
|
* @example
|
|
188
188
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
189
189
|
* search: "search",
|
|
190
|
-
* filter_role: ["owner"],
|
|
191
190
|
* filter_available_according_to_driver: true,
|
|
192
191
|
* filter_available_according_to_operators: true,
|
|
193
192
|
* sort_by: "first_name",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * as docs from "./docs/index.js";
|
|
2
1
|
export * as drivers from "./drivers/index.js";
|
|
3
2
|
export * as cargos from "./cargos/index.js";
|
|
4
3
|
export * as flights from "./flights/index.js";
|
|
@@ -7,7 +6,6 @@ export * as orders from "./orders/index.js";
|
|
|
7
6
|
export * as orderDrafts from "./orderDrafts/index.js";
|
|
8
7
|
export * as taskGroups from "./taskGroups/index.js";
|
|
9
8
|
export * as tasks from "./tasks/index.js";
|
|
10
|
-
export * from "./docs/client/requests/index.js";
|
|
11
9
|
export * from "./drivers/client/requests/index.js";
|
|
12
10
|
export * from "./taskArtifacts/client/requests/index.js";
|
|
13
11
|
export * from "./orders/client/requests/index.js";
|
|
@@ -36,8 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.tasks = exports.taskGroups = exports.orderDrafts = exports.orders = exports.taskArtifacts = exports.flights = exports.cargos = exports.drivers =
|
|
40
|
-
exports.docs = __importStar(require("./docs/index.js"));
|
|
39
|
+
exports.tasks = exports.taskGroups = exports.orderDrafts = exports.orders = exports.taskArtifacts = exports.flights = exports.cargos = exports.drivers = void 0;
|
|
41
40
|
exports.drivers = __importStar(require("./drivers/index.js"));
|
|
42
41
|
exports.cargos = __importStar(require("./cargos/index.js"));
|
|
43
42
|
exports.flights = __importStar(require("./flights/index.js"));
|
|
@@ -46,7 +45,6 @@ exports.orders = __importStar(require("./orders/index.js"));
|
|
|
46
45
|
exports.orderDrafts = __importStar(require("./orderDrafts/index.js"));
|
|
47
46
|
exports.taskGroups = __importStar(require("./taskGroups/index.js"));
|
|
48
47
|
exports.tasks = __importStar(require("./tasks/index.js"));
|
|
49
|
-
__exportStar(require("./docs/client/requests/index.js"), exports);
|
|
50
48
|
__exportStar(require("./drivers/client/requests/index.js"), exports);
|
|
51
49
|
__exportStar(require("./taskArtifacts/client/requests/index.js"), exports);
|
|
52
50
|
__exportStar(require("./orders/client/requests/index.js"), exports);
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts
CHANGED
|
@@ -73,7 +73,6 @@ export declare class Expanded {
|
|
|
73
73
|
* page: 1,
|
|
74
74
|
* page_size: 1,
|
|
75
75
|
* search: "search",
|
|
76
|
-
* filter_status: ["draft"],
|
|
77
76
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
78
77
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
79
78
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -110,7 +109,6 @@ export declare class Expanded {
|
|
|
110
109
|
* page: 1,
|
|
111
110
|
* page_size: 1,
|
|
112
111
|
* search: "search",
|
|
113
|
-
* filter_status: ["draft"],
|
|
114
112
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
115
113
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
116
114
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js
CHANGED
|
@@ -196,7 +196,6 @@ class Expanded {
|
|
|
196
196
|
* page: 1,
|
|
197
197
|
* page_size: 1,
|
|
198
198
|
* search: "search",
|
|
199
|
-
* filter_status: ["draft"],
|
|
200
199
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
201
200
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
202
201
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -355,7 +354,6 @@ class Expanded {
|
|
|
355
354
|
* page: 1,
|
|
356
355
|
* page_size: 1,
|
|
357
356
|
* search: "search",
|
|
358
|
-
* filter_status: ["draft"],
|
|
359
357
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
360
358
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
361
359
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
-
* filter_status: ["draft"],
|
|
14
13
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
14
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
15
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
-
* filter_status: ["draft"],
|
|
14
13
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
14
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
15
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts
CHANGED
|
@@ -101,7 +101,6 @@ export declare class Expanded {
|
|
|
101
101
|
* page: 1,
|
|
102
102
|
* page_size: 1,
|
|
103
103
|
* search: "search",
|
|
104
|
-
* filter_status: ["draft"],
|
|
105
104
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
106
105
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
107
106
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -139,7 +138,6 @@ export declare class Expanded {
|
|
|
139
138
|
* page: 1,
|
|
140
139
|
* page_size: 1,
|
|
141
140
|
* search: "search",
|
|
142
|
-
* filter_status: ["draft"],
|
|
143
141
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
144
142
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
145
143
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js
CHANGED
|
@@ -322,7 +322,6 @@ class Expanded {
|
|
|
322
322
|
* page: 1,
|
|
323
323
|
* page_size: 1,
|
|
324
324
|
* search: "search",
|
|
325
|
-
* filter_status: ["draft"],
|
|
326
325
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
327
326
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
328
327
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -485,7 +484,6 @@ class Expanded {
|
|
|
485
484
|
* page: 1,
|
|
486
485
|
* page_size: 1,
|
|
487
486
|
* search: "search",
|
|
488
|
-
* filter_status: ["draft"],
|
|
489
487
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
490
488
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
491
489
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
-
* filter_status: ["draft"],
|
|
14
13
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
14
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
15
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
-
* filter_status: ["draft"],
|
|
14
13
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
14
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
15
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -195,7 +195,6 @@ export * from "./ShipperConnectionRes.js";
|
|
|
195
195
|
export * from "./ShipperCourierConnection1.js";
|
|
196
196
|
export * from "./ShipperForwarderConnection1.js";
|
|
197
197
|
export * from "./ShipperOrgInfoForConnections1.js";
|
|
198
|
-
export * from "./ShippingDocTemplateEnum.js";
|
|
199
198
|
export * from "./ShippingOrderCancelledWebhookPayload.js";
|
|
200
199
|
export * from "./ShippingOrderCompletedWebhookPayload.js";
|
|
201
200
|
export * from "./ShippingOrderStagedWebhookPayload.js";
|
|
@@ -211,7 +211,6 @@ __exportStar(require("./ShipperConnectionRes.js"), exports);
|
|
|
211
211
|
__exportStar(require("./ShipperCourierConnection1.js"), exports);
|
|
212
212
|
__exportStar(require("./ShipperForwarderConnection1.js"), exports);
|
|
213
213
|
__exportStar(require("./ShipperOrgInfoForConnections1.js"), exports);
|
|
214
|
-
__exportStar(require("./ShippingDocTemplateEnum.js"), exports);
|
|
215
214
|
__exportStar(require("./ShippingOrderCancelledWebhookPayload.js"), exports);
|
|
216
215
|
__exportStar(require("./ShippingOrderCompletedWebhookPayload.js"), exports);
|
|
217
216
|
__exportStar(require("./ShippingOrderStagedWebhookPayload.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.625.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -18,8 +18,8 @@ export class ChrtClient {
|
|
|
18
18
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
19
19
|
"X-Fern-Language": "JavaScript",
|
|
20
20
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
21
|
-
"X-Fern-SDK-Version": "1.
|
|
22
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
21
|
+
"X-Fern-SDK-Version": "1.625.0",
|
|
22
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.625.0",
|
|
23
23
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
24
24
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
25
25
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -63,7 +63,6 @@ export declare class LineItemGroups {
|
|
|
63
63
|
* @example
|
|
64
64
|
* await client.billing.lineItemGroups.listForCourierOrgV1({
|
|
65
65
|
* filter_driver_id: "filter_driver_id",
|
|
66
|
-
* filter_status: ["staged"],
|
|
67
66
|
* filter_attached_to_statement: true,
|
|
68
67
|
* filter_order_id: "filter_order_id",
|
|
69
68
|
* filter_payment_role: "origin",
|
|
@@ -104,7 +104,6 @@ export class LineItemGroups {
|
|
|
104
104
|
* @example
|
|
105
105
|
* await client.billing.lineItemGroups.listForCourierOrgV1({
|
|
106
106
|
* filter_driver_id: "filter_driver_id",
|
|
107
|
-
* filter_status: ["staged"],
|
|
108
107
|
* filter_attached_to_statement: true,
|
|
109
108
|
* filter_order_id: "filter_order_id",
|
|
110
109
|
* filter_payment_role: "origin",
|
|
@@ -85,7 +85,6 @@ export declare class Statements {
|
|
|
85
85
|
* sort_order: "asc",
|
|
86
86
|
* page: 1,
|
|
87
87
|
* page_size: 1,
|
|
88
|
-
* filter_status: ["staged"],
|
|
89
88
|
* filter_settlement_type: "stripe_connect",
|
|
90
89
|
* filter_order_id: "filter_order_id",
|
|
91
90
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -120,7 +119,6 @@ export declare class Statements {
|
|
|
120
119
|
* sort_order: "asc",
|
|
121
120
|
* page: 1,
|
|
122
121
|
* page_size: 1,
|
|
123
|
-
* filter_status: ["staged"],
|
|
124
122
|
* filter_settlement_type: "stripe_connect",
|
|
125
123
|
* filter_order_id: "filter_order_id",
|
|
126
124
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -215,7 +215,6 @@ export class Statements {
|
|
|
215
215
|
* sort_order: "asc",
|
|
216
216
|
* page: 1,
|
|
217
217
|
* page_size: 1,
|
|
218
|
-
* filter_status: ["staged"],
|
|
219
218
|
* filter_settlement_type: "stripe_connect",
|
|
220
219
|
* filter_order_id: "filter_order_id",
|
|
221
220
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -366,7 +365,6 @@ export class Statements {
|
|
|
366
365
|
* sort_order: "asc",
|
|
367
366
|
* page: 1,
|
|
368
367
|
* page_size: 1,
|
|
369
|
-
* filter_status: ["staged"],
|
|
370
368
|
* filter_settlement_type: "stripe_connect",
|
|
371
369
|
* filter_order_id: "filter_order_id",
|
|
372
370
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -9,7 +9,6 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
9
9
|
* sort_order: "asc",
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
|
-
* filter_status: ["staged"],
|
|
13
12
|
* filter_settlement_type: "stripe_connect",
|
|
14
13
|
* filter_order_id: "filter_order_id",
|
|
15
14
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -9,7 +9,6 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
9
9
|
* sort_order: "asc",
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
|
-
* filter_status: ["staged"],
|
|
13
12
|
* filter_settlement_type: "stripe_connect",
|
|
14
13
|
* filter_order_id: "filter_order_id",
|
|
15
14
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -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 { Docs } from "../resources/docs/client/Client.mjs";
|
|
7
6
|
import { Drivers } from "../resources/drivers/client/Client.mjs";
|
|
8
7
|
import { Cargos } from "../resources/cargos/client/Client.mjs";
|
|
9
8
|
import { Flights } from "../resources/flights/client/Client.mjs";
|
|
@@ -25,7 +24,6 @@ export declare namespace Shipping {
|
|
|
25
24
|
}
|
|
26
25
|
export declare class Shipping {
|
|
27
26
|
protected readonly _options: Shipping.Options;
|
|
28
|
-
protected _docs: Docs | undefined;
|
|
29
27
|
protected _drivers: Drivers | undefined;
|
|
30
28
|
protected _cargos: Cargos | undefined;
|
|
31
29
|
protected _flights: Flights | undefined;
|
|
@@ -35,7 +33,6 @@ export declare class Shipping {
|
|
|
35
33
|
protected _taskGroups: TaskGroups | undefined;
|
|
36
34
|
protected _tasks: Tasks | undefined;
|
|
37
35
|
constructor(_options?: Shipping.Options);
|
|
38
|
-
get docs(): Docs;
|
|
39
36
|
get drivers(): Drivers;
|
|
40
37
|
get cargos(): Cargos;
|
|
41
38
|
get flights(): Flights;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import { Docs } from "../resources/docs/client/Client.mjs";
|
|
5
4
|
import { Drivers } from "../resources/drivers/client/Client.mjs";
|
|
6
5
|
import { Cargos } from "../resources/cargos/client/Client.mjs";
|
|
7
6
|
import { Flights } from "../resources/flights/client/Client.mjs";
|
|
@@ -14,10 +13,6 @@ export class Shipping {
|
|
|
14
13
|
constructor(_options = {}) {
|
|
15
14
|
this._options = _options;
|
|
16
15
|
}
|
|
17
|
-
get docs() {
|
|
18
|
-
var _a;
|
|
19
|
-
return ((_a = this._docs) !== null && _a !== void 0 ? _a : (this._docs = new Docs(this._options)));
|
|
20
|
-
}
|
|
21
16
|
get drivers() {
|
|
22
17
|
var _a;
|
|
23
18
|
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Drivers(this._options)));
|
|
@@ -64,7 +64,6 @@ export declare class Drivers {
|
|
|
64
64
|
* @example
|
|
65
65
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
66
66
|
* search: "search",
|
|
67
|
-
* filter_role: ["owner"],
|
|
68
67
|
* filter_available_according_to_driver: true,
|
|
69
68
|
* filter_available_according_to_operators: true,
|
|
70
69
|
* sort_by: "first_name",
|
|
@@ -151,7 +151,6 @@ export class Drivers {
|
|
|
151
151
|
* @example
|
|
152
152
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
153
153
|
* search: "search",
|
|
154
|
-
* filter_role: ["owner"],
|
|
155
154
|
* filter_available_according_to_driver: true,
|
|
156
155
|
* filter_available_according_to_operators: true,
|
|
157
156
|
* sort_by: "first_name",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * as docs from "./docs/index.mjs";
|
|
2
1
|
export * as drivers from "./drivers/index.mjs";
|
|
3
2
|
export * as cargos from "./cargos/index.mjs";
|
|
4
3
|
export * as flights from "./flights/index.mjs";
|
|
@@ -7,7 +6,6 @@ export * as orders from "./orders/index.mjs";
|
|
|
7
6
|
export * as orderDrafts from "./orderDrafts/index.mjs";
|
|
8
7
|
export * as taskGroups from "./taskGroups/index.mjs";
|
|
9
8
|
export * as tasks from "./tasks/index.mjs";
|
|
10
|
-
export * from "./docs/client/requests/index.mjs";
|
|
11
9
|
export * from "./drivers/client/requests/index.mjs";
|
|
12
10
|
export * from "./taskArtifacts/client/requests/index.mjs";
|
|
13
11
|
export * from "./orders/client/requests/index.mjs";
|