@chrt-inc/typescript-sdk 1.999.0 → 1.1000.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.
Files changed (42) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +2 -0
  3. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +11 -1
  4. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +7 -1
  5. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
  6. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +22 -2
  7. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +6 -0
  8. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +6 -0
  9. package/dist/cjs/api/types/InvoiceLineItem1.d.ts +1 -0
  10. package/dist/cjs/api/types/InvoiceLineItemExportListItem.d.ts +1 -0
  11. package/dist/cjs/api/types/Order1.d.ts +1 -0
  12. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +7 -0
  13. package/dist/cjs/api/types/OrderBillingSortByEnum.d.ts +2 -1
  14. package/dist/cjs/api/types/OrderBillingSortByEnum.js +1 -0
  15. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  16. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
  17. package/dist/cjs/api/types/OrderSortByEnum.d.ts +2 -1
  18. package/dist/cjs/api/types/OrderSortByEnum.js +1 -0
  19. package/dist/cjs/version.d.ts +1 -1
  20. package/dist/cjs/version.js +1 -1
  21. package/dist/esm/Client.mjs +2 -2
  22. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +2 -0
  23. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +11 -1
  24. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +7 -1
  25. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
  26. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +22 -2
  27. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +6 -0
  28. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +6 -0
  29. package/dist/esm/api/types/InvoiceLineItem1.d.mts +1 -0
  30. package/dist/esm/api/types/InvoiceLineItemExportListItem.d.mts +1 -0
  31. package/dist/esm/api/types/Order1.d.mts +1 -0
  32. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +7 -0
  33. package/dist/esm/api/types/OrderBillingSortByEnum.d.mts +2 -1
  34. package/dist/esm/api/types/OrderBillingSortByEnum.mjs +1 -0
  35. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  36. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
  37. package/dist/esm/api/types/OrderSortByEnum.d.mts +2 -1
  38. package/dist/esm/api/types/OrderSortByEnum.mjs +1 -0
  39. package/dist/esm/version.d.mts +1 -1
  40. package/dist/esm/version.mjs +1 -1
  41. package/package.json +1 -1
  42. package/reference.md +6 -0
