@chrt-inc/typescript-sdk 1.719.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 (229) 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 +1 -1
  15. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +1 -1
  16. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -2
  17. package/dist/cjs/api/resources/operations/resources/index.js +5 -3
  18. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +181 -0
  19. package/dist/cjs/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.js +206 -75
  20. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.d.ts +2 -0
  21. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.js +17 -0
  22. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.ts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts} +3 -2
  23. 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
  24. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.ts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.ts} +2 -2
  25. package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.ts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.ts} +2 -2
  26. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +13 -0
  27. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.ts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts} +2 -2
  28. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +6 -0
  29. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.js +2 -0
  30. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.js +17 -0
  32. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +23 -5
  33. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +108 -14
  34. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +7 -2
  35. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  36. package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.ts → operationsTasks/client/requests/OperationsTaskStatusReq.d.ts} +3 -3
  37. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +15 -6
  38. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +0 -14
  40. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +0 -63
  41. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +0 -1
  42. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -1
  43. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -2
  44. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -1
  45. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -2
  46. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
  47. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  48. package/dist/cjs/api/types/Case1.d.ts +1 -12
  49. package/dist/cjs/api/types/CaseSortByEnum.d.ts +1 -2
  50. package/dist/cjs/api/types/CaseSortByEnum.js +0 -1
  51. package/dist/cjs/api/types/Department1.d.ts +1 -0
  52. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
  53. package/dist/cjs/api/types/DepartmentTypeEnum.d.ts +10 -10
  54. package/dist/cjs/api/types/DepartmentTypeEnum.js +9 -9
  55. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -1
  56. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -1
  57. package/dist/cjs/api/types/OperationsTask1.d.ts +7 -2
  58. package/dist/cjs/api/types/{Checklist1.d.ts → OperationsTaskList1.d.ts} +3 -2
  59. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +23 -0
  60. package/dist/cjs/api/types/{ChecklistListRes.d.ts → OperationsTaskListListRes.d.ts} +2 -2
  61. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +13 -0
  62. package/dist/{esm/api/types/ChecklistSortByEnum.d.mts → cjs/api/types/OperationsTaskListSortByEnum.d.ts} +2 -2
  63. package/dist/cjs/api/types/{ChecklistSortByEnum.js → OperationsTaskListSortByEnum.js} +2 -2
  64. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +17 -0
  65. package/dist/cjs/api/types/{CheckStatusEnum.js → OperationsTaskStatusEnum.js} +4 -7
  66. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +23 -0
  67. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +20 -0
  68. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +0 -1
  69. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +8 -0
  70. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +10 -0
  71. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +0 -1
  72. package/dist/cjs/api/types/index.d.ts +9 -11
  73. package/dist/cjs/api/types/index.js +9 -11
  74. package/dist/cjs/version.d.ts +1 -1
  75. package/dist/cjs/version.js +1 -1
  76. package/dist/esm/Client.mjs +2 -2
  77. package/dist/esm/api/resources/operations/client/Client.d.mts +6 -3
  78. package/dist/esm/api/resources/operations/client/Client.mjs +8 -3
  79. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +5 -125
  80. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +17 -494
  81. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +1 -0
  82. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +3 -8
  83. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -4
  84. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +76 -0
  85. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +209 -0
  86. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +19 -0
  87. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
  88. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -1
  89. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -1
  90. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +1 -1
  91. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -2
  92. package/dist/esm/api/resources/operations/resources/index.mjs +4 -2
  93. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +181 -0
  94. package/dist/esm/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.mjs +204 -73
  95. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.d.mts +2 -0
  96. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.mjs +1 -0
  97. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.mts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts} +3 -2
  98. 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
  99. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.mts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.mts} +2 -2
  100. package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.mts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.mts} +2 -2
  101. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +13 -0
  102. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.mts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts} +2 -2
  103. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +6 -0
  104. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.mjs +1 -0
  105. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.d.mts +1 -0
  106. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.mjs +1 -0
  107. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +23 -5
  108. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +108 -14
  109. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +7 -2
  110. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  111. package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.mts → operationsTasks/client/requests/OperationsTaskStatusReq.d.mts} +3 -3
  112. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +15 -6
  113. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  114. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +0 -14
  115. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +0 -63
  116. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +0 -1
  117. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -1
  118. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -2
  119. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -1
  120. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -2
  121. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
  122. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  123. package/dist/esm/api/types/Case1.d.mts +1 -12
  124. package/dist/esm/api/types/CaseSortByEnum.d.mts +1 -2
  125. package/dist/esm/api/types/CaseSortByEnum.mjs +0 -1
  126. package/dist/esm/api/types/Department1.d.mts +1 -0
  127. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
  128. package/dist/esm/api/types/DepartmentTypeEnum.d.mts +10 -10
  129. package/dist/esm/api/types/DepartmentTypeEnum.mjs +9 -9
  130. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -1
  131. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -1
  132. package/dist/esm/api/types/OperationsTask1.d.mts +7 -2
  133. package/dist/esm/api/types/{Checklist1.d.mts → OperationsTaskList1.d.mts} +3 -2
  134. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +23 -0
  135. package/dist/esm/api/types/{ChecklistListRes.d.mts → OperationsTaskListListRes.d.mts} +2 -2
  136. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +13 -0
  137. package/dist/{cjs/api/types/ChecklistSortByEnum.d.ts → esm/api/types/OperationsTaskListSortByEnum.d.mts} +2 -2
  138. package/dist/esm/api/types/{ChecklistSortByEnum.mjs → OperationsTaskListSortByEnum.mjs} +1 -1
  139. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +17 -0
  140. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +9 -0
  141. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +23 -0
  142. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +17 -0
  143. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +0 -1
  144. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +8 -0
  145. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +7 -0
  146. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +0 -1
  147. package/dist/esm/api/types/index.d.mts +9 -11
  148. package/dist/esm/api/types/index.mjs +9 -11
  149. package/dist/esm/version.d.mts +1 -1
  150. package/dist/esm/version.mjs +1 -1
  151. package/package.json +1 -1
  152. package/reference.md +323 -497
  153. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts +0 -12
  154. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +0 -15
  155. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts +0 -12
  156. package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +0 -150
  157. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +0 -11
  158. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +0 -5
  159. package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +0 -7
  160. package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +0 -8
  161. package/dist/cjs/api/types/CaseChecksSummary1.d.ts +0 -27
  162. package/dist/cjs/api/types/CaseStatusEnum.d.ts +0 -9
  163. package/dist/cjs/api/types/CaseStatusEnum.js +0 -11
  164. package/dist/cjs/api/types/Check1.d.ts +0 -33
  165. package/dist/cjs/api/types/Check1.js +0 -5
  166. package/dist/cjs/api/types/CheckEnum.d.ts +0 -46
  167. package/dist/cjs/api/types/CheckEnum.js +0 -23
  168. package/dist/cjs/api/types/CheckStatusEnum.d.ts +0 -32
  169. package/dist/cjs/api/types/Checklist1.js +0 -5
  170. package/dist/cjs/api/types/ChecklistCheck1.d.ts +0 -15
  171. package/dist/cjs/api/types/ChecklistCheck1.js +0 -5
  172. package/dist/cjs/api/types/ChecklistListRes.js +0 -5
  173. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts +0 -12
  174. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +0 -15
  175. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts +0 -12
  176. package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +0 -150
  177. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +0 -11
  178. package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +0 -5
  179. package/dist/esm/api/types/CaseChecksDisableReq.d.mts +0 -7
  180. package/dist/esm/api/types/CaseChecksDismissReq.d.mts +0 -8
  181. package/dist/esm/api/types/CaseChecksSummary1.d.mts +0 -27
  182. package/dist/esm/api/types/CaseStatusEnum.d.mts +0 -9
  183. package/dist/esm/api/types/CaseStatusEnum.mjs +0 -8
  184. package/dist/esm/api/types/Check1.d.mts +0 -33
  185. package/dist/esm/api/types/Check1.mjs +0 -4
  186. package/dist/esm/api/types/CheckEnum.d.mts +0 -46
  187. package/dist/esm/api/types/CheckEnum.mjs +0 -20
  188. package/dist/esm/api/types/CheckStatusEnum.d.mts +0 -32
  189. package/dist/esm/api/types/CheckStatusEnum.mjs +0 -12
  190. package/dist/esm/api/types/Checklist1.mjs +0 -4
  191. package/dist/esm/api/types/ChecklistCheck1.d.mts +0 -15
  192. package/dist/esm/api/types/ChecklistCheck1.mjs +0 -4
  193. package/dist/esm/api/types/ChecklistListRes.mjs +0 -4
  194. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.ts +0 -0
  195. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.js +0 -0
  196. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.js → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js} +0 -0
  197. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.js +0 -0
  198. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.ts +0 -0
  199. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.js +0 -0
  200. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.js} +0 -0
  201. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.js → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.js} +0 -0
  202. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.js → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js} +0 -0
  203. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.js → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.js} +0 -0
  204. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js} +0 -0
  205. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.js → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.js} +0 -0
  206. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.js → operationsTasks/client/requests/OperationsTaskStatusReq.js} +0 -0
  207. /package/dist/cjs/api/{resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.js → types/DepartmentRoutingRule1.js} +0 -0
  208. /package/dist/cjs/api/{resources/orgs/resources/connections/client/requests/SetDepartmentReq.js → types/OperationsTaskList1.js} +0 -0
  209. /package/dist/cjs/api/types/{CaseChecksDisableReq.js → OperationsTaskListEntry1.js} +0 -0
  210. /package/dist/cjs/api/types/{CaseChecksDismissReq.js → OperationsTaskListListRes.js} +0 -0
  211. /package/dist/cjs/api/types/{CaseChecksSummary1.js → OperationsTaskListRemoveFromCaseRes1.js} +0 -0
  212. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.mts +0 -0
  213. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.mjs +0 -0
  214. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs} +0 -0
  215. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.mjs +0 -0
  216. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.mts +0 -0
  217. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.mjs +0 -0
  218. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.mjs} +0 -0
  219. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.mjs} +0 -0
  220. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs} +0 -0
  221. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.mjs} +0 -0
  222. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs} +0 -0
  223. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.mjs → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.mjs} +0 -0
  224. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.mjs → operationsTasks/client/requests/OperationsTaskStatusReq.mjs} +0 -0
  225. /package/dist/esm/api/{resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs → types/DepartmentRoutingRule1.mjs} +0 -0
  226. /package/dist/esm/api/{resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs → types/OperationsTaskList1.mjs} +0 -0
  227. /package/dist/esm/api/types/{CaseChecksDisableReq.mjs → OperationsTaskListEntry1.mjs} +0 -0
  228. /package/dist/esm/api/types/{CaseChecksDismissReq.mjs → OperationsTaskListListRes.mjs} +0 -0
  229. /package/dist/esm/api/types/{CaseChecksSummary1.mjs → OperationsTaskListRemoveFromCaseRes1.mjs} +0 -0
