@chrt-inc/typescript-sdk 1.723.0 → 1.732.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 (204) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.d.ts +3 -3
  3. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
  4. package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.ts → AnalyticsTimePeriodReq.d.ts} +1 -1
  5. package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/index.d.ts +1 -1
  6. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +8 -8
  7. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +22 -14
  8. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +3 -5
  9. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.ts +14 -0
  10. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +12 -12
  12. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +21 -21
  13. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListEntriesRemove1.d.ts → OperationsTaskListReorderEntries1.d.ts} +1 -1
  14. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListEntriesAdd1.d.ts → OperationsTaskListSetEntries1.d.ts} +1 -1
  15. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +3 -3
  16. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +2 -2
  17. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +17 -0
  18. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +66 -0
  19. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.ts +15 -0
  20. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.js +5 -0
  21. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +31 -0
  23. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +129 -0
  24. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.ts +12 -0
  25. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.js +5 -0
  26. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/SetTaskGroupOrderingDraftReq.d.ts +13 -0
  27. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/SetTaskGroupOrderingDraftReq.js +5 -0
  28. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +2 -0
  29. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.ts +17 -0
  30. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.js +66 -0
  31. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +16 -0
  32. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.js +5 -0
  33. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +57 -1
  35. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +247 -1
  36. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +13 -0
  37. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js +5 -0
  38. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +13 -0
  39. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js +5 -0
  40. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +2 -0
  41. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +16 -1
  42. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +65 -1
  43. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.d.ts +12 -0
  44. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.js +5 -0
  45. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -6
  47. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +26 -34
  48. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +4 -6
  49. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +4 -6
  50. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
  51. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
  52. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +4 -2
  53. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +26 -18
  54. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +4 -2
  55. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +4 -2
  56. package/dist/cjs/api/types/{AnalyticsTimeBucketResponse.d.ts → AnalyticsTimeBucketRes.d.ts} +1 -1
  57. package/dist/cjs/api/types/AnalyticsTimeBucketRes.js +5 -0
  58. package/dist/cjs/api/types/Cargo1.d.ts +1 -0
  59. package/dist/cjs/api/types/CargoStatusEnum1.d.ts +2 -1
  60. package/dist/cjs/api/types/CargoStatusEnum1.js +1 -0
  61. package/dist/cjs/api/types/DeadlineAnchorEnum.d.ts +13 -0
  62. package/dist/cjs/api/types/DeadlineAnchorEnum.js +10 -0
  63. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +3 -3
  64. package/dist/cjs/api/types/DriverStatsRes.d.ts +11 -0
  65. package/dist/cjs/api/types/DriverStatsRes.js +5 -0
  66. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +9 -7
  67. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +16 -8
  68. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +6 -7
  69. package/dist/cjs/api/types/Order1.d.ts +1 -2
  70. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  71. package/dist/cjs/api/types/OrderDraftValidationResult.d.ts +1 -0
  72. package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
  73. package/dist/cjs/api/types/OrderSortByEnum.d.ts +2 -2
  74. package/dist/cjs/api/types/OrderSortByEnum.js +1 -1
  75. package/dist/cjs/api/types/OrderStatusEnum1.d.ts +2 -1
  76. package/dist/cjs/api/types/OrderStatusEnum1.js +1 -0
  77. package/dist/cjs/api/types/Task1.d.ts +1 -1
  78. package/dist/cjs/api/types/TaskArtifact1.d.ts +1 -0
  79. package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +2 -1
  80. package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +1 -0
  81. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
  82. package/dist/cjs/api/types/TaskGroupSortByEnum.d.ts +2 -1
  83. package/dist/cjs/api/types/TaskGroupSortByEnum.js +1 -0
  84. package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +2 -1
  85. package/dist/cjs/api/types/TaskGroupStatusEnum1.js +1 -0
  86. package/dist/cjs/api/types/TaskStatusEnum1.d.ts +2 -1
  87. package/dist/cjs/api/types/TaskStatusEnum1.js +1 -0
  88. package/dist/cjs/api/types/ValidationIssue.d.ts +8 -0
  89. package/dist/cjs/api/types/ValidationIssue.js +5 -0
  90. package/dist/cjs/api/types/ValidationIssueScope.d.ts +8 -0
  91. package/dist/cjs/api/types/ValidationIssueScope.js +5 -0
  92. package/dist/cjs/api/types/index.d.ts +5 -2
  93. package/dist/cjs/api/types/index.js +5 -2
  94. package/dist/cjs/version.d.ts +1 -1
  95. package/dist/cjs/version.js +1 -1
  96. package/dist/esm/Client.mjs +2 -2
  97. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.d.mts +3 -3
  98. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
  99. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.mts → AnalyticsTimePeriodReq.d.mts} +1 -1
  100. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/index.d.mts +1 -1
  101. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +8 -8
  102. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +22 -14
  103. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +3 -5
  104. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.mts +14 -0
  105. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
  106. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +12 -12
  107. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +21 -21
  108. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListEntriesRemove1.d.mts → OperationsTaskListReorderEntries1.d.mts} +1 -1
  109. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListEntriesAdd1.d.mts → OperationsTaskListSetEntries1.d.mts} +1 -1
  110. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +3 -3
  111. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +2 -2
  112. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +17 -0
  113. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +66 -0
  114. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.mts +15 -0
  115. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.mjs +4 -0
  116. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  117. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +31 -0
  118. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +129 -0
  119. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.mts +12 -0
  120. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.mjs +4 -0
  121. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/SetTaskGroupOrderingDraftReq.d.mts +13 -0
  122. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/SetTaskGroupOrderingDraftReq.mjs +4 -0
  123. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +2 -0
  124. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.mts +17 -0
  125. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.mjs +66 -0
  126. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +16 -0
  127. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.mjs +4 -0
  128. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/index.d.mts +1 -0
  129. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +57 -1
  130. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +247 -1
  131. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +13 -0
  132. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs +4 -0
  133. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +13 -0
  134. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs +4 -0
  135. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +2 -0
  136. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +16 -1
  137. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +65 -1
  138. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.d.mts +12 -0
  139. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.mjs +4 -0
  140. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -0
  141. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -6
  142. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +26 -34
  143. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +4 -6
  144. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +4 -6
  145. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
  146. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
  147. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +4 -2
  148. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +26 -18
  149. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +4 -2
  150. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +4 -2
  151. package/dist/esm/api/types/{AnalyticsTimeBucketResponse.d.mts → AnalyticsTimeBucketRes.d.mts} +1 -1
  152. package/dist/esm/api/types/AnalyticsTimeBucketRes.mjs +4 -0
  153. package/dist/esm/api/types/Cargo1.d.mts +1 -0
  154. package/dist/esm/api/types/CargoStatusEnum1.d.mts +2 -1
  155. package/dist/esm/api/types/CargoStatusEnum1.mjs +1 -0
  156. package/dist/esm/api/types/DeadlineAnchorEnum.d.mts +13 -0
  157. package/dist/esm/api/types/DeadlineAnchorEnum.mjs +7 -0
  158. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +3 -3
  159. package/dist/esm/api/types/DriverStatsRes.d.mts +11 -0
  160. package/dist/esm/api/types/DriverStatsRes.mjs +4 -0
  161. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +9 -7
  162. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +16 -8
  163. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +6 -7
  164. package/dist/esm/api/types/Order1.d.mts +1 -2
  165. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  166. package/dist/esm/api/types/OrderDraftValidationResult.d.mts +1 -0
  167. package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
  168. package/dist/esm/api/types/OrderSortByEnum.d.mts +2 -2
  169. package/dist/esm/api/types/OrderSortByEnum.mjs +1 -1
  170. package/dist/esm/api/types/OrderStatusEnum1.d.mts +2 -1
  171. package/dist/esm/api/types/OrderStatusEnum1.mjs +1 -0
  172. package/dist/esm/api/types/Task1.d.mts +1 -1
  173. package/dist/esm/api/types/TaskArtifact1.d.mts +1 -0
  174. package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +2 -1
  175. package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +1 -0
  176. package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
  177. package/dist/esm/api/types/TaskGroupSortByEnum.d.mts +2 -1
  178. package/dist/esm/api/types/TaskGroupSortByEnum.mjs +1 -0
  179. package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +2 -1
  180. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +1 -0
  181. package/dist/esm/api/types/TaskStatusEnum1.d.mts +2 -1
  182. package/dist/esm/api/types/TaskStatusEnum1.mjs +1 -0
  183. package/dist/esm/api/types/ValidationIssue.d.mts +8 -0
  184. package/dist/esm/api/types/ValidationIssue.mjs +4 -0
  185. package/dist/esm/api/types/ValidationIssueScope.d.mts +8 -0
  186. package/dist/esm/api/types/ValidationIssueScope.mjs +4 -0
  187. package/dist/esm/api/types/index.d.mts +5 -2
  188. package/dist/esm/api/types/index.mjs +5 -2
  189. package/dist/esm/version.d.mts +1 -1
  190. package/dist/esm/version.mjs +1 -1
  191. package/package.json +1 -1
  192. package/reference.md +736 -129
  193. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +0 -8
  194. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +0 -10
  195. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +0 -8
  196. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +0 -7
  197. /package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.js → AnalyticsTimePeriodReq.js} +0 -0
  198. /package/dist/cjs/api/resources/operations/resources/{operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js → departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.js} +0 -0
  199. /package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListEntriesRemove1.js → OperationsTaskListReorderEntries1.js} +0 -0
  200. /package/dist/cjs/api/{types/AnalyticsTimeBucketResponse.js → resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.js} +0 -0
  201. /package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.mjs → AnalyticsTimePeriodReq.mjs} +0 -0
  202. /package/dist/esm/api/resources/operations/resources/{operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.mjs} +0 -0
  203. /package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/{OperationsTaskListEntriesRemove1.mjs → OperationsTaskListReorderEntries1.mjs} +0 -0
  204. /package/dist/esm/api/{types/AnalyticsTimeBucketResponse.mjs → resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListSetEntries1.mjs} +0 -0