@@ -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.999.0",
64
- "User-Agent": "@chrt-inc/typescript-sdk/1.999.0",
63
+ "X-Fern-SDK-Version": "1.1000.0",
64
+ "User-Agent": "@chrt-inc/typescript-sdk/1.1000.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) });
@@ -77,6 +77,8 @@ export declare class Orders {
77
77
  * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
78
78
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
79
79
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
80
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
81
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
80
82
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
81
83
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
82
84
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -167,6 +167,8 @@ class Orders {
167
167
  * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
168
168
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
169
169
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
170
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
171
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
170
172
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
171
173
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
172
174
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -179,7 +181,7 @@ class Orders {
179
181
  __listExpandedForCoordinatorOperatorsV1() {
180
182
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
181
183
  var _a, _b, _c, _d, _e, _f;
182
- 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_labels: filterCoordinatorLabels, 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_labels", "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"]);
184
+ 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_labels: filterCoordinatorLabels, 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_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, 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_labels", "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_last_delivery_task_completed_at_timestamp_gte", "filter_last_delivery_task_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
183
185
  const _queryParams = {};
184
186
  if (sortBy !== undefined) {
185
187
  _queryParams["sort_by"] = sortBy;
@@ -259,6 +261,14 @@ class Orders {
259
261
  if (filterCompletedAtTimestampLte !== undefined) {
260
262
  _queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
261
263
  }
264
+ if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
265
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
266
+ filterLastDeliveryTaskCompletedAtTimestampGte;
267
+ }
268
+ if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
269
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
270
+ filterLastDeliveryTaskCompletedAtTimestampLte;
271
+ }
262
272
  if (filterCancelledAtTimestampGte !== undefined) {
263
273
  _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
264
274
  }
@@ -26,6 +26,8 @@ import * as Chrt from "../../../../../../index.js";
26
26
  * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
27
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
28
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
29
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
30
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
29
31
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
30
32
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
31
33
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -33,7 +35,7 @@ import * as Chrt from "../../../../../../index.js";
33
35
  * }
34
36
  */
35
37
  export interface OrderBillingExpandedListReq {
36
- /** Order lifecycle timestamp used for sorting. */
38
+ /** Order lifecycle or last delivery completion timestamp used for sorting. */
37
39
  sort_by?: Chrt.OrderBillingSortByEnum | null;
38
40
  /** Sort order (asc or desc). */
39
41
  sort_order?: Chrt.SortOrderEnum | null;
@@ -65,6 +67,10 @@ export interface OrderBillingExpandedListReq {
65
67
  filter_in_progress_at_timestamp_lte?: string | null;
66
68
  filter_completed_at_timestamp_gte?: string | null;
67
69
  filter_completed_at_timestamp_lte?: string | null;
70
+ /** Filter by last delivery completion time, inclusive. */
71
+ filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
72
+ /** Filter by last delivery completion time, inclusive. */
73
+ filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
68
74
  filter_cancelled_at_timestamp_gte?: string | null;
69
75
  filter_cancelled_at_timestamp_lte?: string | null;
70
76
  filter_exception_at_timestamp_gte?: string | null;
@@ -87,6 +87,8 @@ export declare class Expanded {
87
87
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
88
88
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
89
89
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
90
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
91
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
90
92
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
91
93
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
92
94
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -134,6 +136,8 @@ export declare class Expanded {
134
136
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
135
137
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
136
138
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
139
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
140
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
137
141
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
138
142
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
139
143
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -210,6 +210,8 @@ class Expanded {
210
210
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
211
211
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
212
212
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
213
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
214
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
213
215
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
214
216
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
215
217
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -233,7 +235,7 @@ class Expanded {
233
235
  __listForProviderOperatorsV1(request, requestOptions) {
234
236
  return __awaiter(this, void 0, void 0, function* () {
235
237
  var _a, _b, _c, _d, _e, _f, _g;
236
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
238
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
237
239
  const _queryParams = {};
238
240
  if (providerRole !== undefined) {
239
241
  _queryParams["provider_role"] = providerRole;
@@ -309,6 +311,14 @@ class Expanded {
309
311
  if (filterCompletedAtTimestampGte !== undefined) {
310
312
  _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
311
313
  }
314
+ if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
315
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
316
+ filterLastDeliveryTaskCompletedAtTimestampLte;
317
+ }
318
+ if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
319
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
320
+ filterLastDeliveryTaskCompletedAtTimestampGte;
321
+ }
312
322
  if (filterCancelledAtTimestampLte !== undefined) {
313
323
  _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
314
324
  }
@@ -452,6 +462,8 @@ class Expanded {
452
462
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
453
463
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
454
464
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
465
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
466
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
455
467
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
456
468
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
457
469
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -467,7 +479,7 @@ class Expanded {
467
479
  __listForShipperOperatorsV1(request, requestOptions) {
468
480
  return __awaiter(this, void 0, void 0, function* () {
469
481
  var _a, _b, _c, _d, _e, _f, _g;
470
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
482
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
471
483
  const _queryParams = {};
472
484
  if (sortBy !== undefined) {
473
485
  _queryParams["sort_by"] = sortBy;
@@ -540,6 +552,14 @@ class Expanded {
540
552
  if (filterCompletedAtTimestampGte !== undefined) {
541
553
  _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
542
554
  }
555
+ if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
556
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
557
+ filterLastDeliveryTaskCompletedAtTimestampLte;
558
+ }
559
+ if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
560
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
561
+ filterLastDeliveryTaskCompletedAtTimestampGte;
562
+ }
543
563
  if (filterCancelledAtTimestampLte !== undefined) {
544
564
  _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
545
565
  }
@@ -24,6 +24,8 @@ import * as Chrt from "../../../../../../../../index.js";
24
24
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
25
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
26
26
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
27
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
28
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
27
29
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
28
30
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
29
31
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -67,6 +69,10 @@ export interface ExpandedListForProviderOperatorsV1Request {
67
69
  filter_in_progress_at_timestamp_gte?: string | null;
68
70
  filter_completed_at_timestamp_lte?: string | null;
69
71
  filter_completed_at_timestamp_gte?: string | null;
72
+ /** Filter by last delivery completion time, inclusive. */
73
+ filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
74
+ /** Filter by last delivery completion time, inclusive. */
75
+ filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
70
76
  filter_cancelled_at_timestamp_lte?: string | null;
71
77
  filter_cancelled_at_timestamp_gte?: string | null;
72
78
  filter_exception_at_timestamp_lte?: string | null;
@@ -23,6 +23,8 @@ import * as Chrt from "../../../../../../../../index.js";
23
23
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
24
24
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
25
25
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
26
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
26
28
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
29
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
30
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -57,6 +59,10 @@ export interface ExpandedListForShipperOperatorsV1Request {
57
59
  filter_in_progress_at_timestamp_gte?: string | null;
58
60
  filter_completed_at_timestamp_lte?: string | null;
59
61
  filter_completed_at_timestamp_gte?: string | null;
62
+ /** Filter by last delivery completion time, inclusive. */
63
+ filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
64
+ /** Filter by last delivery completion time, inclusive. */
65
+ filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
60
66
  filter_cancelled_at_timestamp_lte?: string | null;
61
67
  filter_cancelled_at_timestamp_gte?: string | null;
62
68
  filter_exception_at_timestamp_lte?: string | null;
@@ -34,6 +34,7 @@ export interface InvoiceLineItem1 {
34
34
  status?: Chrt.InvoiceLineItemStatusEnum1;
35
35
  task_group_id?: string | null;
36
36
  tax_percentage?: number | null;
37
+ total_amount?: number;
37
38
  unit?: Chrt.InvoiceLineItemUnitEnum1 | null;
38
39
  unit_price: number;
39
40
  }
@@ -39,6 +39,7 @@ export interface InvoiceLineItemExportListItem {
39
39
  line_item_unit_price: number;
40
40
  mileage_estimated?: number | null;
41
41
  off_chrt_reference_id?: string | null;
42
+ order_last_delivery_task_completed_at_timestamp?: string | null;
42
43
  order_placer_comments?: string | null;
43
44
  order_short_id?: string | null;
44
45
  origin_iata?: string | null;
@@ -24,6 +24,7 @@ export interface Order1 {
24
24
  exception_at_timestamp?: string | null;
25
25
  in_progress_at_timestamp?: string | null;
26
26
  invoice_ids?: string[];
27
+ last_delivery_task_completed_at_timestamp?: string | null;
27
28
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
28
29
  off_chrt_reference_id?: string | null;
29
30
  off_chrt_shipper_org_data_id?: string | null;
@@ -6,15 +6,22 @@ export interface OrderBillingExpandedListItem1 {
6
6
  accounts?: Chrt.OrderBillingAccount1[];
7
7
  awb_numbers?: string[];
8
8
  billing_periods?: Chrt.OrderBillingPeriod1[];
9
+ cancelled_at_timestamp?: string | null;
10
+ completed_at_timestamp?: string | null;
9
11
  coordinator_labels?: string[];
12
+ draft_started_at_timestamp: string;
13
+ exception_at_timestamp?: string | null;
10
14
  executors?: Chrt.OrderBillingExecutor1[];
15
+ in_progress_at_timestamp?: string | null;
11
16
  includes_air_waybill_invoice_line_item: boolean;
12
17
  invoice_count: number;
13
18
  invoice_line_item_count: number;
14
19
  invoice_statuses?: Chrt.InvoiceStatusEnum1[];
20
+ last_delivery_task_completed_at_timestamp?: string | null;
15
21
  order_id: string;
16
22
  order_short_id: string;
17
23
  order_status: Chrt.OrderStatusEnum1;
18
24
  shipper?: Chrt.OrderBillingShipper1 | null;
25
+ staged_at_timestamp?: string | null;
19
26
  totals_by_currency?: Chrt.OrderBillingCurrencyTotals1[];
20
27
  }
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderBillingSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
4
+ export type OrderBillingSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "last_delivery_task_completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
5
  export declare const OrderBillingSortByEnum: {
6
6
  readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
7
  readonly StagedAtTimestamp: "staged_at_timestamp";
8
8
  readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
9
  readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp";
10
11
  readonly CancelledAtTimestamp: "cancelled_at_timestamp";
11
12
  readonly ExceptionAtTimestamp: "exception_at_timestamp";
12
13
  };
@@ -9,6 +9,7 @@ exports.OrderBillingSortByEnum = {
9
9
  StagedAtTimestamp: "staged_at_timestamp",
10
10
  InProgressAtTimestamp: "in_progress_at_timestamp",
11
11
  CompletedAtTimestamp: "completed_at_timestamp",
12
+ LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp",
12
13
  CancelledAtTimestamp: "cancelled_at_timestamp",
13
14
  ExceptionAtTimestamp: "exception_at_timestamp",
14
15
  };
@@ -28,6 +28,7 @@ export interface OrderLimitedForProvider1 {
28
28
  exception_at_timestamp?: string | null;
29
29
  in_progress_at_timestamp?: string | null;
30
30
  invoice_ids?: string[];
31
+ last_delivery_task_completed_at_timestamp?: string | null;
31
32
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
32
33
  off_chrt_reference_id?: string | null;
33
34
  off_chrt_shipper_org_data_id?: string | null;
@@ -23,6 +23,7 @@ export interface OrderLimitedForShipper1 {
23
23
  exception_at_timestamp?: string | null;
24
24
  in_progress_at_timestamp?: string | null;
25
25
  invoice_ids?: string[];
26
+ last_delivery_task_completed_at_timestamp?: string | null;
26
27
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
27
28
  off_chrt_reference_id?: string | null;
28
29
  off_chrt_shipper_org_data_id?: string | null;
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
4
+ export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "last_delivery_task_completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
5
  export declare const OrderSortByEnum: {
6
6
  readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
7
  readonly StagedAtTimestamp: "staged_at_timestamp";
8
8
  readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
9
  readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp";
10
11
  readonly CancelledAtTimestamp: "cancelled_at_timestamp";
11
12
  readonly ExceptionAtTimestamp: "exception_at_timestamp";
12
13
  };
@@ -9,6 +9,7 @@ exports.OrderSortByEnum = {
9
9
  StagedAtTimestamp: "staged_at_timestamp",
10
10
  InProgressAtTimestamp: "in_progress_at_timestamp",
11
11
  CompletedAtTimestamp: "completed_at_timestamp",
12
+ LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp",
12
13
  CancelledAtTimestamp: "cancelled_at_timestamp",
13
14
  ExceptionAtTimestamp: "exception_at_timestamp",
14
15
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.999.0";
1
+ export declare const SDK_VERSION = "1.1000.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.999.0";
4
+ exports.SDK_VERSION = "1.1000.0";
@@ -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.999.0",
28
- "User-Agent": "@chrt-inc/typescript-sdk/1.999.0",
27
+ "X-Fern-SDK-Version": "1.1000.0",
28
+ "User-Agent": "@chrt-inc/typescript-sdk/1.1000.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) });
@@ -77,6 +77,8 @@ export declare class Orders {
77
77
  * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
78
78
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
79
79
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
80
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
81
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
80
82
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
81
83
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
82
84
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -131,6 +131,8 @@ export class Orders {
131
131
  * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
132
132
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
133
133
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
134
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
135
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
134
136
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
135
137
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
136
138
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -143,7 +145,7 @@ export class Orders {
143
145
  __listExpandedForCoordinatorOperatorsV1() {
144
146
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
145
147
  var _a, _b, _c, _d, _e, _f;
146
- 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_labels: filterCoordinatorLabels, 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_labels", "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"]);
148
+ 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_labels: filterCoordinatorLabels, 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_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, 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_labels", "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_last_delivery_task_completed_at_timestamp_gte", "filter_last_delivery_task_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
147
149
  const _queryParams = {};
148
150
  if (sortBy !== undefined) {
149
151
  _queryParams["sort_by"] = sortBy;
@@ -223,6 +225,14 @@ export class Orders {
223
225
  if (filterCompletedAtTimestampLte !== undefined) {
224
226
  _queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
225
227
  }
228
+ if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
229
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
230
+ filterLastDeliveryTaskCompletedAtTimestampGte;
231
+ }
232
+ if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
233
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
234
+ filterLastDeliveryTaskCompletedAtTimestampLte;
235
+ }
226
236
  if (filterCancelledAtTimestampGte !== undefined) {
227
237
  _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
228
238
  }
@@ -26,6 +26,8 @@ import * as Chrt from "../../../../../../index.mjs";
26
26
  * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
27
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
28
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
29
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
30
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
29
31
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
30
32
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
31
33
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -33,7 +35,7 @@ import * as Chrt from "../../../../../../index.mjs";
33
35
  * }
34
36
  */
35
37
  export interface OrderBillingExpandedListReq {
36
- /** Order lifecycle timestamp used for sorting. */
38
+ /** Order lifecycle or last delivery completion timestamp used for sorting. */
37
39
  sort_by?: Chrt.OrderBillingSortByEnum | null;
38
40
  /** Sort order (asc or desc). */
39
41
  sort_order?: Chrt.SortOrderEnum | null;
@@ -65,6 +67,10 @@ export interface OrderBillingExpandedListReq {
65
67
  filter_in_progress_at_timestamp_lte?: string | null;
66
68
  filter_completed_at_timestamp_gte?: string | null;
67
69
  filter_completed_at_timestamp_lte?: string | null;
70
+ /** Filter by last delivery completion time, inclusive. */
71
+ filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
72
+ /** Filter by last delivery completion time, inclusive. */
73
+ filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
68
74
  filter_cancelled_at_timestamp_gte?: string | null;
69
75
  filter_cancelled_at_timestamp_lte?: string | null;
70
76
  filter_exception_at_timestamp_gte?: string | null;
@@ -87,6 +87,8 @@ export declare class Expanded {
87
87
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
88
88
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
89
89
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
90
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
91
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
90
92
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
91
93
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
92
94
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -134,6 +136,8 @@ export declare class Expanded {
134
136
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
135
137
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
136
138
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
139
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
140
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
137
141
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
138
142
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
139
143
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -174,6 +174,8 @@ export class Expanded {
174
174
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
175
175
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
176
176
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
177
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
178
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
177
179
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
178
180
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
179
181
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -197,7 +199,7 @@ export class Expanded {
197
199
  __listForProviderOperatorsV1(request, requestOptions) {
198
200
  return __awaiter(this, void 0, void 0, function* () {
199
201
  var _a, _b, _c, _d, _e, _f, _g;
200
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
202
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
201
203
  const _queryParams = {};
202
204
  if (providerRole !== undefined) {
203
205
  _queryParams["provider_role"] = providerRole;
@@ -273,6 +275,14 @@ export class Expanded {
273
275
  if (filterCompletedAtTimestampGte !== undefined) {
274
276
  _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
275
277
  }
278
+ if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
279
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
280
+ filterLastDeliveryTaskCompletedAtTimestampLte;
281
+ }
282
+ if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
283
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
284
+ filterLastDeliveryTaskCompletedAtTimestampGte;
285
+ }
276
286
  if (filterCancelledAtTimestampLte !== undefined) {
277
287
  _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
278
288
  }
@@ -416,6 +426,8 @@ export class Expanded {
416
426
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
417
427
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
418
428
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
429
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
430
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
419
431
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
420
432
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
421
433
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -431,7 +443,7 @@ export class Expanded {
431
443
  __listForShipperOperatorsV1(request, requestOptions) {
432
444
  return __awaiter(this, void 0, void 0, function* () {
433
445
  var _a, _b, _c, _d, _e, _f, _g;
434
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
446
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
435
447
  const _queryParams = {};
436
448
  if (sortBy !== undefined) {
437
449
  _queryParams["sort_by"] = sortBy;
@@ -504,6 +516,14 @@ export class Expanded {
504
516
  if (filterCompletedAtTimestampGte !== undefined) {
505
517
  _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
506
518
  }
519
+ if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
520
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
521
+ filterLastDeliveryTaskCompletedAtTimestampLte;
522
+ }
523
+ if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
524
+ _queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
525
+ filterLastDeliveryTaskCompletedAtTimestampGte;
526
+ }
507
527
  if (filterCancelledAtTimestampLte !== undefined) {
508
528
  _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
509
529
  }
@@ -24,6 +24,8 @@ import * as Chrt from "../../../../../../../../index.mjs";
24
24
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
25
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
26
26
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
27
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
28
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
27
29
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
28
30
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
29
31
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -67,6 +69,10 @@ export interface ExpandedListForProviderOperatorsV1Request {
67
69
  filter_in_progress_at_timestamp_gte?: string | null;
68
70
  filter_completed_at_timestamp_lte?: string | null;
69
71
  filter_completed_at_timestamp_gte?: string | null;
72
+ /** Filter by last delivery completion time, inclusive. */
73
+ filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
74
+ /** Filter by last delivery completion time, inclusive. */
75
+ filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
70
76
  filter_cancelled_at_timestamp_lte?: string | null;
71
77
  filter_cancelled_at_timestamp_gte?: string | null;
72
78
  filter_exception_at_timestamp_lte?: string | null;
@@ -23,6 +23,8 @@ import * as Chrt from "../../../../../../../../index.mjs";
23
23
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
24
24
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
25
25
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
26
+ * filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
+ * filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
26
28
  * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
29
  * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
30
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -57,6 +59,10 @@ export interface ExpandedListForShipperOperatorsV1Request {
57
59
  filter_in_progress_at_timestamp_gte?: string | null;
58
60
  filter_completed_at_timestamp_lte?: string | null;
59
61
  filter_completed_at_timestamp_gte?: string | null;
62
+ /** Filter by last delivery completion time, inclusive. */
63
+ filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
64
+ /** Filter by last delivery completion time, inclusive. */
65
+ filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
60
66
  filter_cancelled_at_timestamp_lte?: string | null;
61
67
  filter_cancelled_at_timestamp_gte?: string | null;
62
68
  filter_exception_at_timestamp_lte?: string | null;
@@ -34,6 +34,7 @@ export interface InvoiceLineItem1 {
34
34
  status?: Chrt.InvoiceLineItemStatusEnum1;
35
35
  task_group_id?: string | null;
36
36
  tax_percentage?: number | null;
37
+ total_amount?: number;
37
38
  unit?: Chrt.InvoiceLineItemUnitEnum1 | null;
38
39
  unit_price: number;
39
40
  }
@@ -39,6 +39,7 @@ export interface InvoiceLineItemExportListItem {
39
39
  line_item_unit_price: number;
40
40
  mileage_estimated?: number | null;
41
41
  off_chrt_reference_id?: string | null;
42
+ order_last_delivery_task_completed_at_timestamp?: string | null;
42
43
  order_placer_comments?: string | null;
43
44
  order_short_id?: string | null;
44
45
  origin_iata?: string | null;
@@ -24,6 +24,7 @@ export interface Order1 {
24
24
  exception_at_timestamp?: string | null;
25
25
  in_progress_at_timestamp?: string | null;
26
26
  invoice_ids?: string[];
27
+ last_delivery_task_completed_at_timestamp?: string | null;
27
28
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
28
29
  off_chrt_reference_id?: string | null;
29
30
  off_chrt_shipper_org_data_id?: string | null;
@@ -6,15 +6,22 @@ export interface OrderBillingExpandedListItem1 {
6
6
  accounts?: Chrt.OrderBillingAccount1[];
7
7
  awb_numbers?: string[];
8
8
  billing_periods?: Chrt.OrderBillingPeriod1[];
9
+ cancelled_at_timestamp?: string | null;
10
+ completed_at_timestamp?: string | null;
9
11
  coordinator_labels?: string[];
12
+ draft_started_at_timestamp: string;
13
+ exception_at_timestamp?: string | null;
10
14
  executors?: Chrt.OrderBillingExecutor1[];
15
+ in_progress_at_timestamp?: string | null;
11
16
  includes_air_waybill_invoice_line_item: boolean;
12
17
  invoice_count: number;
13
18
  invoice_line_item_count: number;
14
19
  invoice_statuses?: Chrt.InvoiceStatusEnum1[];
20
+ last_delivery_task_completed_at_timestamp?: string | null;
15
21
  order_id: string;
16
22
  order_short_id: string;
17
23
  order_status: Chrt.OrderStatusEnum1;
18
24
  shipper?: Chrt.OrderBillingShipper1 | null;
25
+ staged_at_timestamp?: string | null;
19
26
  totals_by_currency?: Chrt.OrderBillingCurrencyTotals1[];
20
27
  }
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderBillingSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
4
+ export type OrderBillingSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "last_delivery_task_completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
5
  export declare const OrderBillingSortByEnum: {
6
6
  readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
7
  readonly StagedAtTimestamp: "staged_at_timestamp";
8
8
  readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
9
  readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp";
10
11
  readonly CancelledAtTimestamp: "cancelled_at_timestamp";
11
12
  readonly ExceptionAtTimestamp: "exception_at_timestamp";
12
13
  };
@@ -6,6 +6,7 @@ export const OrderBillingSortByEnum = {
6
6
  StagedAtTimestamp: "staged_at_timestamp",
7
7
  InProgressAtTimestamp: "in_progress_at_timestamp",
8
8
  CompletedAtTimestamp: "completed_at_timestamp",
9
+ LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp",
9
10
  CancelledAtTimestamp: "cancelled_at_timestamp",
10
11
  ExceptionAtTimestamp: "exception_at_timestamp",
11
12
  };
@@ -28,6 +28,7 @@ export interface OrderLimitedForProvider1 {
28
28
  exception_at_timestamp?: string | null;
29
29
  in_progress_at_timestamp?: string | null;
30
30
  invoice_ids?: string[];
31
+ last_delivery_task_completed_at_timestamp?: string | null;
31
32
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
32
33
  off_chrt_reference_id?: string | null;
33
34
  off_chrt_shipper_org_data_id?: string | null;
@@ -23,6 +23,7 @@ export interface OrderLimitedForShipper1 {
23
23
  exception_at_timestamp?: string | null;
24
24
  in_progress_at_timestamp?: string | null;
25
25
  invoice_ids?: string[];
26
+ last_delivery_task_completed_at_timestamp?: string | null;
26
27
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
27
28
  off_chrt_reference_id?: string | null;
28
29
  off_chrt_shipper_org_data_id?: string | null;
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
4
+ export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "last_delivery_task_completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
5
  export declare const OrderSortByEnum: {
6
6
  readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
7
  readonly StagedAtTimestamp: "staged_at_timestamp";
8
8
  readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
9
  readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp";
10
11
  readonly CancelledAtTimestamp: "cancelled_at_timestamp";
11
12
  readonly ExceptionAtTimestamp: "exception_at_timestamp";
12
13
  };
@@ -6,6 +6,7 @@ export const OrderSortByEnum = {
6
6
  StagedAtTimestamp: "staged_at_timestamp",
7
7
  InProgressAtTimestamp: "in_progress_at_timestamp",
8
8
  CompletedAtTimestamp: "completed_at_timestamp",
9
+ LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp",
9
10
  CancelledAtTimestamp: "cancelled_at_timestamp",
10
11
  ExceptionAtTimestamp: "exception_at_timestamp",
11
12
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.999.0";
1
+ export declare const SDK_VERSION = "1.1000.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.999.0";
1
+ export const SDK_VERSION = "1.1000.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.999.0",
3
+ "version": "1.1000.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -3874,6 +3874,8 @@ await client.billingNew.orders.listExpandedForCoordinatorOperatorsV1({
3874
3874
  filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
3875
3875
  filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
3876
3876
  filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
3877
+ filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
3878
+ filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
3877
3879
  filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
3878
3880
  filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
3879
3881
  filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -22583,6 +22585,8 @@ await client.shipping.orders.expanded.listForProviderOperatorsV1({
22583
22585
  filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
22584
22586
  filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
22585
22587
  filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
22588
+ filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
22589
+ filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
22586
22590
  filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
22587
22591
  filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
22588
22592
  filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -22680,6 +22684,8 @@ await client.shipping.orders.expanded.listForShipperOperatorsV1({
22680
22684
  filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
22681
22685
  filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
22682
22686
  filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
22687
+ filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
22688
+ filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
22683
22689
  filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
22684
22690
  filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
22685
22691
  filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",