@chrt-inc/typescript-sdk 1.984.0 → 1.992.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 (202) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +9 -4
  4. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +3 -3
  5. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +8 -8
  6. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +7 -7
  7. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +1 -1
  10. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +1 -1
  11. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
  12. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +6 -2
  13. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
  14. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +5 -3
  15. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +13 -5
  16. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.ts +4 -1
  17. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
  18. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +38 -5
  19. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +164 -11
  20. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +1 -0
  21. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  22. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +6 -3
  23. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +6 -3
  24. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.ts +16 -0
  25. package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.ts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.ts} +5 -2
  26. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/orgs/client/Client.d.ts +2 -1
  28. package/dist/cjs/api/resources/orgs/client/Client.js +11 -2
  29. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +3 -0
  30. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +32 -0
  31. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +163 -16
  32. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
  33. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +15 -0
  34. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +10 -5
  36. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +2 -2
  37. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +2 -4
  38. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +3 -3
  39. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +13 -12
  40. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +23 -19
  41. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +3 -0
  42. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/{OrdersUpdateLabelReq.d.ts → OrdersUpdateDepartmentsReq.d.ts} +2 -3
  43. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.js +5 -0
  44. package/dist/{esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.d.ts} +2 -3
  45. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.js +5 -0
  46. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +2 -2
  47. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +2 -2
  48. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +25 -10
  50. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +9 -7
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +3 -5
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +5 -7
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.ts +3 -4
  54. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +2 -0
  55. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +9 -1
  56. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +6 -0
  57. package/dist/cjs/api/types/BidThreadForListing1.d.ts +19 -0
  58. package/dist/cjs/api/types/BidThreadForListing1.js +5 -0
  59. package/dist/cjs/api/types/BidThreadForListingListRes.d.ts +8 -0
  60. package/dist/cjs/api/types/BidThreadForListingListRes.js +5 -0
  61. package/dist/cjs/api/types/Driver1.d.ts +1 -0
  62. package/dist/cjs/api/types/DriverBiddingGroupListItemRes.d.ts +17 -0
  63. package/dist/cjs/api/types/DriverBiddingGroupListItemRes.js +5 -0
  64. package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +1 -1
  65. package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +1 -0
  66. package/dist/cjs/api/types/OperationsTask1.d.ts +1 -0
  67. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
  68. package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
  69. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -1
  70. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +1 -0
  71. package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.d.ts +4 -0
  72. package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.js +5 -0
  73. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +8 -0
  74. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.js +5 -0
  75. package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.d.ts +7 -0
  76. package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.js +5 -0
  77. package/dist/cjs/api/types/Order1.d.ts +2 -2
  78. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +2 -2
  79. package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +1 -1
  80. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +1 -1
  81. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -1
  82. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +2 -2
  83. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +2 -2
  84. package/dist/cjs/api/types/OrderTemplateNew1.d.ts +2 -2
  85. package/dist/cjs/api/types/OrderTemplateNewCore1.d.ts +2 -2
  86. package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +3 -2
  87. package/dist/cjs/api/types/OrgBiddingGroupListItemRes.d.ts +17 -0
  88. package/dist/cjs/api/types/OrgBiddingGroupListItemRes.js +5 -0
  89. package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +1 -1
  90. package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +2 -1
  91. package/dist/cjs/api/types/TaskArtifactTypeEnum1.js +1 -0
  92. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
  93. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
  94. package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +1 -0
  95. package/dist/cjs/api/types/index.d.ts +7 -0
  96. package/dist/cjs/api/types/index.js +7 -0
  97. package/dist/cjs/version.d.ts +1 -1
  98. package/dist/cjs/version.js +1 -1
  99. package/dist/esm/Client.mjs +2 -2
  100. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +1 -1
  101. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +9 -4
  102. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +3 -3
  103. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +8 -8
  104. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +7 -7
  105. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +1 -1
  106. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +1 -1
  108. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +1 -1
  109. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
  110. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +6 -2
  111. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
  112. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +5 -3
  113. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +13 -5
  114. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.mts +4 -1
  115. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
  116. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +38 -5
  117. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +164 -11
  118. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +1 -0
  119. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  120. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +6 -3
  121. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +6 -3
  122. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.mts +16 -0
  123. package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.mts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.mts} +5 -2
  124. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +2 -0
  125. package/dist/esm/api/resources/orgs/client/Client.d.mts +2 -1
  126. package/dist/esm/api/resources/orgs/client/Client.mjs +11 -2
  127. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +3 -0
  128. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +32 -0
  129. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +163 -16
  130. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
  131. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +15 -0
  132. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +2 -2
  133. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +10 -5
  134. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +2 -2
  135. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +2 -4
  136. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +3 -3
  137. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +13 -12
  138. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +23 -19
  139. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +3 -0
  140. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.d.mts +10 -0
  141. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.mjs +4 -0
  142. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.d.mts +10 -0
  143. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.mjs +4 -0
  144. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +2 -2
  145. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +2 -2
  146. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
  147. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +25 -10
  148. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +9 -7
  149. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +3 -5
  150. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +5 -7
  151. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.mts +3 -4
  152. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +2 -0
  153. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +9 -1
  154. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +6 -0
  155. package/dist/esm/api/types/BidThreadForListing1.d.mts +19 -0
  156. package/dist/esm/api/types/BidThreadForListing1.mjs +4 -0
  157. package/dist/esm/api/types/BidThreadForListingListRes.d.mts +8 -0
  158. package/dist/esm/api/types/BidThreadForListingListRes.mjs +4 -0
  159. package/dist/esm/api/types/Driver1.d.mts +1 -0
  160. package/dist/esm/api/types/DriverBiddingGroupListItemRes.d.mts +17 -0
  161. package/dist/esm/api/types/DriverBiddingGroupListItemRes.mjs +4 -0
  162. package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +1 -1
  163. package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +1 -0
  164. package/dist/esm/api/types/OperationsTask1.d.mts +1 -0
  165. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
  166. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
  167. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -1
  168. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +1 -0
  169. package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.d.mts +4 -0
  170. package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.mjs +4 -0
  171. package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +8 -0
  172. package/dist/esm/api/types/OperationsTaskTypeaheadResult.mjs +4 -0
  173. package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.d.mts +7 -0
  174. package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.mjs +4 -0
  175. package/dist/esm/api/types/Order1.d.mts +2 -2
  176. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +2 -2
  177. package/dist/esm/api/types/OrderBillingExecutor1.d.mts +1 -1
  178. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +1 -1
  179. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -1
  180. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +2 -2
  181. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +2 -2
  182. package/dist/esm/api/types/OrderTemplateNew1.d.mts +2 -2
  183. package/dist/esm/api/types/OrderTemplateNewCore1.d.mts +2 -2
  184. package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +3 -2
  185. package/dist/esm/api/types/OrgBiddingGroupListItemRes.d.mts +17 -0
  186. package/dist/esm/api/types/OrgBiddingGroupListItemRes.mjs +4 -0
  187. package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +1 -1
  188. package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +2 -1
  189. package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +1 -0
  190. package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
  191. package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
  192. package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +1 -0
  193. package/dist/esm/api/types/index.d.mts +7 -0
  194. package/dist/esm/api/types/index.mjs +7 -0
  195. package/dist/esm/version.d.mts +1 -1
  196. package/dist/esm/version.mjs +1 -1
  197. package/package.json +1 -1
  198. package/reference.md +310 -40
  199. /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.js} +0 -0
  200. /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.js} +0 -0
  201. /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.mjs} +0 -0
  202. /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.mjs} +0 -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.984.0",
