@chrt-inc/typescript-sdk 1.734.0 → 1.746.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 (144) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +2 -29
  3. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +10 -124
  4. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +2 -3
  5. package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -0
  6. package/dist/cjs/api/resources/shipping/client/Client.js +9 -4
  7. package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -0
  8. package/dist/cjs/api/resources/shipping/resources/index.js +3 -1
  9. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +16 -0
  10. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +68 -0
  11. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.ts +16 -0
  12. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +0 -16
  14. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +0 -68
  15. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.ts +0 -1
  16. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +170 -0
  17. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +662 -0
  18. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/index.js +17 -0
  20. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +23 -0
  21. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +24 -0
  22. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.ts +14 -0
  23. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.js +5 -0
  24. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +42 -0
  25. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.js +5 -0
  26. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +4 -0
  27. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.js +2 -0
  28. package/dist/cjs/api/resources/shipping/resources/orderTemplates/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/shipping/resources/orderTemplates/index.js +17 -0
  30. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +16 -0
  31. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +68 -0
  32. package/dist/cjs/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts → orders/client/requests/OrdersTypeaheadV1Request.d.ts} +1 -1
  33. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
  34. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +0 -16
  36. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +0 -68
  37. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +0 -1
  38. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +16 -0
  39. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +68 -0
  40. package/dist/cjs/api/resources/shipping/resources/{orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts → taskGroups/client/requests/TaskGroupsTypeaheadV1Request.d.ts} +1 -1
  41. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupsTypeaheadV1Request.js +5 -0
  42. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +0 -16
  44. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +0 -68
  45. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +0 -1
  46. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +4 -2
  47. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +3 -1
  48. package/dist/cjs/api/types/Order1.d.ts +1 -0
  49. package/dist/cjs/api/types/OrderTemplate1.d.ts +24 -0
  50. package/dist/cjs/api/types/OrderTemplate1.js +5 -0
  51. package/dist/cjs/api/types/OrderTemplateExpanded.d.ts +12 -0
  52. package/dist/cjs/api/types/OrderTemplateExpanded.js +5 -0
  53. package/dist/cjs/api/types/OrderTemplateListRes.d.ts +8 -0
  54. package/dist/cjs/api/types/OrderTemplateListRes.js +5 -0
  55. package/dist/cjs/api/types/OrderTemplateOrgRef1.d.ts +10 -0
  56. package/dist/cjs/api/types/OrderTemplateOrgRef1.js +5 -0
  57. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +11 -0
  58. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +13 -0
  59. package/dist/cjs/api/types/OrderTemplateSortByEnum.d.ts +9 -0
  60. package/dist/cjs/api/types/OrderTemplateSortByEnum.js +11 -0
  61. package/dist/cjs/api/types/OrderTypeaheadResult.d.ts +1 -1
  62. package/dist/cjs/api/types/OrderTypeaheadValue.d.ts +7 -0
  63. package/dist/cjs/api/types/OrderTypeaheadValue.js +5 -0
  64. package/dist/cjs/api/types/index.d.ts +7 -0
  65. package/dist/cjs/api/types/index.js +7 -0
  66. package/dist/cjs/version.d.ts +1 -1
  67. package/dist/cjs/version.js +1 -1
  68. package/dist/esm/Client.mjs +2 -2
  69. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +2 -29
  70. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +10 -124
  71. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +2 -3
  72. package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -0
  73. package/dist/esm/api/resources/shipping/client/Client.mjs +5 -0
  74. package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -0
  75. package/dist/esm/api/resources/shipping/resources/index.mjs +2 -0
  76. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +16 -0
  77. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +68 -0
  78. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrderDraftsTypeaheadV1Request.d.mts +16 -0
  79. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +1 -0
  80. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +0 -16
  81. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +0 -68
  82. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/index.d.mts +0 -1
  83. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +170 -0
  84. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +625 -0
  85. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/index.d.mts +2 -0
  86. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/index.mjs +1 -0
  87. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +23 -0
  88. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +24 -0
  89. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.mts +14 -0
  90. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.mjs +4 -0
  91. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +42 -0
  92. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.mjs +4 -0
  93. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +4 -0
  94. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.mjs +1 -0
  95. package/dist/esm/api/resources/shipping/resources/orderTemplates/index.d.mts +1 -0
  96. package/dist/esm/api/resources/shipping/resources/orderTemplates/index.mjs +1 -0
  97. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +16 -0
  98. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +68 -0
  99. package/dist/{cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts} +1 -1
  100. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
  101. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -0
  102. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +0 -16
  103. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +0 -68
  104. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +0 -1
  105. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +16 -0
  106. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +68 -0
  107. package/dist/esm/api/resources/shipping/resources/{orderDrafts/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts → taskGroups/client/requests/TaskGroupsTypeaheadV1Request.d.mts} +1 -1
  108. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupsTypeaheadV1Request.mjs +4 -0
  109. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +1 -0
  110. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +0 -16
  111. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +0 -68
  112. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +0 -1
  113. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +4 -2
  114. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +3 -1
  115. package/dist/esm/api/types/Order1.d.mts +1 -0
  116. package/dist/esm/api/types/OrderTemplate1.d.mts +24 -0
  117. package/dist/esm/api/types/OrderTemplate1.mjs +4 -0
  118. package/dist/esm/api/types/OrderTemplateExpanded.d.mts +12 -0
  119. package/dist/esm/api/types/OrderTemplateExpanded.mjs +4 -0
  120. package/dist/esm/api/types/OrderTemplateListRes.d.mts +8 -0
  121. package/dist/esm/api/types/OrderTemplateListRes.mjs +4 -0
  122. package/dist/esm/api/types/OrderTemplateOrgRef1.d.mts +10 -0
  123. package/dist/esm/api/types/OrderTemplateOrgRef1.mjs +4 -0
  124. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +11 -0
  125. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +10 -0
  126. package/dist/esm/api/types/OrderTemplateSortByEnum.d.mts +9 -0
  127. package/dist/esm/api/types/OrderTemplateSortByEnum.mjs +8 -0
  128. package/dist/esm/api/types/OrderTypeaheadResult.d.mts +1 -1
  129. package/dist/esm/api/types/OrderTypeaheadValue.d.mts +7 -0
  130. package/dist/esm/api/types/OrderTypeaheadValue.mjs +4 -0
  131. package/dist/esm/api/types/index.d.mts +7 -0
  132. package/dist/esm/api/types/index.mjs +7 -0
  133. package/dist/esm/version.d.mts +1 -1
  134. package/dist/esm/version.mjs +1 -1
  135. package/package.json +1 -1
  136. package/reference.md +844 -369
  137. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +0 -16
  138. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +0 -16
  139. /package/dist/cjs/api/resources/shipping/resources/orderDrafts/{resources/expanded/client/requests/ExpandedTypeaheadV1Request.js → client/requests/OrderDraftsTypeaheadV1Request.js} +0 -0
  140. /package/dist/cjs/api/resources/shipping/resources/{orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.js → orderTemplates/client/requests/OrderTemplateClientCreate1.js} +0 -0
  141. /package/dist/cjs/api/resources/shipping/resources/{taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.js → orderTemplates/client/requests/OrderTemplateClientUpdate1.js} +0 -0
  142. /package/dist/esm/api/resources/shipping/resources/orderDrafts/{resources/expanded/client/requests/ExpandedTypeaheadV1Request.mjs → client/requests/OrderDraftsTypeaheadV1Request.mjs} +0 -0
  143. /package/dist/esm/api/resources/shipping/resources/{orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.mjs → orderTemplates/client/requests/OrderTemplateClientCreate1.mjs} +0 -0
  144. /package/dist/esm/api/resources/shipping/resources/{taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.mjs → orderTemplates/client/requests/OrderTemplateClientUpdate1.mjs} +0 -0
