@chrt-inc/typescript-sdk 1.718.0 → 1.723.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 (235) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/operations/client/Client.d.ts +6 -3
  3. package/dist/cjs/api/resources/operations/client/Client.js +10 -5
  4. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +5 -125
  5. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +17 -494
  6. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +1 -0
  7. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +3 -8
  8. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -4
  9. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +76 -0
  10. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +246 -0
  11. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +19 -0
  12. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -1
  14. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +6 -6
  15. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +2 -2
  16. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -2
  17. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -2
  18. package/dist/cjs/api/resources/operations/resources/index.js +5 -3
  19. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +181 -0
  20. package/dist/cjs/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.js +206 -75
  21. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.js +17 -0
  23. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.ts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts} +3 -2
  24. 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
  25. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.ts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.ts} +2 -2
  26. package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.ts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.ts} +2 -2
  27. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +13 -0
  28. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.ts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts} +2 -2
  29. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +6 -0
  30. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.js +2 -0
  31. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.js +17 -0
  33. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +23 -5
  34. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +108 -14
  35. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +7 -2
  36. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  37. package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.ts → operationsTasks/client/requests/OperationsTaskStatusReq.d.ts} +3 -3
  38. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +15 -6
  39. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +0 -14
  41. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +0 -63
  42. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +0 -1
  43. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -1
  44. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -2
  45. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -1
  46. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -2
  47. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
  48. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  49. package/dist/cjs/api/types/Case1.d.ts +1 -12
  50. package/dist/cjs/api/types/CaseSortByEnum.d.ts +1 -2
  51. package/dist/cjs/api/types/CaseSortByEnum.js +0 -1
  52. package/dist/cjs/api/types/Department1.d.ts +2 -1
  53. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
  54. package/dist/cjs/api/types/DepartmentSortByEnum.d.ts +2 -2
  55. package/dist/cjs/api/types/DepartmentSortByEnum.js +1 -1
  56. package/dist/cjs/api/types/{DepartmentEnum.d.ts → DepartmentTypeEnum.d.ts} +14 -9
  57. package/dist/cjs/api/types/{DepartmentEnum.js → DepartmentTypeEnum.js} +14 -9
  58. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -1
  59. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -1
  60. package/dist/cjs/api/types/OperationsTask1.d.ts +7 -2
  61. package/dist/cjs/api/types/{Checklist1.d.ts → OperationsTaskList1.d.ts} +3 -2
  62. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +23 -0
  63. package/dist/cjs/api/types/{ChecklistListRes.d.ts → OperationsTaskListListRes.d.ts} +2 -2
  64. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +13 -0
  65. package/dist/{esm/api/types/ChecklistSortByEnum.d.mts → cjs/api/types/OperationsTaskListSortByEnum.d.ts} +2 -2
  66. package/dist/cjs/api/types/{ChecklistSortByEnum.js → OperationsTaskListSortByEnum.js} +2 -2
  67. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +17 -0
  68. package/dist/cjs/api/types/{CheckStatusEnum.js → OperationsTaskStatusEnum.js} +4 -7
  69. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +23 -0
  70. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +20 -0
  71. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +0 -1
  72. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +8 -0
  73. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +10 -0
  74. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +0 -1
  75. package/dist/cjs/api/types/index.d.ts +10 -12
  76. package/dist/cjs/api/types/index.js +10 -12
  77. package/dist/cjs/version.d.ts +1 -1
  78. package/dist/cjs/version.js +1 -1
  79. package/dist/esm/Client.mjs +2 -2
  80. package/dist/esm/api/resources/operations/client/Client.d.mts +6 -3
  81. package/dist/esm/api/resources/operations/client/Client.mjs +8 -3
  82. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +5 -125
  83. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +17 -494
  84. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +1 -0
  85. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +3 -8
  86. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -4
  87. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +76 -0
  88. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +209 -0
  89. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +19 -0
  90. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
  91. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -1
  92. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +6 -6
  93. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +2 -2
  94. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -2
  95. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -2
  96. package/dist/esm/api/resources/operations/resources/index.mjs +4 -2
  97. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +181 -0
  98. package/dist/esm/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.mjs +204 -73
  99. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.d.mts +2 -0
  100. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.mjs +1 -0
  101. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.mts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts} +3 -2
  102. 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
  103. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.mts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.mts} +2 -2
  104. package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.mts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.mts} +2 -2
  105. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +13 -0
  106. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.mts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts} +2 -2
  107. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +6 -0
  108. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.mjs +1 -0
  109. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.d.mts +1 -0
  110. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.mjs +1 -0
  111. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +23 -5
  112. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +108 -14
  113. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +7 -2
  114. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  115. package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.mts → operationsTasks/client/requests/OperationsTaskStatusReq.d.mts} +3 -3
  116. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +15 -6
  117. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  118. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +0 -14
  119. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +0 -63
  120. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +0 -1
  121. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -1
  122. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -2
  123. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -1
  124. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -2
  125. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
  126. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  127. package/dist/esm/api/types/Case1.d.mts +1 -12
  128. package/dist/esm/api/types/CaseSortByEnum.d.mts +1 -2
  129. package/dist/esm/api/types/CaseSortByEnum.mjs +0 -1
  130. package/dist/esm/api/types/Department1.d.mts +2 -1
  131. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
  132. package/dist/esm/api/types/DepartmentSortByEnum.d.mts +2 -2
  133. package/dist/esm/api/types/DepartmentSortByEnum.mjs +1 -1
  134. package/dist/esm/api/types/{DepartmentEnum.d.mts → DepartmentTypeEnum.d.mts} +14 -9
  135. package/dist/esm/api/types/{DepartmentEnum.mjs → DepartmentTypeEnum.mjs} +13 -8
  136. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -1
  137. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -1
  138. package/dist/esm/api/types/OperationsTask1.d.mts +7 -2
  139. package/dist/esm/api/types/{Checklist1.d.mts → OperationsTaskList1.d.mts} +3 -2
  140. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +23 -0
  141. package/dist/esm/api/types/{ChecklistListRes.d.mts → OperationsTaskListListRes.d.mts} +2 -2
  142. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +13 -0
  143. package/dist/{cjs/api/types/ChecklistSortByEnum.d.ts → esm/api/types/OperationsTaskListSortByEnum.d.mts} +2 -2
  144. package/dist/esm/api/types/{ChecklistSortByEnum.mjs → OperationsTaskListSortByEnum.mjs} +1 -1
  145. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +17 -0
  146. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +9 -0
  147. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +23 -0
  148. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +17 -0
  149. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +0 -1
  150. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +8 -0
  151. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +7 -0
  152. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +0 -1
  153. package/dist/esm/api/types/index.d.mts +10 -12
  154. package/dist/esm/api/types/index.mjs +10 -12
  155. package/dist/esm/version.d.mts +1 -1
  156. package/dist/esm/version.mjs +1 -1
  157. package/package.json +1 -1
  158. package/reference.md +323 -497
  159. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts +0 -12
  160. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +0 -15
  161. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts +0 -12
  162. package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +0 -150
  163. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +0 -11
  164. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +0 -5
  165. package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +0 -7
  166. package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +0 -8
  167. package/dist/cjs/api/types/CaseChecksSummary1.d.ts +0 -27
  168. package/dist/cjs/api/types/CaseStatusEnum.d.ts +0 -9
  169. package/dist/cjs/api/types/CaseStatusEnum.js +0 -11
  170. package/dist/cjs/api/types/Check1.d.ts +0 -33
  171. package/dist/cjs/api/types/Check1.js +0 -5
  172. package/dist/cjs/api/types/CheckEnum.d.ts +0 -46
  173. package/dist/cjs/api/types/CheckEnum.js +0 -23
  174. package/dist/cjs/api/types/CheckStatusEnum.d.ts +0 -32
  175. package/dist/cjs/api/types/Checklist1.js +0 -5
  176. package/dist/cjs/api/types/ChecklistCheck1.d.ts +0 -15
  177. package/dist/cjs/api/types/ChecklistCheck1.js +0 -5
  178. package/dist/cjs/api/types/ChecklistListRes.js +0 -5
  179. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts +0 -12
  180. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +0 -15
  181. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts +0 -12
  182. package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +0 -150
  183. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +0 -11
  184. package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +0 -5
  185. package/dist/esm/api/types/CaseChecksDisableReq.d.mts +0 -7
  186. package/dist/esm/api/types/CaseChecksDismissReq.d.mts +0 -8
  187. package/dist/esm/api/types/CaseChecksSummary1.d.mts +0 -27
  188. package/dist/esm/api/types/CaseStatusEnum.d.mts +0 -9
  189. package/dist/esm/api/types/CaseStatusEnum.mjs +0 -8
  190. package/dist/esm/api/types/Check1.d.mts +0 -33
  191. package/dist/esm/api/types/Check1.mjs +0 -4
  192. package/dist/esm/api/types/CheckEnum.d.mts +0 -46
  193. package/dist/esm/api/types/CheckEnum.mjs +0 -20
  194. package/dist/esm/api/types/CheckStatusEnum.d.mts +0 -32
  195. package/dist/esm/api/types/CheckStatusEnum.mjs +0 -12
  196. package/dist/esm/api/types/Checklist1.mjs +0 -4
  197. package/dist/esm/api/types/ChecklistCheck1.d.mts +0 -15
  198. package/dist/esm/api/types/ChecklistCheck1.mjs +0 -4
  199. package/dist/esm/api/types/ChecklistListRes.mjs +0 -4
  200. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.ts +0 -0
  201. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.js +0 -0
  202. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.js → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js} +0 -0
  203. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.js +0 -0
  204. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.ts +0 -0
  205. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.js +0 -0
  206. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.js} +0 -0
  207. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.js → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.js} +0 -0
  208. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.js → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js} +0 -0
  209. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.js → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.js} +0 -0
  210. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js} +0 -0
  211. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.js → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.js} +0 -0
  212. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.js → operationsTasks/client/requests/OperationsTaskStatusReq.js} +0 -0
  213. /package/dist/cjs/api/{resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.js → types/DepartmentRoutingRule1.js} +0 -0
  214. /package/dist/cjs/api/{resources/orgs/resources/connections/client/requests/SetDepartmentReq.js → types/OperationsTaskList1.js} +0 -0
  215. /package/dist/cjs/api/types/{CaseChecksDisableReq.js → OperationsTaskListEntry1.js} +0 -0
  216. /package/dist/cjs/api/types/{CaseChecksDismissReq.js → OperationsTaskListListRes.js} +0 -0
  217. /package/dist/cjs/api/types/{CaseChecksSummary1.js → OperationsTaskListRemoveFromCaseRes1.js} +0 -0
  218. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.mts +0 -0
  219. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.mjs +0 -0
  220. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs} +0 -0
  221. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.mjs +0 -0
  222. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.mts +0 -0
  223. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.mjs +0 -0
  224. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.mjs} +0 -0
  225. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.mjs} +0 -0
  226. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs} +0 -0
  227. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.mjs} +0 -0
  228. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs} +0 -0
  229. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.mjs → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.mjs} +0 -0
  230. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.mjs → operationsTasks/client/requests/OperationsTaskStatusReq.mjs} +0 -0
  231. /package/dist/esm/api/{resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs → types/DepartmentRoutingRule1.mjs} +0 -0
  232. /package/dist/esm/api/{resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs → types/OperationsTaskList1.mjs} +0 -0
  233. /package/dist/esm/api/types/{CaseChecksDisableReq.mjs → OperationsTaskListEntry1.mjs} +0 -0
  234. /package/dist/esm/api/types/{CaseChecksDismissReq.mjs → OperationsTaskListListRes.mjs} +0 -0
  235. /package/dist/esm/api/types/{CaseChecksSummary1.mjs → OperationsTaskListRemoveFromCaseRes1.mjs} +0 -0