@@ -18,11 +18,10 @@ import * as Chrt from "../../../../../../../../index.js";
18
18
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
19
19
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
20
20
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
22
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
23
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
22
24
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
23
- * filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
- * filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
- * filter_order_cancelled: true,
26
25
  * filter_executor_org_id: "filter_executor_org_id",
27
26
  * filter_shipper_org_id: "filter_shipper_org_id",
28
27
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
@@ -46,11 +45,10 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
46
45
  filter_in_progress_at_timestamp_gte?: string | null;
47
46
  filter_completed_at_timestamp_lte?: string | null;
48
47
  filter_completed_at_timestamp_gte?: string | null;
48
+ filter_cancelled_at_timestamp_lte?: string | null;
49
+ filter_cancelled_at_timestamp_gte?: string | null;
49
50
  filter_exception_at_timestamp_lte?: string | null;
50
51
  filter_exception_at_timestamp_gte?: string | null;
51
- filter_order_cancelled_at_timestamp_lte?: string | null;
52
- filter_order_cancelled_at_timestamp_gte?: string | null;
53
- filter_order_cancelled?: boolean | null;
54
52
  filter_executor_org_id?: string | null;
55
53
  filter_shipper_org_id?: string | null;
56
54
  filter_off_chrt_shipper_org_id?: string | null;
