@chrt-inc/typescript-sdk 1.691.0 → 1.702.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 (210) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/operations/client/Client.d.ts +6 -0
  3. package/dist/cjs/api/resources/operations/client/Client.js +12 -2
  4. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +100 -0
  5. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +394 -0
  6. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts +12 -0
  7. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.js +5 -0
  8. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +15 -0
  9. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js +5 -0
  10. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +150 -0
  12. package/dist/cjs/api/resources/operations/resources/checklists/client/Client.js +581 -0
  13. package/dist/cjs/api/resources/operations/resources/checklists/client/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/operations/resources/checklists/client/index.js +17 -0
  15. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.d.ts +11 -0
  16. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.js +5 -0
  17. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +11 -0
  18. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.js +5 -0
  19. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.d.ts +17 -0
  20. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.js +5 -0
  21. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.ts +12 -0
  22. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.js +5 -0
  23. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.d.ts +24 -0
  24. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.js +5 -0
  25. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +5 -0
  26. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.js +2 -0
  27. package/dist/cjs/api/resources/operations/resources/checklists/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/operations/resources/checklists/index.js +17 -0
  29. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -0
  30. package/dist/cjs/api/resources/operations/resources/index.js +5 -1
  31. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +170 -0
  32. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +653 -0
  33. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/index.js +17 -0
  35. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.d.ts +12 -0
  36. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.js +5 -0
  37. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +19 -0
  38. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.js +5 -0
  39. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +12 -0
  40. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.js +5 -0
  41. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +33 -0
  42. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.js +5 -0
  43. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +4 -0
  44. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.js +2 -0
  45. package/dist/cjs/api/resources/operations/resources/operationsTasks/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/operations/resources/operationsTasks/index.js +17 -0
  47. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.d.ts +14 -0
  48. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.js +63 -0
  49. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.ts +1 -0
  50. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.d.ts +11 -0
  51. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.js +5 -0
  52. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.ts +14 -0
  54. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.js +63 -0
  55. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.ts +1 -0
  56. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.d.ts +11 -0
  57. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.js +5 -0
  58. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +26 -0
  60. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +75 -0
  61. package/dist/cjs/api/types/AiImageDescription.d.ts +30 -0
  62. package/dist/cjs/api/types/AiImageDescription.js +5 -0
  63. package/dist/cjs/api/types/Case1.d.ts +4 -0
  64. package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +7 -0
  65. package/dist/cjs/api/types/CaseChecksDisableReq.js +5 -0
  66. package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +8 -0
  67. package/dist/cjs/api/types/CaseChecksDismissReq.js +5 -0
  68. package/dist/cjs/api/types/CaseChecksSummary1.d.ts +27 -0
  69. package/dist/cjs/api/types/CaseChecksSummary1.js +5 -0
  70. package/dist/cjs/api/types/Check1.d.ts +33 -0
  71. package/dist/cjs/api/types/Check1.js +5 -0
  72. package/dist/cjs/api/types/CheckEnum.d.ts +46 -0
  73. package/dist/cjs/api/types/CheckEnum.js +23 -0
  74. package/dist/cjs/api/types/CheckStatusEnum.d.ts +32 -0
  75. package/dist/cjs/api/types/CheckStatusEnum.js +15 -0
  76. package/dist/cjs/api/types/Checklist1.d.ts +18 -0
  77. package/dist/cjs/api/types/Checklist1.js +5 -0
  78. package/dist/cjs/api/types/ChecklistCheck1.d.ts +15 -0
  79. package/dist/cjs/api/types/ChecklistCheck1.js +5 -0
  80. package/dist/cjs/api/types/ChecklistListRes.d.ts +8 -0
  81. package/dist/cjs/api/types/ChecklistListRes.js +5 -0
  82. package/dist/cjs/api/types/ChecklistSortByEnum.d.ts +9 -0
  83. package/dist/cjs/api/types/ChecklistSortByEnum.js +11 -0
  84. package/dist/cjs/api/types/DriverComplianceDocument1.d.ts +1 -0
  85. package/dist/cjs/api/types/DriverComplianceDocumentTypeEnum1.d.ts +16 -1
  86. package/dist/cjs/api/types/DriverComplianceDocumentTypeEnum1.js +15 -0
  87. package/dist/cjs/api/types/LlmModelEnum.d.ts +12 -0
  88. package/dist/cjs/api/types/LlmModelEnum.js +14 -0
  89. package/dist/cjs/api/types/OperationsTask1.d.ts +19 -0
  90. package/dist/cjs/api/types/OperationsTask1.js +5 -0
  91. package/dist/cjs/api/types/OperationsTaskComment1.d.ts +10 -0
  92. package/dist/cjs/api/types/OperationsTaskComment1.js +5 -0
  93. package/dist/cjs/api/types/OperationsTaskListRes.d.ts +8 -0
  94. package/dist/cjs/api/types/OperationsTaskListRes.js +5 -0
  95. package/dist/cjs/api/types/OperationsTaskSortByEnum.d.ts +8 -0
  96. package/dist/cjs/api/types/OperationsTaskSortByEnum.js +10 -0
  97. package/dist/cjs/api/types/OrgComplianceDocument1.d.ts +1 -0
  98. package/dist/cjs/api/types/OrgComplianceDocumentTypeEnum1.d.ts +11 -1
  99. package/dist/cjs/api/types/OrgComplianceDocumentTypeEnum1.js +10 -0
  100. package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
  101. package/dist/cjs/api/types/index.d.ts +16 -0
  102. package/dist/cjs/api/types/index.js +16 -0
  103. package/dist/cjs/version.d.ts +1 -1
  104. package/dist/cjs/version.js +1 -1
  105. package/dist/esm/Client.mjs +2 -2
  106. package/dist/esm/api/resources/operations/client/Client.d.mts +6 -0
  107. package/dist/esm/api/resources/operations/client/Client.mjs +10 -0
  108. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +100 -0
  109. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +394 -0
  110. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts +12 -0
  111. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.mjs +4 -0
  112. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +15 -0
  113. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs +4 -0
  114. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +2 -0
  115. package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +150 -0
  116. package/dist/esm/api/resources/operations/resources/checklists/client/Client.mjs +544 -0
  117. package/dist/esm/api/resources/operations/resources/checklists/client/index.d.mts +2 -0
  118. package/dist/esm/api/resources/operations/resources/checklists/client/index.mjs +1 -0
  119. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.d.mts +11 -0
  120. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.mjs +4 -0
  121. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +11 -0
  122. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.mjs +4 -0
  123. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.d.mts +17 -0
  124. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.mjs +4 -0
  125. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.mts +12 -0
  126. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.mjs +4 -0
  127. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.d.mts +24 -0
  128. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs +4 -0
  129. package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +5 -0
  130. package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.mjs +1 -0
  131. package/dist/esm/api/resources/operations/resources/checklists/index.d.mts +1 -0
  132. package/dist/esm/api/resources/operations/resources/checklists/index.mjs +1 -0
  133. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -0
  134. package/dist/esm/api/resources/operations/resources/index.mjs +4 -0
  135. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +170 -0
  136. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +616 -0
  137. package/dist/esm/api/resources/operations/resources/operationsTasks/client/index.d.mts +2 -0
  138. package/dist/esm/api/resources/operations/resources/operationsTasks/client/index.mjs +1 -0
  139. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.d.mts +12 -0
  140. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.mjs +4 -0
  141. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +19 -0
  142. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.mjs +4 -0
  143. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +12 -0
  144. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.mjs +4 -0
  145. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +33 -0
  146. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.mjs +4 -0
  147. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +4 -0
  148. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.mjs +1 -0
  149. package/dist/esm/api/resources/operations/resources/operationsTasks/index.d.mts +1 -0
  150. package/dist/esm/api/resources/operations/resources/operationsTasks/index.mjs +1 -0
  151. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.d.mts +14 -0
  152. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.mjs +63 -0
  153. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.mts +1 -0
  154. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.d.mts +11 -0
  155. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.mjs +4 -0
  156. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/index.d.mts +1 -0
  157. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.mts +14 -0
  158. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.mjs +63 -0
  159. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.mts +1 -0
  160. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.d.mts +11 -0
  161. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.mjs +4 -0
  162. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.d.mts +1 -0
  163. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +26 -0
  164. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +75 -0
  165. package/dist/esm/api/types/AiImageDescription.d.mts +30 -0
  166. package/dist/esm/api/types/AiImageDescription.mjs +4 -0
  167. package/dist/esm/api/types/Case1.d.mts +4 -0
  168. package/dist/esm/api/types/CaseChecksDisableReq.d.mts +7 -0
  169. package/dist/esm/api/types/CaseChecksDisableReq.mjs +4 -0
  170. package/dist/esm/api/types/CaseChecksDismissReq.d.mts +8 -0
  171. package/dist/esm/api/types/CaseChecksDismissReq.mjs +4 -0
  172. package/dist/esm/api/types/CaseChecksSummary1.d.mts +27 -0
  173. package/dist/esm/api/types/CaseChecksSummary1.mjs +4 -0
  174. package/dist/esm/api/types/Check1.d.mts +33 -0
  175. package/dist/esm/api/types/Check1.mjs +4 -0
  176. package/dist/esm/api/types/CheckEnum.d.mts +46 -0
  177. package/dist/esm/api/types/CheckEnum.mjs +20 -0
  178. package/dist/esm/api/types/CheckStatusEnum.d.mts +32 -0
  179. package/dist/esm/api/types/CheckStatusEnum.mjs +12 -0
  180. package/dist/esm/api/types/Checklist1.d.mts +18 -0
  181. package/dist/esm/api/types/Checklist1.mjs +4 -0
  182. package/dist/esm/api/types/ChecklistCheck1.d.mts +15 -0
  183. package/dist/esm/api/types/ChecklistCheck1.mjs +4 -0
  184. package/dist/esm/api/types/ChecklistListRes.d.mts +8 -0
  185. package/dist/esm/api/types/ChecklistListRes.mjs +4 -0
  186. package/dist/esm/api/types/ChecklistSortByEnum.d.mts +9 -0
  187. package/dist/esm/api/types/ChecklistSortByEnum.mjs +8 -0
  188. package/dist/esm/api/types/DriverComplianceDocument1.d.mts +1 -0
  189. package/dist/esm/api/types/DriverComplianceDocumentTypeEnum1.d.mts +16 -1
  190. package/dist/esm/api/types/DriverComplianceDocumentTypeEnum1.mjs +15 -0
  191. package/dist/esm/api/types/LlmModelEnum.d.mts +12 -0
  192. package/dist/esm/api/types/LlmModelEnum.mjs +11 -0
  193. package/dist/esm/api/types/OperationsTask1.d.mts +19 -0
  194. package/dist/esm/api/types/OperationsTask1.mjs +4 -0
  195. package/dist/esm/api/types/OperationsTaskComment1.d.mts +10 -0
  196. package/dist/esm/api/types/OperationsTaskComment1.mjs +4 -0
  197. package/dist/esm/api/types/OperationsTaskListRes.d.mts +8 -0
  198. package/dist/esm/api/types/OperationsTaskListRes.mjs +4 -0
  199. package/dist/esm/api/types/OperationsTaskSortByEnum.d.mts +8 -0
  200. package/dist/esm/api/types/OperationsTaskSortByEnum.mjs +7 -0
  201. package/dist/esm/api/types/OrgComplianceDocument1.d.mts +1 -0
  202. package/dist/esm/api/types/OrgComplianceDocumentTypeEnum1.d.mts +11 -1
  203. package/dist/esm/api/types/OrgComplianceDocumentTypeEnum1.mjs +10 -0
  204. package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
  205. package/dist/esm/api/types/index.d.mts +16 -0
  206. package/dist/esm/api/types/index.mjs +16 -0
  207. package/dist/esm/version.d.mts +1 -1
  208. package/dist/esm/version.mjs +1 -1
  209. package/package.json +1 -1
  210. package/reference.md +1957 -142
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * comment: "comment"
8
+ * }
9
+ */
10
+ export interface OperationsTaskAddCommentReq1 {
11
+ comment: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * schema_version: 1,
8
+ * case_id: "case_id",
9
+ * title: "title",
10
+ * description: "description"
11
+ * }
12
+ */
13
+ export interface OperationsTaskClientCreate1 {
14
+ schema_version: number;
15
+ case_id: string;
16
+ title: string;
17
+ description: string;
18
+ deadline_timestamp?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface OperationsTaskClientUpdate1 {
9
+ title?: string | null;
10
+ description?: string | null;
11
+ deadline_timestamp?: string | null;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
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
+ * sort_by: "deadline_timestamp",
9
+ * sort_order: "asc",
10
+ * page: 1,
11
+ * page_size: 1,
12
+ * filter_case_id: "filter_case_id",
13
+ * filter_completed: true,
14
+ * filter_deadline_gte: "2024-01-15T09:30:00Z",
15
+ * filter_deadline_lte: "2024-01-15T09:30:00Z"
16
+ * }
17
+ */
18
+ export interface OperationsTasksListV1Request {
19
+ /** Field to sort by */
20
+ sort_by?: Chrt.OperationsTaskSortByEnum | null;
21
+ /** Sort order (asc or desc) */
22
+ sort_order?: Chrt.SortOrderEnum | null;
23
+ page?: number | null;
24
+ page_size?: number | null;
25
+ /** Filter by case id */
26
+ filter_case_id?: string | null;
27
+ /** Filter by completed flag. Defaults to False for incomplete tasks. */
28
+ filter_completed?: boolean | null;
29
+ /** Filter to tasks with deadline >= this timestamp */
30
+ filter_deadline_gte?: string | null;
31
+ /** Filter to tasks with deadline <= this timestamp */
32
+ filter_deadline_lte?: string | null;
33
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export { type OperationsTasksListV1Request } from "./OperationsTasksListV1Request.js";
2
+ export { type OperationsTaskClientUpdate1 } from "./OperationsTaskClientUpdate1.js";
3
+ export { type OperationsTaskClientCreate1 } from "./OperationsTaskClientCreate1.js";
4
+ export { type OperationsTaskAddCommentReq1 } from "./OperationsTaskAddCommentReq1.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -72,5 +72,19 @@ export declare class ComplianceDocuments {
72
72
  */
73
73
  createV1(request: Chrt.orgs.OrgComplianceDocumentClientCreate1, requestOptions?: ComplianceDocuments.RequestOptions): core.HttpResponsePromise<Chrt.OrgComplianceDocument1>;
74
74
  private __createV1;
75
+ /**
76
+ * Updates an organization compliance document for the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=administrator | (OrgComplianceDocumentClientUpdate1) -> (OrgComplianceDocument1)
77
+ *
78
+ * @param {string} orgComplianceDocumentId
79
+ * @param {Chrt.orgs.OrgComplianceDocumentClientUpdate1} request
80
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
81
+ *
82
+ * @throws {@link Chrt.UnprocessableEntityError}
83
+ *
84
+ * @example
85
+ * await client.orgs.complianceDocuments.updateV1("org_compliance_document_id")
86
+ */
87
+ updateV1(orgComplianceDocumentId: string, request?: Chrt.orgs.OrgComplianceDocumentClientUpdate1, requestOptions?: ComplianceDocuments.RequestOptions): core.HttpResponsePromise<Chrt.OrgComplianceDocument1>;
88
+ private __updateV1;
75
89
  protected _getAuthorizationHeader(): Promise<string | undefined>;
76
90
  }
@@ -235,6 +235,69 @@ class ComplianceDocuments {
235
235
  }
236
236
  });
