@chrt-inc/typescript-sdk 1.719.0 → 1.726.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 (337) 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/client/Client.d.ts +6 -3
  7. package/dist/cjs/api/resources/operations/client/Client.js +10 -5
  8. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +5 -125
  9. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +17 -494
  10. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +1 -0
  11. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +3 -8
  12. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -4
  13. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +76 -0
  14. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +246 -0
  15. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +19 -0
  16. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -1
  18. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +1 -1
  19. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +1 -1
  20. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -2
  21. package/dist/cjs/api/resources/operations/resources/index.js +5 -3
  22. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +181 -0
  23. package/dist/cjs/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.js +206 -75
  24. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.js +17 -0
  26. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.ts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts} +3 -2
  27. package/dist/{esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.mts → cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts} +2 -1
  28. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.ts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.ts} +2 -2
  29. package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.ts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.ts} +2 -2
  30. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +13 -0
  31. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.ts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts} +2 -2
  32. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +6 -0
  33. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.js +2 -0
  34. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.js +17 -0
  36. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +23 -5
  37. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +108 -14
  38. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +7 -2
  39. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  40. package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.ts → operationsTasks/client/requests/OperationsTaskStatusReq.d.ts} +3 -3
  41. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +15 -6
  42. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +0 -14
  44. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +0 -63
  45. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +0 -1
  46. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -1
  47. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -2
  48. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -1
  49. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -2
  50. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +17 -0
  51. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +66 -0
  52. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.ts +15 -0
  53. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +15 -0
  55. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +64 -0
  56. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.ts} +3 -3
  57. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
  58. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +57 -1
  60. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +247 -1
  61. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +13 -0
  62. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +13 -0
  63. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +2 -0
  64. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +16 -1
  65. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +65 -1
  66. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts → shipping/resources/orders/client/requests/OrdersCancelManyReq.d.ts} +3 -3
  67. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -6
  69. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +26 -34
  70. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +4 -6
  71. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +4 -6
  72. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +4 -2
  73. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +26 -18
  74. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +4 -2
  75. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +4 -2
  76. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  77. package/dist/cjs/api/types/{AnalyticsTimeBucketResponse.d.ts → AnalyticsTimeBucketRes.d.ts} +1 -1
  78. package/dist/cjs/api/types/Cargo1.d.ts +1 -0
  79. package/dist/cjs/api/types/CargoStatusEnum1.d.ts +2 -1
  80. package/dist/cjs/api/types/CargoStatusEnum1.js +1 -0
  81. package/dist/cjs/api/types/Case1.d.ts +1 -12
  82. package/dist/cjs/api/types/CaseSortByEnum.d.ts +1 -2
  83. package/dist/cjs/api/types/CaseSortByEnum.js +0 -1
  84. package/dist/cjs/api/types/Department1.d.ts +1 -0
  85. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
  86. package/dist/cjs/api/types/DepartmentTypeEnum.d.ts +10 -10
  87. package/dist/cjs/api/types/DepartmentTypeEnum.js +9 -9
  88. package/dist/cjs/api/types/DriverStatsRes.d.ts +11 -0
  89. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -1
  90. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -1
  91. package/dist/cjs/api/types/OperationsTask1.d.ts +7 -2
  92. package/dist/cjs/api/types/{Checklist1.d.ts → OperationsTaskList1.d.ts} +3 -2
  93. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +23 -0
  94. package/dist/cjs/api/types/{ChecklistListRes.d.ts → OperationsTaskListListRes.d.ts} +2 -2
  95. package/dist/cjs/api/types/OperationsTaskListListRes.js +5 -0
  96. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +13 -0
  97. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.js +5 -0
  98. package/dist/{esm/api/types/ChecklistSortByEnum.d.mts → cjs/api/types/OperationsTaskListSortByEnum.d.ts} +2 -2
  99. package/dist/cjs/api/types/{ChecklistSortByEnum.js → OperationsTaskListSortByEnum.js} +2 -2
  100. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +17 -0
  101. package/dist/cjs/api/types/{CheckStatusEnum.js → OperationsTaskStatusEnum.js} +4 -7
  102. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +23 -0
  103. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +20 -0
  104. package/dist/cjs/api/types/Order1.d.ts +1 -2
  105. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  106. package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
  107. package/dist/cjs/api/types/OrderSortByEnum.d.ts +2 -2
  108. package/dist/cjs/api/types/OrderSortByEnum.js +1 -1
  109. package/dist/cjs/api/types/OrderStatusEnum1.d.ts +2 -1
  110. package/dist/cjs/api/types/OrderStatusEnum1.js +1 -0
  111. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +0 -1
  112. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +8 -0
  113. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +10 -0
  114. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +0 -1
  115. package/dist/cjs/api/types/Task1.d.ts +1 -1
  116. package/dist/cjs/api/types/TaskArtifact1.d.ts +1 -0
  117. package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +2 -1
  118. package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +1 -0
  119. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
  120. package/dist/cjs/api/types/TaskGroupSortByEnum.d.ts +2 -1
  121. package/dist/cjs/api/types/TaskGroupSortByEnum.js +1 -0
  122. package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +2 -1
  123. package/dist/cjs/api/types/TaskGroupStatusEnum1.js +1 -0
  124. package/dist/cjs/api/types/TaskStatusEnum1.d.ts +2 -1
  125. package/dist/cjs/api/types/TaskStatusEnum1.js +1 -0
  126. package/dist/cjs/api/types/index.d.ts +11 -12
  127. package/dist/cjs/api/types/index.js +11 -12
  128. package/dist/cjs/version.d.ts +1 -1
  129. package/dist/cjs/version.js +1 -1
  130. package/dist/esm/Client.mjs +2 -2
  131. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.d.mts +3 -3
  132. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
  133. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.mts → AnalyticsTimePeriodReq.d.mts} +1 -1
  134. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/index.d.mts +1 -1
  135. package/dist/esm/api/resources/operations/client/Client.d.mts +6 -3
  136. package/dist/esm/api/resources/operations/client/Client.mjs +8 -3
  137. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +5 -125
  138. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +17 -494
  139. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +1 -0
  140. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +3 -8
  141. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -4
  142. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +76 -0
  143. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +209 -0
  144. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +19 -0
  145. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
  146. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -1
  147. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -1
  148. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +1 -1
  149. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -2
  150. package/dist/esm/api/resources/operations/resources/index.mjs +4 -2
  151. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +181 -0
  152. package/dist/esm/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.mjs +204 -73
  153. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.d.mts +2 -0
  154. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.mjs +1 -0
  155. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.mts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts} +3 -2
  156. package/dist/{cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.ts → esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts} +2 -1
  157. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.mts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.mts} +2 -2
  158. package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.mts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.mts} +2 -2
  159. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +13 -0
  160. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.mts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts} +2 -2
  161. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +6 -0
  162. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.mjs +1 -0
  163. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.d.mts +1 -0
  164. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.mjs +1 -0
  165. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +23 -5
  166. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +108 -14
  167. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +7 -2
  168. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  169. package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.mts → operationsTasks/client/requests/OperationsTaskStatusReq.d.mts} +3 -3
  170. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +15 -6
  171. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  172. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +0 -14
  173. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +0 -63
  174. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +0 -1
  175. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -1
  176. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -2
  177. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -1
  178. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -2
  179. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +17 -0
  180. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +66 -0
  181. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.mts +15 -0
  182. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  183. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +15 -0
  184. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +64 -0
  185. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.mts} +3 -3
  186. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
  187. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +1 -0
  188. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +57 -1
  189. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +247 -1
  190. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +13 -0
  191. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +13 -0
  192. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +2 -0
  193. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +16 -1
  194. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +65 -1
  195. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts → shipping/resources/orders/client/requests/OrdersCancelManyReq.d.mts} +3 -3
  196. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -0
  197. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -6
  198. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +26 -34
  199. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +4 -6
  200. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +4 -6
  201. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +4 -2
  202. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +26 -18
  203. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +4 -2
  204. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +4 -2
  205. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  206. package/dist/esm/api/types/{AnalyticsTimeBucketResponse.d.mts → AnalyticsTimeBucketRes.d.mts} +1 -1
  207. package/dist/esm/api/types/Cargo1.d.mts +1 -0
  208. package/dist/esm/api/types/CargoStatusEnum1.d.mts +2 -1
  209. package/dist/esm/api/types/CargoStatusEnum1.mjs +1 -0
  210. package/dist/esm/api/types/Case1.d.mts +1 -12
  211. package/dist/esm/api/types/CaseSortByEnum.d.mts +1 -2
  212. package/dist/esm/api/types/CaseSortByEnum.mjs +0 -1
  213. package/dist/esm/api/types/Department1.d.mts +1 -0
  214. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
  215. package/dist/esm/api/types/DepartmentTypeEnum.d.mts +10 -10
  216. package/dist/esm/api/types/DepartmentTypeEnum.mjs +9 -9
  217. package/dist/esm/api/types/DriverStatsRes.d.mts +11 -0
  218. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -1
  219. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -1
  220. package/dist/esm/api/types/OperationsTask1.d.mts +7 -2
  221. package/dist/esm/api/types/{Checklist1.d.mts → OperationsTaskList1.d.mts} +3 -2
  222. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +23 -0
  223. package/dist/esm/api/types/{ChecklistListRes.d.mts → OperationsTaskListListRes.d.mts} +2 -2
  224. package/dist/esm/api/types/OperationsTaskListListRes.mjs +4 -0
  225. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +13 -0
  226. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.mjs +4 -0
  227. package/dist/{cjs/api/types/ChecklistSortByEnum.d.ts → esm/api/types/OperationsTaskListSortByEnum.d.mts} +2 -2
  228. package/dist/esm/api/types/{ChecklistSortByEnum.mjs → OperationsTaskListSortByEnum.mjs} +1 -1
  229. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +17 -0
  230. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +9 -0
  231. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +23 -0
  232. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +17 -0
  233. package/dist/esm/api/types/Order1.d.mts +1 -2
  234. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  235. package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
  236. package/dist/esm/api/types/OrderSortByEnum.d.mts +2 -2
  237. package/dist/esm/api/types/OrderSortByEnum.mjs +1 -1
  238. package/dist/esm/api/types/OrderStatusEnum1.d.mts +2 -1
  239. package/dist/esm/api/types/OrderStatusEnum1.mjs +1 -0
  240. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +0 -1
  241. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +8 -0
  242. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +7 -0
  243. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +0 -1
  244. package/dist/esm/api/types/Task1.d.mts +1 -1
  245. package/dist/esm/api/types/TaskArtifact1.d.mts +1 -0
  246. package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +2 -1
  247. package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +1 -0
  248. package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
  249. package/dist/esm/api/types/TaskGroupSortByEnum.d.mts +2 -1
  250. package/dist/esm/api/types/TaskGroupSortByEnum.mjs +1 -0
  251. package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +2 -1
  252. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +1 -0
  253. package/dist/esm/api/types/TaskStatusEnum1.d.mts +2 -1
  254. package/dist/esm/api/types/TaskStatusEnum1.mjs +1 -0
  255. package/dist/esm/api/types/index.d.mts +11 -12
  256. package/dist/esm/api/types/index.mjs +11 -12
  257. package/dist/esm/version.d.mts +1 -1
  258. package/dist/esm/version.mjs +1 -1
  259. package/package.json +1 -1
  260. package/reference.md +816 -516
  261. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +0 -15
  262. package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +0 -150
  263. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +0 -11
  264. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +0 -5
  265. package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +0 -7
  266. package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +0 -8
  267. package/dist/cjs/api/types/CaseChecksSummary1.d.ts +0 -27
  268. package/dist/cjs/api/types/CaseStatusEnum.d.ts +0 -9
  269. package/dist/cjs/api/types/CaseStatusEnum.js +0 -11
  270. package/dist/cjs/api/types/Check1.d.ts +0 -33
  271. package/dist/cjs/api/types/CheckEnum.d.ts +0 -46
  272. package/dist/cjs/api/types/CheckEnum.js +0 -23
  273. package/dist/cjs/api/types/CheckStatusEnum.d.ts +0 -32
  274. package/dist/cjs/api/types/ChecklistCheck1.d.ts +0 -15
  275. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +0 -15
  276. package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +0 -150
  277. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +0 -11
  278. package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +0 -5
  279. package/dist/esm/api/types/CaseChecksDisableReq.d.mts +0 -7
  280. package/dist/esm/api/types/CaseChecksDismissReq.d.mts +0 -8
  281. package/dist/esm/api/types/CaseChecksSummary1.d.mts +0 -27
  282. package/dist/esm/api/types/CaseStatusEnum.d.mts +0 -9
  283. package/dist/esm/api/types/CaseStatusEnum.mjs +0 -8
  284. package/dist/esm/api/types/Check1.d.mts +0 -33
  285. package/dist/esm/api/types/CheckEnum.d.mts +0 -46
  286. package/dist/esm/api/types/CheckEnum.mjs +0 -20
  287. package/dist/esm/api/types/CheckStatusEnum.d.mts +0 -32
  288. package/dist/esm/api/types/CheckStatusEnum.mjs +0 -12
  289. package/dist/esm/api/types/ChecklistCheck1.d.mts +0 -15
  290. /package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.js → AnalyticsTimePeriodReq.js} +0 -0
  291. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.ts +0 -0
  292. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.js +0 -0
  293. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.js → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js} +0 -0
  294. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.js +0 -0
  295. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.ts +0 -0
  296. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.js +0 -0
  297. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.js} +0 -0
  298. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.js → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.js} +0 -0
  299. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.js → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js} +0 -0
  300. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.js → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.js} +0 -0
  301. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js} +0 -0
  302. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.js → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.js} +0 -0
  303. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.js → operationsTasks/client/requests/OperationsTaskStatusReq.js} +0 -0
  304. /package/dist/cjs/api/resources/{operations/resources/checklists/client/requests/ChecklistsListV1Request.js → shipping/resources/drivers/client/requests/DriverStatsReq.js} +0 -0
  305. /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.js → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.js} +0 -0
  306. /package/dist/cjs/api/{types/AnalyticsTimeBucketResponse.js → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js} +0 -0
  307. /package/dist/cjs/api/{types/CaseChecksDisableReq.js → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js} +0 -0
  308. /package/dist/cjs/api/{types/CaseChecksDismissReq.js → resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.js} +0 -0
  309. /package/dist/cjs/api/types/{CaseChecksSummary1.js → AnalyticsTimeBucketRes.js} +0 -0
  310. /package/dist/cjs/api/types/{Check1.js → DepartmentRoutingRule1.js} +0 -0
  311. /package/dist/cjs/api/types/{Checklist1.js → DriverStatsRes.js} +0 -0
  312. /package/dist/cjs/api/types/{ChecklistCheck1.js → OperationsTaskList1.js} +0 -0
  313. /package/dist/cjs/api/types/{ChecklistListRes.js → OperationsTaskListEntry1.js} +0 -0
  314. /package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.mjs → AnalyticsTimePeriodReq.mjs} +0 -0
  315. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.mts +0 -0
  316. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.mjs +0 -0
  317. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs} +0 -0
  318. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.mjs +0 -0
  319. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.mts +0 -0
  320. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.mjs +0 -0
  321. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.mjs} +0 -0
  322. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.mjs} +0 -0
  323. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs} +0 -0
  324. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.mjs} +0 -0
  325. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs} +0 -0
  326. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.mjs → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.mjs} +0 -0
  327. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.mjs → operationsTasks/client/requests/OperationsTaskStatusReq.mjs} +0 -0
  328. /package/dist/esm/api/resources/{operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs → shipping/resources/drivers/client/requests/DriverStatsReq.mjs} +0 -0
  329. /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.mjs → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.mjs} +0 -0
  330. /package/dist/esm/api/{types/AnalyticsTimeBucketResponse.mjs → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs} +0 -0
  331. /package/dist/esm/api/{types/CaseChecksDisableReq.mjs → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs} +0 -0
  332. /package/dist/esm/api/{types/CaseChecksDismissReq.mjs → resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.mjs} +0 -0
  333. /package/dist/esm/api/types/{CaseChecksSummary1.mjs → AnalyticsTimeBucketRes.mjs} +0 -0
  334. /package/dist/esm/api/types/{Check1.mjs → DepartmentRoutingRule1.mjs} +0 -0
  335. /package/dist/esm/api/types/{Checklist1.mjs → DriverStatsRes.mjs} +0 -0
  336. /package/dist/esm/api/types/{ChecklistCheck1.mjs → OperationsTaskList1.mjs} +0 -0
  337. /package/dist/esm/api/types/{ChecklistListRes.mjs → OperationsTaskListEntry1.mjs} +0 -0