@@ -6,7 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.OperationsTaskTypeEnum = void 0;
7
7
  exports.OperationsTaskTypeEnum = {
8
8
  ReviewOrderDetails: "review_order_details",
9
- Precheck: "precheck",
9
+ FlightCheck: "flight_check",
10
+ FacilityCheck: "facility_check",
11
+ WeatherCheck: "weather_check",
10
12
  BookCargo: "book_cargo",
11
13
  TrackAndVerify: "track_and_verify",
12
14
  ContactCustomer: "contact_customer",
@@ -11,6 +11,7 @@ export interface Order1 {
11
11
  off_chrt_reference_id?: string | null;
12
12
  order_schedule_id?: string | null;
13
13
  order_schedule_run_idempotency_key?: string | null;
14
+ order_template_id?: string | null;
14
15
  /** Must be a string starting with `user_` */
15
16
  created_by_user_id?: string | null;
16
17
  /** Must be a string starting with `org_` */
@@ -0,0 +1,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderTemplate1 {
5
+ schema_version: number;
6
+ name: string;
7
+ description?: string | null;
8
+ order_input?: string | null;
9
+ off_chrt_reference_id_str?: string | null;
10
+ /** Must be a string starting with `org_` */
11
+ shipper_org_id?: string | null;
12
+ off_chrt_shipper_org_id?: string | null;
13
+ executor_org_ids?: string[];
14
+ driver_ids?: string[];
15
+ directory_entry_ids?: string[];
16
+ _id: string;
17
+ /** Must be a string starting with `user_` */
18
+ owned_by_user_id: string;
19
+ /** Must be a string starting with `org_` */
20
+ owned_by_org_id: string;
21
+ created_at_timestamp: string;
22
+ last_edited_at_timestamp: string;
23
+ archived_at_timestamp?: string | null;
24
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface OrderTemplateExpanded {
6
+ order_template: Chrt.OrderTemplate1;
7
+ shipper_org?: Chrt.OrderTemplateOrgRef1 | null;
8
+ off_chrt_shipper_org?: Chrt.OffChrtShipperOrg1 | null;
9
+ executor_orgs?: Chrt.OrderTemplateOrgRef1[];
10
+ drivers?: Chrt.Driver1[];
11
+ directory_entries?: Chrt.DirectoryEntry1[];
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface OrderTemplateListRes {
6
+ items: Chrt.OrderTemplate1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderTemplateOrgRef1 {
5
+ /** Must be a string starting with `org_` */
6
+ org_id: string;
7
+ company_name?: string | null;
8
+ /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
9
+ handle?: string | null;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_id" | "executor_org_ids" | "driver_ids" | "directory_entry_ids";
5
+ export declare const OrderTemplateReferenceColumnEnum1: {
6
+ readonly ShipperOrgId: "shipper_org_id";
7
+ readonly OffChrtShipperOrgId: "off_chrt_shipper_org_id";
8
+ readonly ExecutorOrgIds: "executor_org_ids";
9
+ readonly DriverIds: "driver_ids";
10
+ readonly DirectoryEntryIds: "directory_entry_ids";
11
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrderTemplateReferenceColumnEnum1 = void 0;
7
+ exports.OrderTemplateReferenceColumnEnum1 = {
8
+ ShipperOrgId: "shipper_org_id",
9
+ OffChrtShipperOrgId: "off_chrt_shipper_org_id",
10
+ ExecutorOrgIds: "executor_org_ids",
11
+ DriverIds: "driver_ids",
12
+ DirectoryEntryIds: "directory_entry_ids",
13
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OrderTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name";
5
+ export declare const OrderTemplateSortByEnum: {
6
+ readonly CreatedAtTimestamp: "created_at_timestamp";
7
+ readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
8
+ readonly Name: "name";
9
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.OrderTemplateSortByEnum = void 0;
7
+ exports.OrderTemplateSortByEnum = {
8
+ CreatedAtTimestamp: "created_at_timestamp",
9
+ LastEditedAtTimestamp: "last_edited_at_timestamp",
10
+ Name: "name",
11
+ };
@@ -4,5 +4,5 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OrderTypeaheadResult {
6
6
  type: Chrt.OrderTypeaheadFieldEnum;
7
- values: string[];
7
+ values: Chrt.OrderTypeaheadValue[];
8
8
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OrderTypeaheadValue {
5
+ value: string;
6
+ order_ids: string[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -245,8 +245,15 @@ export * from "./OrderScheduleSortByEnum.js";
245
245
  export * from "./OrderScheduleStatusEnum1.js";
246
246
  export * from "./OrderSortByEnum.js";
247
247
  export * from "./OrderStatusEnum1.js";
248
+ export * from "./OrderTemplate1.js";
249
+ export * from "./OrderTemplateExpanded.js";
250
+ export * from "./OrderTemplateListRes.js";
251
+ export * from "./OrderTemplateOrgRef1.js";
252
+ export * from "./OrderTemplateReferenceColumnEnum1.js";
253
+ export * from "./OrderTemplateSortByEnum.js";
248
254
  export * from "./OrderTypeaheadFieldEnum.js";
249
255
  export * from "./OrderTypeaheadResult.js";
256
+ export * from "./OrderTypeaheadValue.js";
250
257
  export * from "./OrdersDraftUpdateRes.js";
251
258
  export * from "./OrdersExpandedListRes.js";
252
259
  export * from "./OrdersNewDraftRes.js";
@@ -261,8 +261,15 @@ __exportStar(require("./OrderScheduleSortByEnum.js"), exports);
261
261
  __exportStar(require("./OrderScheduleStatusEnum1.js"), exports);
262
262
  __exportStar(require("./OrderSortByEnum.js"), exports);
263
263
  __exportStar(require("./OrderStatusEnum1.js"), exports);
264
+ __exportStar(require("./OrderTemplate1.js"), exports);
265
+ __exportStar(require("./OrderTemplateExpanded.js"), exports);
266
+ __exportStar(require("./OrderTemplateListRes.js"), exports);
267
+ __exportStar(require("./OrderTemplateOrgRef1.js"), exports);
268
+ __exportStar(require("./OrderTemplateReferenceColumnEnum1.js"), exports);
269
+ __exportStar(require("./OrderTemplateSortByEnum.js"), exports);
264
270
  __exportStar(require("./OrderTypeaheadFieldEnum.js"), exports);
265
271
  __exportStar(require("./OrderTypeaheadResult.js"), exports);
272
+ __exportStar(require("./OrderTypeaheadValue.js"), exports);
266
273
  __exportStar(require("./OrdersDraftUpdateRes.js"), exports);
267
274
  __exportStar(require("./OrdersExpandedListRes.js"), exports);
268
275
  __exportStar(require("./OrdersNewDraftRes.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.734.0";
1
+ export declare const SDK_VERSION = "1.746.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.734.0";
4
+ exports.SDK_VERSION = "1.746.0";
@@ -20,8 +20,8 @@ export class ChrtClient {
20
20
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
23
- "X-Fern-SDK-Version": "1.734.0",
24
- "User-Agent": "@chrt-inc/typescript-sdk/1.734.0",
23
+ "X-Fern-SDK-Version": "1.746.0",
24
+ "User-Agent": "@chrt-inc/typescript-sdk/1.746.0",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -31,7 +31,7 @@ export declare class OperationsTasks {
31
31
  protected readonly _options: OperationsTasks.Options;
32
32
  constructor(_options?: OperationsTasks.Options);
33
33
  /**
34
- * Lists OperationsTasks for the caller's organization, with order/department/type/status/tag/assignee/deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
34
+ * Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
35
35
  *
36
36
  * @param {Chrt.operations.OperationsTasksListV1Request} request
37
37
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -44,7 +44,6 @@ export declare class OperationsTasks {
44
44
  * sort_order: "asc",
45
45
  * page: 1,
46
46
  * page_size: 1,
47
- * filter_order_id: "filter_order_id",
48
47
  * filter_department_id: "filter_department_id",
49
48
  * filter_assigned_user_id: "filter_assigned_user_id",
50
49
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
@@ -80,7 +79,7 @@ export declare class OperationsTasks {
80
79
  deleteV1(taskId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
81
80
  private __deleteV1;
82
81
  /**
83
- * Updates scalar fields (title, description, deadline_timestamp) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
82
+ * Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
84
83
  *
85
84
  * @param {string} taskId
86
85
  * @param {Chrt.operations.OperationsTaskClientUpdate1} request
@@ -112,32 +111,6 @@ export declare class OperationsTasks {
112
111
  */
113
112
  createV1(request: Chrt.operations.OperationsTaskClientCreate1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<string>;
114
113
  private __createV1;
115
- /**
116
- * Marks an OperationsTask as completed. Idempotent — calling on an already-completed task is a no-op that returns False. | authz: min_org_role=operator | () -> (bool)
117
- *
118
- * @param {string} taskId
119
- * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
120
- *
121
- * @throws {@link Chrt.UnprocessableEntityError}
122
- *
123
- * @example
124
- * await client.operations.operationsTasks.completeV1("task_id")
125
- */
126
- completeV1(taskId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
127
- private __completeV1;
128
- /**
129
- * Marks a previously-completed OperationsTask as incomplete and clears its completion timestamps. Idempotent — calling on an already-incomplete task is a no-op that returns False. | authz: min_org_role=operator | () -> (bool)
130
- *
131
- * @param {string} taskId
132
- * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
133
- *
134
- * @throws {@link Chrt.UnprocessableEntityError}
135
- *
136
- * @example
137
- * await client.operations.operationsTasks.uncompleteV1("task_id")
138
- */
139
- uncompleteV1(taskId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
140
- private __uncompleteV1;
141
114
  /**
142
115
  * Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
143
116
  *
@@ -20,7 +20,7 @@ export class OperationsTasks {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Lists OperationsTasks for the caller's organization, with order/department/type/status/tag/assignee/deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
23
+ * Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
24
24
  *
25
25
  * @param {Chrt.operations.OperationsTasksListV1Request} request
26
26
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -33,7 +33,6 @@ export class OperationsTasks {
33
33
  * sort_order: "asc",
34
34
  * page: 1,
35
35
  * page_size: 1,
36
- * filter_order_id: "filter_order_id",
37
36
  * filter_department_id: "filter_department_id",
38
37
  * filter_assigned_user_id: "filter_assigned_user_id",
39
38
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
@@ -46,7 +45,7 @@ export class OperationsTasks {
46
45
  __listV1() {
47
46
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
48
47
  var _a, _b, _c, _d, _e, _f;
49
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_order_id: filterOrderId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_tag: filterTag, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
48
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_order_ids: filterOrderIds, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_tag: filterTag, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
50
49
  const _queryParams = {};
51
50
  if (sortBy !== undefined) {
52
51
  _queryParams["sort_by"] = sortBy;
@@ -60,8 +59,13 @@ export class OperationsTasks {
60
59
  if (pageSize !== undefined) {
61
60
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
62
61
  }
63
- if (filterOrderId !== undefined) {
64
- _queryParams["filter_order_id"] = filterOrderId;
62
+ if (filterOrderIds !== undefined) {
63
+ if (Array.isArray(filterOrderIds)) {
64
+ _queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
65
+ }
66
+ else {
67
+ _queryParams["filter_order_ids"] = filterOrderIds;
68
+ }
65
69
  }
66
70
  if (filterDepartmentId !== undefined) {
67
71
  _queryParams["filter_department_id"] = filterDepartmentId;
@@ -260,7 +264,7 @@ export class OperationsTasks {
260
264
  });
261
265
  }
262
266
  /**
263
- * Updates scalar fields (title, description, deadline_timestamp) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
267
+ * Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
264
268
  *
265
269
  * @param {string} taskId
266
270
  * @param {Chrt.operations.OperationsTaskClientUpdate1} request
@@ -390,124 +394,6 @@ export class OperationsTasks {
390
394
  }
391
395
  });
392
396
  }
393
- /**
394
- * Marks an OperationsTask as completed. Idempotent — calling on an already-completed task is a no-op that returns False. | authz: min_org_role=operator | () -> (bool)
395
- *
396
- * @param {string} taskId
397
- * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
398
- *
399
- * @throws {@link Chrt.UnprocessableEntityError}
400
- *
401
- * @example
402
- * await client.operations.operationsTasks.completeV1("task_id")
403
- */
404
- completeV1(taskId, requestOptions) {
405
- return core.HttpResponsePromise.fromPromise(this.__completeV1(taskId, requestOptions));
406
- }
407
- __completeV1(taskId, requestOptions) {
408
- return __awaiter(this, void 0, void 0, function* () {
409
- var _a, _b, _c, _d;
410
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
411
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
412
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_tasks/complete/v1/${encodeURIComponent(taskId)}`),
413
- method: "POST",
414
- headers: _headers,
415
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
416
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
417
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
418
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
419
- });
420
- if (_response.ok) {
421
- return { data: _response.body, rawResponse: _response.rawResponse };
422
- }
423
- if (_response.error.reason === "status-code") {
424
- switch (_response.error.statusCode) {
425
- case 422:
426
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
427
- default:
428
- throw new errors.ChrtError({
429
- statusCode: _response.error.statusCode,
430
- body: _response.error.body,
431
- rawResponse: _response.rawResponse,
432
- });
433
- }
434
- }
435
- switch (_response.error.reason) {
436
- case "non-json":
437
- throw new errors.ChrtError({
438
- statusCode: _response.error.statusCode,
439
- body: _response.error.rawBody,
440
- rawResponse: _response.rawResponse,
441
- });
442
- case "timeout":
443
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_tasks/complete/v1/{task_id}.");
444
- case "unknown":
445
- throw new errors.ChrtError({
446
- message: _response.error.errorMessage,
447
- rawResponse: _response.rawResponse,
448
- });
449
- }
450
- });
451
- }
452
- /**
453
- * Marks a previously-completed OperationsTask as incomplete and clears its completion timestamps. Idempotent — calling on an already-incomplete task is a no-op that returns False. | authz: min_org_role=operator | () -> (bool)
454
- *
455
- * @param {string} taskId
456
- * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
457
- *
458
- * @throws {@link Chrt.UnprocessableEntityError}
459
- *
460
- * @example
461
- * await client.operations.operationsTasks.uncompleteV1("task_id")
462
- */
463
- uncompleteV1(taskId, requestOptions) {
464
- return core.HttpResponsePromise.fromPromise(this.__uncompleteV1(taskId, requestOptions));
465
- }
466
- __uncompleteV1(taskId, requestOptions) {
467
- return __awaiter(this, void 0, void 0, function* () {
468
- var _a, _b, _c, _d;
469
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
470
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
471
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_tasks/uncomplete/v1/${encodeURIComponent(taskId)}`),
472
- method: "POST",
473
- headers: _headers,
474
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
475
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
476
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
477
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
478
- });
479
- if (_response.ok) {
480
- return { data: _response.body, rawResponse: _response.rawResponse };
481
- }
482
- if (_response.error.reason === "status-code") {
483
- switch (_response.error.statusCode) {
484
- case 422:
485
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
486
- default:
487
- throw new errors.ChrtError({
488
- statusCode: _response.error.statusCode,
489
- body: _response.error.body,
490
- rawResponse: _response.rawResponse,
491
- });
492
- }
493
- }
494
- switch (_response.error.reason) {
495
- case "non-json":
496
- throw new errors.ChrtError({
497
- statusCode: _response.error.statusCode,
498
- body: _response.error.rawBody,
499
- rawResponse: _response.rawResponse,
500
- });
501
- case "timeout":
502
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_tasks/uncomplete/v1/{task_id}.");
503
- case "unknown":
504
- throw new errors.ChrtError({
505
- message: _response.error.errorMessage,
506
- rawResponse: _response.rawResponse,
507
- });
508
- }
509
- });
510
- }
511
397
  /**
512
398
  * Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
513
399
  *
@@ -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_order_id: "filter_order_id",
13
12
  * filter_department_id: "filter_department_id",
14
13
  * filter_assigned_user_id: "filter_assigned_user_id",
15
14
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
@@ -23,8 +22,8 @@ export interface OperationsTasksListV1Request {
23
22
  sort_order?: Chrt.SortOrderEnum | null;
24
23
  page?: number | null;
25
24
  page_size?: number | null;
26
- /** Filter by order id */
27
- filter_order_id?: string | null;
25
+ /** Filter to tasks on any of these order ids (e.g. the order_ids returned by the orders typeahead for a chosen short_id / off-chrt reference) */
26
+ filter_order_ids?: (string | null) | (string | null)[];
28
27
  /** Filter to tasks routed to this department (desk queue) */
29
28
  filter_department_id?: string | null;
30
29
  /** Filter by task type(s). Defaults to all types. */
@@ -10,6 +10,7 @@ import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
10
10
  import { Orders } from "../resources/orders/client/Client.mjs";
11
11
  import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
12
12
  import { OrderSchedules } from "../resources/orderSchedules/client/Client.mjs";
13
+ import { OrderTemplates } from "../resources/orderTemplates/client/Client.mjs";
13
14
  import { TaskGroups } from "../resources/taskGroups/client/Client.mjs";
14
15
  import { Tasks } from "../resources/tasks/client/Client.mjs";
15
16
  export declare namespace Shipping {
@@ -32,6 +33,7 @@ export declare class Shipping {
32
33
  protected _orders: Orders | undefined;
33
34
  protected _orderDrafts: OrderDrafts | undefined;
34
35
  protected _orderSchedules: OrderSchedules | undefined;
36
+ protected _orderTemplates: OrderTemplates | undefined;
35
37
  protected _taskGroups: TaskGroups | undefined;
36
38
  protected _tasks: Tasks | undefined;
37
39
  constructor(_options?: Shipping.Options);
@@ -42,6 +44,7 @@ export declare class Shipping {
42
44
  get orders(): Orders;
43
45
  get orderDrafts(): OrderDrafts;
44
46
  get orderSchedules(): OrderSchedules;
47
+ get orderTemplates(): OrderTemplates;
45
48
  get taskGroups(): TaskGroups;
46
49
  get tasks(): Tasks;
47
50
  }
@@ -8,6 +8,7 @@ import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
8
8
  import { Orders } from "../resources/orders/client/Client.mjs";
9
9
  import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
10
10
  import { OrderSchedules } from "../resources/orderSchedules/client/Client.mjs";
11
+ import { OrderTemplates } from "../resources/orderTemplates/client/Client.mjs";
11
12
  import { TaskGroups } from "../resources/taskGroups/client/Client.mjs";
12
13
  import { Tasks } from "../resources/tasks/client/Client.mjs";
13
14
  export class Shipping {
@@ -42,6 +43,10 @@ export class Shipping {
42
43
  var _a;
43
44
  return ((_a = this._orderSchedules) !== null && _a !== void 0 ? _a : (this._orderSchedules = new OrderSchedules(this._options)));
44
45
  }
46
+ get orderTemplates() {
47
+ var _a;
48
+ return ((_a = this._orderTemplates) !== null && _a !== void 0 ? _a : (this._orderTemplates = new OrderTemplates(this._options)));
49
+ }
45
50
  get taskGroups() {
46
51
  var _a;
47
52
  return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new TaskGroups(this._options)));
@@ -5,6 +5,7 @@ export * as flights from "./flights/index.mjs";
5
5
  export * as taskArtifacts from "./taskArtifacts/index.mjs";
6
6
  export * as orders from "./orders/index.mjs";
7
7
  export * as orderSchedules from "./orderSchedules/index.mjs";
8
+ export * as orderTemplates from "./orderTemplates/index.mjs";
8
9
  export * as taskGroups from "./taskGroups/index.mjs";
9
10
  export * as tasks from "./tasks/index.mjs";
10
11
  export * from "./drivers/client/requests/index.mjs";
@@ -12,5 +13,6 @@ export * from "./taskArtifacts/client/requests/index.mjs";
12
13
  export * from "./orders/client/requests/index.mjs";
13
14
  export * from "./orderDrafts/client/requests/index.mjs";
14
15
  export * from "./orderSchedules/client/requests/index.mjs";
16
+ export * from "./orderTemplates/client/requests/index.mjs";
15
17
  export * from "./taskGroups/client/requests/index.mjs";
16
18
  export * from "./tasks/client/requests/index.mjs";
@@ -5,6 +5,7 @@ export * as flights from "./flights/index.mjs";
5
5
  export * as taskArtifacts from "./taskArtifacts/index.mjs";
6
6
  export * as orders from "./orders/index.mjs";
7
7
  export * as orderSchedules from "./orderSchedules/index.mjs";
8
+ export * as orderTemplates from "./orderTemplates/index.mjs";
8
9
  export * as taskGroups from "./taskGroups/index.mjs";
9
10
  export * as tasks from "./tasks/index.mjs";
10
11
  export * from "./drivers/client/requests/index.mjs";
@@ -12,5 +13,6 @@ export * from "./taskArtifacts/client/requests/index.mjs";
12
13
  export * from "./orders/client/requests/index.mjs";
13
14
  export * from "./orderDrafts/client/requests/index.mjs";
14
15
  export * from "./orderSchedules/client/requests/index.mjs";
16
+ export * from "./orderTemplates/client/requests/index.mjs";
15
17
  export * from "./taskGroups/client/requests/index.mjs";
16
18
  export * from "./tasks/client/requests/index.mjs";
@@ -135,6 +135,22 @@ export declare class OrderDrafts {
135
135
  */
136
136
  imageToTextV1(request: Chrt.shipping.BodyPostShippingOrderDraftsImageToTextV1ShippingOrderDraftsImageToTextV1Post, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<string>;
137
137
  private __imageToTextV1;
138
+ /**
139
+ * Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
140
+ *
141
+ * @param {Chrt.shipping.OrderDraftsTypeaheadV1Request} request
142
+ * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
143
+ *
144
+ * @throws {@link Chrt.UnprocessableEntityError}
145
+ *
146
+ * @example
147
+ * await client.shipping.orderDrafts.typeaheadV1({
148
+ * query: "query",
149
+ * limit: 1
150
+ * })
151
+ */
152
+ typeaheadV1(request: Chrt.shipping.OrderDraftsTypeaheadV1Request, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<Chrt.OrderTypeaheadResult[]>;
153
+ private __typeaheadV1;
138
154
  /**
139
155
  * Validates the draft order for staging and returns requirement results. | () -> (OrderDraftValidationResult)
140
156
  *