@@ -15,20 +15,20 @@ import * as core from "../../../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../../../errors/index.mjs";
18
- export class Checklists {
18
+ export class OperationsTaskLists {
19
19
  constructor(_options = {}) {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Lists Checklists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (ChecklistListRes)
23
+ * Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
24
24
  *
25
- * @param {Chrt.operations.ChecklistsListV1Request} request
26
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
25
+ * @param {Chrt.operations.OperationsTaskListsListV1Request} request
26
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @throws {@link Chrt.UnprocessableEntityError}
29
29
  *
30
30
  * @example
31
- * await client.operations.checklists.listV1({
31
+ * await client.operations.operationsTaskLists.listV1({
32
32
  * sort_by: "created_at_timestamp",
33
33
  * sort_order: "asc",
34
34
  * page: 1,
@@ -61,7 +61,7 @@ export class Checklists {
61
61
  }
62
62
  let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
63
63
  const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
64
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "operations/checklists/list/v1"),
64
+ url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "operations/operations_task_lists/list/v1"),
65
65
  method: "GET",
66
66
  headers: _headers,
67
67
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -92,7 +92,7 @@ export class Checklists {
92
92
  rawResponse: _response.rawResponse,
93
93
  });
94
94
  case "timeout":
95
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/checklists/list/v1.");
95
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/operations_task_lists/list/v1.");
96
96
  case "unknown":
97
97
  throw new errors.ChrtError({
98
98
  message: _response.error.errorMessage,
@@ -102,25 +102,25 @@ export class Checklists {
102
102
  });
103
103
  }
104
104
  /**
105
- * Retrieves a single Checklist by id. | authz: min_org_role=operator | () -> (Checklist1)
105
+ * Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
106
106
  *
107
- * @param {string} checklistId
108
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
107
+ * @param {string} taskListId
108
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
109
109
  *
110
110
  * @throws {@link Chrt.UnprocessableEntityError}
111
111
  *
112
112
  * @example
113
- * await client.operations.checklists.getV1("checklist_id")
113
+ * await client.operations.operationsTaskLists.getV1("task_list_id")
114
114
  */
115
- getV1(checklistId, requestOptions) {
116
- return core.HttpResponsePromise.fromPromise(this.__getV1(checklistId, requestOptions));
115
+ getV1(taskListId, requestOptions) {
116
+ return core.HttpResponsePromise.fromPromise(this.__getV1(taskListId, requestOptions));
117
117
  }
118
- __getV1(checklistId, requestOptions) {
118
+ __getV1(taskListId, requestOptions) {
119
119
  return __awaiter(this, void 0, void 0, function* () {
120
120
  var _a, _b, _c, _d;
121
121
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
122
122
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
123
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/checklists/v1/${encodeURIComponent(checklistId)}`),
123
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/v1/${encodeURIComponent(taskListId)}`),
124
124
  method: "GET",
125
125
  headers: _headers,
126
126
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -151,7 +151,7 @@ export class Checklists {
151
151
  rawResponse: _response.rawResponse,
152
152
  });
153
153
  case "timeout":
154
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/checklists/v1/{checklist_id}.");
154
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/operations_task_lists/v1/{task_list_id}.");
155
155
  case "unknown":
156
156
  throw new errors.ChrtError({
157
157
  message: _response.error.errorMessage,
@@ -161,26 +161,26 @@ export class Checklists {
161
161
  });
162
162
  }
163
163
  /**
164
- * Updates scalar fields (name, description) on a Checklist. | authz: min_org_role=operator | (ChecklistClientUpdate1) -> (bool)
164
+ * Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
165
165
  *
166
- * @param {string} checklistId
167
- * @param {Chrt.operations.ChecklistClientUpdate1} request
168
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
166
+ * @param {string} taskListId
167
+ * @param {Chrt.operations.OperationsTaskListClientUpdate1} request
168
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
169
169
  *
170
170
  * @throws {@link Chrt.UnprocessableEntityError}
171
171
  *
172
172
  * @example
173
- * await client.operations.checklists.updateV1("checklist_id")
173
+ * await client.operations.operationsTaskLists.updateV1("task_list_id")
174
174
  */
175
- updateV1(checklistId, request = {}, requestOptions) {
176
- return core.HttpResponsePromise.fromPromise(this.__updateV1(checklistId, request, requestOptions));
175
+ updateV1(taskListId, request = {}, requestOptions) {
176
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(taskListId, request, requestOptions));
177
177
  }
178
- __updateV1(checklistId_1) {
179
- return __awaiter(this, arguments, void 0, function* (checklistId, request = {}, requestOptions) {
178
+ __updateV1(taskListId_1) {
179
+ return __awaiter(this, arguments, void 0, function* (taskListId, request = {}, requestOptions) {
180
180
  var _a, _b, _c, _d;
181
181
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
182
182
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
183
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/checklists/v1/${encodeURIComponent(checklistId)}`),
183
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/v1/${encodeURIComponent(taskListId)}`),
184
184
  method: "PATCH",
185
185
  headers: _headers,
186
186
  contentType: "application/json",
@@ -214,7 +214,7 @@ export class Checklists {
214
214
  rawResponse: _response.rawResponse,
215
215
  });
216
216
  case "timeout":
217
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/checklists/v1/{checklist_id}.");
217
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/operations_task_lists/v1/{task_list_id}.");
218
218
  case "unknown":
219
219
  throw new errors.ChrtError({
220
220
  message: _response.error.errorMessage,
@@ -224,15 +224,15 @@ export class Checklists {
224
224
  });
225
225
  }
226
226
  /**
227
- * Creates a new Checklist for the caller's organization. | authz: min_org_role=operator | (ChecklistClientCreate1) -> (PydanticObjectId)
227
+ * Creates a new OperationsTaskList for the caller's organization. | authz: min_org_role=operator | (OperationsTaskListClientCreate1) -> (PydanticObjectId)
228
228
  *
229
- * @param {Chrt.operations.ChecklistClientCreate1} request
230
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
229
+ * @param {Chrt.operations.OperationsTaskListClientCreate1} request
230
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
231
231
  *
232
232
  * @throws {@link Chrt.UnprocessableEntityError}
233
233
  *
234
234
  * @example
235
- * await client.operations.checklists.createV1({
235
+ * await client.operations.operationsTaskLists.createV1({
236
236
  * schema_version: 1,
237
237
  * name: "name"
238
238
  * })
@@ -245,7 +245,7 @@ export class Checklists {
245
245
  var _a, _b, _c, _d;
246
246
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
247
247
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
248
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "operations/checklists/v1"),
248
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "operations/operations_task_lists/v1"),
249
249
  method: "POST",
250
250
  headers: _headers,
251
251
  contentType: "application/json",
@@ -279,7 +279,7 @@ export class Checklists {
279
279
  rawResponse: _response.rawResponse,
280
280
  });
281
281
  case "timeout":
282
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/checklists/v1.");
282
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/v1.");
283
283
  case "unknown":
284
284
  throw new errors.ChrtError({
285
285
  message: _response.error.errorMessage,
@@ -289,26 +289,26 @@ export class Checklists {
289
289
  });
290
290
  }
291
291
  /**
292
- * Adds checks to a Checklist. Idempotent for identical checks. | authz: min_org_role=operator | (ChecklistChecksAdd1) -> (bool)
292
+ * Appends entries to an OperationsTaskList's `entries` array. | authz: min_org_role=operator | (OperationsTaskListEntriesAdd1) -> (bool)
293
293
  *
294
- * @param {string} checklistId
295
- * @param {Chrt.operations.ChecklistChecksAdd1} request
296
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
294
+ * @param {string} taskListId
295
+ * @param {Chrt.operations.OperationsTaskListEntriesAdd1} request
296
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
297
297
  *
298
298
  * @throws {@link Chrt.UnprocessableEntityError}
299
299
  *
300
300
  * @example
301
- * await client.operations.checklists.addChecksV1("checklist_id")
301
+ * await client.operations.operationsTaskLists.addEntriesV1("task_list_id")
302
302
  */
303
- addChecksV1(checklistId, request = {}, requestOptions) {
304
- return core.HttpResponsePromise.fromPromise(this.__addChecksV1(checklistId, request, requestOptions));
303
+ addEntriesV1(taskListId, request = {}, requestOptions) {
304
+ return core.HttpResponsePromise.fromPromise(this.__addEntriesV1(taskListId, request, requestOptions));
305
305
  }
306
- __addChecksV1(checklistId_1) {
307
- return __awaiter(this, arguments, void 0, function* (checklistId, request = {}, requestOptions) {
306
+ __addEntriesV1(taskListId_1) {
307
+ return __awaiter(this, arguments, void 0, function* (taskListId, request = {}, requestOptions) {
308
308
  var _a, _b, _c, _d;
309
309
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
310
310
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
311
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/checklists/checks/add/v1/${encodeURIComponent(checklistId)}`),
311
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/entries/add/v1/${encodeURIComponent(taskListId)}`),
312
312
  method: "POST",
313
313
  headers: _headers,
314
314
  contentType: "application/json",
@@ -342,7 +342,7 @@ export class Checklists {
342
342
  rawResponse: _response.rawResponse,
343
343
  });
344
344
  case "timeout":
345
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/checklists/checks/add/v1/{checklist_id}.");
345
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/entries/add/v1/{task_list_id}.");
346
346
  case "unknown":
347
347
  throw new errors.ChrtError({
348
348
  message: _response.error.errorMessage,
@@ -352,26 +352,26 @@ export class Checklists {
352
352
  });
353
353
  }
354
354
  /**
355
- * Removes entries from a Checklist's `checks` list by CheckEnum. | authz: min_org_role=operator | (ChecklistChecksRemove1) -> (bool)
355
+ * Removes entries from an OperationsTaskList by entry id. | authz: min_org_role=operator | (OperationsTaskListEntriesRemove1) -> (bool)
356
356
  *
357
- * @param {string} checklistId
358
- * @param {Chrt.operations.ChecklistChecksRemove1} request
359
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
357
+ * @param {string} taskListId
358
+ * @param {Chrt.operations.OperationsTaskListEntriesRemove1} request
359
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
360
360
  *
361
361
  * @throws {@link Chrt.UnprocessableEntityError}
362
362
  *
363
363
  * @example
364
- * await client.operations.checklists.removeChecksV1("checklist_id")
364
+ * await client.operations.operationsTaskLists.removeEntriesV1("task_list_id")
365
365
  */
366
- removeChecksV1(checklistId, request = {}, requestOptions) {
367
- return core.HttpResponsePromise.fromPromise(this.__removeChecksV1(checklistId, request, requestOptions));
366
+ removeEntriesV1(taskListId, request = {}, requestOptions) {
367
+ return core.HttpResponsePromise.fromPromise(this.__removeEntriesV1(taskListId, request, requestOptions));
368
368
  }
369
- __removeChecksV1(checklistId_1) {
370
- return __awaiter(this, arguments, void 0, function* (checklistId, request = {}, requestOptions) {
369
+ __removeEntriesV1(taskListId_1) {
370
+ return __awaiter(this, arguments, void 0, function* (taskListId, request = {}, requestOptions) {
371
371
  var _a, _b, _c, _d;
372
372
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
373
373
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
374
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/checklists/checks/remove/v1/${encodeURIComponent(checklistId)}`),
374
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/entries/remove/v1/${encodeURIComponent(taskListId)}`),
375
375
  method: "POST",
376
376
  headers: _headers,
377
377
  contentType: "application/json",
@@ -405,7 +405,7 @@ export class Checklists {
405
405
  rawResponse: _response.rawResponse,
406
406
  });
407
407
  case "timeout":
408
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/checklists/checks/remove/v1/{checklist_id}.");
408
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/entries/remove/v1/{task_list_id}.");
409
409
  case "unknown":
410
410
  throw new errors.ChrtError({
411
411
  message: _response.error.errorMessage,
@@ -415,25 +415,25 @@ export class Checklists {
415
415
  });
416
416
  }
417
417
  /**
418
- * 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)
418
+ * Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
419
419
  *
420
- * @param {string} checklistId
421
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
420
+ * @param {string} taskListId
421
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
422
422
  *
423
423
  * @throws {@link Chrt.UnprocessableEntityError}
424
424
  *
425
425
  * @example
426
- * await client.operations.checklists.archiveV1("checklist_id")
426
+ * await client.operations.operationsTaskLists.archiveV1("task_list_id")
427
427
  */
428
- archiveV1(checklistId, requestOptions) {
429
- return core.HttpResponsePromise.fromPromise(this.__archiveV1(checklistId, requestOptions));
428
+ archiveV1(taskListId, requestOptions) {
429
+ return core.HttpResponsePromise.fromPromise(this.__archiveV1(taskListId, requestOptions));
430
430
  }
431
- __archiveV1(checklistId, requestOptions) {
431
+ __archiveV1(taskListId, requestOptions) {
432
432
  return __awaiter(this, void 0, void 0, function* () {
433
433
  var _a, _b, _c, _d;
434
434
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
435
435
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
436
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/checklists/archive/v1/${encodeURIComponent(checklistId)}`),
436
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/archive/v1/${encodeURIComponent(taskListId)}`),
437
437
  method: "POST",
438
438
  headers: _headers,
439
439
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -464,7 +464,7 @@ export class Checklists {
464
464
  rawResponse: _response.rawResponse,
465
465
  });
466
466
  case "timeout":
467
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/checklists/archive/v1/{checklist_id}.");
467
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/archive/v1/{task_list_id}.");
468
468
  case "unknown":
469
469
  throw new errors.ChrtError({
470
470
  message: _response.error.errorMessage,
@@ -474,25 +474,25 @@ export class Checklists {
474
474
  });
475
475
  }
476
476
  /**
477
- * Restores an archived Checklist by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
477
+ * Restores an archived OperationsTaskList by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
478
478
  *
479
- * @param {string} checklistId
480
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
479
+ * @param {string} taskListId
480
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
481
481
  *
482
482
  * @throws {@link Chrt.UnprocessableEntityError}
483
483
  *
484
484
  * @example
485
- * await client.operations.checklists.unarchiveV1("checklist_id")
485
+ * await client.operations.operationsTaskLists.unarchiveV1("task_list_id")
486
486
  */
487
- unarchiveV1(checklistId, requestOptions) {
488
- return core.HttpResponsePromise.fromPromise(this.__unarchiveV1(checklistId, requestOptions));
487
+ unarchiveV1(taskListId, requestOptions) {
488
+ return core.HttpResponsePromise.fromPromise(this.__unarchiveV1(taskListId, requestOptions));
489
489
  }
490
- __unarchiveV1(checklistId, requestOptions) {
490
+ __unarchiveV1(taskListId, requestOptions) {
491
491
  return __awaiter(this, void 0, void 0, function* () {
492
492
  var _a, _b, _c, _d;
493
493
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
494
494
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
495
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/checklists/unarchive/v1/${encodeURIComponent(checklistId)}`),
495
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/unarchive/v1/${encodeURIComponent(taskListId)}`),
496
496
  method: "POST",
497
497
  headers: _headers,
498
498
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -523,7 +523,138 @@ export class Checklists {
523
523
  rawResponse: _response.rawResponse,
524
524
  });
525
525
  case "timeout":
526
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/checklists/unarchive/v1/{checklist_id}.");
526
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/unarchive/v1/{task_list_id}.");
527
+ case "unknown":
528
+ throw new errors.ChrtError({
529
+ message: _response.error.errorMessage,
530
+ rawResponse: _response.rawResponse,
531
+ });
532
+ }
533
+ });
534
+ }
535
+ /**
536
+ * 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])
537
+ *
538
+ * @param {string} taskListId
539
+ * @param {string} caseId
540
+ * @param {Chrt.operations.OperationsTaskListsApplyToCaseV1Request} request
541
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
542
+ *
543
+ * @throws {@link Chrt.UnprocessableEntityError}
544
+ *
545
+ * @example
546
+ * await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_id", {
547
+ * overall_deadline_timestamp: "2024-01-15T09:30:00Z"
548
+ * })
549
+ */
550
+ applyToCaseV1(taskListId, caseId, request = {}, requestOptions) {
551
+ return core.HttpResponsePromise.fromPromise(this.__applyToCaseV1(taskListId, caseId, request, requestOptions));
552
+ }
553
+ __applyToCaseV1(taskListId_1, caseId_1) {
554
+ return __awaiter(this, arguments, void 0, function* (taskListId, caseId, request = {}, requestOptions) {
555
+ var _a, _b, _c, _d;
556
+ const { overall_deadline_timestamp: overallDeadlineTimestamp } = request;
557
+ const _queryParams = {};
558
+ if (overallDeadlineTimestamp !== undefined) {
559
+ _queryParams["overall_deadline_timestamp"] = overallDeadlineTimestamp;
560
+ }
561
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
562
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
563
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/apply_to_case/v1/${encodeURIComponent(taskListId)}/${encodeURIComponent(caseId)}`),
564
+ method: "POST",
565
+ headers: _headers,
566
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
567
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
568
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
569
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
570
+ });
571
+ if (_response.ok) {
572
+ return { data: _response.body, rawResponse: _response.rawResponse };
573
+ }
574
+ if (_response.error.reason === "status-code") {
575
+ switch (_response.error.statusCode) {
576
+ case 422:
577
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
578
+ default:
579
+ throw new errors.ChrtError({
580
+ statusCode: _response.error.statusCode,
581
+ body: _response.error.body,
582
+ rawResponse: _response.rawResponse,
583
+ });
584
+ }
585
+ }
586
+ switch (_response.error.reason) {
587
+ case "non-json":
588
+ throw new errors.ChrtError({
589
+ statusCode: _response.error.statusCode,
590
+ body: _response.error.rawBody,
591
+ rawResponse: _response.rawResponse,
592
+ });
593
+ case "timeout":
594
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/apply_to_case/v1/{task_list_id}/{case_id}.");
595
+ case "unknown":
596
+ throw new errors.ChrtError({
597
+ message: _response.error.errorMessage,
598
+ rawResponse: _response.rawResponse,
599
+ });
600
+ }
601
+ });
602
+ }
603
+ /**
604
+ * 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)
605
+ *
606
+ * @param {string} taskListId
607
+ * @param {string} caseId
608
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
609
+ *
610
+ * @throws {@link Chrt.UnprocessableEntityError}
611
+ *
612
+ * @example
613
+ * await client.operations.operationsTaskLists.removeFromCaseV1("task_list_id", "case_id")
614
+ */
615
+ removeFromCaseV1(taskListId, caseId, requestOptions) {
616
+ return core.HttpResponsePromise.fromPromise(this.__removeFromCaseV1(taskListId, caseId, requestOptions));
617
+ }
618
+ __removeFromCaseV1(taskListId, caseId, requestOptions) {
619
+ return __awaiter(this, void 0, void 0, function* () {
620
+ var _a, _b, _c, _d;
621
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
622
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
623
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/operations_task_lists/remove_from_case/v1/${encodeURIComponent(taskListId)}/${encodeURIComponent(caseId)}`),
624
+ method: "POST",
625
+ headers: _headers,
626
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
627
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
628
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
629
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
630
+ });
631
+ if (_response.ok) {
632
+ return {
633
+ data: _response.body,
634
+ rawResponse: _response.rawResponse,
635
+ };
636
+ }
637
+ if (_response.error.reason === "status-code") {
638
+ switch (_response.error.statusCode) {
639
+ case 422:
640
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
641
+ default:
642
+ throw new errors.ChrtError({
643
+ statusCode: _response.error.statusCode,
644
+ body: _response.error.body,
645
+ rawResponse: _response.rawResponse,
646
+ });
647
+ }
648
+ }
649
+ switch (_response.error.reason) {
650
+ case "non-json":
651
+ throw new errors.ChrtError({
652
+ statusCode: _response.error.statusCode,
653
+ body: _response.error.rawBody,
654
+ rawResponse: _response.rawResponse,
655
+ });
656
+ case "timeout":
657
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/operations_task_lists/remove_from_case/v1/{task_list_id}/{case_id}.");
527
658
  case "unknown":
528
659
  throw new errors.ChrtError({
529
660
  message: _response.error.errorMessage,
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -9,9 +9,10 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * name: "name"
10
10
  * }
11
11
  */
12
- export interface ChecklistClientCreate1 {
12
+ export interface OperationsTaskListClientCreate1 {
13
13
  schema_version: number;
14
14
  name: string;
15
15
  description?: string | null;
16
- checks?: Chrt.ChecklistCheck1[];
16
+ tags?: string[];
17
+ entries?: Chrt.OperationsTaskListEntry1[];
17
18
  }
@@ -5,8 +5,9 @@
5
5
  * @example
6
6
  * {}
7
7
  */
8
- export interface ChecklistClientUpdate1 {
8
+ export interface OperationsTaskListClientUpdate1 {
9
9
  name?: string | null;
10
10
  description?: string | null;
11
+ tags?: string[];
11
12
  description__set_to_None?: boolean;
12
13
  }
@@ -6,6 +6,6 @@ import * as Chrt from "../../../../../../index.mjs";
6
6
  * @example
7
7
  * {}
8
8
  */
9
- export interface ChecklistChecksAdd1 {
10
- checks?: Chrt.ChecklistCheck1[];
9
+ export interface OperationsTaskListEntriesAdd1 {
10
+ entries?: Chrt.OperationsTaskListEntry1[];
11
11
  }
@@ -5,6 +5,6 @@
5
5
  * @example
6
6
  * {}
7
7
  */
8
- export interface SetDepartmentReq {
9
- department_id?: string | null;
8
+ export interface OperationsTaskListEntriesRemove1 {
9
+ entry_ids?: string[];
10
10
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * overall_deadline_timestamp: "2024-01-15T09:30:00Z"
8
+ * }
9
+ */
10
+ export interface OperationsTaskListsApplyToCaseV1Request {
11
+ /** If set, overrides every materialized task's deadline with this timestamp. */
12
+ overall_deadline_timestamp?: string | null;
13
+ }
@@ -12,9 +12,9 @@ import * as Chrt from "../../../../../../index.mjs";
12
12
  * filter_archived: true
13
13
  * }
14
14
  */
15
- export interface ChecklistsListV1Request {
15
+ export interface OperationsTaskListsListV1Request {
16
16
  /** Field to sort by */
17
- sort_by?: Chrt.ChecklistSortByEnum | null;
17
+ sort_by?: Chrt.OperationsTaskListSortByEnum | null;
18
18
  /** Sort order (asc or desc) */
19
19
  sort_order?: Chrt.SortOrderEnum | null;
20
20
  page?: number | null;
@@ -0,0 +1,6 @@
1
+ export { type OperationsTaskListsListV1Request } from "./OperationsTaskListsListV1Request.mjs";
2
+ export { type OperationsTaskListClientUpdate1 } from "./OperationsTaskListClientUpdate1.mjs";
3
+ export { type OperationsTaskListClientCreate1 } from "./OperationsTaskListClientCreate1.mjs";
4
+ export { type OperationsTaskListEntriesAdd1 } from "./OperationsTaskListEntriesAdd1.mjs";
5
+ export { type OperationsTaskListEntriesRemove1 } from "./OperationsTaskListEntriesRemove1.mjs";
6
+ export { type OperationsTaskListsApplyToCaseV1Request } from "./OperationsTaskListsApplyToCaseV1Request.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";