@@ -204,11 +204,10 @@ class Expanded {
204
204
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
205
205
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
206
206
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
207
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
208
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
207
209
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
208
210
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
209
- * filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
210
- * filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
211
- * filter_order_cancelled: true,
212
211
  * filter_executor_org_id: "filter_executor_org_id",
213
212
  * filter_shipper_org_id: "filter_shipper_org_id",
214
213
  * filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
@@ -220,8 +219,8 @@ class Expanded {
220
219
  }
221
220
  __listForCoordinatorOperatorsV1(request, requestOptions) {
222
221
  return __awaiter(this, void 0, void 0, function* () {
223
- var _a, _b, _c, _d, _e, _f, _g;
224
- 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_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_order_cancelled_at_timestamp_lte: filterOrderCancelledAtTimestampLte, filter_order_cancelled_at_timestamp_gte: filterOrderCancelledAtTimestampGte, filter_order_cancelled: filterOrderCancelled, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
222
+ var _a, _b, _c, _d, _e, _f;
223
+ 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_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, body: _body, } = request;
225
224
  const _queryParams = {};
226
225
  if (sortBy !== undefined) {
227
226
  _queryParams["sort_by"] = sortBy;
@@ -270,21 +269,18 @@ class Expanded {
270
269
  if (filterCompletedAtTimestampGte !== undefined) {
271
270
  _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
272
271
  }
272
+ if (filterCancelledAtTimestampLte !== undefined) {
273
+ _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
274
+ }
275
+ if (filterCancelledAtTimestampGte !== undefined) {
276
+ _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
277
+ }
273
278
  if (filterExceptionAtTimestampLte !== undefined) {
274
279
  _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
275
280
  }
276
281
  if (filterExceptionAtTimestampGte !== undefined) {
277
282
  _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
278
283
  }
279
- if (filterOrderCancelledAtTimestampLte !== undefined) {
280
- _queryParams["filter_order_cancelled_at_timestamp_lte"] = filterOrderCancelledAtTimestampLte;
281
- }
282
- if (filterOrderCancelledAtTimestampGte !== undefined) {
283
- _queryParams["filter_order_cancelled_at_timestamp_gte"] = filterOrderCancelledAtTimestampGte;
284
- }
285
- if (filterOrderCancelled !== undefined) {
286
- _queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
287
- }
288
284
  if (filterExecutorOrgId !== undefined) {
289
285
  _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
290
286
  }
@@ -294,9 +290,9 @@ class Expanded {
294
290
  if (filterOffChrtShipperOrgId !== undefined) {
295
291
  _queryParams["filter_off_chrt_shipper_org_id"] = filterOffChrtShipperOrgId;
296
292
  }
297
- 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);
298
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
299
- 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/orders/expanded/list/for_coordinator_operators/v1"),
293
+ 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);
294
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
295
+ 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/orders/expanded/list/for_coordinator_operators/v1"),
300
296
  method: "POST",
301
297
  headers: _headers,
302
298
  contentType: "application/json",
@@ -362,11 +358,10 @@ class Expanded {
362
358
  * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
363
359
  * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
364
360
  * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
361
+ * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
362
+ * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
365
363
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
366
364
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
367
- * filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
368
- * filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
369
- * filter_order_cancelled: true,
370
365
  * filter_executor_org_id: "filter_executor_org_id",
371
366
  * filter_coordinator_org_id: "filter_coordinator_org_id",
372
367
  * body: {}
@@ -377,8 +372,8 @@ class Expanded {
377
372
  }
378
373
  __listForShipperOperatorsV1(request, requestOptions) {
379
374
  return __awaiter(this, void 0, void 0, function* () {
380
- var _a, _b, _c, _d, _e, _f, _g;
381
- 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_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_order_cancelled_at_timestamp_lte: filterOrderCancelledAtTimestampLte, filter_order_cancelled_at_timestamp_gte: filterOrderCancelledAtTimestampGte, filter_order_cancelled: filterOrderCancelled, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
375
+ var _a, _b, _c, _d, _e, _f;
376
+ 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_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
382
377
  const _queryParams = {};
383
378
  if (sortBy !== undefined) {
384
379
  _queryParams["sort_by"] = sortBy;
@@ -427,30 +422,27 @@ class Expanded {
427
422
  if (filterCompletedAtTimestampGte !== undefined) {
428
423
  _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
429
424
  }
425
+ if (filterCancelledAtTimestampLte !== undefined) {
426
+ _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
427
+ }
428
+ if (filterCancelledAtTimestampGte !== undefined) {
429
+ _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
430
+ }
430
431
  if (filterExceptionAtTimestampLte !== undefined) {
431
432
  _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
432
433
  }
433
434
  if (filterExceptionAtTimestampGte !== undefined) {
434
435
  _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
435
436
  }
436
- if (filterOrderCancelledAtTimestampLte !== undefined) {
437
- _queryParams["filter_order_cancelled_at_timestamp_lte"] = filterOrderCancelledAtTimestampLte;
438
- }
439
- if (filterOrderCancelledAtTimestampGte !== undefined) {
440
- _queryParams["filter_order_cancelled_at_timestamp_gte"] = filterOrderCancelledAtTimestampGte;
441
- }
442
- if (filterOrderCancelled !== undefined) {
443
- _queryParams["filter_order_cancelled"] = (_c = filterOrderCancelled === null || filterOrderCancelled === void 0 ? void 0 : filterOrderCancelled.toString()) !== null && _c !== void 0 ? _c : null;
444
- }
445
437
  if (filterExecutorOrgId !== undefined) {
446
438
  _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
447
439
  }
448
440
  if (filterCoordinatorOrgId !== undefined) {
449
441
  _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
450
442
  }
451
- 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);
452
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
453
- 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/orders/expanded/list/for_shipper_operators/v1"),
443
+ 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);
444
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
445
+ 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/orders/expanded/list/for_shipper_operators/v1"),
454
446
  method: "POST",
455
447
  headers: _headers,
456
448
  contentType: "application/json",
@@ -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;
@@ -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;
@@ -6,7 +6,7 @@ import * as Chrt from "../index.js";
6
6
  * Structured, factual description of a task-artifact image produced by an LLM.
7
7
  *
8
8
  * Stored on `TaskArtifactS3ObjectMetadata1.ai_image_description` so downstream
9
- * consumers (Q&A, search, audit, case checks) can answer questions about the
9
+ * consumers (Q&A, search, audit) can answer questions about the
10
10
  * artifact without re-sending the image. `model` records which LLM produced
11
11
  * the description; `provider` is derived from `model` so the two can never
12
12
  * disagree.
@@ -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
  }
@@ -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
  };
@@ -5,23 +5,12 @@ import * as Chrt from "../index.js";
5
5
  export interface Case1 {
6
6
  schema_version: number;
7
7
  order_id: string;
8
- /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
9
- order_ref?: string | null;
10
- order_short_id?: string | null;
11
8
  department_id?: string | null;
12
- assigned_operator_user_ids?: string[];
9
+ assigned_user_ids?: string[];
13
10
  case_s3_object_metadata_ids?: string[];
14
11
  _id: string;
15
12
  /** Must be a string starting with `org_` */
16
13
  org_id: string;
17
- status?: Chrt.CaseStatusEnum;
18
- needs_action?: boolean;
19
14
  messages?: Chrt.CaseMessage1[];
20
- enabled_check_keys?: Chrt.CheckEnum[];
21
- disabled_check_keys?: Chrt.CheckEnum[];
22
- checks?: Chrt.Check1[];
23
- checks_summary?: Chrt.CaseChecksSummary1;
24
- /** Must be a string starting with `user_` */
25
- created_by_user_id: string;
26
15
  created_at: string;
27
16
  }
@@ -1,9 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CaseSortByEnum = "created_at" | "status" | "department_id";
4
+ export type CaseSortByEnum = "created_at" | "department_id";
5
5
  export declare const CaseSortByEnum: {
6
6
  readonly CreatedAt: "created_at";
7
- readonly Status: "status";
8
7
  readonly DepartmentId: "department_id";
9
8
  };
@@ -6,6 +6,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CaseSortByEnum = void 0;
7
7
  exports.CaseSortByEnum = {
8
8
  CreatedAt: "created_at",
9
- Status: "status",
10
9
  DepartmentId: "department_id",
11
10
  };
@@ -11,6 +11,7 @@ export interface Department1 {
11
11
  _id: string;
12
12
  /** Must be a string starting with `org_` */
13
13
  org_id: string;
14
+ short_id: string;
14
15
  /** Must be a string starting with `user_` */
15
16
  created_by_user_id: string;
16
17
  created_at: string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface DepartmentRoutingRule1 {
6
+ schema_version: number;
7
+ counterparty_type: Chrt.RoutingCounterpartyTypeEnum;
8
+ counterparty_id: string;
9
+ department_id: string;
10
+ _id: string;
11
+ /** Must be a string starting with `org_` */
12
+ owner_org_id: string;
13
+ /** Must be a string starting with `user_` */
14
+ created_by_user_id: string;
15
+ created_at: string;
16
+ }
@@ -1,23 +1,23 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type DepartmentTypeEnum = "automotive" | "semiconductor" | "pharmaceutical" | "aerospace" | "agriculture" | "retail" | "manufacturing" | "energy" | "food_and_beverage" | "chemicals" | "electronics" | "healthcare" | "industrials" | "live_animals" | "life_sciences" | "radiopharma" | "general";
4
+ export type DepartmentTypeEnum = "aerospace" | "agriculture" | "automotive" | "chemicals" | "electronics" | "energy" | "food_and_beverage" | "general" | "healthcare" | "industrials" | "life_sciences" | "live_animals" | "manufacturing" | "pharmaceutical" | "radiopharma" | "retail" | "semiconductor";
5
5
  export declare const DepartmentTypeEnum: {
6
- readonly Automotive: "automotive";
7
- readonly Semiconductor: "semiconductor";
8
- readonly Pharmaceutical: "pharmaceutical";
9
6
  readonly Aerospace: "aerospace";
10
7
  readonly Agriculture: "agriculture";
11
- readonly Retail: "retail";
12
- readonly Manufacturing: "manufacturing";
13
- readonly Energy: "energy";
14
- readonly FoodAndBeverage: "food_and_beverage";
8
+ readonly Automotive: "automotive";
15
9
  readonly Chemicals: "chemicals";
16
10
  readonly Electronics: "electronics";
11
+ readonly Energy: "energy";
12
+ readonly FoodAndBeverage: "food_and_beverage";
13
+ readonly General: "general";
17
14
  readonly Healthcare: "healthcare";
18
15
  readonly Industrials: "industrials";
19
- readonly LiveAnimals: "live_animals";
20
16
  readonly LifeSciences: "life_sciences";
17
+ readonly LiveAnimals: "live_animals";
18
+ readonly Manufacturing: "manufacturing";
19
+ readonly Pharmaceutical: "pharmaceutical";
21
20
  readonly Radiopharma: "radiopharma";
22
- readonly General: "general";
21
+ readonly Retail: "retail";
22
+ readonly Semiconductor: "semiconductor";
23
23
  };
@@ -5,21 +5,21 @@
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DepartmentTypeEnum = void 0;
7
7
  exports.DepartmentTypeEnum = {
8
- Automotive: "automotive",
9
- Semiconductor: "semiconductor",
10
- Pharmaceutical: "pharmaceutical",
11
8
  Aerospace: "aerospace",
12
9
  Agriculture: "agriculture",
13
- Retail: "retail",
14
- Manufacturing: "manufacturing",
15
- Energy: "energy",
16
- FoodAndBeverage: "food_and_beverage",
10
+ Automotive: "automotive",
17
11
  Chemicals: "chemicals",
18
12
  Electronics: "electronics",
13
+ Energy: "energy",
14
+ FoodAndBeverage: "food_and_beverage",
15
+ General: "general",
19
16
  Healthcare: "healthcare",
20
17
  Industrials: "industrials",
21
- LiveAnimals: "live_animals",
22
18
  LifeSciences: "life_sciences",
19
+ LiveAnimals: "live_animals",
20
+ Manufacturing: "manufacturing",
21
+ Pharmaceutical: "pharmaceutical",
23
22
  Radiopharma: "radiopharma",
24
- General: "general",
23
+ Retail: "retail",
24
+ Semiconductor: "semiconductor",
25
25
  };
@@ -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
+ }
@@ -6,7 +6,6 @@ export interface OffChrtProviderOrg1 {
6
6
  schema_version: number;
7
7
  company_name?: string | null;
8
8
  industry?: string | null;
9
- department_id?: string | null;
10
9
  street_address?: Chrt.LocationFeature | null;
11
10
  contact_first_name?: string | null;
12
11
  contact_last_name?: string | null;
@@ -6,7 +6,6 @@ export interface OffChrtShipperOrg1 {
6
6
  schema_version: number;
7
7
  company_name?: string | null;
8
8
  industry?: string | null;
9
- department_id?: string | null;
10
9
  street_address?: Chrt.LocationFeature | null;
11
10
  contact_first_name?: string | null;
12
11
  contact_last_name?: string | null;