package/reference.md CHANGED
@@ -10762,82 +10762,7 @@ await client.notifications.webhookSetup.turnOffV1();
10762
10762
 
10763
10763
  ## Operations Cases
10764
10764
 
10765
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">recordImageAnalysisResultsV1</a>(taskArtifactId, { ...params }) -> boolean</code></summary>
10766
- <dl>
10767
- <dd>
10768
-
10769
- #### 📝 Description
10770
-
10771
- <dl>
10772
- <dd>
10773
-
10774
- <dl>
10775
- <dd>
10776
-
10777
- Records image-analysis workflow results onto every participating org's Case for the order. Walks task_artifact -> task -> order, authorizes the caller against the shipping graph, then fans out to all Cases keyed on `order_id` — upserting one Check1 per surviving result keyed by (check, task_artifact_id) on each Case whose effective check set (`enabled - disabled`) includes it. Silently drops results for checks not in the image-uploaded event family, results for checks not in a given Case's effective set, and results whose existing row on that Case is DISMISSED. Returns True if any Case was updated. Intended to be called by the shipping_task_image_analysis Temporal workflow via an internal delegation JWT. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | (CaseChecksRecordImageAnalysisResultsReq) -> (bool)
10778
-
10779
- </dd>
10780
- </dl>
10781
- </dd>
10782
- </dl>
10783
-
10784
- #### 🔌 Usage
10785
-
10786
- <dl>
10787
- <dd>
10788
-
10789
- <dl>
10790
- <dd>
10791
-
10792
- ```typescript
10793
- await client.operations.cases.recordImageAnalysisResultsV1("task_artifact_id", {
10794
- results: {
10795
- key: "not_started",
10796
- },
10797
- });
10798
- ```
10799
-
10800
- </dd>
10801
- </dl>
10802
- </dd>
10803
- </dl>
10804
-
10805
- #### ⚙️ Parameters
10806
-
10807
- <dl>
10808
- <dd>
10809
-
10810
- <dl>
10811
- <dd>
10812
-
10813
- **taskArtifactId:** `string`
10814
-
10815
- </dd>
10816
- </dl>
10817
-
10818
- <dl>
10819
- <dd>
10820
-
10821
- **request:** `Chrt.operations.CaseChecksRecordImageAnalysisResultsReq`
10822
-
10823
- </dd>
10824
- </dl>
10825
-
10826
- <dl>
10827
- <dd>
10828
-
10829
- **requestOptions:** `Cases.RequestOptions`
10830
-
10831
- </dd>
10832
- </dl>
10833
- </dd>
10834
- </dl>
10835
-
10836
- </dd>
10837
- </dl>
10838
- </details>
10839
-
10840
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">applyChecklistV1</a>(caseId, { ...params }) -> boolean</code></summary>
10765
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">listV1</a>({ ...params }) -> Chrt.CaseListRes</code></summary>
10841
10766
  <dl>
10842
10767
  <dd>
10843
10768
 