64
- "User-Agent": "@chrt-inc/typescript-sdk/1.984.0",
63
+ "X-Fern-SDK-Version": "1.992.0",
64
+ "User-Agent": "@chrt-inc/typescript-sdk/1.992.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) });
@@ -71,7 +71,7 @@ export declare class Orders {
71
71
  * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
72
72
  * filter_executor_org_id: "filter_executor_org_id",
73
73
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
74
- * filter_coordinator_label: "filter_coordinator_label",
74
+ * filter_coordinator_labels: ["filter_coordinator_labels"],
75
75
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
76
76
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
77
77
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -163,7 +163,7 @@ class Orders {
163
163
  * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
164
164
  * filter_executor_org_id: "filter_executor_org_id",
165
165
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
166
- * filter_coordinator_label: "filter_coordinator_label",
166
+ * filter_coordinator_labels: ["filter_coordinator_labels"],
167
167
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
168
168
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
169
169
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -184,7 +184,7 @@ class Orders {
184
184
  __listExpandedForCoordinatorOperatorsV1() {
185
185
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
186
186
  var _a, _b, _c, _d, _e, _f;
187
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_label: filterCoordinatorLabel, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_label", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
187
+ 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"]);
188
188
  const _queryParams = {};
189
189
  if (sortBy !== undefined) {
190
190
  _queryParams["sort_by"] = sortBy;
@@ -232,8 +232,13 @@ class Orders {
232
232
  if (filterOffChrtExecutorOrgDataId !== undefined) {
233
233
  _queryParams["filter_off_chrt_executor_org_data_id"] = filterOffChrtExecutorOrgDataId;
234
234
  }
235
- if (filterCoordinatorLabel !== undefined) {
236
- _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
235
+ if (filterCoordinatorLabels !== undefined) {
236
+ if (Array.isArray(filterCoordinatorLabels)) {
237
+ _queryParams["filter_coordinator_labels"] = filterCoordinatorLabels.map((item) => item);
238
+ }
239
+ else {
240
+ _queryParams["filter_coordinator_labels"] = filterCoordinatorLabels;
241
+ }
237
242
  }
238
243
  if (filterDraftStartedAtTimestampGte !== undefined) {
239
244
  _queryParams["filter_draft_started_at_timestamp_gte"] = filterDraftStartedAtTimestampGte;
@@ -17,7 +17,7 @@ import * as Chrt from "../../../../../../index.js";
17
17
  * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
18
18
  * filter_executor_org_id: "filter_executor_org_id",
19
19
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
20
- * filter_coordinator_label: "filter_coordinator_label",
20
+ * filter_coordinator_labels: ["filter_coordinator_labels"],
21
21
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
22
22
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
23
23
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -55,8 +55,8 @@ export interface OrderBillingExpandedListReq {
55
55
  filter_executor_org_id?: string | null;
56
56
  /** Filter by an off-CHRT executor. */
57
57
  filter_off_chrt_executor_org_data_id?: string | null;
58
- /** Filter by an exact coordinator label. */
59
- filter_coordinator_label?: string | null;
58
+ /** Filter by any of the supplied coordinator labels (exact match). */
59
+ filter_coordinator_labels?: (string | null) | (string | null)[];
60
60
  filter_draft_started_at_timestamp_gte?: string | null;
61
61
  filter_draft_started_at_timestamp_lte?: string | null;
62
62
  filter_staged_at_timestamp_gte?: string | null;
@@ -31,7 +31,7 @@ export declare class BidThreads {
31
31
  protected readonly _options: BidThreads.Options;
32
32
  constructor(_options?: BidThreads.Options);
33
33
  /**
34
- * Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). On `auto_award_first_accept=True` listings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping and BillingNew side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
34
+ * Accepts an offer; lister acceptance awards immediately, while bidder acceptance follows the listing's auto-award setting. | authz: allowed_org_types=[provider], min_org_role=member; lister min_org_role=operator | (BidAppendReq) -> (bool)
35
35
  *
36
36
  * @param {string} bidThreadId
37
37
  * @param {Chrt.BidAppendReq} request
@@ -58,7 +58,7 @@ export declare class BidThreads {
58
58
  byIdV1(bidThreadId: string, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<Chrt.BidThread1>;
59
59
  private __byIdV1;
60
60
  /**
61
- * Lister confirmation of a bidder's ACCEPT on this thread, used when `listing.auto_award_first_accept == False`. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, and shipping and BillingNew side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
61
+ * Confirms a pending bidder acceptance and awards at its recorded price. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
62
62
  *
63
63
  * @param {string} bidThreadId
64
64
  * @param {BidThreads.RequestOptions} requestOptions - Request-specific configuration.
@@ -71,7 +71,7 @@ export declare class BidThreads {
71
71
  confirmAcceptV1(bidThreadId: string, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<boolean>;
72
72
  private __confirmAcceptV1;
73
73
  /**
74
- * Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
74
+ * Adds a counteroffer to an open negotiation. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
75
75
  *
76
76
  * @param {string} bidThreadId
77
77
  * @param {Chrt.BidAppendReq} request
@@ -85,7 +85,7 @@ export declare class BidThreads {
85
85
  counterV1(bidThreadId: string, request: Chrt.BidAppendReq, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<boolean>;
86
86
  private __counterV1;
87
87
  /**
88
- * Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
88
+ * Opens a bid thread with an offer, acceptance, or denial. | authz: allowed_org_types=[provider], min_org_role=member | (BidThreadClientCreate1) -> (PydanticObjectId)
89
89
  *
90
90
  * @param {Chrt.listing.BidThreadClientCreate1} request
91
91
  * @param {BidThreads.RequestOptions} requestOptions - Request-specific configuration.
@@ -101,7 +101,7 @@ export declare class BidThreads {
101
101
  createV1(request: Chrt.listing.BidThreadClientCreate1, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<string>;
102
102
  private __createV1;
103
103
  /**
104
- * Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
104
+ * Declines an open negotiation and closes its thread. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
105
105
  *
106
106
  * @param {string} bidThreadId
107
107
  * @param {Chrt.BidAppendReq} request
@@ -141,7 +141,7 @@ export declare class BidThreads {
141
141
  listForBidderV1(request?: Chrt.listing.BidThreadsListForBidderV1Request, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<Chrt.BidThreadListRes>;
142
142
  private __listForBidderV1;
143
143
  /**
144
- * Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
144
+ * Lists bid threads with bidder driver/provider profiles, filtering, sorting, and pagination for the listing's owner. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadForListingListRes)
145
145
  *
146
146
  * @param {string} listingId
147
147
  * @param {Chrt.listing.BidThreadsListForListingV1Request} request
@@ -165,10 +165,10 @@ export declare class BidThreads {
165
165
  * filter_status_changed_at_timestamp_lte: "2024-01-15T09:30:00Z"
166
166
  * })
167
167
  */
168
- listForListingV1(listingId: string, request?: Chrt.listing.BidThreadsListForListingV1Request, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<Chrt.BidThreadListRes>;
168
+ listForListingV1(listingId: string, request?: Chrt.listing.BidThreadsListForListingV1Request, requestOptions?: BidThreads.RequestOptions): core.HttpResponsePromise<Chrt.BidThreadForListingListRes>;
169
169
  private __listForListingV1;
170
170
  /**
171
- * Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
171
+ * Withdraws the bidder's offer and closes its thread. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
172
172
  *
173
173
  * @param {string} bidThreadId
174
174
  * @param {Chrt.BidAppendReq} request
@@ -56,7 +56,7 @@ class BidThreads {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). On `auto_award_first_accept=True` listings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping and BillingNew side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
59
+ * Accepts an offer; lister acceptance awards immediately, while bidder acceptance follows the listing's auto-award setting. | authz: allowed_org_types=[provider], min_org_role=member; lister min_org_role=operator | (BidAppendReq) -> (bool)
60
60
  *
61
61
  * @param {string} bidThreadId
62
62
  * @param {Chrt.BidAppendReq} request
@@ -178,7 +178,7 @@ class BidThreads {
178
178
  });
179
179
  }
180
180
  /**
181
- * Lister confirmation of a bidder's ACCEPT on this thread, used when `listing.auto_award_first_accept == False`. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, and shipping and BillingNew side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
181
+ * Confirms a pending bidder acceptance and awards at its recorded price. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
182
182
  *
183
183
  * @param {string} bidThreadId
184
184
  * @param {BidThreads.RequestOptions} requestOptions - Request-specific configuration.
@@ -237,7 +237,7 @@ class BidThreads {
237
237
  });
238
238
  }
239
239
  /**
240
- * Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
240
+ * Adds a counteroffer to an open negotiation. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
241
241
  *
242
242
  * @param {string} bidThreadId
243
243
  * @param {Chrt.BidAppendReq} request
@@ -300,7 +300,7 @@ class BidThreads {
300
300
  });
301
301
  }
302
302
  /**
303
- * Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
303
+ * Opens a bid thread with an offer, acceptance, or denial. | authz: allowed_org_types=[provider], min_org_role=member | (BidThreadClientCreate1) -> (PydanticObjectId)
304
304
  *
305
305
  * @param {Chrt.listing.BidThreadClientCreate1} request
306
306
  * @param {BidThreads.RequestOptions} requestOptions - Request-specific configuration.
@@ -365,7 +365,7 @@ class BidThreads {
365
365
  });
366
366
  }
367
367
  /**
368
- * Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
368
+ * Declines an open negotiation and closes its thread. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
369
369
  *
370
370
  * @param {string} bidThreadId
371
371
  * @param {Chrt.BidAppendReq} request
@@ -543,7 +543,7 @@ class BidThreads {
543
543
  });
544
544
  }
545
545
  /**
546
- * Lists all bid threads on a listing with filtering, sorting, and pagination. Lister-only — the listing must belong to the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadListRes)
546
+ * Lists bid threads with bidder driver/provider profiles, filtering, sorting, and pagination for the listing's owner. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (BidThreadForListingListRes)
547
547
  *
548
548
  * @param {string} listingId
549
549
  * @param {Chrt.listing.BidThreadsListForListingV1Request} request
@@ -659,7 +659,7 @@ class BidThreads {
659
659
  });
660
660
  }
661
661
  /**
662
- * Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
662
+ * Withdraws the bidder's offer and closes its thread. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
663
663
  *
664
664
  * @param {string} bidThreadId
665
665
  * @param {Chrt.BidAppendReq} request
@@ -87,7 +87,7 @@ export declare class DriverBiddingGroups {
87
87
  deleteV1(groupId: string, requestOptions?: DriverBiddingGroups.RequestOptions): core.HttpResponsePromise<boolean>;
88
88
  private __deleteV1;
89
89
  /**
90
- * Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
90
+ * Lists driver bidding groups owned by the caller's org with filtering, sorting, pagination, and member driver profiles. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
91
91
  *
92
92
  * @param {Chrt.listing.DriverBiddingGroupsListByOrgV1Request} request
93
93
  * @param {DriverBiddingGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -299,7 +299,7 @@ class DriverBiddingGroups {
299
299
  });
300
300
  }
301
301
  /**
302
- * Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
302
+ * Lists driver bidding groups owned by the caller's org with filtering, sorting, pagination, and member driver profiles. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
303
303
  *
304
304
  * @param {Chrt.listing.DriverBiddingGroupsListByOrgV1Request} request
305
305
  * @param {DriverBiddingGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -87,7 +87,7 @@ export declare class OrgBiddingGroups {
87
87
  deleteV1(groupId: string, requestOptions?: OrgBiddingGroups.RequestOptions): core.HttpResponsePromise<boolean>;
88
88
  private __deleteV1;
89
89
  /**
90
- * Lists org bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrgBiddingGroupListRes)
90
+ * Lists org bidding groups owned by the caller's org with filtering, sorting, pagination, and member organization public data. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrgBiddingGroupListRes)
91
91
  *
92
92
  * @param {Chrt.listing.OrgBiddingGroupsListByOrgV1Request} request
93
93
  * @param {OrgBiddingGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -299,7 +299,7 @@ class OrgBiddingGroups {
299
299
  });
300
300
  }
301
301
  /**
302
- * Lists org bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrgBiddingGroupListRes)
302
+ * Lists org bidding groups owned by the caller's org with filtering, sorting, pagination, and member organization public data. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrgBiddingGroupListRes)
303
303
  *
304
304
  * @param {Chrt.listing.OrgBiddingGroupsListByOrgV1Request} request
305
305
  * @param {OrgBiddingGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -45,7 +45,7 @@ export declare class Departments {
45
45
  addOperatorV1(departmentId: string, userId: string, requestOptions?: Departments.RequestOptions): core.HttpResponsePromise<boolean>;
46
46
  private __addOperatorV1;
47
47
  /**
48
- * Lists department configurations for the caller's organization. | authz: min_org_role=operator | () -> (DepartmentListRes)
48
+ * Lists department configurations for the caller's organization with filtering, sorting, pagination, and Atlas Search. | authz: min_org_role=operator | () -> (DepartmentListRes)
49
49
  *
50
50
  * @param {Chrt.operations.DepartmentsListV1Request} request
51
51
  * @param {Departments.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,6 +56,7 @@ export declare class Departments {
56
56
  * await client.operations.departments.listV1({
57
57
  * sort_by: "created_at",
58
58
  * sort_order: "asc",
59
+ * search: "search",
59
60
  * page: 1,
60
61
  * page_size: 1,
61
62
  * filter_department_type: ["aerospace"]
@@ -116,7 +116,7 @@ class Departments {
116
116
  });
117
117
  }
118
118
  /**
119
- * Lists department configurations for the caller's organization. | authz: min_org_role=operator | () -> (DepartmentListRes)
119
+ * Lists department configurations for the caller's organization with filtering, sorting, pagination, and Atlas Search. | authz: min_org_role=operator | () -> (DepartmentListRes)
120
120
  *
121
121
  * @param {Chrt.operations.DepartmentsListV1Request} request
122
122
  * @param {Departments.RequestOptions} requestOptions - Request-specific configuration.
@@ -127,6 +127,7 @@ class Departments {
127
127
  * await client.operations.departments.listV1({
128
128
  * sort_by: "created_at",
129
129
  * sort_order: "asc",
130
+ * search: "search",
130
131
  * page: 1,
131
132
  * page_size: 1,
132
133
  * filter_department_type: ["aerospace"]
@@ -138,7 +139,7 @@ class Departments {
138
139
  __listV1() {
139
140
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
140
141
  var _a, _b, _c, _d, _e, _f;
141
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_department_type: filterDepartmentType, } = request;
142
+ const { sort_by: sortBy, sort_order: sortOrder, search, page, page_size: pageSize, filter_department_type: filterDepartmentType, } = request;
142
143
  const _queryParams = {};
143
144
  if (sortBy !== undefined) {
144
145
  _queryParams["sort_by"] = sortBy;
@@ -146,6 +147,9 @@ class Departments {
146
147
  if (sortOrder !== undefined) {
147
148
  _queryParams["sort_order"] = sortOrder;
148
149
  }
150
+ if (search !== undefined) {
151
+ _queryParams["search"] = search;
152
+ }
149
153
  if (page !== undefined) {
150
154
  _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
151
155
  }
@@ -7,6 +7,7 @@ import * as Chrt from "../../../../../../index.js";
7
7
  * {
8
8
  * sort_by: "created_at",
9
9
  * sort_order: "asc",
10
+ * search: "search",
10
11
  * page: 1,
11
12
  * page_size: 1,
12
13
  * filter_department_type: ["aerospace"]
@@ -17,6 +18,8 @@ export interface DepartmentsListV1Request {
17
18
  sort_by?: Chrt.DepartmentSortByEnum | null;
18
19
  /** Sort order (asc or desc) */
19
20
  sort_order?: Chrt.SortOrderEnum | null;
21
+ /** Search name and short_id using Atlas Search */
22
+ search?: string | null;
20
23
  page?: number | null;
21
24
  page_size?: number | null;
22
25
  /** Filter by department type(s) */
@@ -31,7 +31,7 @@ export declare class OperationsTaskLists {
31
31
  protected readonly _options: OperationsTaskLists.Options;
32
32
  constructor(_options?: OperationsTaskLists.Options);
33
33
  /**
34
- * Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id overrides the caller's Order department when supplied. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
34
+ * Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id explicitly assigns the materialized tasks; omitted leaves them unassigned. No dedup — applying twice creates duplicate tasks. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (list[PydanticObjectId])
35
35
  *
36
36
  * @param {string} taskListId
37
37
  * @param {string} orderId
@@ -43,6 +43,7 @@ export declare class OperationsTaskLists {
43
43
  * @example
44
44
  * await client.operations.operationsTaskLists.applyToOrderV1("task_list_id", "order_id", {
45
45
  * department_id: "department_id",
46
+ * entry_tag: "entry_tag",
46
47
  * initial_deadline_timestamp: "2024-01-15T09:30:00Z"
47
48
  * })
48
49
  */
@@ -127,7 +128,7 @@ export declare class OperationsTaskLists {
127
128
  reorderEntriesV1(taskListId: string, request?: Chrt.operations.OperationsTaskListReorderEntries1, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<boolean>;
128
129
  private __reorderEntriesV1;
129
130
  /**
130
- * Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
131
+ * Lists OperationsTaskLists for the caller's organization with filtering, sorting, pagination, and Atlas Search. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
131
132
  *
132
133
  * @param {Chrt.operations.OperationsTaskListsListV1Request} request
133
134
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
@@ -138,6 +139,7 @@ export declare class OperationsTaskLists {
138
139
  * await client.operations.operationsTaskLists.listV1({
139
140
  * sort_by: "created_at_timestamp",
140
141
  * sort_order: "asc",
142
+ * search: "search",
141
143
  * page: 1,
142
144
  * page_size: 1,
143
145
  * filter_archived: true
@@ -146,7 +148,7 @@ export declare class OperationsTaskLists {
146
148
  listV1(request?: Chrt.operations.OperationsTaskListsListV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListListRes>;
147
149
  private __listV1;
148
150
  /**
149
- * Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromOrderRes1)
151
+ * Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (OperationsTaskListRemoveFromOrderRes1)
150
152
  *
151
153
  * @param {string} taskListId
152
154
  * @param {string} orderId
@@ -56,7 +56,7 @@ class OperationsTaskLists {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id overrides the caller's Order department when supplied. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
59
+ * Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id explicitly assigns the materialized tasks; omitted leaves them unassigned. No dedup — applying twice creates duplicate tasks. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (list[PydanticObjectId])
60
60
  *
61
61
  * @param {string} taskListId
62
62
  * @param {string} orderId
@@ -68,6 +68,7 @@ class OperationsTaskLists {
68
68
  * @example
69
69
  * await client.operations.operationsTaskLists.applyToOrderV1("task_list_id", "order_id", {
70
70
  * department_id: "department_id",
71
+ * entry_tag: "entry_tag",
71
72
  * initial_deadline_timestamp: "2024-01-15T09:30:00Z"
72
73
  * })
73
74
  */
@@ -77,11 +78,14 @@ class OperationsTaskLists {
77
78
  __applyToOrderV1(taskListId_1, orderId_1) {
78
79
  return __awaiter(this, arguments, void 0, function* (taskListId, orderId, request = {}, requestOptions) {
79
80
  var _a, _b, _c, _d;
80
- const { department_id: departmentId, initial_deadline_timestamp: initialDeadlineTimestamp } = request;
81
+ const { department_id: departmentId, entry_tag: entryTag, initial_deadline_timestamp: initialDeadlineTimestamp, } = request;
81
82
  const _queryParams = {};
82
83
  if (departmentId !== undefined) {
83
84
  _queryParams["department_id"] = departmentId;
84
85
  }
86
+ if (entryTag !== undefined) {
87
+ _queryParams["entry_tag"] = entryTag;
88
+ }
85
89
  if (initialDeadlineTimestamp !== undefined) {
86
90
  _queryParams["initial_deadline_timestamp"] = initialDeadlineTimestamp;
87
91
  }
@@ -445,7 +449,7 @@ class OperationsTaskLists {
445
449
  });
446
450
  }
447
451
  /**
448
- * Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
452
+ * Lists OperationsTaskLists for the caller's organization with filtering, sorting, pagination, and Atlas Search. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
449
453
  *
450
454
  * @param {Chrt.operations.OperationsTaskListsListV1Request} request
451
455
  * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
@@ -456,6 +460,7 @@ class OperationsTaskLists {
456
460
  * await client.operations.operationsTaskLists.listV1({
457
461
  * sort_by: "created_at_timestamp",
458
462
  * sort_order: "asc",
463
+ * search: "search",
459
464
  * page: 1,
460
465
  * page_size: 1,
461
466
  * filter_archived: true
@@ -467,7 +472,7 @@ class OperationsTaskLists {
467
472
  __listV1() {
468
473
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
469
474
  var _a, _b, _c, _d, _e, _f, _g;
470
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_archived: filterArchived, } = request;
475
+ const { sort_by: sortBy, sort_order: sortOrder, search, page, page_size: pageSize, filter_archived: filterArchived, } = request;
471
476
  const _queryParams = {};
472
477
  if (sortBy !== undefined) {
473
478
  _queryParams["sort_by"] = sortBy;
@@ -475,6 +480,9 @@ class OperationsTaskLists {
475
480
  if (sortOrder !== undefined) {
476
481
  _queryParams["sort_order"] = sortOrder;
477
482
  }
483
+ if (search !== undefined) {
484
+ _queryParams["search"] = search;
485
+ }
478
486
  if (page !== undefined) {
479
487
  _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
480
488
  }
@@ -527,7 +535,7 @@ class OperationsTaskLists {
527
535
  });
528
536
  }
529
537
  /**
530
- * Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromOrderRes1)
538
+ * Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (OperationsTaskListRemoveFromOrderRes1)
531
539
  *
532
540
  * @param {string} taskListId
533
541
  * @param {string} orderId
@@ -5,12 +5,15 @@
5
5
  * @example
6
6
  * {
7
7
  * department_id: "department_id",
8
+ * entry_tag: "entry_tag",
8
9
  * initial_deadline_timestamp: "2024-01-15T09:30:00Z"
9
10
  * }
10
11
  */
11
12
  export interface OperationsTaskListsApplyToOrderV1Request {
12
- /** Overrides the Order department for tasks materialized by this application. */
13
+ /** Department for materialized tasks; omitted leaves them unassigned. */
13
14
  department_id?: string | null;
15
+ /** Context tag copied onto every generated task */
16
+ entry_tag?: string | null;
14
17
  /** If set, pins the first entry's deadline; later FROM_PREVIOUS_TASK entries cascade from it. */
15
18
  initial_deadline_timestamp?: string | null;
16
19
  }
@@ -7,6 +7,7 @@ import * as Chrt from "../../../../../../index.js";
7
7
  * {
8
8
  * sort_by: "created_at_timestamp",
9
9
  * sort_order: "asc",
10
+ * search: "search",
10
11
  * page: 1,
11
12
  * page_size: 1,
12
13
  * filter_archived: true
@@ -17,6 +18,8 @@ export interface OperationsTaskListsListV1Request {
17
18
  sort_by?: Chrt.OperationsTaskListSortByEnum | null;
18
19
  /** Sort order (asc or desc) */
19
20
  sort_order?: Chrt.SortOrderEnum | null;
21
+ /** Search name and description using Atlas Search */
22
+ search?: string | null;
20
23
  page?: number | null;
21
24
  page_size?: number | null;
22
25
  /** Filter by archived flag. None=all, True=archived only, False=unarchived only. */
@@ -94,11 +94,12 @@ export declare class OperationsTasks {
94
94
  * filter_order_ids: ["filter_order_ids"],
95
95
  * filter_order_short_id: "filter_order_short_id",
96
96
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
97
- * filter_department_id: "filter_department_id",
97
+ * filter_department_ids: ["filter_department_ids"],
98
98
  * filter_task_type: ["review_order_details"],
99
99
  * filter_status: ["not_started"],
100
100
  * filter_assigned_user_id: "filter_assigned_user_id",
101
101
  * filter_source_task_list_id: "filter_source_task_list_id",
102
+ * filter_entry_tag: "filter_entry_tag",
102
103
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
103
104
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
104
105
  * })
@@ -106,7 +107,7 @@ export declare class OperationsTasks {
106
107
  expandedListV1(request?: Chrt.operations.OperationsTasksExpandedListV1Request, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskExpandedListRes>;
107
108
  private __expandedListV1;
108
109
  /**
109
- * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
110
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / entry tag / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
110
111
  *
111
112
  * @param {Chrt.operations.OperationsTasksListV1Request} request
112
113
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -123,11 +124,12 @@ export declare class OperationsTasks {
123
124
  * filter_order_ids: ["filter_order_ids"],
124
125
  * filter_order_short_id: "filter_order_short_id",
125
126
  * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
126
- * filter_department_id: "filter_department_id",
127
+ * filter_department_ids: ["filter_department_ids"],
127
128
  * filter_task_type: ["review_order_details"],
128
129
  * filter_status: ["not_started"],
129
130
  * filter_assigned_user_id: "filter_assigned_user_id",
130
131
  * filter_source_task_list_id: "filter_source_task_list_id",
132
+ * filter_entry_tag: "filter_entry_tag",
131
133
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
132
134
  * filter_deadline_lte: "2024-01-15T09:30:00Z"
133
135
  * })
@@ -169,7 +171,38 @@ export declare class OperationsTasks {
169
171
  setStatusV1(request: Chrt.operations.OperationsTasksSetStatusReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksStatusUpdateRes1>;
170
172
  private __setStatusV1;
171
173
  /**
172
- * Creates a new OperationsTask on an Order where the caller is coordinator or executor. Seeds department_id from the caller's Order department fields. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
174
+ * Returns distinct entry_tag values matching the query via case-insensitive regex. Searches operations tasks within the caller's organization. | authz: min_org_role=operator | () -> (list[OperationsTaskTypeaheadResult])
175
+ *
176
+ * @param {Chrt.operations.OperationsTasksTypeaheadV1Request} request
177
+ * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
178
+ *
179
+ * @throws {@link Chrt.UnprocessableEntityError}
180
+ *
181
+ * @example
182
+ * await client.operations.operationsTasks.typeaheadV1({
183
+ * query: "query",
184
+ * limit: 1
185
+ * })
186
+ */
187
+ typeaheadV1(request: Chrt.operations.OperationsTasksTypeaheadV1Request, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskTypeaheadResult[]>;
188
+ private __typeaheadV1;
189
+ /**
190
+ * Assigns or clears one department on selected tasks across orders. Missing and other-org tasks are skipped. | authz: min_org_role=operator | (OperationsTasksUpdateDepartmentManyReq) -> (OperationsTasksUpdateDepartmentManyRes)
191
+ *
192
+ * @param {Chrt.operations.OperationsTasksUpdateDepartmentManyReq} request
193
+ * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
194
+ *
195
+ * @throws {@link Chrt.UnprocessableEntityError}
196
+ *
197
+ * @example
198
+ * await client.operations.operationsTasks.updateDepartmentManyV1({
199
+ * operations_task_ids: ["operations_task_ids"]
200
+ * })
201
+ */
202
+ updateDepartmentManyV1(request: Chrt.operations.OperationsTasksUpdateDepartmentManyReq, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksUpdateDepartmentManyRes>;
203
+ private __updateDepartmentManyV1;
204
+ /**
205
+ * Creates a new OperationsTask on an Order where the caller is coordinator or executor. Uses the explicit department_id or leaves the task unassigned. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OperationsTaskClientCreate1) -> (PydanticObjectId)
173
206
  *
174
207
  * @param {Chrt.operations.OperationsTaskClientCreate1} request
175
208
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -214,7 +247,7 @@ export declare class OperationsTasks {
214
247
  deleteV1(taskId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
215
248
  private __deleteV1;
216
249
  /**
217
- * Updates editable fields (task_type, title, description, deadline_timestamp, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
250
+ * Updates editable fields (task_type, title, description, entry_tag, deadline_timestamp, assigned_user_ids, department_id) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
218
251
  *
219
252
  * @param {string} taskId
220
253
  * @param {Chrt.operations.OperationsTaskClientUpdate1} request