@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
@@ -4,14 +4,19 @@
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface OperationsTask1 {
6
6
  schema_version: number;
7
- case_id: string;
7
+ order_id: string;
8
+ task_type: Chrt.OperationsTaskTypeEnum;
8
9
  title: string;
9
10
  description: string;
10
11
  deadline_timestamp?: string;
12
+ tags?: string[];
13
+ assigned_user_ids?: string[];
11
14
  _id: string;
12
15
  /** Must be a string starting with `org_` */
13
16
  org_id: string;
14
- completed?: boolean;
17
+ department_id?: string | null;
18
+ source_task_list_id?: string | null;
19
+ status?: Chrt.OperationsTaskStatusEnum;
15
20
  completed_at_timestamp?: string | null;
16
21
  /** Must be a string starting with `user_` */
17
22
  completed_by_user_id?: string | null;
@@ -2,11 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export interface Checklist1 {
5
+ export interface OperationsTaskList1 {
6
6
  schema_version: number;
7
7
  name: string;
8
8
  description?: string | null;
9
- checks?: Chrt.ChecklistCheck1[];
9
+ tags?: string[];
10
+ entries?: Chrt.OperationsTaskListEntry1[];
10
11
  _id: string;
11
12
  /** Must be a string starting with `org_` */
12
13
  org_id: string;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ /**
6
+ * One task declared in a Task List.
7
+ *
8
+ * Materialized into an `OperationsTask` on apply.
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.
16
+ */
17
+ export interface OperationsTaskListEntry1 {
18
+ id?: string;
19
+ task_type: Chrt.OperationsTaskTypeEnum;
20
+ title: string;
21
+ description: string;
22
+ deadline_offset_seconds?: number | null;
23
+ }
@@ -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.mjs";
5
- export interface ChecklistListRes {
6
- items: Chrt.Checklist1[];
5
+ export interface OperationsTaskListListRes {
6
+ items: Chrt.OperationsTaskList1[];
7
7
  total_count: number;
8
8
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Result of removing a Task List from a Case.
6
+ *
7
+ * Only untouched (`not_started`) tasks are deleted; tasks an operator has
8
+ * started, completed, or skipped are preserved and reported as `kept_count`.
9
+ */
10
+ export interface OperationsTaskListRemoveFromCaseRes1 {
11
+ deleted_count: number;
12
+ kept_count: number;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type ChecklistSortByEnum = "created_at_timestamp" | "updated_at_timestamp" | "name";
5
- export declare const ChecklistSortByEnum: {
4
+ export type OperationsTaskListSortByEnum = "created_at_timestamp" | "updated_at_timestamp" | "name";
5
+ export declare const OperationsTaskListSortByEnum: {
6
6
  readonly CreatedAtTimestamp: "created_at_timestamp";
7
7
  readonly UpdatedAtTimestamp: "updated_at_timestamp";
8
8
  readonly Name: "name";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export const ChecklistSortByEnum = {
4
+ export const OperationsTaskListSortByEnum = {
5
5
  CreatedAtTimestamp: "created_at_timestamp",
6
6
  UpdatedAtTimestamp: "updated_at_timestamp",
7
7
  Name: "name",
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Operator-driven lifecycle of an operations task.
6
+ *
7
+ * Manually driven by operators for now (no automatic transitions). Kept
8
+ * structurally parallel to the Check status model in anticipation of the
9
+ * eventual Task <-> Check merge.
10
+ */
11
+ export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped";
12
+ export declare const OperationsTaskStatusEnum: {
13
+ readonly NotStarted: "not_started";
14
+ readonly InProgress: "in_progress";
15
+ readonly Completed: "completed";
16
+ readonly Skipped: "skipped";
17
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const OperationsTaskStatusEnum = {
5
+ NotStarted: "not_started",
6
+ InProgress: "in_progress",
7
+ Completed: "completed",
8
+ Skipped: "skipped",
9
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Coarse functional buckets a dispatcher batch-processes (powers the
6
+ * per-type functional-queue index). Granular SOP specifics live in the Task's
7
+ * `title`/`description` + `tags`, not here.
8
+ */
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";
10
+ export declare const OperationsTaskTypeEnum: {
11
+ readonly ReviewOrderDetails: "review_order_details";
12
+ 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";
20
+ readonly FinalizeBilling: "finalize_billing";
21
+ readonly Custom: "custom";
22
+ readonly Other: "other";
23
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const OperationsTaskTypeEnum = {
5
+ ReviewOrderDetails: "review_order_details",
6
+ BookCargo: "book_cargo",
7
+ DispatchDriver: "dispatch_driver",
8
+ VerifyDriverReadiness: "verify_driver_readiness",
9
+ ShareInstructions: "share_instructions",
10
+ MonitorTransit: "monitor_transit",
11
+ MonitorSla: "monitor_sla",
12
+ CallDriver: "call_driver",
13
+ VerifyTaskArtifacts: "verify_task_artifacts",
14
+ FinalizeBilling: "finalize_billing",
15
+ Custom: "custom",
16
+ Other: "other",
17
+ };
@@ -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
  }
@@ -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
  };
@@ -6,6 +6,6 @@ export const OrderSortByEnum = {
6
6
  StagedAtTimestamp: "staged_at_timestamp",
7
7
  InProgressAtTimestamp: "in_progress_at_timestamp",
8
8
  CompletedAtTimestamp: "completed_at_timestamp",
9
+ CancelledAtTimestamp: "cancelled_at_timestamp",
9
10
  ExceptionAtTimestamp: "exception_at_timestamp",
10
- OrderCancelledAtTimestamp: "order_cancelled_at_timestamp",
11
11
  };
@@ -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
  };
@@ -6,5 +6,6 @@ export const OrderStatusEnum1 = {
6
6
  Staged: "staged",
7
7
  InProgress: "in_progress",
8
8
  Completed: "completed",
9
+ Cancelled: "cancelled",
9
10
  Exception: "exception",
10
11
  };
@@ -3,7 +3,6 @@
3
3
  */
4
4
  export interface ProviderProviderConnection1 {
5
5
  schema_version: number;
6
- department_id?: string | null;
7
6
  /** Must be a string starting with `org_` */
8
7
  coordinator_org_id: string;
9
8
  /** Must be a string starting with `org_` */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type RoutingCounterpartyTypeEnum = "shipper_org" | "off_chrt_shipper_org";
5
+ export declare const RoutingCounterpartyTypeEnum: {
6
+ readonly ShipperOrg: "shipper_org";
7
+ readonly OffChrtShipperOrg: "off_chrt_shipper_org";
8
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const RoutingCounterpartyTypeEnum = {
5
+ ShipperOrg: "shipper_org",
6
+ OffChrtShipperOrg: "off_chrt_shipper_org",
7
+ };
@@ -3,7 +3,6 @@
3
3
  */
4
4
  export interface ShipperProviderConnection1 {
5
5
  schema_version: number;
6
- department_id?: string | null;
7
6
  /** Must be a string starting with `org_` */
8
7
  shipper_org_id: string;
9
8
  /** Must be a string starting with `org_` */
@@ -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
  };
@@ -6,5 +6,6 @@ export const TaskArtifactStatusEnum1 = {
6
6
  Staged: "staged",
7
7
  Completed: "completed",
8
8
  Skipped: "skipped",
9
+ Cancelled: "cancelled",
9
10
  Exception: "exception",
10
11
  };
@@ -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;
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TaskGroupSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "skipped_at_timestamp" | "exception_at_timestamp";
4
+ export type TaskGroupSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "skipped_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
5
5
  export declare const TaskGroupSortByEnum: {
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
10
  readonly SkippedAtTimestamp: "skipped_at_timestamp";
11
+ readonly CancelledAtTimestamp: "cancelled_at_timestamp";
11
12
  readonly ExceptionAtTimestamp: "exception_at_timestamp";
12
13
  };
@@ -7,5 +7,6 @@ export const TaskGroupSortByEnum = {
7
7
  InProgressAtTimestamp: "in_progress_at_timestamp",
8
8
  CompletedAtTimestamp: "completed_at_timestamp",
9
9
  SkippedAtTimestamp: "skipped_at_timestamp",
10
+ CancelledAtTimestamp: "cancelled_at_timestamp",
10
11
  ExceptionAtTimestamp: "exception_at_timestamp",
11
12
  };
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TaskGroupStatusEnum1 = "draft" | "staged" | "in_progress" | "completed" | "skipped" | "exception";
4
+ export type TaskGroupStatusEnum1 = "draft" | "staged" | "in_progress" | "completed" | "skipped" | "cancelled" | "exception";
5
5
  export declare const TaskGroupStatusEnum1: {
6
6
  readonly Draft: "draft";
7
7
  readonly Staged: "staged";
8
8
  readonly InProgress: "in_progress";
9
9
  readonly Completed: "completed";
10
10
  readonly Skipped: "skipped";
11
+ readonly Cancelled: "cancelled";
11
12
  readonly Exception: "exception";
12
13
  };
@@ -7,5 +7,6 @@ export const TaskGroupStatusEnum1 = {
7
7
  InProgress: "in_progress",
8
8
  Completed: "completed",
9
9
  Skipped: "skipped",
10
+ Cancelled: "cancelled",
10
11
  Exception: "exception",
11
12
  };
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TaskStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "attempt" | "exception";
4
+ export type TaskStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "attempt" | "cancelled" | "exception";
5
5
  export declare const TaskStatusEnum1: {
6
6
  readonly Draft: "draft";
7
7
  readonly Staged: "staged";
8
8
  readonly Completed: "completed";
9
9
  readonly Skipped: "skipped";
10
10
  readonly Attempt: "attempt";
11
+ readonly Cancelled: "cancelled";
11
12
  readonly Exception: "exception";
12
13
  };
@@ -7,5 +7,6 @@ export const TaskStatusEnum1 = {
7
7
  Completed: "completed",
8
8
  Skipped: "skipped",
9
9
  Attempt: "attempt",
10
+ Cancelled: "cancelled",
10
11
  Exception: "exception",
11
12
  };
@@ -1,5 +1,5 @@
1
1
  export * from "./AiImageDescription.mjs";
2
- export * from "./AnalyticsTimeBucketResponse.mjs";
2
+ export * from "./AnalyticsTimeBucketRes.mjs";
3
3
  export * from "./AttachBillingLedgerPeriodReq.mjs";
4
4
  export * from "./AttachLigToVectorClientReq.mjs";
5
5
  export * from "./Bid.mjs";
@@ -86,14 +86,10 @@ export * from "./CargojsonVolumeUnit.mjs";
86
86
  export * from "./CargojsonWeight.mjs";
87
87
  export * from "./CargojsonWeightUnit.mjs";
88
88
  export * from "./Case1.mjs";
89
- export * from "./CaseChecksDisableReq.mjs";
90
- export * from "./CaseChecksDismissReq.mjs";
91
- export * from "./CaseChecksSummary1.mjs";
92
89
  export * from "./CaseListRes.mjs";
93
90
  export * from "./CaseMessage1.mjs";
94
91
  export * from "./CaseS3ObjectMetadata1.mjs";
95
92
  export * from "./CaseSortByEnum.mjs";
96
- export * from "./CaseStatusEnum.mjs";
97
93
  export * from "./ChampAirWaybill1.mjs";
98
94
  export * from "./ChampAirWaybillStatusEnum1.mjs";
99
95
  export * from "./ChampConfirmationReceipt1.mjs";
@@ -101,13 +97,6 @@ export * from "./ChampFlightStatus1.mjs";
101
97
  export * from "./ChampFlightStatusEvent1.mjs";
102
98
  export * from "./ChampOriginAndDestination.mjs";
103
99
  export * from "./ChampQuantity.mjs";
104
- export * from "./Check1.mjs";
105
- export * from "./CheckEnum.mjs";
106
- export * from "./CheckStatusEnum.mjs";
107
- export * from "./Checklist1.mjs";
108
- export * from "./ChecklistCheck1.mjs";
109
- export * from "./ChecklistListRes.mjs";
110
- export * from "./ChecklistSortByEnum.mjs";
111
100
  export * from "./ChrtGroundProviderRateSheet1.mjs";
112
101
  export * from "./ChrtGroundProviderRateSheetListRes.mjs";
113
102
  export * from "./ChrtGroundProviderTaskActionEnum1.mjs";
@@ -120,6 +109,7 @@ export * from "./CredentialInfoRes.mjs";
120
109
  export * from "./DateTimeWindow1.mjs";
121
110
  export * from "./Department1.mjs";
122
111
  export * from "./DepartmentListRes.mjs";
112
+ export * from "./DepartmentRoutingRule1.mjs";
123
113
  export * from "./DepartmentSortByEnum.mjs";
124
114
  export * from "./DepartmentTypeEnum.mjs";
125
115
  export * from "./DeviceExpandedRes.mjs";
@@ -138,6 +128,7 @@ export * from "./DriverComplianceDocument1.mjs";
138
128
  export * from "./DriverComplianceDocumentS3ObjectMetadata1.mjs";
139
129
  export * from "./DriverComplianceDocumentTypeEnum1.mjs";
140
130
  export * from "./DriverListRes.mjs";
131
+ export * from "./DriverStatsRes.mjs";
141
132
  export * from "./DriverStatusEnum.mjs";
142
133
  export * from "./DriverUpdateAvailabilityReq.mjs";
143
134
  export * from "./DriverUpdateRes.mjs";
@@ -210,8 +201,15 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
210
201
  export * from "./OperationsCaseS3ObjectAddedWebhookPayload.mjs";
211
202
  export * from "./OperationsTask1.mjs";
212
203
  export * from "./OperationsTaskComment1.mjs";
204
+ export * from "./OperationsTaskList1.mjs";
205
+ export * from "./OperationsTaskListEntry1.mjs";
206
+ export * from "./OperationsTaskListListRes.mjs";
207
+ export * from "./OperationsTaskListRemoveFromCaseRes1.mjs";
213
208
  export * from "./OperationsTaskListRes.mjs";
209
+ export * from "./OperationsTaskListSortByEnum.mjs";
214
210
  export * from "./OperationsTaskSortByEnum.mjs";
211
+ export * from "./OperationsTaskStatusEnum.mjs";
212
+ export * from "./OperationsTaskTypeEnum.mjs";
215
213
  export * from "./Order1.mjs";
216
214
  export * from "./OrderAndTaskGroupExpandedReq.mjs";
217
215
  export * from "./OrderBuilderPrecheckRes.mjs";
@@ -274,6 +272,7 @@ export * from "./ProviderOrgProfile1.mjs";
274
272
  export * from "./ProviderProviderConnection1.mjs";
275
273
  export * from "./RateSheetMapping1.mjs";
276
274
  export * from "./RateSheetMappingListRes.mjs";
275
+ export * from "./RoutingCounterpartyTypeEnum.mjs";
277
276
  export * from "./ScanPayloadKindEnum.mjs";
278
277
  export * from "./ScheduleCalendarSpec.mjs";
279
278
  export * from "./ScheduleIntervalSpec.mjs";
@@ -1,5 +1,5 @@
1
1
  export * from "./AiImageDescription.mjs";
2
- export * from "./AnalyticsTimeBucketResponse.mjs";
2
+ export * from "./AnalyticsTimeBucketRes.mjs";
3
3
  export * from "./AttachBillingLedgerPeriodReq.mjs";
4
4
  export * from "./AttachLigToVectorClientReq.mjs";
5
5
  export * from "./Bid.mjs";
@@ -86,14 +86,10 @@ export * from "./CargojsonVolumeUnit.mjs";
86
86
  export * from "./CargojsonWeight.mjs";
87
87
  export * from "./CargojsonWeightUnit.mjs";
88
88
  export * from "./Case1.mjs";
89
- export * from "./CaseChecksDisableReq.mjs";
90
- export * from "./CaseChecksDismissReq.mjs";
91
- export * from "./CaseChecksSummary1.mjs";
92
89
  export * from "./CaseListRes.mjs";
93
90
  export * from "./CaseMessage1.mjs";
94
91
  export * from "./CaseS3ObjectMetadata1.mjs";
95
92
  export * from "./CaseSortByEnum.mjs";
96
- export * from "./CaseStatusEnum.mjs";
97
93
  export * from "./ChampAirWaybill1.mjs";
98
94
  export * from "./ChampAirWaybillStatusEnum1.mjs";
99
95
  export * from "./ChampConfirmationReceipt1.mjs";
@@ -101,13 +97,6 @@ export * from "./ChampFlightStatus1.mjs";
101
97
  export * from "./ChampFlightStatusEvent1.mjs";
102
98
  export * from "./ChampOriginAndDestination.mjs";
103
99
  export * from "./ChampQuantity.mjs";
104
- export * from "./Check1.mjs";
105
- export * from "./CheckEnum.mjs";
106
- export * from "./CheckStatusEnum.mjs";
107
- export * from "./Checklist1.mjs";
108
- export * from "./ChecklistCheck1.mjs";
109
- export * from "./ChecklistListRes.mjs";
110
- export * from "./ChecklistSortByEnum.mjs";
111
100
  export * from "./ChrtGroundProviderRateSheet1.mjs";
112
101
  export * from "./ChrtGroundProviderRateSheetListRes.mjs";
113
102
  export * from "./ChrtGroundProviderTaskActionEnum1.mjs";
@@ -120,6 +109,7 @@ export * from "./CredentialInfoRes.mjs";
120
109
  export * from "./DateTimeWindow1.mjs";
121
110
  export * from "./Department1.mjs";
122
111
  export * from "./DepartmentListRes.mjs";
112
+ export * from "./DepartmentRoutingRule1.mjs";
123
113
  export * from "./DepartmentSortByEnum.mjs";
124
114
  export * from "./DepartmentTypeEnum.mjs";
125
115
  export * from "./DeviceExpandedRes.mjs";
@@ -138,6 +128,7 @@ export * from "./DriverComplianceDocument1.mjs";
138
128
  export * from "./DriverComplianceDocumentS3ObjectMetadata1.mjs";
139
129
  export * from "./DriverComplianceDocumentTypeEnum1.mjs";
140
130
  export * from "./DriverListRes.mjs";
131
+ export * from "./DriverStatsRes.mjs";
141
132
  export * from "./DriverStatusEnum.mjs";
142
133
  export * from "./DriverUpdateAvailabilityReq.mjs";
143
134
  export * from "./DriverUpdateRes.mjs";
@@ -210,8 +201,15 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
210
201
  export * from "./OperationsCaseS3ObjectAddedWebhookPayload.mjs";
211
202
  export * from "./OperationsTask1.mjs";
212
203
  export * from "./OperationsTaskComment1.mjs";
204
+ export * from "./OperationsTaskList1.mjs";
205
+ export * from "./OperationsTaskListEntry1.mjs";
206
+ export * from "./OperationsTaskListListRes.mjs";
207
+ export * from "./OperationsTaskListRemoveFromCaseRes1.mjs";
213
208
  export * from "./OperationsTaskListRes.mjs";
209
+ export * from "./OperationsTaskListSortByEnum.mjs";
214
210
  export * from "./OperationsTaskSortByEnum.mjs";
211
+ export * from "./OperationsTaskStatusEnum.mjs";
212
+ export * from "./OperationsTaskTypeEnum.mjs";
215
213
  export * from "./Order1.mjs";
216
214
  export * from "./OrderAndTaskGroupExpandedReq.mjs";
217
215
  export * from "./OrderBuilderPrecheckRes.mjs";
@@ -274,6 +272,7 @@ export * from "./ProviderOrgProfile1.mjs";
274
272
  export * from "./ProviderProviderConnection1.mjs";
275
273
  export * from "./RateSheetMapping1.mjs";
276
274
  export * from "./RateSheetMappingListRes.mjs";
275
+ export * from "./RoutingCounterpartyTypeEnum.mjs";
277
276
  export * from "./ScanPayloadKindEnum.mjs";
278
277
  export * from "./ScheduleCalendarSpec.mjs";
279
278
  export * from "./ScheduleIntervalSpec.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.719.0";
1
+ export declare const SDK_VERSION = "1.726.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.719.0";
1
+ export const SDK_VERSION = "1.726.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.719.0",
3
+ "version": "1.726.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",