@@ -18,11 +18,10 @@ import * as Chrt from "../../../../../../../../index.js";
18
18
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
19
19
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
20
20
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
22
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
23
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
22
24
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
23
- * filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
- * filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
- * filter_order_cancelled: true,
26
25
  * filter_executor_org_id: "filter_executor_org_id",
27
26
  * filter_coordinator_org_id: "filter_coordinator_org_id",
28
27
  * body: {}
@@ -45,11 +44,10 @@ export interface ExpandedListForShipperOperatorsV1Request {
45
44
  filter_in_progress_at_timestamp_gte?: string | null;
46
45
  filter_completed_at_timestamp_lte?: string | null;
47
46
  filter_completed_at_timestamp_gte?: string | null;
47
+ filter_cancelled_at_timestamp_lte?: string | null;
48
+ filter_cancelled_at_timestamp_gte?: string | null;
48
49
  filter_exception_at_timestamp_lte?: string | null;
49
50
  filter_exception_at_timestamp_gte?: string | null;
50
- filter_order_cancelled_at_timestamp_lte?: string | null;
51
- filter_order_cancelled_at_timestamp_gte?: string | null;
52
- filter_order_cancelled?: boolean | null;
53
51
  filter_executor_org_id?: string | null;
54
52
  filter_coordinator_org_id?: string | null;
55
53
  body: Chrt.OrderAndTaskGroupExpandedReq;
@@ -112,7 +112,7 @@ export declare class TaskGroups {
112
112
  addExecutorV1(taskGroupId: string, request?: Chrt.shipping.AddExecutorReq, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
113
113
  private __addExecutorV1;
114
114
  /**
115
- * Clears the executor on a task group along with the assigned driver and all PPP/PPD billing attachments, returning the TG to executor-less state. Coordinator-only. PPP/PPD LineItemGroup1 and BillingLedgerPeriod1 documents stay alive (orphaned-but-alive); the (ex-)executor disposes of them via their own routes. SPP is unaffected. | authz_personas=[coordinator_org_operators] | () -> (bool)
115
+ * Clears the executor and assigned driver on a task group. Refuses while PPP or PPD billing is attached; detach billing explicitly first. | authz_personas=[coordinator_org_operators] | () -> (bool)
116
116
  *
117
117
  * @param {string} taskGroupId
118
118
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -382,7 +382,7 @@ class TaskGroups {
382
382
  });
383
383
  }
384
384
  /**
385
- * Clears the executor on a task group along with the assigned driver and all PPP/PPD billing attachments, returning the TG to executor-less state. Coordinator-only. PPP/PPD LineItemGroup1 and BillingLedgerPeriod1 documents stay alive (orphaned-but-alive); the (ex-)executor disposes of them via their own routes. SPP is unaffected. | authz_personas=[coordinator_org_operators] | () -> (bool)
385
+ * Clears the executor and assigned driver on a task group. Refuses while PPP or PPD billing is attached; detach billing explicitly first. | authz_personas=[coordinator_org_operators] | () -> (bool)
386
386
  *
387
387
  * @param {string} taskGroupId
388
388
  * @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -111,9 +111,10 @@ export declare class Expanded {
111
111
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
112
112
  * filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
113
113
  * filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
114
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
115
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
114
116
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
115
117
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
116
- * filter_order_cancelled: true,
117
118
  * filter_driver_id: "filter_driver_id",
118
119
  * filter_coordinator_org_id: "filter_coordinator_org_id",
119
120
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -148,9 +149,10 @@ export declare class Expanded {
148
149
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
149
150
  * filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
150
151
  * filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
152
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
153
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
151
154
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
152
155
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
153
- * filter_order_cancelled: true,
154
156
  * filter_coordinator_org_id: "filter_coordinator_org_id",
155
157
  * filter_shipper_org_id: "filter_shipper_org_id",
156
158
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
@@ -332,9 +332,10 @@ class Expanded {
332
332
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
333
333
  * filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
334
334
  * filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
335
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
336
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
335
337
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
336
338
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
337
- * filter_order_cancelled: true,
338
339
  * filter_driver_id: "filter_driver_id",
339
340
  * filter_coordinator_org_id: "filter_coordinator_org_id",
340
341
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -347,8 +348,8 @@ class Expanded {
347
348
  }
348
349
  __listForExecutorOperatorsV1(request, requestOptions) {
349
350
  return __awaiter(this, void 0, void 0, function* () {
350
- var _a, _b, _c, _d, _e, _f, _g;
351
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_order_cancelled: filterOrderCancelled, filter_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
351
+ var _a, _b, _c, _d, _e, _f;
352
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
352
353
  const _queryParams = {};
353
354
  if (sortBy !== undefined) {
354
355
  _queryParams["sort_by"] = sortBy;
@@ -403,15 +404,18 @@ class Expanded {
403
404
  if (filterSkippedAtTimestampGte !== undefined) {
404
405
  _queryParams["filter_skipped_at_timestamp_gte"] = filterSkippedAtTimestampGte;
405
406
  }
407
+ if (filterCancelledAtTimestampLte !== undefined) {
408
+ _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
409
+ }
410
+ if (filterCancelledAtTimestampGte !== undefined) {
411
+ _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
412
+ }
406
413
  if (filterExceptionAtTimestampLte !== undefined) {
407
414
  _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
408
415
  }
409
416
  if (filterExceptionAtTimestampGte !== undefined) {
410
417
  _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
411
418
  }
412
- if (filterOrderCancelled !== undefined) {
413
- _queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
414
- }
415
419
  if (filterDriverId !== undefined) {
416
420
  _queryParams["filter_driver_id"] = filterDriverId;
417
421
  }
@@ -424,9 +428,9 @@ class Expanded {
424
428
  if (filterOffChrtShipperOrgId !== undefined) {
425
429
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
426
430
  }
427
- let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
428
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
429
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/task_groups/expanded/list/for_executor_operators/v1"),
431
+ let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
432
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
433
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/task_groups/expanded/list/for_executor_operators/v1"),
430
434
  method: "POST",
431
435
  headers: _headers,
432
436
  contentType: "application/json",
@@ -494,9 +498,10 @@ class Expanded {
494
498
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
495
499
  * filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
496
500
  * filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
501
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
502
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
497
503
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
498
504
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
499
- * filter_order_cancelled: true,
500
505
  * filter_coordinator_org_id: "filter_coordinator_org_id",
501
506
  * filter_shipper_org_id: "filter_shipper_org_id",
502
507
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
@@ -508,8 +513,8 @@ class Expanded {
508
513
  }
509
514
  __listForDriverForExecutorV1(request, requestOptions) {
510
515
  return __awaiter(this, void 0, void 0, function* () {
511
- var _a, _b, _c, _d, _e, _f, _g;
512
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_order_cancelled: filterOrderCancelled, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
516
+ var _a, _b, _c, _d, _e, _f;
517
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
513
518
  const _queryParams = {};
514
519
  if (sortBy !== undefined) {
515
520
  _queryParams["sort_by"] = sortBy;
@@ -564,15 +569,18 @@ class Expanded {
564
569
  if (filterSkippedAtTimestampGte !== undefined) {
565
570
  _queryParams["filter_skipped_at_timestamp_gte"] = filterSkippedAtTimestampGte;
566
571
  }
572
+ if (filterCancelledAtTimestampLte !== undefined) {
573
+ _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
574
+ }
575
+ if (filterCancelledAtTimestampGte !== undefined) {
576
+ _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
577
+ }
567
578
  if (filterExceptionAtTimestampLte !== undefined) {
568
579
  _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
569
580
  }
570
581
  if (filterExceptionAtTimestampGte !== undefined) {
571
582
  _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
572
583
  }
573
- if (filterOrderCancelled !== undefined) {
574
- _queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
575
- }
576
584
  if (filterCoordinatorOrgId !== undefined) {
577
585
  _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
578
586
  }
@@ -582,9 +590,9 @@ class Expanded {
582
590
  if (filterOffChrtShipperOrgId !== undefined) {
583
591
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
584
592
  }
585
- let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
586
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
587
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/task_groups/expanded/list/for_driver_for_executor/v1"),
593
+ let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
594
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
595
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/task_groups/expanded/list/for_driver_for_executor/v1"),
588
596
  method: "POST",
589
597
  headers: _headers,
590
598
  contentType: "application/json",
@@ -20,9 +20,10 @@ import * as Chrt from "../../../../../../../../index.js";
20
20
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
21
  * filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
22
22
  * filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
23
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
23
25
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
26
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
- * filter_order_cancelled: true,
26
27
  * filter_coordinator_org_id: "filter_coordinator_org_id",
27
28
  * filter_shipper_org_id: "filter_shipper_org_id",
28
29
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
@@ -48,9 +49,10 @@ export interface ExpandedListForDriverForExecutorV1Request {
48
49
  filter_completed_at_timestamp_gte?: string | null;
49
50
  filter_skipped_at_timestamp_lte?: string | null;
50
51
  filter_skipped_at_timestamp_gte?: string | null;
52
+ filter_cancelled_at_timestamp_lte?: string | null;
53
+ filter_cancelled_at_timestamp_gte?: string | null;
51
54
  filter_exception_at_timestamp_lte?: string | null;
52
55
  filter_exception_at_timestamp_gte?: string | null;
53
- filter_order_cancelled?: boolean | null;
54
56
  filter_coordinator_org_id?: string | null;
55
57
  filter_shipper_org_id?: string | null;
56
58
  filter_off_chrt_shipper_org_id?: string | null;
@@ -20,9 +20,10 @@ import * as Chrt from "../../../../../../../../index.js";
20
20
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
21
21
  * filter_skipped_at_timestamp_lte: "2024-01-15T09:30:00Z",
22
22
  * filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
23
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
23
25
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
26
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
- * filter_order_cancelled: true,
26
27
  * filter_driver_id: "filter_driver_id",
27
28
  * filter_coordinator_org_id: "filter_coordinator_org_id",
28
29
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -49,9 +50,10 @@ export interface ExpandedListForExecutorOperatorsV1Request {
49
50
  filter_completed_at_timestamp_gte?: string | null;
50
51
  filter_skipped_at_timestamp_lte?: string | null;
51
52
  filter_skipped_at_timestamp_gte?: string | null;
53
+ filter_cancelled_at_timestamp_lte?: string | null;
54
+ filter_cancelled_at_timestamp_gte?: string | null;
52
55
  filter_exception_at_timestamp_lte?: string | null;
53
56
  filter_exception_at_timestamp_gte?: string | null;
54
- filter_order_cancelled?: boolean | null;
55
57
  filter_driver_id?: string | null;
56
58
  filter_coordinator_org_id?: string | null;
57
59
  filter_shipper_org_id?: string | null;
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
- export interface AnalyticsTimeBucketResponse {
5
+ export interface AnalyticsTimeBucketRes {
6
6
  buckets: Chrt.TimeBucket[];
7
7
  total: number;
8
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 });
@@ -30,5 +30,6 @@ export interface Cargo1 {
30
30
  in_transit_at_timestamp?: string | null;
31
31
  delivered_at_timestamp?: string | null;
32
32
  skipped_at_timestamp?: string | null;
33
+ cancelled_at_timestamp?: string | null;
33
34
  exception_at_timestamp?: string | null;
34
35
  }
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CargoStatusEnum1 = "draft" | "staged" | "in_transit" | "delivered" | "skipped" | "exception";
4
+ export type CargoStatusEnum1 = "draft" | "staged" | "in_transit" | "delivered" | "skipped" | "cancelled" | "exception";
5
5
  export declare const CargoStatusEnum1: {
6
6
  readonly Draft: "draft";
7
7
  readonly Staged: "staged";
8
8
  readonly InTransit: "in_transit";
9
9
  readonly Delivered: "delivered";
10
10
  readonly Skipped: "skipped";
11
+ readonly Cancelled: "cancelled";
11
12
  readonly Exception: "exception";
12
13
  };
@@ -10,5 +10,6 @@ exports.CargoStatusEnum1 = {
10
10
  InTransit: "in_transit",
11
11
  Delivered: "delivered",
12
12
  Skipped: "skipped",
13
+ Cancelled: "cancelled",
13
14
  Exception: "exception",
14
15
  };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * What an entry's `deadline_offset_seconds` is measured from.
6
+ *
7
+ * Resolved in a single forward pass at apply time (see module docstring).
8
+ */
9
+ export type DeadlineAnchorEnum = "from_first_task" | "from_previous_task";
10
+ export declare const DeadlineAnchorEnum: {
11
+ readonly FromFirstTask: "from_first_task";
12
+ readonly FromPreviousTask: "from_previous_task";
13
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DeadlineAnchorEnum = void 0;
7
+ exports.DeadlineAnchorEnum = {
8
+ FromFirstTask: "from_first_task",
9
+ FromPreviousTask: "from_previous_task",
10
+ };
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../index.js";
5
4
  export interface DepartmentRoutingRule1 {
6
5
  schema_version: number;
7
- counterparty_type: Chrt.RoutingCounterpartyTypeEnum;
8
- counterparty_id: string;
6
+ /** Must be a string starting with `org_` */
7
+ shipper_org_id?: string | null;
8
+ off_chrt_shipper_org_id?: string | null;
9
9
  department_id: string;
10
10
  _id: string;
11
11
  /** Must be a string starting with `org_` */
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface DriverStatsRes {
6
+ task_groups: Chrt.TaskGroup1[];
7
+ excluded_task_groups: Chrt.TaskGroup1[];
8
+ cleaned_task_group_duration_hours: number;
9
+ overlap_detected: boolean;
10
+ total_mileage_observed?: number | null;
11
+ }
@@ -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 });
@@ -7,17 +7,19 @@ import * as Chrt from "../index.js";
7
7
  *
8
8
  * Materialized into an `OperationsTask` on apply.
9
9
  *
10
- * `deadline_offset_seconds` is an OPTIONAL absolute offset from apply time, in
11
- * seconds. When set, the materialized task's deadline is
12
- * `apply_time + deadline_offset_seconds`. When left `None` (the default), the
13
- * entry is staggered by its position in the list at a default 20-min cadence:
14
- * the Nth entry (1-based) is due at `apply_time + N * 20min`. An apply-time
15
- * `overall_deadline_timestamp` overrides both.
10
+ * The deadline is computed from (`deadline_anchor`, `deadline_offset_seconds`):
11
+ * `FROM_FIRST_TASK` => the first entry's resolved deadline + offset;
12
+ * `FROM_PREVIOUS_TASK` => the previous entry's resolved deadline + offset (the
13
+ * first entry's "previous" is `apply_time`). The first entry itself anchors to
14
+ * `apply_time` (or the apply-time `initial_deadline_timestamp` pin). Defaults to
15
+ * `FROM_PREVIOUS_TASK` + 1200s, which reproduces the 20-min positional stagger.
16
+ * `deadline_offset_seconds` may be negative.
16
17
  */
17
18
  export interface OperationsTaskListEntry1 {
18
19
  id?: string;
19
20
  task_type: Chrt.OperationsTaskTypeEnum;
20
21
  title: string;
21
22
  description: string;
22
- deadline_offset_seconds?: number | null;
23
+ deadline_anchor?: Chrt.DeadlineAnchorEnum;
24
+ deadline_offset_seconds?: number;
23
25
  }
@@ -5,18 +5,26 @@
5
5
  * Coarse functional buckets a dispatcher batch-processes (powers the
6
6
  * per-type functional-queue index). Granular SOP specifics live in the Task's
7
7
  * `title`/`description` + `tags`, not here.
8
+ *
9
+ * Ordered roughly along the shipment lifecycle (review -> research -> book ->
10
+ * track/verify -> contact -> billing). The buckets are the distinct *modes of
11
+ * work* an operator sits down and batches; the exact SOP step (e.g. "Send
12
+ * Shipping Label", "CBC Call", "Get Pack Time") is captured in the title.
13
+ *
14
+ * Contact is split by *who* (customer, agent, airline, other), not by
15
+ * *channel* (call vs. email) — the recipient is what a dispatcher batches
16
+ * around, and the channel is a title/tag detail.
8
17
  */
9
- export type OperationsTaskTypeEnum = "review_order_details" | "book_cargo" | "dispatch_driver" | "verify_driver_readiness" | "share_instructions" | "monitor_transit" | "monitor_sla" | "call_driver" | "verify_task_artifacts" | "finalize_billing" | "custom" | "other";
18
+ export type OperationsTaskTypeEnum = "review_order_details" | "precheck" | "book_cargo" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
10
19
  export declare const OperationsTaskTypeEnum: {
11
20
  readonly ReviewOrderDetails: "review_order_details";
21
+ readonly Precheck: "precheck";
12
22
  readonly BookCargo: "book_cargo";
13
- readonly DispatchDriver: "dispatch_driver";
14
- readonly VerifyDriverReadiness: "verify_driver_readiness";
15
- readonly ShareInstructions: "share_instructions";
16
- readonly MonitorTransit: "monitor_transit";
17
- readonly MonitorSla: "monitor_sla";
18
- readonly CallDriver: "call_driver";
19
- readonly VerifyTaskArtifacts: "verify_task_artifacts";
23
+ readonly TrackAndVerify: "track_and_verify";
24
+ readonly ContactCustomer: "contact_customer";
25
+ readonly ContactAgent: "contact_agent";
26
+ readonly ContactAirline: "contact_airline";
27
+ readonly ContactOther: "contact_other";
20
28
  readonly FinalizeBilling: "finalize_billing";
21
29
  readonly Custom: "custom";
22
30
  readonly Other: "other";
@@ -6,14 +6,13 @@ 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
10
  BookCargo: "book_cargo",
10
- DispatchDriver: "dispatch_driver",
11
- VerifyDriverReadiness: "verify_driver_readiness",
12
- ShareInstructions: "share_instructions",
13
- MonitorTransit: "monitor_transit",
14
- MonitorSla: "monitor_sla",
15
- CallDriver: "call_driver",
16
- VerifyTaskArtifacts: "verify_task_artifacts",
11
+ TrackAndVerify: "track_and_verify",
12
+ ContactCustomer: "contact_customer",
13
+ ContactAgent: "contact_agent",
14
+ ContactAirline: "contact_airline",
15
+ ContactOther: "contact_other",
17
16
  FinalizeBilling: "finalize_billing",
18
17
  Custom: "custom",
19
18
  Other: "other",
@@ -27,7 +27,6 @@ export interface Order1 {
27
27
  staged_at_timestamp?: string | null;
28
28
  in_progress_at_timestamp?: string | null;
29
29
  completed_at_timestamp?: string | null;
30
+ cancelled_at_timestamp?: string | null;
30
31
  exception_at_timestamp?: string | null;
31
- order_cancelled?: boolean;
32
- order_cancelled_at_timestamp?: string | null;
33
32
  }
@@ -9,5 +9,6 @@ export interface OrderDraftValidationRequirements {
9
9
  task_groups_have_valid_task_sequence?: boolean | null;
10
10
  tasks_have_valid_cargo?: boolean | null;
11
11
  cargos_have_valid_lifecycle?: boolean | null;
12
+ order_has_shipper?: boolean | null;
12
13
  order_has_coordinator?: boolean | null;
13
14
  }
@@ -5,4 +5,5 @@ import * as Chrt from "../index.js";
5
5
  export interface OrderDraftValidationResult {
6
6
  is_valid: boolean;
7
7
  requirements: Chrt.OrderDraftValidationRequirements;
8
+ issues?: Chrt.ValidationIssue[];
8
9
  }
@@ -8,5 +8,6 @@ export interface OrderManifestValidationRequirements {
8
8
  task_groups_have_valid_task_sequence?: boolean | null;
9
9
  tasks_have_valid_cargo?: boolean | null;
10
10
  cargos_have_valid_lifecycle?: boolean | null;
11
+ order_has_shipper?: boolean | null;
11
12
  order_has_coordinator?: boolean | null;
12
13
  }
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "exception_at_timestamp" | "order_cancelled_at_timestamp";
4
+ export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
5
  export declare const OrderSortByEnum: {
6
6
  readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
7
7
  readonly StagedAtTimestamp: "staged_at_timestamp";
8
8
  readonly InProgressAtTimestamp: "in_progress_at_timestamp";
9
9
  readonly CompletedAtTimestamp: "completed_at_timestamp";
10
+ readonly CancelledAtTimestamp: "cancelled_at_timestamp";
10
11
  readonly ExceptionAtTimestamp: "exception_at_timestamp";
11
- readonly OrderCancelledAtTimestamp: "order_cancelled_at_timestamp";
12
12
  };
@@ -9,6 +9,6 @@ exports.OrderSortByEnum = {
9
9
  StagedAtTimestamp: "staged_at_timestamp",
10
10
  InProgressAtTimestamp: "in_progress_at_timestamp",
11
11
  CompletedAtTimestamp: "completed_at_timestamp",
12
+ CancelledAtTimestamp: "cancelled_at_timestamp",
12
13
  ExceptionAtTimestamp: "exception_at_timestamp",
13
- OrderCancelledAtTimestamp: "order_cancelled_at_timestamp",
14
14
  };
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderStatusEnum1 = "draft" | "staged" | "in_progress" | "completed" | "exception";
4
+ export type OrderStatusEnum1 = "draft" | "staged" | "in_progress" | "completed" | "cancelled" | "exception";
5
5
  export declare const OrderStatusEnum1: {
6
6
  readonly Draft: "draft";
7
7
  readonly Staged: "staged";
8
8
  readonly InProgress: "in_progress";
9
9
  readonly Completed: "completed";
10
+ readonly Cancelled: "cancelled";
10
11
  readonly Exception: "exception";
11
12
  };
@@ -9,5 +9,6 @@ exports.OrderStatusEnum1 = {
9
9
  Staged: "staged",
10
10
  InProgress: "in_progress",
11
11
  Completed: "completed",
12
+ Cancelled: "cancelled",
12
13
  Exception: "exception",
13
14
  };
@@ -34,6 +34,7 @@ export interface Task1 {
34
34
  completed_at_timestamp?: string | null;
35
35
  skipped_at_timestamp?: string | null;
36
36
  attempted_at_timestamp?: string | null;
37
+ cancelled_at_timestamp?: string | null;
37
38
  exception_at_timestamp?: string | null;
38
39
  wait_time_start_timestamp?: string | null;
39
40
  wait_time_end_timestamp?: string | null;
@@ -41,7 +42,6 @@ export interface Task1 {
41
42
  wait_time_validated?: boolean | null;
42
43
  /** Must be a string starting with `user_` */
43
44
  wait_time_validated_by_user_id?: string | null;
44
- order_cancelled?: boolean;
45
45
  }
46
46
  export declare namespace Task1 {
47
47
  type Action = Chrt.ChrtGroundProviderTaskActionEnum1 | Chrt.CargoOnFlightTaskActionEnum1 | Chrt.OnboardCourierTaskActionEnum1;
@@ -33,5 +33,6 @@ export interface TaskArtifact1 {
33
33
  staged_at_timestamp?: string | null;
34
34
  completed_at_timestamp?: string | null;
35
35
  skipped_at_timestamp?: string | null;
36
+ cancelled_at_timestamp?: string | null;
36
37
  exception_at_timestamp?: string | null;
37
38
  }
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TaskArtifactStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "exception";
4
+ export type TaskArtifactStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "cancelled" | "exception";
5
5
  export declare const TaskArtifactStatusEnum1: {
6
6
  readonly Draft: "draft";
7
7
  readonly Staged: "staged";
8
8
  readonly Completed: "completed";
9
9
  readonly Skipped: "skipped";
10
+ readonly Cancelled: "cancelled";
10
11
  readonly Exception: "exception";
11
12
  };
@@ -9,5 +9,6 @@ exports.TaskArtifactStatusEnum1 = {
9
9
  Staged: "staged",
10
10
  Completed: "completed",
11
11
  Skipped: "skipped",
12
+ Cancelled: "cancelled",
12
13
  Exception: "exception",
13
14
  };
@@ -28,12 +28,12 @@ export interface TaskGroup1 {
28
28
  driver_id?: string | null;
29
29
  task_group_s3_object_metadata_ids?: string[];
30
30
  status?: Chrt.TaskGroupStatusEnum1;
31
- order_cancelled?: boolean;
32
31
  draft_started_at_timestamp: string;
33
32
  staged_at_timestamp?: string | null;
34
33
  in_progress_at_timestamp?: string | null;
35
34
  completed_at_timestamp?: string | null;
36
35
  skipped_at_timestamp?: string | null;
36
+ cancelled_at_timestamp?: string | null;
37
37
  exception_at_timestamp?: string | null;
38
38
  task_group_type: Chrt.TaskGroupTypeEnum1;
39
39
  vehicle_type?: Chrt.VehicleTypeEnum | null;