@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
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * checklist_id: "checklist_id"
8
- * }
9
- */
10
- export interface CaseChecksApplyChecklistReq {
11
- checklist_id: string;
12
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.js";
5
- /**
6
- * @example
7
- * {
8
- * results: {
9
- * "key": "not_started"
10
- * }
11
- * }
12
- */
13
- export interface CaseChecksRecordImageAnalysisResultsReq {
14
- results: Record<string, Chrt.CheckStatusEnum>;
15
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * needs_action: true
8
- * }
9
- */
10
- export interface CaseNeedsActionReq {
11
- needs_action: boolean;
12
- }
@@ -1,150 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../../../environments.js";
5
- import * as core from "../../../../../../core/index.js";
6
- import * as Chrt from "../../../../../index.js";
7
- export declare namespace Checklists {
8
- interface Options {
9
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<core.BearerToken | undefined>;
13
- /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
- fetcher?: core.FetchFunction;
16
- }
17
- interface RequestOptions {
18
- /** The maximum time to wait for a response in seconds. */
19
- timeoutInSeconds?: number;
20
- /** The number of times to retry the request. Defaults to 2. */
21
- maxRetries?: number;
22
- /** A hook to abort the request. */
23
- abortSignal?: AbortSignal;
24
- /** Additional query string parameters to include in the request. */
25
- queryParams?: Record<string, unknown>;
26
- /** Additional headers to include in the request. */
27
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
- }
29
- }
30
- export declare class Checklists {
31
- protected readonly _options: Checklists.Options;
32
- constructor(_options?: Checklists.Options);
33
- /**
34
- * Lists Checklists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (ChecklistListRes)
35
- *
36
- * @param {Chrt.operations.ChecklistsListV1Request} request
37
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
38
- *
39
- * @throws {@link Chrt.UnprocessableEntityError}
40
- *
41
- * @example
42
- * await client.operations.checklists.listV1({
43
- * sort_by: "created_at_timestamp",
44
- * sort_order: "asc",
45
- * page: 1,
46
- * page_size: 1,
47
- * filter_archived: true
48
- * })
49
- */
50
- listV1(request?: Chrt.operations.ChecklistsListV1Request, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<Chrt.ChecklistListRes>;
51
- private __listV1;
52
- /**
53
- * Retrieves a single Checklist by id. | authz: min_org_role=operator | () -> (Checklist1)
54
- *
55
- * @param {string} checklistId
56
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
57
- *
58
- * @throws {@link Chrt.UnprocessableEntityError}
59
- *
60
- * @example
61
- * await client.operations.checklists.getV1("checklist_id")
62
- */
63
- getV1(checklistId: string, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<Chrt.Checklist1>;
64
- private __getV1;
65
- /**
66
- * Updates scalar fields (name, description) on a Checklist. | authz: min_org_role=operator | (ChecklistClientUpdate1) -> (bool)
67
- *
68
- * @param {string} checklistId
69
- * @param {Chrt.operations.ChecklistClientUpdate1} request
70
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
71
- *
72
- * @throws {@link Chrt.UnprocessableEntityError}
73
- *
74
- * @example
75
- * await client.operations.checklists.updateV1("checklist_id")
76
- */
77
- updateV1(checklistId: string, request?: Chrt.operations.ChecklistClientUpdate1, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<boolean>;
78
- private __updateV1;
79
- /**
80
- * Creates a new Checklist for the caller's organization. | authz: min_org_role=operator | (ChecklistClientCreate1) -> (PydanticObjectId)
81
- *
82
- * @param {Chrt.operations.ChecklistClientCreate1} request
83
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
84
- *
85
- * @throws {@link Chrt.UnprocessableEntityError}
86
- *
87
- * @example
88
- * await client.operations.checklists.createV1({
89
- * schema_version: 1,
90
- * name: "name"
91
- * })
92
- */
93
- createV1(request: Chrt.operations.ChecklistClientCreate1, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<string>;
94
- private __createV1;
95
- /**
96
- * Adds checks to a Checklist. Idempotent for identical checks. | authz: min_org_role=operator | (ChecklistChecksAdd1) -> (bool)
97
- *
98
- * @param {string} checklistId
99
- * @param {Chrt.operations.ChecklistChecksAdd1} request
100
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
101
- *
102
- * @throws {@link Chrt.UnprocessableEntityError}
103
- *
104
- * @example
105
- * await client.operations.checklists.addChecksV1("checklist_id")
106
- */
107
- addChecksV1(checklistId: string, request?: Chrt.operations.ChecklistChecksAdd1, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<boolean>;
108
- private __addChecksV1;
109
- /**
110
- * Removes entries from a Checklist's `checks` list by CheckEnum. | authz: min_org_role=operator | (ChecklistChecksRemove1) -> (bool)
111
- *
112
- * @param {string} checklistId
113
- * @param {Chrt.operations.ChecklistChecksRemove1} request
114
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
115
- *
116
- * @throws {@link Chrt.UnprocessableEntityError}
117
- *
118
- * @example
119
- * await client.operations.checklists.removeChecksV1("checklist_id")
120
- */
121
- removeChecksV1(checklistId: string, request?: Chrt.operations.ChecklistChecksRemove1, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<boolean>;
122
- private __removeChecksV1;
123
- /**
124
- * 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)
125
- *
126
- * @param {string} checklistId
127
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
128
- *
129
- * @throws {@link Chrt.UnprocessableEntityError}
130
- *
131
- * @example
132
- * await client.operations.checklists.archiveV1("checklist_id")
133
- */
134
- archiveV1(checklistId: string, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<boolean>;
135
- private __archiveV1;
136
- /**
137
- * Restores an archived Checklist by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
138
- *
139
- * @param {string} checklistId
140
- * @param {Checklists.RequestOptions} requestOptions - Request-specific configuration.
141
- *
142
- * @throws {@link Chrt.UnprocessableEntityError}
143
- *
144
- * @example
145
- * await client.operations.checklists.unarchiveV1("checklist_id")
146
- */
147
- unarchiveV1(checklistId: string, requestOptions?: Checklists.RequestOptions): core.HttpResponsePromise<boolean>;
148
- private __unarchiveV1;
149
- protected _getAuthorizationHeader(): Promise<string | undefined>;
150
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.js";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface ChecklistChecksRemove1 {
10
- checks?: Chrt.CheckEnum[];
11
- }
@@ -1,5 +0,0 @@
1
- export { type ChecklistsListV1Request } from "./ChecklistsListV1Request.js";
2
- export { type ChecklistClientUpdate1 } from "./ChecklistClientUpdate1.js";
3
- export { type ChecklistClientCreate1 } from "./ChecklistClientCreate1.js";
4
- export { type ChecklistChecksAdd1 } from "./ChecklistChecksAdd1.js";
5
- export { type ChecklistChecksRemove1 } from "./ChecklistChecksRemove1.js";
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.js";
5
- export interface CaseChecksDisableReq {
6
- check: Chrt.CheckEnum;
7
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.js";
5
- export interface CaseChecksDismissReq {
6
- check: Chrt.CheckEnum;
7
- entity_id: string;
8
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.js";
5
- /**
6
- * Denormalized summary cache for `Case.checks` plus applied-Checklist log.
7
- *
8
- * Embedded at `Case.checks_summary`. Rewritten on every mutation of
9
- * `Case.checks` (or `applied_checklist_ids`) so the operator dashboard
10
- * can filter / sort / count Cases without scanning the `checks` array.
11
- * Dismissed checks are excluded from every cache field.
12
- *
13
- * `OperationsEventEnum` is exported alongside this model because the
14
- * Case-level event log (forthcoming) will key off the same vocabulary;
15
- * keeping the import here documents the shared dependency.
16
- */
17
- export interface CaseChecksSummary1 {
18
- schema_version: number;
19
- applied_checklist_ids?: string[];
20
- success_count?: number;
21
- failure_count?: number;
22
- unsure_count?: number;
23
- error_count?: number;
24
- failure_check_keys?: Chrt.CheckEnum[];
25
- unsure_check_keys?: Chrt.CheckEnum[];
26
- error_check_keys?: Chrt.CheckEnum[];
27
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export type CaseStatusEnum = "open" | "in_progress" | "closed";
5
- export declare const CaseStatusEnum: {
6
- readonly Open: "open";
7
- readonly InProgress: "in_progress";
8
- readonly Closed: "closed";
9
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CaseStatusEnum = void 0;
7
- exports.CaseStatusEnum = {
8
- Open: "open",
9
- InProgress: "in_progress",
10
- Closed: "closed",
11
- };
@@ -1,33 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.js";
5
- /**
6
- * One evaluation of a check against a specific event-entity instance.
7
- *
8
- * Embedded as a list element on `Case.checks`. Uniqueness on the Case
9
- * is `(check, entity_id)` — each Checklist'd check fans out into one
10
- * `Check1` per event-entity it fires against. `entity_id` is whatever
11
- * identifies the unique "instance of this event" — `order_id` for
12
- * `order.*` events (1× per Case), `task_group_id` for
13
- * `task_group.driver_assigned`, `task_artifact_id` for
14
- * `task_artifact.*`, `task_id` for `task.completed`. See
15
- * `CheckEnum`'s docstring for the per-event mapping.
16
- *
17
- * The workflow that runs the check writes `status` and
18
- * `completed_at_timestamp` back when it finishes. Operators dismiss a
19
- * specific run (one `(check, entity_id)`) by transitioning its
20
- * `status` to `DISMISSED`; dismissing does *not* affect future runs
21
- * of the same check on different `entity_id`s. `DISMISSED` is just
22
- * another status, not a side-flag, so workflows can short-circuit
23
- * with a single predicate and the dashboard cache counts naturally
24
- * exclude it. The *who* / *when* of every status transition lives in
25
- * the forthcoming Case event log, not on `Check1`.
26
- */
27
- export interface Check1 {
28
- schema_version: number;
29
- check: Chrt.CheckEnum;
30
- entity_id: string;
31
- status?: Chrt.CheckStatusEnum;
32
- completed_at_timestamp?: string | null;
33
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,46 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * *What* is being verified.
6
- *
7
- * Each member is a single, narrowly-scoped check that runs on a specific
8
- * `OperationsEventEnum`, encoded in the `event` property (backed by
9
- * `_CHECK_EVENT_MAP` below) — never stored separately, or the two can drift.
10
- *
11
- * Each `Check1` evaluation is keyed by `(check, entity_id)` on a Case;
12
- * `entity_id` is the id of the entity in the event's `Domain.Entity.Action`
13
- * slug:
14
- *
15
- * | Event | entity_id |
16
- * |----------------------------------------|------------------|
17
- * | shipping.order.* | order_id |
18
- * | shipping.task_group.driver_assigned | task_group_id |
19
- * | shipping.task.completed | task_id |
20
- * | shipping.task_artifact.* | task_artifact_id |
21
- *
22
- * `entity_type` is intentionally not stored — it's a strict function of
23
- * `check.event.entity` (same drift-avoidance rationale as the removed
24
- * `event` field). If you ever need it to differ (e.g. a check fires on
25
- * `task.completed` but is logically about the parent task_group), the
26
- * first answer is adding the right event; the escape hatch is promoting
27
- * `entity_type` to its own `_CHECK_ENTITY_MAP`.
28
- */
29
- export type CheckEnum = "shipping.order.placed.order_details_reviewed" | "shipping.order.staged.flight_task_groups_have_flights" | "shipping.order.staged.flight_task_groups_have_cargo" | "shipping.order.staged.recipient_contacts_present" | "shipping.task_group.driver_assigned.license_valid" | "shipping.task_group.driver_assigned.insurance_valid" | "shipping.task_group.driver_assigned.employment_classification_eligible" | "shipping.task_group.driver_assigned.vehicle_type_compatible" | "shipping.task_artifact.image_uploaded.cargo_visible" | "shipping.task_artifact.image_uploaded.matches_cargo_description" | "shipping.task_artifact.image_uploaded.satisfies_delivery_instructions" | "shipping.task_artifact.barcode_scanned.expected_values_match" | "shipping.task.completed.eta_within_window" | "shipping.task.completed.completed_within_window" | "shipping.order.completed.wait_time_submitted";
30
- export declare const CheckEnum: {
31
- readonly ShippingOrderPlacedOrderDetailsReviewed: "shipping.order.placed.order_details_reviewed";
32
- readonly ShippingOrderStagedFlightTaskGroupsHaveFlights: "shipping.order.staged.flight_task_groups_have_flights";
33
- readonly ShippingOrderStagedFlightTaskGroupsHaveCargo: "shipping.order.staged.flight_task_groups_have_cargo";
34
- readonly ShippingOrderStagedRecipientContactsPresent: "shipping.order.staged.recipient_contacts_present";
35
- readonly ShippingTaskGroupDriverAssignedLicenseValid: "shipping.task_group.driver_assigned.license_valid";
36
- readonly ShippingTaskGroupDriverAssignedInsuranceValid: "shipping.task_group.driver_assigned.insurance_valid";
37
- readonly ShippingTaskGroupDriverAssignedEmploymentClassificationEligible: "shipping.task_group.driver_assigned.employment_classification_eligible";
38
- readonly ShippingTaskGroupDriverAssignedVehicleTypeCompatible: "shipping.task_group.driver_assigned.vehicle_type_compatible";
39
- readonly ShippingTaskArtifactImageUploadedCargoVisible: "shipping.task_artifact.image_uploaded.cargo_visible";
40
- readonly ShippingTaskArtifactImageUploadedMatchesCargoDescription: "shipping.task_artifact.image_uploaded.matches_cargo_description";
41
- readonly ShippingTaskArtifactImageUploadedSatisfiesDeliveryInstructions: "shipping.task_artifact.image_uploaded.satisfies_delivery_instructions";
42
- readonly ShippingTaskArtifactBarcodeScannedExpectedValuesMatch: "shipping.task_artifact.barcode_scanned.expected_values_match";
43
- readonly ShippingTaskCompletedEtaWithinWindow: "shipping.task.completed.eta_within_window";
44
- readonly ShippingTaskCompletedCompletedWithinWindow: "shipping.task.completed.completed_within_window";
45
- readonly ShippingOrderCompletedWaitTimeSubmitted: "shipping.order.completed.wait_time_submitted";
46
- };
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CheckEnum = void 0;
7
- exports.CheckEnum = {
8
- ShippingOrderPlacedOrderDetailsReviewed: "shipping.order.placed.order_details_reviewed",
9
- ShippingOrderStagedFlightTaskGroupsHaveFlights: "shipping.order.staged.flight_task_groups_have_flights",
10
- ShippingOrderStagedFlightTaskGroupsHaveCargo: "shipping.order.staged.flight_task_groups_have_cargo",
11
- ShippingOrderStagedRecipientContactsPresent: "shipping.order.staged.recipient_contacts_present",
12
- ShippingTaskGroupDriverAssignedLicenseValid: "shipping.task_group.driver_assigned.license_valid",
13
- ShippingTaskGroupDriverAssignedInsuranceValid: "shipping.task_group.driver_assigned.insurance_valid",
14
- ShippingTaskGroupDriverAssignedEmploymentClassificationEligible: "shipping.task_group.driver_assigned.employment_classification_eligible",
15
- ShippingTaskGroupDriverAssignedVehicleTypeCompatible: "shipping.task_group.driver_assigned.vehicle_type_compatible",
16
- ShippingTaskArtifactImageUploadedCargoVisible: "shipping.task_artifact.image_uploaded.cargo_visible",
17
- ShippingTaskArtifactImageUploadedMatchesCargoDescription: "shipping.task_artifact.image_uploaded.matches_cargo_description",
18
- ShippingTaskArtifactImageUploadedSatisfiesDeliveryInstructions: "shipping.task_artifact.image_uploaded.satisfies_delivery_instructions",
19
- ShippingTaskArtifactBarcodeScannedExpectedValuesMatch: "shipping.task_artifact.barcode_scanned.expected_values_match",
20
- ShippingTaskCompletedEtaWithinWindow: "shipping.task.completed.eta_within_window",
21
- ShippingTaskCompletedCompletedWithinWindow: "shipping.task.completed.completed_within_window",
22
- ShippingOrderCompletedWaitTimeSubmitted: "shipping.order.completed.wait_time_submitted",
23
- };
@@ -1,32 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * Lifecycle + stoplight outcome of a single check on a Case.
6
- *
7
- * ```
8
- * NOT_STARTED → IN_PROGRESS → SUCCESS | UNSURE | FAILURE | ERROR
9
- * ↑ ↓
10
- * └────────── undismiss ────────── DISMISSED ── dismiss (from any status)
11
- * ```
12
- *
13
- * - `UNSURE` — yellow stoplight; signal borderline (e.g. vision confidence
14
- * on the edge). Counts as "needs attention" in roll-ups, filterable
15
- * separately for triage.
16
- * - `ERROR` — workflow couldn't produce a measurement (distinct from
17
- * `FAILURE` so broken pipelines are triaged separately from data issues).
18
- * - `DISMISSED` — operator override; excludes from needs-attention
19
- * roll-ups *and* from event re-runs. The prior stoplight outcome is
20
- * intentionally lost on `Check1` — the Case event log (forthcoming)
21
- * holds the full status-transition history.
22
- */
23
- export type CheckStatusEnum = "not_started" | "in_progress" | "success" | "unsure" | "failure" | "error" | "dismissed";
24
- export declare const CheckStatusEnum: {
25
- readonly NotStarted: "not_started";
26
- readonly InProgress: "in_progress";
27
- readonly Success: "success";
28
- readonly Unsure: "unsure";
29
- readonly Failure: "failure";
30
- readonly Error: "error";
31
- readonly Dismissed: "dismissed";
32
- };
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.js";
5
- /**
6
- * One check entry declared in a Checklist.
7
- *
8
- * Names a single catalog check; the event it fires on is derivable as
9
- * `entry.check.event` (see `CheckEnum.event`). Checklist-application
10
- * logic copies each `ChecklistCheck1` into the target Case as a `Check1`
11
- * in `NOT_STARTED` status.
12
- */
13
- export interface ChecklistCheck1 {
14
- check: Chrt.CheckEnum;
15
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * checklist_id: "checklist_id"
8
- * }
9
- */
10
- export interface CaseChecksApplyChecklistReq {
11
- checklist_id: string;
12
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.mjs";
5
- /**
6
- * @example
7
- * {
8
- * results: {
9
- * "key": "not_started"
10
- * }
11
- * }
12
- */
13
- export interface CaseChecksRecordImageAnalysisResultsReq {
14
- results: Record<string, Chrt.CheckStatusEnum>;
15
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * needs_action: true
8
- * }
9
- */
10
- export interface CaseNeedsActionReq {
11
- needs_action: boolean;
12
- }