237
237
  }
238
+ /**
239
+ * Updates an organization compliance document for the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=administrator | (OrgComplianceDocumentClientUpdate1) -> (OrgComplianceDocument1)
240
+ *
241
+ * @param {string} orgComplianceDocumentId
242
+ * @param {Chrt.orgs.OrgComplianceDocumentClientUpdate1} request
243
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
244
+ *
245
+ * @throws {@link Chrt.UnprocessableEntityError}
246
+ *
247
+ * @example
248
+ * await client.orgs.complianceDocuments.updateV1("org_compliance_document_id")
249
+ */
250
+ updateV1(orgComplianceDocumentId, request = {}, requestOptions) {
251
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(orgComplianceDocumentId, request, requestOptions));
252
+ }
253
+ __updateV1(orgComplianceDocumentId_1) {
254
+ return __awaiter(this, arguments, void 0, function* (orgComplianceDocumentId, request = {}, requestOptions) {
255
+ var _a, _b, _c, _d;
256
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
257
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
258
+ 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, `orgs/compliance_documents/update/v1/${encodeURIComponent(orgComplianceDocumentId)}`),
259
+ method: "PATCH",
260
+ headers: _headers,
261
+ contentType: "application/json",
262
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
263
+ requestType: "json",
264
+ body: request,
265
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
266
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
267
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
268
+ });
269
+ if (_response.ok) {
270
+ return { data: _response.body, rawResponse: _response.rawResponse };
271
+ }
272
+ if (_response.error.reason === "status-code") {
273
+ switch (_response.error.statusCode) {
274
+ case 422:
275
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
276
+ default:
277
+ throw new errors.ChrtError({
278
+ statusCode: _response.error.statusCode,
279
+ body: _response.error.body,
280
+ rawResponse: _response.rawResponse,
281
+ });
282
+ }
283
+ }
284
+ switch (_response.error.reason) {
285
+ case "non-json":
286
+ throw new errors.ChrtError({
287
+ statusCode: _response.error.statusCode,
288
+ body: _response.error.rawBody,
289
+ rawResponse: _response.rawResponse,
290
+ });
291
+ case "timeout":
292
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/compliance_documents/update/v1/{org_compliance_document_id}.");
293
+ case "unknown":
294
+ throw new errors.ChrtError({
295
+ message: _response.error.errorMessage,
296
+ rawResponse: _response.rawResponse,
297
+ });
298
+ }
299
+ });
300
+ }
238
301
  _getAuthorizationHeader() {
239
302
  return __awaiter(this, void 0, void 0, function* () {
240
303
  const bearer = yield core.Supplier.get(this._options.token);
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../index.js";
12
12
  export interface OrgComplianceDocumentClientCreate1 {
13
13
  schema_version: number;
14
14
  document_type: Chrt.OrgComplianceDocumentTypeEnum1;
15
+ description?: string | null;
15
16
  valid_from?: string | null;
16
17
  valid_until?: string | null;
17
18
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface OrgComplianceDocumentClientUpdate1 {
9
+ description?: string | null;
10
+ description__set_to_None?: boolean;
11
+ }
@@ -0,0 +1,5 @@
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 +1,2 @@
1
1
  export { type OrgComplianceDocumentClientCreate1 } from "./OrgComplianceDocumentClientCreate1.js";
2
+ export { type OrgComplianceDocumentClientUpdate1 } from "./OrgComplianceDocumentClientUpdate1.js";
@@ -76,5 +76,19 @@ export declare class ComplianceDocuments {
76
76
  */
77
77
  createV1(driverId: string, request: Chrt.shipping.drivers.DriverComplianceDocumentClientCreate1, requestOptions?: ComplianceDocuments.RequestOptions): core.HttpResponsePromise<Chrt.DriverComplianceDocument1>;
78
78
  private __createV1;
79
+ /**
80
+ * Updates a driver compliance document in the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=administrator | (DriverComplianceDocumentClientUpdate1) -> (DriverComplianceDocument1)
81
+ *
82
+ * @param {string} driverComplianceDocumentId
83
+ * @param {Chrt.shipping.drivers.DriverComplianceDocumentClientUpdate1} request
84
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @throws {@link Chrt.UnprocessableEntityError}
87
+ *
88
+ * @example
89
+ * await client.shipping.drivers.complianceDocuments.updateV1("driver_compliance_document_id")
90
+ */
91
+ updateV1(driverComplianceDocumentId: string, request?: Chrt.shipping.drivers.DriverComplianceDocumentClientUpdate1, requestOptions?: ComplianceDocuments.RequestOptions): core.HttpResponsePromise<Chrt.DriverComplianceDocument1>;
92
+ private __updateV1;
79
93
  protected _getAuthorizationHeader(): Promise<string | undefined>;
80
94
  }
@@ -244,6 +244,69 @@ class ComplianceDocuments {
244
244
  }
245
245
  });
246
246
  }
247
+ /**
248
+ * Updates a driver compliance document in the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=administrator | (DriverComplianceDocumentClientUpdate1) -> (DriverComplianceDocument1)
249
+ *
250
+ * @param {string} driverComplianceDocumentId
251
+ * @param {Chrt.shipping.drivers.DriverComplianceDocumentClientUpdate1} request
252
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
253
+ *
254
+ * @throws {@link Chrt.UnprocessableEntityError}
255
+ *
256
+ * @example
257
+ * await client.shipping.drivers.complianceDocuments.updateV1("driver_compliance_document_id")
258
+ */
259
+ updateV1(driverComplianceDocumentId, request = {}, requestOptions) {
260
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(driverComplianceDocumentId, request, requestOptions));
261
+ }
262
+ __updateV1(driverComplianceDocumentId_1) {
263
+ return __awaiter(this, arguments, void 0, function* (driverComplianceDocumentId, request = {}, requestOptions) {
264
+ var _a, _b, _c, _d;
265
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
266
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
267
+ 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, `shipping/drivers/compliance_documents/update/v1/${encodeURIComponent(driverComplianceDocumentId)}`),
268
+ method: "PATCH",
269
+ headers: _headers,
270
+ contentType: "application/json",
271
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
272
+ requestType: "json",
273
+ body: request,
274
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
275
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
276
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
277
+ });
278
+ if (_response.ok) {
279
+ return { data: _response.body, rawResponse: _response.rawResponse };
280
+ }
281
+ if (_response.error.reason === "status-code") {
282
+ switch (_response.error.statusCode) {
283
+ case 422:
284
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
285
+ default:
286
+ throw new errors.ChrtError({
287
+ statusCode: _response.error.statusCode,
288
+ body: _response.error.body,
289
+ rawResponse: _response.rawResponse,
290
+ });
291
+ }
292
+ }
293
+ switch (_response.error.reason) {
294
+ case "non-json":
295
+ throw new errors.ChrtError({
296
+ statusCode: _response.error.statusCode,
297
+ body: _response.error.rawBody,
298
+ rawResponse: _response.rawResponse,
299
+ });
300
+ case "timeout":
301
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/compliance_documents/update/v1/{driver_compliance_document_id}.");
302
+ case "unknown":
303
+ throw new errors.ChrtError({
304
+ message: _response.error.errorMessage,
305
+ rawResponse: _response.rawResponse,
306
+ });
307
+ }
308
+ });
309
+ }
247
310
  _getAuthorizationHeader() {
248
311
  return __awaiter(this, void 0, void 0, function* () {
249
312
  const bearer = yield core.Supplier.get(this._options.token);
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../../../index.js";
12
12
  export interface DriverComplianceDocumentClientCreate1 {
13
13
  schema_version: number;
14
14
  document_type: Chrt.DriverComplianceDocumentTypeEnum1;
15
+ description?: string | null;
15
16
  valid_from?: string | null;
16
17
  valid_until?: string | null;
17
18
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface DriverComplianceDocumentClientUpdate1 {
9
+ description?: string | null;
10
+ description__set_to_None?: boolean;
11
+ }
@@ -0,0 +1,5 @@
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 +1,2 @@
1
1
  export { type DriverComplianceDocumentClientCreate1 } from "./DriverComplianceDocumentClientCreate1.js";
2
+ export { type DriverComplianceDocumentClientUpdate1 } from "./DriverComplianceDocumentClientUpdate1.js";
@@ -79,5 +79,31 @@ export declare class S3Object {
79
79
  */
80
80
  deleteV1(taskArtifactS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<boolean>;
81
81
  private __deleteV1;
82
+ /**
83
+ * Writes the AI-generated image description onto an existing TaskArtifactS3ObjectMetadata. Called by the shipping_task_image_analysis Temporal workflow via a delegation JWT. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | (AIImageDescription) -> (bool)
84
+ *
85
+ * @param {string} taskArtifactS3ObjectMetadataId
86
+ * @param {Chrt.AiImageDescription} request
87
+ * @param {S3Object.RequestOptions} requestOptions - Request-specific configuration.
88
+ *
89
+ * @throws {@link Chrt.UnprocessableEntityError}
90
+ *
91
+ * @example
92
+ * await client.shipping.taskArtifacts.s3Object.writeAiImageDescriptionV1("task_artifact_s3_object_metadata_id", {
93
+ * model: "gpt-5.5",
94
+ * summary: "summary",
95
+ * package_types: ["package_types"],
96
+ * package_appearance: "package_appearance",
97
+ * readable_package_text: ["readable_package_text"],
98
+ * cargo_identity_assessment: "cargo_identity_assessment",
99
+ * location_description: "location_description",
100
+ * location_identifiers: ["location_identifiers"],
101
+ * completion_evidence: "completion_evidence",
102
+ * proof_notes: ["proof_notes"],
103
+ * dispute_defensibility: "dispute_defensibility"
104
+ * })
105
+ */
106
+ writeAiImageDescriptionV1(taskArtifactS3ObjectMetadataId: string, request: Chrt.AiImageDescription, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<boolean>;
107
+ private __writeAiImageDescriptionV1;
82
108
  protected _getAuthorizationHeader(): Promise<string | undefined>;
83
109
  }
@@ -295,6 +295,81 @@ class S3Object {
295
295
  }
296
296
  });
297
297
  }
298
+ /**
299
+ * Writes the AI-generated image description onto an existing TaskArtifactS3ObjectMetadata. Called by the shipping_task_image_analysis Temporal workflow via a delegation JWT. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | (AIImageDescription) -> (bool)
300
+ *
301
+ * @param {string} taskArtifactS3ObjectMetadataId
302
+ * @param {Chrt.AiImageDescription} request
303
+ * @param {S3Object.RequestOptions} requestOptions - Request-specific configuration.
304
+ *
305
+ * @throws {@link Chrt.UnprocessableEntityError}
306
+ *
307
+ * @example
308
+ * await client.shipping.taskArtifacts.s3Object.writeAiImageDescriptionV1("task_artifact_s3_object_metadata_id", {
309
+ * model: "gpt-5.5",
310
+ * summary: "summary",
311
+ * package_types: ["package_types"],
312
+ * package_appearance: "package_appearance",
313
+ * readable_package_text: ["readable_package_text"],
314
+ * cargo_identity_assessment: "cargo_identity_assessment",
315
+ * location_description: "location_description",
316
+ * location_identifiers: ["location_identifiers"],
317
+ * completion_evidence: "completion_evidence",
318
+ * proof_notes: ["proof_notes"],
319
+ * dispute_defensibility: "dispute_defensibility"
320
+ * })
321
+ */
322
+ writeAiImageDescriptionV1(taskArtifactS3ObjectMetadataId, request, requestOptions) {
323
+ return core.HttpResponsePromise.fromPromise(this.__writeAiImageDescriptionV1(taskArtifactS3ObjectMetadataId, request, requestOptions));
324
+ }
325
+ __writeAiImageDescriptionV1(taskArtifactS3ObjectMetadataId, request, requestOptions) {
326
+ return __awaiter(this, void 0, void 0, function* () {
327
+ var _a, _b, _c, _d;
328
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
329
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
330
+ 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, `shipping/task_artifacts/s3_object/ai_image_description/v1/${encodeURIComponent(taskArtifactS3ObjectMetadataId)}`),
331
+ method: "PATCH",
332
+ headers: _headers,
333
+ contentType: "application/json",
334
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
335
+ requestType: "json",
336
+ body: request,
337
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
338
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
339
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
340
+ });
341
+ if (_response.ok) {
342
+ return { data: _response.body, rawResponse: _response.rawResponse };
343
+ }
344
+ if (_response.error.reason === "status-code") {
345
+ switch (_response.error.statusCode) {
346
+ case 422:
347
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
348
+ default:
349
+ throw new errors.ChrtError({
350
+ statusCode: _response.error.statusCode,
351
+ body: _response.error.body,
352
+ rawResponse: _response.rawResponse,
353
+ });
354
+ }
355
+ }
356
+ switch (_response.error.reason) {
357
+ case "non-json":
358
+ throw new errors.ChrtError({
359
+ statusCode: _response.error.statusCode,
360
+ body: _response.error.rawBody,
361
+ rawResponse: _response.rawResponse,
362
+ });
363
+ case "timeout":
364
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_artifacts/s3_object/ai_image_description/v1/{task_artifact_s3_object_metadata_id}.");
365
+ case "unknown":
366
+ throw new errors.ChrtError({
367
+ message: _response.error.errorMessage,
368
+ rawResponse: _response.rawResponse,
369
+ });
370
+ }
371
+ });
372
+ }
298
373
  _getAuthorizationHeader() {
299
374
  return __awaiter(this, void 0, void 0, function* () {
300
375
  const bearer = yield core.Supplier.get(this._options.token);
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * Structured, factual description of a task-artifact image produced by an LLM.
7
+ *
8
+ * Stored on `TaskArtifactS3ObjectMetadata1.ai_image_description` so downstream
9
+ * consumers (Q&A, search, audit, case checks) can answer questions about the
10
+ * artifact without re-sending the image. `model` records which LLM produced
11
+ * the description; `provider` is derived from `model` so the two can never
12
+ * disagree.
13
+ */
14
+ export interface AiImageDescription {
15
+ schema_version?: number;
16
+ model: Chrt.LlmModelEnum;
17
+ summary: string;
18
+ package_count?: number | null;
19
+ package_types: string[];
20
+ package_appearance: string;
21
+ readable_package_text: string[];
22
+ cargo_identity_assessment: string;
23
+ location_description: string;
24
+ location_identifiers: string[];
25
+ completion_evidence: string;
26
+ proof_notes: string[];
27
+ dispute_defensibility: string;
28
+ searchable_facts?: string[];
29
+ unresolved_questions?: string[];
30
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,6 +17,10 @@ export interface Case1 {
17
17
  status?: Chrt.CaseStatusEnum;
18
18
  needs_action?: boolean;
19
19
  messages?: Chrt.CaseMessage1[];
20
+ enabled_check_keys?: Chrt.CheckEnum[];
21
+ disabled_check_keys?: Chrt.CheckEnum[];
22
+ checks?: Chrt.Check1[];
23
+ checks_summary?: Chrt.CaseChecksSummary1;
20
24
  /** Must be a string starting with `user_` */
21
25
  created_by_user_id: string;
22
26
  created_at: string;
@@ -0,0 +1,7 @@
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
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
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
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
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
+ }