@@ -10849,7 +10774,7 @@ await client.operations.cases.recordImageAnalysisResultsV1("task_artifact_id", {
10849
10774
  <dl>
10850
10775
  <dd>
10851
10776
 
10852
- Adds the Checklist's checks to the Case's enabled_check_keys (deduped) and records the Checklist id. Does not touch existing check runs. Idempotent. | authz: min_org_role=operator | (CaseChecksApplyChecklistReq) -> (bool)
10777
+ Lists cases for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (CaseListRes)
10853
10778
 
10854
10779
  </dd>
10855
10780
  </dl>
@@ -10865,8 +10790,13 @@ Adds the Checklist's checks to the Case's enabled_check_keys (deduped) and recor
10865
10790
  <dd>
10866
10791
 
10867
10792
  ```typescript
10868
- await client.operations.cases.applyChecklistV1("case_id", {
10869
- checklist_id: "checklist_id",
10793
+ await client.operations.cases.listV1({
10794
+ sort_by: "created_at",
10795
+ sort_order: "asc",
10796
+ page: 1,
10797
+ page_size: 1,
10798
+ filter_assigned_user_id: "filter_assigned_user_id",
10799
+ filter_unassigned: true,
10870
10800
  });
10871
10801
  ```
10872
10802
 
@@ -10883,15 +10813,7 @@ await client.operations.cases.applyChecklistV1("case_id", {
10883
10813
  <dl>
10884
10814
  <dd>
10885
10815
 
10886
- **caseId:** `string`
10887
-
10888
- </dd>
10889
- </dl>
10890
-
10891
- <dl>
10892
- <dd>
10893
-
10894
- **request:** `Chrt.operations.CaseChecksApplyChecklistReq`
10816
+ **request:** `Chrt.operations.CasesListV1Request`
10895
10817
 
10896
10818
  </dd>
10897
10819
  </dl>
@@ -10910,7 +10832,7 @@ await client.operations.cases.applyChecklistV1("case_id", {
10910
10832
  </dl>
10911
10833
  </details>
10912
10834
 
10913
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">disableCheckV1</a>(caseId, { ...params }) -> boolean</code></summary>
10835
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getV1</a>(caseId) -> Chrt.Case1</code></summary>
10914
10836
  <dl>
10915
10837
  <dd>
10916
10838
 
@@ -10922,7 +10844,7 @@ await client.operations.cases.applyChecklistV1("case_id", {
10922
10844
  <dl>
10923
10845
  <dd>
10924
10846
 
10925
- Adds a CheckEnum to the Case's disabled_check_keys (operator override). The Checklist that enabled the check stays applied; the workflow's effective set becomes enabled - disabled. Requires the CheckEnum to currently be in enabled_check_keys; otherwise 400. Existing check runs are untouched — operators dismiss them individually if they also want them out of summary counts. | authz: min_org_role=operator | (CaseChecksDisableReq) -> (bool)
10847
+ Retrieves a single case. | authz: min_org_role=operator | () -> (Case1)
10926
10848
 
10927
10849
  </dd>
10928
10850
  </dl>
@@ -10938,9 +10860,7 @@ Adds a CheckEnum to the Case's disabled_check_keys (operator override). The Chec
10938
10860
  <dd>
10939
10861
 
10940
10862
  ```typescript
10941
- await client.operations.cases.disableCheckV1("case_id", {
10942
- check: "shipping.order.placed.order_details_reviewed",
10943
- });
10863
+ await client.operations.cases.getV1("case_id");
10944
10864
  ```
10945
10865
 
10946
10866
  </dd>
@@ -10964,14 +10884,6 @@ await client.operations.cases.disableCheckV1("case_id", {
10964
10884
  <dl>
10965
10885
  <dd>
10966
10886
 
10967
- **request:** `Chrt.CaseChecksDisableReq`
10968
-
10969
- </dd>
10970
- </dl>
10971
-
10972
- <dl>
10973
- <dd>
10974
-
10975
10887
  **requestOptions:** `Cases.RequestOptions`
10976
10888
 
10977
10889
  </dd>
@@ -10983,7 +10895,7 @@ await client.operations.cases.disableCheckV1("case_id", {
10983
10895
  </dl>
10984
10896
  </details>
10985
10897
 
10986
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">enableCheckV1</a>(caseId, { ...params }) -> boolean</code></summary>
10898
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">updateV1</a>(caseId, { ...params }) -> boolean</code></summary>
10987
10899
  <dl>
10988
10900
  <dd>
10989
10901
 
@@ -10995,7 +10907,7 @@ await client.operations.cases.disableCheckV1("case_id", {
10995
10907
  <dl>
10996
10908
  <dd>
10997
10909
 
10998
- Removes a CheckEnum from the Case's disabled_check_keys, restoring it to the workflow's effective set. Inverse of disable. No-op if the CheckEnum isn't currently disabled. | authz: min_org_role=operator | (CaseChecksDisableReq) -> (bool)
10910
+ Updates a case's department_id. | authz: min_org_role=operator | (CaseClientUpdate1) -> (bool)
10999
10911
 
11000
10912
  </dd>
11001
10913
  </dl>
@@ -11011,9 +10923,7 @@ Removes a CheckEnum from the Case's disabled_check_keys, restoring it to the wor
11011
10923
  <dd>
11012
10924
 
11013
10925
  ```typescript
11014
- await client.operations.cases.enableCheckV1("case_id", {
11015
- check: "shipping.order.placed.order_details_reviewed",
11016
- });
10926
+ await client.operations.cases.updateV1("case_id");
11017
10927
  ```
11018
10928
 
11019
10929
  </dd>
@@ -11037,7 +10947,7 @@ await client.operations.cases.enableCheckV1("case_id", {
11037
10947
  <dl>
11038
10948
  <dd>
11039
10949
 
11040
- **request:** `Chrt.CaseChecksDisableReq`
10950
+ **request:** `Chrt.operations.CaseClientUpdate1`
11041
10951
 
11042
10952
  </dd>
11043
10953
  </dl>
@@ -11056,7 +10966,7 @@ await client.operations.cases.enableCheckV1("case_id", {
11056
10966
  </dl>
11057
10967
  </details>
11058
10968
 
11059
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">dismissCheckV1</a>(caseId, { ...params }) -> boolean</code></summary>
10969
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getByOrderV1</a>(orderId) -> Chrt.Case1</code></summary>
11060
10970
  <dl>
11061
10971
  <dd>
11062
10972
 
@@ -11068,7 +10978,7 @@ await client.operations.cases.enableCheckV1("case_id", {
11068
10978
  <dl>
11069
10979
  <dd>
11070
10980
 
11071
- Transitions one (check, entity_id) Check1 to status=DISMISSED. Does not affect other runs of the same check on different entity_ids. | authz: min_org_role=operator | (CaseChecksDismissReq) -> (bool)
10981
+ Retrieves the case for a given shipping order. | authz: min_org_role=operator | () -> (Case1)
11072
10982
 
11073
10983
  </dd>
11074
10984
  </dl>
@@ -11084,10 +10994,7 @@ Transitions one (check, entity_id) Check1 to status=DISMISSED. Does not affect o
11084
10994
  <dd>
11085
10995
 
11086
10996
  ```typescript
11087
- await client.operations.cases.dismissCheckV1("case_id", {
11088
- check: "shipping.order.placed.order_details_reviewed",
11089
- entity_id: "entity_id",
11090
- });
10997
+ await client.operations.cases.getByOrderV1("order_id");
11091
10998
  ```
11092
10999
 
11093
11000
  </dd>
@@ -11103,15 +11010,7 @@ await client.operations.cases.dismissCheckV1("case_id", {
11103
11010
  <dl>
11104
11011
  <dd>
11105
11012
 
11106
- **caseId:** `string`
11107
-
11108
- </dd>
11109
- </dl>
11110
-
11111
- <dl>
11112
- <dd>
11113
-
11114
- **request:** `Chrt.CaseChecksDismissReq`
11013
+ **orderId:** `string`
11115
11014
 
11116
11015
  </dd>
11117
11016
  </dl>
@@ -11130,7 +11029,7 @@ await client.operations.cases.dismissCheckV1("case_id", {
11130
11029
  </dl>
11131
11030
  </details>
11132
11031
 
11133
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">undismissCheckV1</a>(caseId, { ...params }) -> boolean</code></summary>
11032
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getByOrderRefV1</a>(orderRef) -> Chrt.Case1</code></summary>
11134
11033
  <dl>
11135
11034
  <dd>
11136
11035
 
@@ -11142,7 +11041,7 @@ await client.operations.cases.dismissCheckV1("case_id", {
11142
11041
  <dl>
11143
11042
  <dd>
11144
11043
 
11145
- Transitions a DISMISSED (check, entity_id) Check1 back to NOT_STARTED so the next matching event re-evaluates it. No-op if not currently DISMISSED. | authz: min_org_role=operator | (CaseChecksDismissReq) -> (bool)
11044
+ Retrieves the case for a given order ID, short ID, or off-chrt reference ID. | authz: min_org_role=operator | () -> (Case1)
11146
11045
 
11147
11046
  </dd>
11148
11047
  </dl>
@@ -11158,10 +11057,7 @@ Transitions a DISMISSED (check, entity_id) Check1 back to NOT_STARTED so the nex
11158
11057
  <dd>
11159
11058
 
11160
11059
  ```typescript
11161
- await client.operations.cases.undismissCheckV1("case_id", {
11162
- check: "shipping.order.placed.order_details_reviewed",
11163
- entity_id: "entity_id",
11164
- });
11060
+ await client.operations.cases.getByOrderRefV1("order_ref");
11165
11061
  ```
11166
11062
 
11167
11063
  </dd>
@@ -11177,15 +11073,7 @@ await client.operations.cases.undismissCheckV1("case_id", {
11177
11073
  <dl>
11178
11074
  <dd>
11179
11075
 
11180
- **caseId:** `string`
11181
-
11182
- </dd>
11183
- </dl>
11184
-
11185
- <dl>
11186
- <dd>
11187
-
11188
- **request:** `Chrt.CaseChecksDismissReq`
11076
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
11189
11077
 
11190
11078
  </dd>
11191
11079
  </dl>
@@ -11204,7 +11092,7 @@ await client.operations.cases.undismissCheckV1("case_id", {
11204
11092
  </dl>
11205
11093
  </details>
11206
11094
 
11207
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">listV1</a>({ ...params }) -> Chrt.CaseListRes</code></summary>
11095
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getByOrderShortIdV1</a>(orderShortId) -> Chrt.Case1</code></summary>
11208
11096
  <dl>
11209
11097
  <dd>
11210
11098
 
@@ -11216,7 +11104,7 @@ await client.operations.cases.undismissCheckV1("case_id", {
11216
11104
  <dl>
11217
11105
  <dd>
11218
11106
 
11219
- Lists cases for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (CaseListRes)
11107
+ Retrieves the case for a given order short ID. | authz: min_org_role=operator | () -> (Case1)
11220
11108
 
11221
11109
  </dd>
11222
11110
  </dl>
@@ -11232,15 +11120,7 @@ Lists cases for the caller's organization with filtering, sorting, and paginatio
11232
11120
  <dd>
11233
11121
 
11234
11122
  ```typescript
11235
- await client.operations.cases.listV1({
11236
- sort_by: "created_at",
11237
- sort_order: "asc",
11238
- page: 1,
11239
- page_size: 1,
11240
- filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
11241
- filter_needs_action: true,
11242
- filter_unassigned: true,
11243
- });
11123
+ await client.operations.cases.getByOrderShortIdV1("order_short_id");
11244
11124
  ```
11245
11125
 
11246
11126
  </dd>
@@ -11256,7 +11136,7 @@ await client.operations.cases.listV1({
11256
11136
  <dl>
11257
11137
  <dd>
11258
11138
 
11259
- **request:** `Chrt.operations.CasesListV1Request`
11139
+ **orderShortId:** `string`
11260
11140
 
11261
11141
  </dd>
11262
11142
  </dl>
@@ -11275,7 +11155,7 @@ await client.operations.cases.listV1({
11275
11155
  </dl>
11276
11156
  </details>
11277
11157
 
11278
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getV1</a>(caseId) -> Chrt.Case1</code></summary>
11158
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getSuggestedDepartmentV1</a>(caseId) -> (string | null) | undefined</code></summary>
11279
11159
  <dl>
11280
11160
  <dd>
11281
11161
 
@@ -11287,7 +11167,7 @@ await client.operations.cases.listV1({
11287
11167
  <dl>
11288
11168
  <dd>
11289
11169
 
11290
- Retrieves a single case. | authz: min_org_role=operator | () -> (Case1)
11170
+ Returns the department this case's order would map to from the shipper connection — a non-binding default for the UI. Department is never auto-applied; the frontend applies it explicitly via the update route. | authz: min_org_role=operator | () -> (PydanticObjectId | None)
11291
11171
 
11292
11172
  </dd>
11293
11173
  </dl>
@@ -11303,7 +11183,7 @@ Retrieves a single case. | authz: min_org_role=operator | () -> (Case1)
11303
11183
  <dd>
11304
11184
 
11305
11185
  ```typescript
11306
- await client.operations.cases.getV1("case_id");
11186
+ await client.operations.cases.getSuggestedDepartmentV1("case_id");
11307
11187
  ```
11308
11188
 
11309
11189
  </dd>
@@ -11338,7 +11218,7 @@ await client.operations.cases.getV1("case_id");
11338
11218
  </dl>
11339
11219
  </details>
11340
11220
 
11341
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">updateV1</a>(caseId, { ...params }) -> boolean</code></summary>
11221
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">assignV1</a>(caseId, { ...params }) -> boolean</code></summary>
11342
11222
  <dl>
11343
11223
  <dd>
11344
11224
 
@@ -11350,7 +11230,7 @@ await client.operations.cases.getV1("case_id");
11350
11230
  <dl>
11351
11231
  <dd>
11352
11232
 
11353
- Updates a case's department_id. | authz: min_org_role=operator | (CaseClientUpdate1) -> (bool)
11233
+ Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
11354
11234
 
11355
11235
  </dd>
11356
11236
  </dl>
@@ -11366,7 +11246,9 @@ Updates a case's department_id. | authz: min_org_role=operator | (CaseClientUpda
11366
11246
  <dd>
11367
11247
 
11368
11248
  ```typescript
11369
- await client.operations.cases.updateV1("case_id");
11249
+ await client.operations.cases.assignV1("case_id", {
11250
+ operator_user_ids: ["operator_user_ids"],
11251
+ });
11370
11252
  ```
11371
11253
 
11372
11254
  </dd>
@@ -11390,7 +11272,7 @@ await client.operations.cases.updateV1("case_id");
11390
11272
  <dl>
11391
11273
  <dd>
11392
11274
 
11393
- **request:** `Chrt.operations.CaseClientUpdate1`
11275
+ **request:** `Chrt.operations.CaseAssignReq`
11394
11276
 
11395
11277
  </dd>
11396
11278
  </dl>
@@ -11409,7 +11291,7 @@ await client.operations.cases.updateV1("case_id");
11409
11291
  </dl>
11410
11292
  </details>
11411
11293
 
11412
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getByOrderV1</a>(orderId) -> Chrt.Case1</code></summary>
11294
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">unassignV1</a>(caseId, { ...params }) -> boolean</code></summary>
11413
11295
  <dl>
11414
11296
  <dd>
11415
11297
 
@@ -11421,7 +11303,7 @@ await client.operations.cases.updateV1("case_id");
11421
11303
  <dl>
11422
11304
  <dd>
11423
11305
 
11424
- Retrieves the case for a given shipping order. | authz: min_org_role=operator | () -> (Case1)
11306
+ Removes operator(s) from a case. | authz: min_org_role=operator | (CaseUnassignReq) -> (bool)
11425
11307
 
11426
11308
  </dd>
11427
11309
  </dl>
@@ -11437,7 +11319,9 @@ Retrieves the case for a given shipping order. | authz: min_org_role=operator |
11437
11319
  <dd>
11438
11320
 
11439
11321
  ```typescript
11440
- await client.operations.cases.getByOrderV1("order_id");
11322
+ await client.operations.cases.unassignV1("case_id", {
11323
+ operator_user_ids: ["operator_user_ids"],
11324
+ });
11441
11325
  ```
11442
11326
 
11443
11327
  </dd>
@@ -11453,70 +11337,15 @@ await client.operations.cases.getByOrderV1("order_id");
11453
11337
  <dl>
11454
11338
  <dd>
11455
11339
 
11456
- **orderId:** `string`
11457
-
11458
- </dd>
11459
- </dl>
11460
-
11461
- <dl>
11462
- <dd>
11463
-
11464
- **requestOptions:** `Cases.RequestOptions`
11465
-
11466
- </dd>
11467
- </dl>
11468
- </dd>
11469
- </dl>
11470
-
11471
- </dd>
11472
- </dl>
11473
- </details>
11474
-
11475
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getByOrderRefV1</a>(orderRef) -> Chrt.Case1</code></summary>
11476
- <dl>
11477
- <dd>
11478
-
11479
- #### 📝 Description
11480
-
11481
- <dl>
11482
- <dd>
11483
-
11484
- <dl>
11485
- <dd>
11486
-
11487
- Retrieves the case for a given order ID, short ID, or off-chrt reference ID. | authz: min_org_role=operator | () -> (Case1)
11488
-
11489
- </dd>
11490
- </dl>
11491
- </dd>
11492
- </dl>
11493
-
11494
- #### 🔌 Usage
11495
-
11496
- <dl>
11497
- <dd>
11498
-
11499
- <dl>
11500
- <dd>
11501
-
11502
- ```typescript
11503
- await client.operations.cases.getByOrderRefV1("order_ref");
11504
- ```
11340
+ **caseId:** `string`
11505
11341
 
11506
11342
  </dd>
11507
11343
  </dl>
11508
- </dd>
11509
- </dl>
11510
-
11511
- #### ⚙️ Parameters
11512
-
11513
- <dl>
11514
- <dd>
11515
11344
 
11516
11345
  <dl>
11517
11346
  <dd>
11518
11347
 
11519
- **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
11348
+ **request:** `Chrt.operations.CaseUnassignReq`
11520
11349
 
11521
11350
  </dd>
11522
11351
  </dl>
@@ -11535,7 +11364,7 @@ await client.operations.cases.getByOrderRefV1("order_ref");
11535
11364
  </dl>
11536
11365
  </details>
11537
11366
 
11538
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">getByOrderShortIdV1</a>(orderShortId) -> Chrt.Case1</code></summary>
11367
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">addMessageV1</a>(caseId, { ...params }) -> boolean</code></summary>
11539
11368
  <dl>
11540
11369
  <dd>
11541
11370
 
@@ -11547,7 +11376,7 @@ await client.operations.cases.getByOrderRefV1("order_ref");
11547
11376
  <dl>
11548
11377
  <dd>
11549
11378
 
11550
- Retrieves the case for a given order short ID. | authz: min_org_role=operator | () -> (Case1)
11379
+ Appends a message to a case. | authz: min_org_role=operator | (CaseAddMessageReq) -> (bool)
11551
11380
 
11552
11381
  </dd>
11553
11382
  </dl>
@@ -11563,7 +11392,9 @@ Retrieves the case for a given order short ID. | authz: min_org_role=operator |
11563
11392
  <dd>
11564
11393
 
11565
11394
  ```typescript
11566
- await client.operations.cases.getByOrderShortIdV1("order_short_id");
11395
+ await client.operations.cases.addMessageV1("case_id", {
11396
+ message: "message",
11397
+ });
11567
11398
  ```
11568
11399
 
11569
11400
  </dd>
@@ -11579,7 +11410,15 @@ await client.operations.cases.getByOrderShortIdV1("order_short_id");
11579
11410
  <dl>
11580
11411
  <dd>
11581
11412
 
11582
- **orderShortId:** `string`
11413
+ **caseId:** `string`
11414
+
11415
+ </dd>
11416
+ </dl>
11417
+
11418
+ <dl>
11419
+ <dd>
11420
+
11421
+ **request:** `Chrt.operations.CaseAddMessageReq`
11583
11422
 
11584
11423
  </dd>
11585
11424
  </dl>
@@ -11598,7 +11437,7 @@ await client.operations.cases.getByOrderShortIdV1("order_short_id");
11598
11437
  </dl>
11599
11438
  </details>
11600
11439
 
11601
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">updateNeedsActionV1</a>(caseId, { ...params }) -> boolean</code></summary>
11440
+ <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">deleteMessageV1</a>(caseId, messageId) -> boolean</code></summary>
11602
11441
  <dl>
11603
11442
  <dd>
11604
11443
 
@@ -11610,7 +11449,7 @@ await client.operations.cases.getByOrderShortIdV1("order_short_id");
11610
11449
  <dl>
11611
11450
  <dd>
11612
11451
 
11613
- Updates whether a case needs action. | authz: min_org_role=operator | (CaseNeedsActionReq) -> (bool)
11452
+ Deletes a message from a case. | authz: min_org_role=operator | () -> (bool)
11614
11453
 
11615
11454
  </dd>
11616
11455
  </dl>
@@ -11626,9 +11465,7 @@ Updates whether a case needs action. | authz: min_org_role=operator | (CaseNeeds
11626
11465
  <dd>
11627
11466
 
11628
11467
  ```typescript
11629
- await client.operations.cases.updateNeedsActionV1("case_id", {
11630
- needs_action: true,
11631
- });
11468
+ await client.operations.cases.deleteMessageV1("case_id", "message_id");
11632
11469
  ```
11633
11470
 
11634
11471
  </dd>
@@ -11652,7 +11489,7 @@ await client.operations.cases.updateNeedsActionV1("case_id", {
11652
11489
  <dl>
11653
11490
  <dd>
11654
11491
 
11655
- **request:** `Chrt.operations.CaseNeedsActionReq`
11492
+ **messageId:** `string`
11656
11493
 
11657
11494
  </dd>
11658
11495
  </dl>
@@ -11671,7 +11508,9 @@ await client.operations.cases.updateNeedsActionV1("case_id", {
11671
11508
  </dl>
11672
11509
  </details>
11673
11510
 
11674
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">updateStatusV1</a>(caseId, { ...params }) -> boolean</code></summary>
11511
+ ## Operations DepartmentRoutingRules
11512
+
11513
+ <details><summary><code>client.operations.departmentRoutingRules.<a href="/src/api/resources/operations/resources/departmentRoutingRules/client/Client.ts">listV1</a>() -> Chrt.DepartmentRoutingRule1[]</code></summary>
11675
11514
  <dl>
11676
11515
  <dd>
11677
11516
 
@@ -11683,7 +11522,7 @@ await client.operations.cases.updateNeedsActionV1("case_id", {
11683
11522
  <dl>
11684
11523
  <dd>
11685
11524
 
11686
- Updates a case's status. Closing a case also clears needs_action. | authz: min_org_role=operator | (CaseStatusReq) -> (bool)
11525
+ Lists the caller org's department routing rules. | authz: min_org_role=operator | () -> (list[DepartmentRoutingRule1])
11687
11526
 
11688
11527
  </dd>
11689
11528
  </dl>
@@ -11699,9 +11538,7 @@ Updates a case's status. Closing a case also clears needs_action. | authz: min_o
11699
11538
  <dd>
11700
11539
 
11701
11540
  ```typescript
11702
- await client.operations.cases.updateStatusV1("case_id", {
11703
- status: "open",
11704
- });
11541
+ await client.operations.departmentRoutingRules.listV1();
11705
11542
  ```
11706
11543
 
11707
11544
  </dd>
@@ -11717,23 +11554,7 @@ await client.operations.cases.updateStatusV1("case_id", {
11717
11554
  <dl>
11718
11555
  <dd>
11719
11556
 
11720
- **caseId:** `string`
11721
-
11722
- </dd>
11723
- </dl>
11724
-
11725
- <dl>
11726
- <dd>
11727
-
11728
- **request:** `Chrt.operations.CaseStatusReq`
11729
-
11730
- </dd>
11731
- </dl>
11732
-
11733
- <dl>
11734
- <dd>
11735
-
11736
- **requestOptions:** `Cases.RequestOptions`
11557
+ **requestOptions:** `DepartmentRoutingRules.RequestOptions`
11737
11558
 
11738
11559
  </dd>
11739
11560
  </dl>
@@ -11744,7 +11565,7 @@ await client.operations.cases.updateStatusV1("case_id", {
11744
11565
  </dl>
11745
11566
  </details>
11746
11567
 
11747
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">assignV1</a>(caseId, { ...params }) -> boolean</code></summary>
11568
+ <details><summary><code>client.operations.departmentRoutingRules.<a href="/src/api/resources/operations/resources/departmentRoutingRules/client/Client.ts">upsertV1</a>({ ...params }) -> string</code></summary>
11748
11569
  <dl>
11749
11570
  <dd>
11750
11571
 
@@ -11756,7 +11577,7 @@ await client.operations.cases.updateStatusV1("case_id", {
11756
11577
  <dl>
11757
11578
  <dd>
11758
11579
 
11759
- Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
11580
+ Sets the caller org's default operations desk for a counterparty (on-chrt shipper or off-chrt shipper shell). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
11760
11581
 
11761
11582
  </dd>
11762
11583
  </dl>
@@ -11772,8 +11593,11 @@ Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) ->
11772
11593
  <dd>
11773
11594
 
11774
11595
  ```typescript
11775
- await client.operations.cases.assignV1("case_id", {
11776
- operator_user_ids: ["operator_user_ids"],
11596
+ await client.operations.departmentRoutingRules.upsertV1({
11597
+ schema_version: 1,
11598
+ counterparty_type: "shipper_org",
11599
+ counterparty_id: "counterparty_id",
11600
+ department_id: "department_id",
11777
11601
  });
11778
11602
  ```
11779
11603
 
@@ -11790,7 +11614,7 @@ await client.operations.cases.assignV1("case_id", {
11790
11614
  <dl>
11791
11615
  <dd>
11792
11616
 
11793
- **caseId:** `string`
11617
+ **request:** `Chrt.operations.DepartmentRoutingRuleClientCreate1`
11794
11618
 
11795
11619
  </dd>
11796
11620
  </dl>
@@ -11798,15 +11622,7 @@ await client.operations.cases.assignV1("case_id", {
11798
11622
  <dl>
11799
11623
  <dd>
11800
11624
 
11801
- **request:** `Chrt.operations.CaseAssignReq`
11802
-
11803
- </dd>
11804
- </dl>
11805
-
11806
- <dl>
11807
- <dd>
11808
-
11809
- **requestOptions:** `Cases.RequestOptions`
11625
+ **requestOptions:** `DepartmentRoutingRules.RequestOptions`
11810
11626
 
11811
11627
  </dd>
11812
11628
  </dl>
@@ -11817,7 +11633,7 @@ await client.operations.cases.assignV1("case_id", {
11817
11633
  </dl>
11818
11634
  </details>
11819
11635
 
11820
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">unassignV1</a>(caseId, { ...params }) -> boolean</code></summary>
11636
+ <details><summary><code>client.operations.departmentRoutingRules.<a href="/src/api/resources/operations/resources/departmentRoutingRules/client/Client.ts">deleteV1</a>(counterpartyType, counterpartyId) -> boolean</code></summary>
11821
11637
  <dl>
11822
11638
  <dd>
11823
11639
 
@@ -11829,7 +11645,7 @@ await client.operations.cases.assignV1("case_id", {
11829
11645
  <dl>
11830
11646
  <dd>
11831
11647
 
11832
- Removes operator(s) from a case. | authz: min_org_role=operator | (CaseUnassignReq) -> (bool)
11648
+ Clears the caller org's default operations desk for a counterparty. | authz: min_org_role=administrator | () -> (bool)
11833
11649
 
11834
11650
  </dd>
11835
11651
  </dl>
@@ -11845,9 +11661,7 @@ Removes operator(s) from a case. | authz: min_org_role=operator | (CaseUnassignR
11845
11661
  <dd>
11846
11662
 
11847
11663
  ```typescript
11848
- await client.operations.cases.unassignV1("case_id", {
11849
- operator_user_ids: ["operator_user_ids"],
11850
- });
11664
+ await client.operations.departmentRoutingRules.deleteV1("shipper_org", "counterparty_id");
11851
11665
  ```
11852
11666
 
11853
11667
  </dd>
@@ -11863,7 +11677,7 @@ await client.operations.cases.unassignV1("case_id", {
11863
11677
  <dl>
11864
11678
  <dd>
11865
11679
 
11866
- **caseId:** `string`
11680
+ **counterpartyType:** `Chrt.RoutingCounterpartyTypeEnum`
11867
11681
 
11868
11682
  </dd>
11869
11683
  </dl>
@@ -11871,7 +11685,7 @@ await client.operations.cases.unassignV1("case_id", {
11871
11685
  <dl>
11872
11686
  <dd>
11873
11687
 
11874
- **request:** `Chrt.operations.CaseUnassignReq`
11688
+ **counterpartyId:** `string`
11875
11689
 
11876
11690
  </dd>
11877
11691
  </dl>
@@ -11879,7 +11693,7 @@ await client.operations.cases.unassignV1("case_id", {
11879
11693
  <dl>
11880
11694
  <dd>
11881
11695
 
11882
- **requestOptions:** `Cases.RequestOptions`
11696
+ **requestOptions:** `DepartmentRoutingRules.RequestOptions`
11883
11697
 
11884
11698
  </dd>
11885
11699
  </dl>
@@ -11890,7 +11704,9 @@ await client.operations.cases.unassignV1("case_id", {
11890
11704
  </dl>
11891
11705
  </details>
11892
11706
 
11893
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">addMessageV1</a>(caseId, { ...params }) -> boolean</code></summary>
11707
+ ## Operations Departments
11708
+
11709
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">listV1</a>({ ...params }) -> Chrt.DepartmentListRes</code></summary>
11894
11710
  <dl>
11895
11711
  <dd>
11896
11712
 
@@ -11902,7 +11718,7 @@ await client.operations.cases.unassignV1("case_id", {
11902
11718
  <dl>
11903
11719
  <dd>
11904
11720
 
11905
- Appends a message to a case. | authz: min_org_role=operator | (CaseAddMessageReq) -> (bool)
11721
+ Lists department configurations for the caller's organization. | authz: min_org_role=operator | () -> (DepartmentListRes)
11906
11722
 
11907
11723
  </dd>
11908
11724
  </dl>
@@ -11918,8 +11734,11 @@ Appends a message to a case. | authz: min_org_role=operator | (CaseAddMessageReq
11918
11734
  <dd>
11919
11735
 
11920
11736
  ```typescript
11921
- await client.operations.cases.addMessageV1("case_id", {
11922
- message: "message",
11737
+ await client.operations.departments.listV1({
11738
+ sort_by: "created_at",
11739
+ sort_order: "asc",
11740
+ page: 1,
11741
+ page_size: 1,
11923
11742
  });
11924
11743
  ```
11925
11744
 
@@ -11936,15 +11755,7 @@ await client.operations.cases.addMessageV1("case_id", {
11936
11755
  <dl>
11937
11756
  <dd>
11938
11757
 
11939
- **caseId:** `string`
11940
-
11941
- </dd>
11942
- </dl>
11943
-
11944
- <dl>
11945
- <dd>
11946
-
11947
- **request:** `Chrt.operations.CaseAddMessageReq`
11758
+ **request:** `Chrt.operations.DepartmentsListV1Request`
11948
11759
 
11949
11760
  </dd>
11950
11761
  </dl>
@@ -11952,7 +11763,7 @@ await client.operations.cases.addMessageV1("case_id", {
11952
11763
  <dl>
11953
11764
  <dd>
11954
11765
 
11955
- **requestOptions:** `Cases.RequestOptions`
11766
+ **requestOptions:** `Departments.RequestOptions`
11956
11767
 
11957
11768
  </dd>
11958
11769
  </dl>
@@ -11963,7 +11774,7 @@ await client.operations.cases.addMessageV1("case_id", {
11963
11774
  </dl>
11964
11775
  </details>
11965
11776
 
11966
- <details><summary><code>client.operations.cases.<a href="/src/api/resources/operations/resources/cases/client/Client.ts">deleteMessageV1</a>(caseId, messageId) -> boolean</code></summary>
11777
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">getV1</a>(departmentId) -> Chrt.Department1</code></summary>
11967
11778
  <dl>
11968
11779
  <dd>
11969
11780
 
@@ -11975,7 +11786,7 @@ await client.operations.cases.addMessageV1("case_id", {
11975
11786
  <dl>
11976
11787
  <dd>
11977
11788
 
11978
- Deletes a message from a case. | authz: min_org_role=operator | () -> (bool)
11789
+ Retrieves a single department configuration. | authz: min_org_role=operator | () -> (Department1)
11979
11790
 
11980
11791
  </dd>
11981
11792
  </dl>
@@ -11991,7 +11802,7 @@ Deletes a message from a case. | authz: min_org_role=operator | () -> (bool)
11991
11802
  <dd>
11992
11803
 
11993
11804
  ```typescript
11994
- await client.operations.cases.deleteMessageV1("case_id", "message_id");
11805
+ await client.operations.departments.getV1("department_id");
11995
11806
  ```
11996
11807
 
11997
11808
  </dd>
@@ -12007,15 +11818,7 @@ await client.operations.cases.deleteMessageV1("case_id", "message_id");
12007
11818
  <dl>
12008
11819
  <dd>
12009
11820
 
12010
- **caseId:** `string`
12011
-
12012
- </dd>
12013
- </dl>
12014
-
12015
- <dl>
12016
- <dd>
12017
-
12018
- **messageId:** `string`
11821
+ **departmentId:** `string`
12019
11822
 
12020
11823
  </dd>
12021
11824
  </dl>
@@ -12023,7 +11826,7 @@ await client.operations.cases.deleteMessageV1("case_id", "message_id");
12023
11826
  <dl>
12024
11827
  <dd>
12025
11828
 
12026
- **requestOptions:** `Cases.RequestOptions`
11829
+ **requestOptions:** `Departments.RequestOptions`
12027
11830
 
12028
11831
  </dd>
12029
11832
  </dl>
@@ -12034,9 +11837,7 @@ await client.operations.cases.deleteMessageV1("case_id", "message_id");
12034
11837
  </dl>
12035
11838
  </details>
12036
11839
 
12037
- ## Operations Checklists
12038
-
12039
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">listV1</a>({ ...params }) -> Chrt.ChecklistListRes</code></summary>
11840
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">deleteV1</a>(departmentId) -> boolean</code></summary>
12040
11841
  <dl>
12041
11842
  <dd>
12042
11843
 
@@ -12048,7 +11849,7 @@ await client.operations.cases.deleteMessageV1("case_id", "message_id");
12048
11849
  <dl>
12049
11850
  <dd>
12050
11851
 
12051
- Lists Checklists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (ChecklistListRes)
11852
+ Deletes a department configuration. | authz: min_org_role=administrator | () -> (bool)
12052
11853
 
12053
11854
  </dd>
12054
11855
  </dl>
@@ -12064,13 +11865,7 @@ Lists Checklists for the caller's organization with filtering, sorting, and pagi
12064
11865
  <dd>
12065
11866
 
12066
11867
  ```typescript
12067
- await client.operations.checklists.listV1({
12068
- sort_by: "created_at_timestamp",
12069
- sort_order: "asc",
12070
- page: 1,
12071
- page_size: 1,
12072
- filter_archived: true,
12073
- });
11868
+ await client.operations.departments.deleteV1("department_id");
12074
11869
  ```
12075
11870
 
12076
11871
  </dd>
@@ -12086,7 +11881,7 @@ await client.operations.checklists.listV1({
12086
11881
  <dl>
12087
11882
  <dd>
12088
11883
 
12089
- **request:** `Chrt.operations.ChecklistsListV1Request`
11884
+ **departmentId:** `string`
12090
11885
 
12091
11886
  </dd>
12092
11887
  </dl>
@@ -12094,7 +11889,7 @@ await client.operations.checklists.listV1({
12094
11889
  <dl>
12095
11890
  <dd>
12096
11891
 
12097
- **requestOptions:** `Checklists.RequestOptions`
11892
+ **requestOptions:** `Departments.RequestOptions`
12098
11893
 
12099
11894
  </dd>
12100
11895
  </dl>
@@ -12105,7 +11900,7 @@ await client.operations.checklists.listV1({
12105
11900
  </dl>
12106
11901
  </details>
12107
11902
 
12108
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">getV1</a>(checklistId) -> Chrt.Checklist1</code></summary>
11903
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">updateV1</a>(departmentId, { ...params }) -> boolean</code></summary>
12109
11904
  <dl>
12110
11905
  <dd>
12111
11906
 
@@ -12117,7 +11912,7 @@ await client.operations.checklists.listV1({
12117
11912
  <dl>
12118
11913
  <dd>
12119
11914
 
12120
- Retrieves a single Checklist by id. | authz: min_org_role=operator | () -> (Checklist1)
11915
+ Updates a department configuration. | authz: min_org_role=administrator | (DepartmentClientUpdate1) -> (bool)
12121
11916
 
12122
11917
  </dd>
12123
11918
  </dl>
@@ -12133,7 +11928,7 @@ Retrieves a single Checklist by id. | authz: min_org_role=operator | () -> (Chec
12133
11928
  <dd>
12134
11929
 
12135
11930
  ```typescript
12136
- await client.operations.checklists.getV1("checklist_id");
11931
+ await client.operations.departments.updateV1("department_id");
12137
11932
  ```
12138
11933
 
12139
11934
  </dd>
@@ -12149,7 +11944,15 @@ await client.operations.checklists.getV1("checklist_id");
12149
11944
  <dl>
12150
11945
  <dd>
12151
11946
 
12152
- **checklistId:** `string`
11947
+ **departmentId:** `string`
11948
+
11949
+ </dd>
11950
+ </dl>
11951
+
11952
+ <dl>
11953
+ <dd>
11954
+
11955
+ **request:** `Chrt.operations.DepartmentClientUpdate1`
12153
11956
 
12154
11957
  </dd>
12155
11958
  </dl>
@@ -12157,7 +11960,7 @@ await client.operations.checklists.getV1("checklist_id");
12157
11960
  <dl>
12158
11961
  <dd>
12159
11962
 
12160
- **requestOptions:** `Checklists.RequestOptions`
11963
+ **requestOptions:** `Departments.RequestOptions`
12161
11964
 
12162
11965
  </dd>
12163
11966
  </dl>
@@ -12168,7 +11971,7 @@ await client.operations.checklists.getV1("checklist_id");
12168
11971
  </dl>
12169
11972
  </details>
12170
11973
 
12171
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">updateV1</a>(checklistId, { ...params }) -> boolean</code></summary>
11974
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
12172
11975
  <dl>
12173
11976
  <dd>
12174
11977
 
@@ -12180,7 +11983,7 @@ await client.operations.checklists.getV1("checklist_id");
12180
11983
  <dl>
12181
11984
  <dd>
12182
11985
 
12183
- Updates scalar fields (name, description) on a Checklist. | authz: min_org_role=operator | (ChecklistClientUpdate1) -> (bool)
11986
+ Creates a new department configuration for the caller's organization. | authz: min_org_role=administrator | (DepartmentClientCreate1) -> (PydanticObjectId)
12184
11987
 
12185
11988
  </dd>
12186
11989
  </dl>
@@ -12196,7 +11999,11 @@ Updates scalar fields (name, description) on a Checklist. | authz: min_org_role=
12196
11999
  <dd>
12197
12000
 
12198
12001
  ```typescript
12199
- await client.operations.checklists.updateV1("checklist_id");
12002
+ await client.operations.departments.createV1({
12003
+ schema_version: 1,
12004
+ name: "name",
12005
+ department_type: "aerospace",
12006
+ });
12200
12007
  ```
12201
12008
 
12202
12009
  </dd>
@@ -12212,15 +12019,7 @@ await client.operations.checklists.updateV1("checklist_id");
12212
12019
  <dl>
12213
12020
  <dd>
12214
12021
 
12215
- **checklistId:** `string`
12216
-
12217
- </dd>
12218
- </dl>
12219
-
12220
- <dl>
12221
- <dd>
12222
-
12223
- **request:** `Chrt.operations.ChecklistClientUpdate1`
12022
+ **request:** `Chrt.operations.DepartmentClientCreate1`
12224
12023
 
12225
12024
  </dd>
12226
12025
  </dl>
@@ -12228,7 +12027,7 @@ await client.operations.checklists.updateV1("checklist_id");
12228
12027
  <dl>
12229
12028
  <dd>
12230
12029
 
12231
- **requestOptions:** `Checklists.RequestOptions`
12030
+ **requestOptions:** `Departments.RequestOptions`
12232
12031
 
12233
12032
  </dd>
12234
12033
  </dl>
@@ -12239,7 +12038,7 @@ await client.operations.checklists.updateV1("checklist_id");
12239
12038
  </dl>
12240
12039
  </details>
12241
12040
 
12242
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
12041
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">addOperatorV1</a>(departmentId, userId) -> boolean</code></summary>
12243
12042
  <dl>
12244
12043
  <dd>
12245
12044
 
@@ -12251,7 +12050,7 @@ await client.operations.checklists.updateV1("checklist_id");
12251
12050
  <dl>
12252
12051
  <dd>
12253
12052
 
12254
- Creates a new Checklist for the caller's organization. | authz: min_org_role=operator | (ChecklistClientCreate1) -> (PydanticObjectId)
12053
+ Adds an operator to a department. | authz: min_org_role=administrator | () -> (bool)
12255
12054
 
12256
12055
  </dd>
12257
12056
  </dl>
@@ -12266,11 +12065,8 @@ Creates a new Checklist for the caller's organization. | authz: min_org_role=ope
12266
12065
  <dl>
12267
12066
  <dd>
12268
12067
 
12269
- ```typescript
12270
- await client.operations.checklists.createV1({
12271
- schema_version: 1,
12272
- name: "name",
12273
- });
12068
+ ```typescript
12069
+ await client.operations.departments.addOperatorV1("department_id", "user_id");
12274
12070
  ```
12275
12071
 
12276
12072
  </dd>
@@ -12286,7 +12082,15 @@ await client.operations.checklists.createV1({
12286
12082
  <dl>
12287
12083
  <dd>
12288
12084
 
12289
- **request:** `Chrt.operations.ChecklistClientCreate1`
12085
+ **departmentId:** `string`
12086
+
12087
+ </dd>
12088
+ </dl>
12089
+
12090
+ <dl>
12091
+ <dd>
12092
+
12093
+ **userId:** `string`
12290
12094
 
12291
12095
  </dd>
12292
12096
  </dl>
@@ -12294,7 +12098,7 @@ await client.operations.checklists.createV1({
12294
12098
  <dl>
12295
12099
  <dd>
12296
12100
 
12297
- **requestOptions:** `Checklists.RequestOptions`
12101
+ **requestOptions:** `Departments.RequestOptions`
12298
12102
 
12299
12103
  </dd>
12300
12104
  </dl>
@@ -12305,7 +12109,7 @@ await client.operations.checklists.createV1({
12305
12109
  </dl>
12306
12110
  </details>
12307
12111
 
12308
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">addChecksV1</a>(checklistId, { ...params }) -> boolean</code></summary>
12112
+ <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">removeOperatorV1</a>(departmentId, userId) -> boolean</code></summary>
12309
12113
  <dl>
12310
12114
  <dd>
12311
12115
 
@@ -12317,7 +12121,7 @@ await client.operations.checklists.createV1({
12317
12121
  <dl>
12318
12122
  <dd>
12319
12123
 
12320
- Adds checks to a Checklist. Idempotent for identical checks. | authz: min_org_role=operator | (ChecklistChecksAdd1) -> (bool)
12124
+ Removes an operator from a department. | authz: min_org_role=administrator | () -> (bool)
12321
12125
 
12322
12126
  </dd>
12323
12127
  </dl>
@@ -12333,7 +12137,7 @@ Adds checks to a Checklist. Idempotent for identical checks. | authz: min_org_ro
12333
12137
  <dd>
12334
12138
 
12335
12139
  ```typescript
12336
- await client.operations.checklists.addChecksV1("checklist_id");
12140
+ await client.operations.departments.removeOperatorV1("department_id", "user_id");
12337
12141
  ```
12338
12142
 
12339
12143
  </dd>
@@ -12349,7 +12153,7 @@ await client.operations.checklists.addChecksV1("checklist_id");
12349
12153
  <dl>
12350
12154
  <dd>
12351
12155
 
12352
- **checklistId:** `string`
12156
+ **departmentId:** `string`
12353
12157
 
12354
12158
  </dd>
12355
12159
  </dl>
@@ -12357,7 +12161,7 @@ await client.operations.checklists.addChecksV1("checklist_id");
12357
12161
  <dl>
12358
12162
  <dd>
12359
12163
 
12360
- **request:** `Chrt.operations.ChecklistChecksAdd1`
12164
+ **userId:** `string`
12361
12165
 
12362
12166
  </dd>
12363
12167
  </dl>
@@ -12365,7 +12169,7 @@ await client.operations.checklists.addChecksV1("checklist_id");
12365
12169
  <dl>
12366
12170
  <dd>
12367
12171
 
12368
- **requestOptions:** `Checklists.RequestOptions`
12172
+ **requestOptions:** `Departments.RequestOptions`
12369
12173
 
12370
12174
  </dd>
12371
12175
  </dl>
@@ -12376,7 +12180,9 @@ await client.operations.checklists.addChecksV1("checklist_id");
12376
12180
  </dl>
12377
12181
  </details>
12378
12182
 
12379
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">removeChecksV1</a>(checklistId, { ...params }) -> boolean</code></summary>
12183
+ ## Operations OperationsTaskLists
12184
+
12185
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">listV1</a>({ ...params }) -> Chrt.OperationsTaskListListRes</code></summary>
12380
12186
  <dl>
12381
12187
  <dd>
12382
12188
 
@@ -12388,7 +12194,7 @@ await client.operations.checklists.addChecksV1("checklist_id");
12388
12194
  <dl>
12389
12195
  <dd>
12390
12196
 
12391
- Removes entries from a Checklist's `checks` list by CheckEnum. | authz: min_org_role=operator | (ChecklistChecksRemove1) -> (bool)
12197
+ Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
12392
12198
 
12393
12199
  </dd>
12394
12200
  </dl>
@@ -12404,7 +12210,13 @@ Removes entries from a Checklist's `checks` list by CheckEnum. | authz: min_org_
12404
12210
  <dd>
12405
12211
 
12406
12212
  ```typescript
12407
- await client.operations.checklists.removeChecksV1("checklist_id");
12213
+ await client.operations.operationsTaskLists.listV1({
12214
+ sort_by: "created_at_timestamp",
12215
+ sort_order: "asc",
12216
+ page: 1,
12217
+ page_size: 1,
12218
+ filter_archived: true,
12219
+ });
12408
12220
  ```
12409
12221
 
12410
12222
  </dd>
@@ -12420,15 +12232,7 @@ await client.operations.checklists.removeChecksV1("checklist_id");
12420
12232
  <dl>
12421
12233
  <dd>
12422
12234
 
12423
- **checklistId:** `string`
12424
-
12425
- </dd>
12426
- </dl>
12427
-
12428
- <dl>
12429
- <dd>
12430
-
12431
- **request:** `Chrt.operations.ChecklistChecksRemove1`
12235
+ **request:** `Chrt.operations.OperationsTaskListsListV1Request`
12432
12236
 
12433
12237
  </dd>
12434
12238
  </dl>
@@ -12436,7 +12240,7 @@ await client.operations.checklists.removeChecksV1("checklist_id");
12436
12240
  <dl>
12437
12241
  <dd>
12438
12242
 
12439
- **requestOptions:** `Checklists.RequestOptions`
12243
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12440
12244
 
12441
12245
  </dd>
12442
12246
  </dl>
@@ -12447,7 +12251,7 @@ await client.operations.checklists.removeChecksV1("checklist_id");
12447
12251
  </dl>
12448
12252
  </details>
12449
12253
 
12450
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">archiveV1</a>(checklistId) -> boolean</code></summary>
12254
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">getV1</a>(taskListId) -> Chrt.OperationsTaskList1</code></summary>
12451
12255
  <dl>
12452
12256
  <dd>
12453
12257
 
@@ -12459,7 +12263,7 @@ await client.operations.checklists.removeChecksV1("checklist_id");
12459
12263
  <dl>
12460
12264
  <dd>
12461
12265
 
12462
- Soft-deletes a Checklist by setting `archived=True`. Existing Cases that applied this Checklist are unaffected (copy-on-write). | authz: min_org_role=operator | () -> (bool)
12266
+ Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
12463
12267
 
12464
12268
  </dd>
12465
12269
  </dl>
@@ -12475,7 +12279,7 @@ Soft-deletes a Checklist by setting `archived=True`. Existing Cases that applied
12475
12279
  <dd>
12476
12280
 
12477
12281
  ```typescript
12478
- await client.operations.checklists.archiveV1("checklist_id");
12282
+ await client.operations.operationsTaskLists.getV1("task_list_id");
12479
12283
  ```
12480
12284
 
12481
12285
  </dd>
@@ -12491,7 +12295,7 @@ await client.operations.checklists.archiveV1("checklist_id");
12491
12295
  <dl>
12492
12296
  <dd>
12493
12297
 
12494
- **checklistId:** `string`
12298
+ **taskListId:** `string`
12495
12299
 
12496
12300
  </dd>
12497
12301
  </dl>
@@ -12499,7 +12303,7 @@ await client.operations.checklists.archiveV1("checklist_id");
12499
12303
  <dl>
12500
12304
  <dd>
12501
12305
 
12502
- **requestOptions:** `Checklists.RequestOptions`
12306
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12503
12307
 
12504
12308
  </dd>
12505
12309
  </dl>
@@ -12510,7 +12314,7 @@ await client.operations.checklists.archiveV1("checklist_id");
12510
12314
  </dl>
12511
12315
  </details>
12512
12316
 
12513
- <details><summary><code>client.operations.checklists.<a href="/src/api/resources/operations/resources/checklists/client/Client.ts">unarchiveV1</a>(checklistId) -> boolean</code></summary>
12317
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">updateV1</a>(taskListId, { ...params }) -> boolean</code></summary>
12514
12318
  <dl>
12515
12319
  <dd>
12516
12320
 
@@ -12522,7 +12326,7 @@ await client.operations.checklists.archiveV1("checklist_id");
12522
12326
  <dl>
12523
12327
  <dd>
12524
12328
 
12525
- Restores an archived Checklist by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
12329
+ Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
12526
12330
 
12527
12331
  </dd>
12528
12332
  </dl>
@@ -12538,7 +12342,7 @@ Restores an archived Checklist by setting `archived=False`. | authz: min_org_rol
12538
12342
  <dd>
12539
12343
 
12540
12344
  ```typescript
12541
- await client.operations.checklists.unarchiveV1("checklist_id");
12345
+ await client.operations.operationsTaskLists.updateV1("task_list_id");
12542
12346
  ```
12543
12347
 
12544
12348
  </dd>
@@ -12554,7 +12358,7 @@ await client.operations.checklists.unarchiveV1("checklist_id");
12554
12358
  <dl>
12555
12359
  <dd>
12556
12360
 
12557
- **checklistId:** `string`
12361
+ **taskListId:** `string`
12558
12362
 
12559
12363
  </dd>
12560
12364
  </dl>
@@ -12562,7 +12366,15 @@ await client.operations.checklists.unarchiveV1("checklist_id");
12562
12366
  <dl>
12563
12367
  <dd>
12564
12368
 
12565
- **requestOptions:** `Checklists.RequestOptions`
12369
+ **request:** `Chrt.operations.OperationsTaskListClientUpdate1`
12370
+
12371
+ </dd>
12372
+ </dl>
12373
+
12374
+ <dl>
12375
+ <dd>
12376
+
12377
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12566
12378
 
12567
12379
  </dd>
12568
12380
  </dl>
@@ -12573,9 +12385,7 @@ await client.operations.checklists.unarchiveV1("checklist_id");
12573
12385
  </dl>
12574
12386
  </details>
12575
12387
 
12576
- ## Operations Departments
12577
-
12578
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">listV1</a>({ ...params }) -> Chrt.DepartmentListRes</code></summary>
12388
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
12579
12389
  <dl>
12580
12390
  <dd>
12581
12391
 
@@ -12587,7 +12397,7 @@ await client.operations.checklists.unarchiveV1("checklist_id");
12587
12397
  <dl>
12588
12398
  <dd>
12589
12399
 
12590
- Lists department configurations for the caller's organization. | authz: min_org_role=operator | () -> (DepartmentListRes)
12400
+ Creates a new OperationsTaskList for the caller's organization. | authz: min_org_role=operator | (OperationsTaskListClientCreate1) -> (PydanticObjectId)
12591
12401
 
12592
12402
  </dd>
12593
12403
  </dl>
@@ -12603,11 +12413,9 @@ Lists department configurations for the caller's organization. | authz: min_org_
12603
12413
  <dd>
12604
12414
 
12605
12415
  ```typescript
12606
- await client.operations.departments.listV1({
12607
- sort_by: "created_at",
12608
- sort_order: "asc",
12609
- page: 1,
12610
- page_size: 1,
12416
+ await client.operations.operationsTaskLists.createV1({
12417
+ schema_version: 1,
12418
+ name: "name",
12611
12419
  });
12612
12420
  ```
12613
12421
 
@@ -12624,7 +12432,7 @@ await client.operations.departments.listV1({
12624
12432
  <dl>
12625
12433
  <dd>
12626
12434
 
12627
- **request:** `Chrt.operations.DepartmentsListV1Request`
12435
+ **request:** `Chrt.operations.OperationsTaskListClientCreate1`
12628
12436
 
12629
12437
  </dd>
12630
12438
  </dl>
@@ -12632,7 +12440,7 @@ await client.operations.departments.listV1({
12632
12440
  <dl>
12633
12441
  <dd>
12634
12442
 
12635
- **requestOptions:** `Departments.RequestOptions`
12443
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12636
12444
 
12637
12445
  </dd>
12638
12446
  </dl>
@@ -12643,7 +12451,7 @@ await client.operations.departments.listV1({
12643
12451
  </dl>
12644
12452
  </details>
12645
12453
 
12646
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">getV1</a>(departmentId) -> Chrt.Department1</code></summary>
12454
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">addEntriesV1</a>(taskListId, { ...params }) -> boolean</code></summary>
12647
12455
  <dl>
12648
12456
  <dd>
12649
12457
 
@@ -12655,7 +12463,7 @@ await client.operations.departments.listV1({
12655
12463
  <dl>
12656
12464
  <dd>
12657
12465
 
12658
- Retrieves a single department configuration. | authz: min_org_role=operator | () -> (Department1)
12466
+ Appends entries to an OperationsTaskList's `entries` array. | authz: min_org_role=operator | (OperationsTaskListEntriesAdd1) -> (bool)
12659
12467
 
12660
12468
  </dd>
12661
12469
  </dl>
@@ -12671,7 +12479,7 @@ Retrieves a single department configuration. | authz: min_org_role=operator | ()
12671
12479
  <dd>
12672
12480
 
12673
12481
  ```typescript
12674
- await client.operations.departments.getV1("department_id");
12482
+ await client.operations.operationsTaskLists.addEntriesV1("task_list_id");
12675
12483
  ```
12676
12484
 
12677
12485
  </dd>
@@ -12687,7 +12495,7 @@ await client.operations.departments.getV1("department_id");
12687
12495
  <dl>
12688
12496
  <dd>
12689
12497
 
12690
- **departmentId:** `string`
12498
+ **taskListId:** `string`
12691
12499
 
12692
12500
  </dd>
12693
12501
  </dl>
@@ -12695,7 +12503,15 @@ await client.operations.departments.getV1("department_id");
12695
12503
  <dl>
12696
12504
  <dd>
12697
12505
 
12698
- **requestOptions:** `Departments.RequestOptions`
12506
+ **request:** `Chrt.operations.OperationsTaskListEntriesAdd1`
12507
+
12508
+ </dd>
12509
+ </dl>
12510
+
12511
+ <dl>
12512
+ <dd>
12513
+
12514
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12699
12515
 
12700
12516
  </dd>
12701
12517
  </dl>
@@ -12706,7 +12522,7 @@ await client.operations.departments.getV1("department_id");
12706
12522
  </dl>
12707
12523
  </details>
12708
12524
 
12709
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">deleteV1</a>(departmentId) -> boolean</code></summary>
12525
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">removeEntriesV1</a>(taskListId, { ...params }) -> boolean</code></summary>
12710
12526
  <dl>
12711
12527
  <dd>
12712
12528
 
@@ -12718,7 +12534,7 @@ await client.operations.departments.getV1("department_id");
12718
12534
  <dl>
12719
12535
  <dd>
12720
12536
 
12721
- Deletes a department configuration. | authz: min_org_role=administrator | () -> (bool)
12537
+ Removes entries from an OperationsTaskList by entry id. | authz: min_org_role=operator | (OperationsTaskListEntriesRemove1) -> (bool)
12722
12538
 
12723
12539
  </dd>
12724
12540
  </dl>
@@ -12734,7 +12550,7 @@ Deletes a department configuration. | authz: min_org_role=administrator | () ->
12734
12550
  <dd>
12735
12551
 
12736
12552
  ```typescript
12737
- await client.operations.departments.deleteV1("department_id");
12553
+ await client.operations.operationsTaskLists.removeEntriesV1("task_list_id");
12738
12554
  ```
12739
12555
 
12740
12556
  </dd>
@@ -12750,7 +12566,7 @@ await client.operations.departments.deleteV1("department_id");
12750
12566
  <dl>
12751
12567
  <dd>
12752
12568
 
12753
- **departmentId:** `string`
12569
+ **taskListId:** `string`
12754
12570
 
12755
12571
  </dd>
12756
12572
  </dl>
@@ -12758,7 +12574,15 @@ await client.operations.departments.deleteV1("department_id");
12758
12574
  <dl>
12759
12575
  <dd>
12760
12576
 
12761
- **requestOptions:** `Departments.RequestOptions`
12577
+ **request:** `Chrt.operations.OperationsTaskListEntriesRemove1`
12578
+
12579
+ </dd>
12580
+ </dl>
12581
+
12582
+ <dl>
12583
+ <dd>
12584
+
12585
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12762
12586
 
12763
12587
  </dd>
12764
12588
  </dl>
@@ -12769,7 +12593,7 @@ await client.operations.departments.deleteV1("department_id");
12769
12593
  </dl>
12770
12594
  </details>
12771
12595
 
12772
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">updateV1</a>(departmentId, { ...params }) -> boolean</code></summary>
12596
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">archiveV1</a>(taskListId) -> boolean</code></summary>
12773
12597
  <dl>
12774
12598
  <dd>
12775
12599
 
@@ -12781,7 +12605,7 @@ await client.operations.departments.deleteV1("department_id");
12781
12605
  <dl>
12782
12606
  <dd>
12783
12607
 
12784
- Updates a department configuration. | authz: min_org_role=administrator | (DepartmentClientUpdate1) -> (bool)
12608
+ Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
12785
12609
 
12786
12610
  </dd>
12787
12611
  </dl>
@@ -12797,7 +12621,7 @@ Updates a department configuration. | authz: min_org_role=administrator | (Depar
12797
12621
  <dd>
12798
12622
 
12799
12623
  ```typescript
12800
- await client.operations.departments.updateV1("department_id");
12624
+ await client.operations.operationsTaskLists.archiveV1("task_list_id");
12801
12625
  ```
12802
12626
 
12803
12627
  </dd>
@@ -12813,15 +12637,7 @@ await client.operations.departments.updateV1("department_id");
12813
12637
  <dl>
12814
12638
  <dd>
12815
12639
 
12816
- **departmentId:** `string`
12817
-
12818
- </dd>
12819
- </dl>
12820
-
12821
- <dl>
12822
- <dd>
12823
-
12824
- **request:** `Chrt.operations.DepartmentClientUpdate1`
12640
+ **taskListId:** `string`
12825
12641
 
12826
12642
  </dd>
12827
12643
  </dl>
@@ -12829,7 +12645,7 @@ await client.operations.departments.updateV1("department_id");
12829
12645
  <dl>
12830
12646
  <dd>
12831
12647
 
12832
- **requestOptions:** `Departments.RequestOptions`
12648
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12833
12649
 
12834
12650
  </dd>
12835
12651
  </dl>
@@ -12840,7 +12656,7 @@ await client.operations.departments.updateV1("department_id");
12840
12656
  </dl>
12841
12657
  </details>
12842
12658
 
12843
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
12659
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">unarchiveV1</a>(taskListId) -> boolean</code></summary>
12844
12660
  <dl>
12845
12661
  <dd>
12846
12662
 
@@ -12852,7 +12668,7 @@ await client.operations.departments.updateV1("department_id");
12852
12668
  <dl>
12853
12669
  <dd>
12854
12670
 
12855
- Creates a new department configuration for the caller's organization. | authz: min_org_role=administrator | (DepartmentClientCreate1) -> (PydanticObjectId)
12671
+ Restores an archived OperationsTaskList by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
12856
12672
 
12857
12673
  </dd>
12858
12674
  </dl>
@@ -12868,11 +12684,7 @@ Creates a new department configuration for the caller's organization. | authz: m
12868
12684
  <dd>
12869
12685
 
12870
12686
  ```typescript
12871
- await client.operations.departments.createV1({
12872
- schema_version: 1,
12873
- name: "name",
12874
- department: "automotive",
12875
- });
12687
+ await client.operations.operationsTaskLists.unarchiveV1("task_list_id");
12876
12688
  ```
12877
12689
 
12878
12690
  </dd>
@@ -12888,7 +12700,7 @@ await client.operations.departments.createV1({
12888
12700
  <dl>
12889
12701
  <dd>
12890
12702
 
12891
- **request:** `Chrt.operations.DepartmentClientCreate1`
12703
+ **taskListId:** `string`
12892
12704
 
12893
12705
  </dd>
12894
12706
  </dl>
@@ -12896,7 +12708,7 @@ await client.operations.departments.createV1({
12896
12708
  <dl>
12897
12709
  <dd>
12898
12710
 
12899
- **requestOptions:** `Departments.RequestOptions`
12711
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12900
12712
 
12901
12713
  </dd>
12902
12714
  </dl>
@@ -12907,7 +12719,7 @@ await client.operations.departments.createV1({
12907
12719
  </dl>
12908
12720
  </details>
12909
12721
 
12910
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">addOperatorV1</a>(departmentId, userId) -> boolean</code></summary>
12722
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">applyToCaseV1</a>(taskListId, caseId, { ...params }) -> string[]</code></summary>
12911
12723
  <dl>
12912
12724
  <dd>
12913
12725
 
@@ -12919,7 +12731,7 @@ await client.operations.departments.createV1({
12919
12731
  <dl>
12920
12732
  <dd>
12921
12733
 
12922
- Adds an operator to a department. | authz: min_org_role=administrator | () -> (bool)
12734
+ Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines: overall_deadline_timestamp wins, else the entry's deadline_offset_seconds, else a positional 20-min stagger. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
12923
12735
 
12924
12736
  </dd>
12925
12737
  </dl>
@@ -12935,7 +12747,9 @@ Adds an operator to a department. | authz: min_org_role=administrator | () -> (b
12935
12747
  <dd>
12936
12748
 
12937
12749
  ```typescript
12938
- await client.operations.departments.addOperatorV1("department_id", "user_id");
12750
+ await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_id", {
12751
+ overall_deadline_timestamp: "2024-01-15T09:30:00Z",
12752
+ });
12939
12753
  ```
12940
12754
 
12941
12755
  </dd>
@@ -12951,7 +12765,7 @@ await client.operations.departments.addOperatorV1("department_id", "user_id");
12951
12765
  <dl>
12952
12766
  <dd>
12953
12767
 
12954
- **departmentId:** `string`
12768
+ **taskListId:** `string`
12955
12769
 
12956
12770
  </dd>
12957
12771
  </dl>
@@ -12959,7 +12773,7 @@ await client.operations.departments.addOperatorV1("department_id", "user_id");
12959
12773
  <dl>
12960
12774
  <dd>
12961
12775
 
12962
- **userId:** `string`
12776
+ **caseId:** `string`
12963
12777
 
12964
12778
  </dd>
12965
12779
  </dl>
@@ -12967,7 +12781,15 @@ await client.operations.departments.addOperatorV1("department_id", "user_id");
12967
12781
  <dl>
12968
12782
  <dd>
12969
12783
 
12970
- **requestOptions:** `Departments.RequestOptions`
12784
+ **request:** `Chrt.operations.OperationsTaskListsApplyToCaseV1Request`
12785
+
12786
+ </dd>
12787
+ </dl>
12788
+
12789
+ <dl>
12790
+ <dd>
12791
+
12792
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
12971
12793
 
12972
12794
  </dd>
12973
12795
  </dl>
@@ -12978,7 +12800,7 @@ await client.operations.departments.addOperatorV1("department_id", "user_id");
12978
12800
  </dl>
12979
12801
  </details>
12980
12802
 
12981
- <details><summary><code>client.operations.departments.<a href="/src/api/resources/operations/resources/departments/client/Client.ts">removeOperatorV1</a>(departmentId, userId) -> boolean</code></summary>
12803
+ <details><summary><code>client.operations.operationsTaskLists.<a href="/src/api/resources/operations/resources/operationsTaskLists/client/Client.ts">removeFromCaseV1</a>(taskListId, caseId) -> Chrt.OperationsTaskListRemoveFromCaseRes1</code></summary>
12982
12804
  <dl>
12983
12805
  <dd>
12984
12806
 
@@ -12990,7 +12812,7 @@ await client.operations.departments.addOperatorV1("department_id", "user_id");
12990
12812
  <dl>
12991
12813
  <dd>
12992
12814
 
12993
- Removes an operator from a department. | authz: min_org_role=administrator | () -> (bool)
12815
+ Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
12994
12816
 
12995
12817
  </dd>
12996
12818
  </dl>
@@ -13006,7 +12828,7 @@ Removes an operator from a department. | authz: min_org_role=administrator | ()
13006
12828
  <dd>
13007
12829
 
13008
12830
  ```typescript
13009
- await client.operations.departments.removeOperatorV1("department_id", "user_id");
12831
+ await client.operations.operationsTaskLists.removeFromCaseV1("task_list_id", "case_id");
13010
12832
  ```
13011
12833
 
13012
12834
  </dd>
@@ -13022,7 +12844,7 @@ await client.operations.departments.removeOperatorV1("department_id", "user_id")
13022
12844
  <dl>
13023
12845
  <dd>
13024
12846
 
13025
- **departmentId:** `string`
12847
+ **taskListId:** `string`
13026
12848
 
13027
12849
  </dd>
13028
12850
  </dl>
@@ -13030,7 +12852,7 @@ await client.operations.departments.removeOperatorV1("department_id", "user_id")
13030
12852
  <dl>
13031
12853
  <dd>
13032
12854
 
13033
- **userId:** `string`
12855
+ **caseId:** `string`
13034
12856
 
13035
12857
  </dd>
13036
12858
  </dl>
@@ -13038,7 +12860,7 @@ await client.operations.departments.removeOperatorV1("department_id", "user_id")
13038
12860
  <dl>
13039
12861
  <dd>
13040
12862
 
13041
- **requestOptions:** `Departments.RequestOptions`
12863
+ **requestOptions:** `OperationsTaskLists.RequestOptions`
13042
12864
 
13043
12865
  </dd>
13044
12866
  </dl>
@@ -13063,7 +12885,7 @@ await client.operations.departments.removeOperatorV1("department_id", "user_id")
13063
12885
  <dl>
13064
12886
  <dd>
13065
12887
 
13066
- Lists incomplete OperationsTasks for the caller's organization by default, with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
12888
+ Lists OperationsTasks for the caller's organization, with order/department/type/status/tag/assignee/deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
13067
12889
 
13068
12890
  </dd>
13069
12891
  </dl>
@@ -13084,8 +12906,9 @@ await client.operations.operationsTasks.listV1({
13084
12906
  sort_order: "asc",
13085
12907
  page: 1,
13086
12908
  page_size: 1,
13087
- filter_case_id: "filter_case_id",
13088
- filter_completed: true,
12909
+ filter_order_id: "filter_order_id",
12910
+ filter_department_id: "filter_department_id",
12911
+ filter_assigned_user_id: "filter_assigned_user_id",
13089
12912
  filter_deadline_gte: "2024-01-15T09:30:00Z",
13090
12913
  filter_deadline_lte: "2024-01-15T09:30:00Z",
13091
12914
  });
@@ -13332,7 +13155,7 @@ await client.operations.operationsTasks.updateV1("task_id");
13332
13155
  <dl>
13333
13156
  <dd>
13334
13157
 
13335
- Creates a new OperationsTask on a Case owned by the caller's organization. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
13158
+ Creates a new OperationsTask on an Order the caller's organization has a Case for. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
13336
13159
 
13337
13160
  </dd>
13338
13161
  </dl>
@@ -13350,7 +13173,8 @@ Creates a new OperationsTask on a Case owned by the caller's organization. | aut
13350
13173
  ```typescript
13351
13174
  await client.operations.operationsTasks.createV1({
13352
13175
  schema_version: 1,
13353
- case_id: "case_id",
13176
+ order_id: "order_id",
13177
+ task_type: "review_order_details",
13354
13178
  title: "title",
13355
13179
  description: "description",
13356
13180
  });
@@ -13514,6 +13338,79 @@ await client.operations.operationsTasks.uncompleteV1("task_id");
13514
13338
  </dl>
13515
13339
  </details>
13516
13340
 
13341
+ <details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">updateStatusV1</a>(taskId, { ...params }) -> boolean</code></summary>
13342
+ <dl>
13343
+ <dd>
13344
+
13345
+ #### 📝 Description
13346
+
13347
+ <dl>
13348
+ <dd>
13349
+
13350
+ <dl>
13351
+ <dd>
13352
+
13353
+ Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
13354
+
13355
+ </dd>
13356
+ </dl>
13357
+ </dd>
13358
+ </dl>
13359
+
13360
+ #### 🔌 Usage
13361
+
13362
+ <dl>
13363
+ <dd>
13364
+
13365
+ <dl>
13366
+ <dd>
13367
+
13368
+ ```typescript
13369
+ await client.operations.operationsTasks.updateStatusV1("task_id", {
13370
+ status: "not_started",
13371
+ });
13372
+ ```
13373
+
13374
+ </dd>
13375
+ </dl>
13376
+ </dd>
13377
+ </dl>
13378
+
13379
+ #### ⚙️ Parameters
13380
+
13381
+ <dl>
13382
+ <dd>
13383
+
13384
+ <dl>
13385
+ <dd>
13386
+
13387
+ **taskId:** `string`
13388
+
13389
+ </dd>
13390
+ </dl>
13391
+
13392
+ <dl>
13393
+ <dd>
13394
+
13395
+ **request:** `Chrt.operations.OperationsTaskStatusReq`
13396
+
13397
+ </dd>
13398
+ </dl>
13399
+
13400
+ <dl>
13401
+ <dd>
13402
+
13403
+ **requestOptions:** `OperationsTasks.RequestOptions`
13404
+
13405
+ </dd>
13406
+ </dl>
13407
+ </dd>
13408
+ </dl>
13409
+
13410
+ </dd>
13411
+ </dl>
13412
+ </details>
13413
+
13517
13414
  <details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">addCommentV1</a>(taskId, { ...params }) -> string</code></summary>
13518
13415
  <dl>
13519
13416
  <dd>
@@ -14251,77 +14148,6 @@ await client.orgs.connections.createConnectionToShipperV1({
14251
14148
  </dl>
14252
14149
  </details>
14253
14150
 
14254
- <details><summary><code>client.orgs.connections.<a href="/src/api/resources/orgs/resources/connections/client/Client.ts">setDepartmentV1</a>(connectionId, { ...params }) -> boolean</code></summary>
14255
- <dl>
14256
- <dd>
14257
-
14258
- #### 📝 Description
14259
-
14260
- <dl>
14261
- <dd>
14262
-
14263
- <dl>
14264
- <dd>
14265
-
14266
- Sets or clears the department on a connection. Send null to clear. | authz: min_org_role=administrator | (SetDepartmentReq) -> (bool)
14267
-
14268
- </dd>
14269
- </dl>
14270
- </dd>
14271
- </dl>
14272
-
14273
- #### 🔌 Usage
14274
-
14275
- <dl>
14276
- <dd>
14277
-
14278
- <dl>
14279
- <dd>
14280
-
14281
- ```typescript
14282
- await client.orgs.connections.setDepartmentV1("connection_id");
14283
- ```
14284
-
14285
- </dd>
14286
- </dl>
14287
- </dd>
14288
- </dl>
14289
-
14290
- #### ⚙️ Parameters
14291
-
14292
- <dl>
14293
- <dd>
14294
-
14295
- <dl>
14296
- <dd>
14297
-
14298
- **connectionId:** `string`
14299
-
14300
- </dd>
14301
- </dl>
14302
-
14303
- <dl>
14304
- <dd>
14305
-
14306
- **request:** `Chrt.orgs.SetDepartmentReq`
14307
-
14308
- </dd>
14309
- </dl>
14310
-
14311
- <dl>
14312
- <dd>
14313
-
14314
- **requestOptions:** `Connections.RequestOptions`
14315
-
14316
- </dd>
14317
- </dl>
14318
- </dd>
14319
- </dl>
14320
-
14321
- </dd>
14322
- </dl>
14323
- </details>
14324
-
14325
14151
  <details><summary><code>client.orgs.connections.<a href="/src/api/resources/orgs/resources/connections/client/Client.ts">setProviderProviderAutoAssignV1</a>(connectionId, { ...params }) -> boolean</code></summary>
14326
14152
  <dl>
14327
14153
  <dd>