@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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/operations/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/operations/client/Client.js +12 -2
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +394 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.js +5 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +15 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js +5 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +150 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/Client.js +581 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.d.ts +11 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +11 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.d.ts +17 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.d.ts +24 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.js +5 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/checklists/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/checklists/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/index.js +5 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +170 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +653 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +33 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.js +5 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.d.ts +14 -0
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.js +63 -0
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.ts +14 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.js +63 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +75 -0
- package/dist/cjs/api/types/AiImageDescription.d.ts +30 -0
- package/dist/cjs/api/types/AiImageDescription.js +5 -0
- package/dist/cjs/api/types/Case1.d.ts +4 -0
- package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +7 -0
- package/dist/cjs/api/types/CaseChecksDisableReq.js +5 -0
- package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +8 -0
- package/dist/cjs/api/types/CaseChecksDismissReq.js +5 -0
- package/dist/cjs/api/types/CaseChecksSummary1.d.ts +27 -0
- package/dist/cjs/api/types/CaseChecksSummary1.js +5 -0
- package/dist/cjs/api/types/Check1.d.ts +33 -0
- package/dist/cjs/api/types/Check1.js +5 -0
- package/dist/cjs/api/types/CheckEnum.d.ts +46 -0
- package/dist/cjs/api/types/CheckEnum.js +23 -0
- package/dist/cjs/api/types/CheckStatusEnum.d.ts +32 -0
- package/dist/cjs/api/types/CheckStatusEnum.js +15 -0
- package/dist/cjs/api/types/Checklist1.d.ts +18 -0
- package/dist/cjs/api/types/Checklist1.js +5 -0
- package/dist/cjs/api/types/ChecklistCheck1.d.ts +15 -0
- package/dist/cjs/api/types/ChecklistCheck1.js +5 -0
- package/dist/cjs/api/types/ChecklistListRes.d.ts +8 -0
- package/dist/cjs/api/types/ChecklistListRes.js +5 -0
- package/dist/cjs/api/types/ChecklistSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/ChecklistSortByEnum.js +11 -0
- package/dist/cjs/api/types/DriverComplianceDocument1.d.ts +1 -0
- package/dist/cjs/api/types/DriverComplianceDocumentTypeEnum1.d.ts +16 -1
- package/dist/cjs/api/types/DriverComplianceDocumentTypeEnum1.js +15 -0
- package/dist/cjs/api/types/LlmModelEnum.d.ts +12 -0
- package/dist/cjs/api/types/LlmModelEnum.js +14 -0
- package/dist/cjs/api/types/OperationsTask1.d.ts +19 -0
- package/dist/cjs/api/types/OperationsTask1.js +5 -0
- package/dist/cjs/api/types/OperationsTaskComment1.d.ts +10 -0
- package/dist/cjs/api/types/OperationsTaskComment1.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListRes.d.ts +8 -0
- package/dist/cjs/api/types/OperationsTaskListRes.js +5 -0
- package/dist/cjs/api/types/OperationsTaskSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/OperationsTaskSortByEnum.js +10 -0
- package/dist/cjs/api/types/OrgComplianceDocument1.d.ts +1 -0
- package/dist/cjs/api/types/OrgComplianceDocumentTypeEnum1.d.ts +11 -1
- package/dist/cjs/api/types/OrgComplianceDocumentTypeEnum1.js +10 -0
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +16 -0
- package/dist/cjs/api/types/index.js +16 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/operations/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/operations/client/Client.mjs +10 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +394 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +15 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +150 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/Client.mjs +544 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.d.mts +11 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksAdd1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +11 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.d.mts +17 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.d.mts +24 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/checklists/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/checklists/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/index.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +170 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +616 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskAddCommentReq1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +33 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.d.mts +14 -0
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.mjs +63 -0
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.mts +14 -0
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.mjs +63 -0
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +75 -0
- package/dist/esm/api/types/AiImageDescription.d.mts +30 -0
- package/dist/esm/api/types/AiImageDescription.mjs +4 -0
- package/dist/esm/api/types/Case1.d.mts +4 -0
- package/dist/esm/api/types/CaseChecksDisableReq.d.mts +7 -0
- package/dist/esm/api/types/CaseChecksDisableReq.mjs +4 -0
- package/dist/esm/api/types/CaseChecksDismissReq.d.mts +8 -0
- package/dist/esm/api/types/CaseChecksDismissReq.mjs +4 -0
- package/dist/esm/api/types/CaseChecksSummary1.d.mts +27 -0
- package/dist/esm/api/types/CaseChecksSummary1.mjs +4 -0
- package/dist/esm/api/types/Check1.d.mts +33 -0
- package/dist/esm/api/types/Check1.mjs +4 -0
- package/dist/esm/api/types/CheckEnum.d.mts +46 -0
- package/dist/esm/api/types/CheckEnum.mjs +20 -0
- package/dist/esm/api/types/CheckStatusEnum.d.mts +32 -0
- package/dist/esm/api/types/CheckStatusEnum.mjs +12 -0
- package/dist/esm/api/types/Checklist1.d.mts +18 -0
- package/dist/esm/api/types/Checklist1.mjs +4 -0
- package/dist/esm/api/types/ChecklistCheck1.d.mts +15 -0
- package/dist/esm/api/types/ChecklistCheck1.mjs +4 -0
- package/dist/esm/api/types/ChecklistListRes.d.mts +8 -0
- package/dist/esm/api/types/ChecklistListRes.mjs +4 -0
- package/dist/esm/api/types/ChecklistSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/ChecklistSortByEnum.mjs +8 -0
- package/dist/esm/api/types/DriverComplianceDocument1.d.mts +1 -0
- package/dist/esm/api/types/DriverComplianceDocumentTypeEnum1.d.mts +16 -1
- package/dist/esm/api/types/DriverComplianceDocumentTypeEnum1.mjs +15 -0
- package/dist/esm/api/types/LlmModelEnum.d.mts +12 -0
- package/dist/esm/api/types/LlmModelEnum.mjs +11 -0
- package/dist/esm/api/types/OperationsTask1.d.mts +19 -0
- package/dist/esm/api/types/OperationsTask1.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskComment1.d.mts +10 -0
- package/dist/esm/api/types/OperationsTaskComment1.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListRes.d.mts +8 -0
- package/dist/esm/api/types/OperationsTaskListRes.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/OperationsTaskSortByEnum.mjs +7 -0
- package/dist/esm/api/types/OrgComplianceDocument1.d.mts +1 -0
- package/dist/esm/api/types/OrgComplianceDocumentTypeEnum1.d.mts +11 -1
- package/dist/esm/api/types/OrgComplianceDocumentTypeEnum1.mjs +10 -0
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +16 -0
- package/dist/esm/api/types/index.mjs +16 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1957 -142
|
@@ -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
|
+
* 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
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.CheckStatusEnum = void 0;
|
|
7
|
+
exports.CheckStatusEnum = {
|
|
8
|
+
NotStarted: "not_started",
|
|
9
|
+
InProgress: "in_progress",
|
|
10
|
+
Success: "success",
|
|
11
|
+
Unsure: "unsure",
|
|
12
|
+
Failure: "failure",
|
|
13
|
+
Error: "error",
|
|
14
|
+
Dismissed: "dismissed",
|
|
15
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface Checklist1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
checks?: Chrt.ChecklistCheck1[];
|
|
10
|
+
_id: string;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
org_id: string;
|
|
13
|
+
archived?: boolean;
|
|
14
|
+
/** Must be a string starting with `user_` */
|
|
15
|
+
created_by_user_id: string;
|
|
16
|
+
created_at_timestamp: string;
|
|
17
|
+
updated_at_timestamp: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ChecklistSortByEnum = "created_at_timestamp" | "updated_at_timestamp" | "name";
|
|
5
|
+
export declare const ChecklistSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly UpdatedAtTimestamp: "updated_at_timestamp";
|
|
8
|
+
readonly Name: "name";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.ChecklistSortByEnum = void 0;
|
|
7
|
+
exports.ChecklistSortByEnum = {
|
|
8
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
9
|
+
UpdatedAtTimestamp: "updated_at_timestamp",
|
|
10
|
+
Name: "name",
|
|
11
|
+
};
|
|
@@ -9,6 +9,7 @@ export interface DriverComplianceDocument1 {
|
|
|
9
9
|
org_id: string;
|
|
10
10
|
driver_id: string;
|
|
11
11
|
document_type: Chrt.DriverComplianceDocumentTypeEnum1;
|
|
12
|
+
description?: string | null;
|
|
12
13
|
driver_compliance_document_s3_object_metadata_ids?: string[];
|
|
13
14
|
valid_from?: string | null;
|
|
14
15
|
valid_until?: string | null;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type DriverComplianceDocumentTypeEnum1 = "drivers_license" | "commercial_drivers_license";
|
|
4
|
+
export type DriverComplianceDocumentTypeEnum1 = "drivers_license" | "commercial_drivers_license" | "tsa_sta" | "iata_dangerous_goods" | "dot_hazmat" | "cdl_hazmat_endorsement" | "osha_bloodborne_pathogens" | "medical_specimen" | "clinical_lab_specimen" | "pathology" | "blood_products" | "pharmaceutical" | "cold_chain" | "vehicle_registration" | "vehicle_inspection" | "background_check" | "mvr_check";
|
|
5
5
|
export declare const DriverComplianceDocumentTypeEnum1: {
|
|
6
6
|
readonly DriversLicense: "drivers_license";
|
|
7
7
|
readonly CommercialDriversLicense: "commercial_drivers_license";
|
|
8
|
+
readonly TsaSta: "tsa_sta";
|
|
9
|
+
readonly IataDangerousGoods: "iata_dangerous_goods";
|
|
10
|
+
readonly DotHazmat: "dot_hazmat";
|
|
11
|
+
readonly CdlHazmatEndorsement: "cdl_hazmat_endorsement";
|
|
12
|
+
readonly OshaBloodbornePathogens: "osha_bloodborne_pathogens";
|
|
13
|
+
readonly MedicalSpecimen: "medical_specimen";
|
|
14
|
+
readonly ClinicalLabSpecimen: "clinical_lab_specimen";
|
|
15
|
+
readonly Pathology: "pathology";
|
|
16
|
+
readonly BloodProducts: "blood_products";
|
|
17
|
+
readonly Pharmaceutical: "pharmaceutical";
|
|
18
|
+
readonly ColdChain: "cold_chain";
|
|
19
|
+
readonly VehicleRegistration: "vehicle_registration";
|
|
20
|
+
readonly VehicleInspection: "vehicle_inspection";
|
|
21
|
+
readonly BackgroundCheck: "background_check";
|
|
22
|
+
readonly MvrCheck: "mvr_check";
|
|
8
23
|
};
|
|
@@ -7,4 +7,19 @@ exports.DriverComplianceDocumentTypeEnum1 = void 0;
|
|
|
7
7
|
exports.DriverComplianceDocumentTypeEnum1 = {
|
|
8
8
|
DriversLicense: "drivers_license",
|
|
9
9
|
CommercialDriversLicense: "commercial_drivers_license",
|
|
10
|
+
TsaSta: "tsa_sta",
|
|
11
|
+
IataDangerousGoods: "iata_dangerous_goods",
|
|
12
|
+
DotHazmat: "dot_hazmat",
|
|
13
|
+
CdlHazmatEndorsement: "cdl_hazmat_endorsement",
|
|
14
|
+
OshaBloodbornePathogens: "osha_bloodborne_pathogens",
|
|
15
|
+
MedicalSpecimen: "medical_specimen",
|
|
16
|
+
ClinicalLabSpecimen: "clinical_lab_specimen",
|
|
17
|
+
Pathology: "pathology",
|
|
18
|
+
BloodProducts: "blood_products",
|
|
19
|
+
Pharmaceutical: "pharmaceutical",
|
|
20
|
+
ColdChain: "cold_chain",
|
|
21
|
+
VehicleRegistration: "vehicle_registration",
|
|
22
|
+
VehicleInspection: "vehicle_inspection",
|
|
23
|
+
BackgroundCheck: "background_check",
|
|
24
|
+
MvrCheck: "mvr_check",
|
|
10
25
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type LlmModelEnum = "gpt-5.5" | "gpt-5.4" | "gpt-5.4-mini" | "claude-opus-4-7" | "claude-sonnet-4-6" | "claude-haiku-4-5";
|
|
5
|
+
export declare const LlmModelEnum: {
|
|
6
|
+
readonly Gpt55: "gpt-5.5";
|
|
7
|
+
readonly Gpt54: "gpt-5.4";
|
|
8
|
+
readonly Gpt54Mini: "gpt-5.4-mini";
|
|
9
|
+
readonly ClaudeOpus47: "claude-opus-4-7";
|
|
10
|
+
readonly ClaudeSonnet46: "claude-sonnet-4-6";
|
|
11
|
+
readonly ClaudeHaiku45: "claude-haiku-4-5";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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.LlmModelEnum = void 0;
|
|
7
|
+
exports.LlmModelEnum = {
|
|
8
|
+
Gpt55: "gpt-5.5",
|
|
9
|
+
Gpt54: "gpt-5.4",
|
|
10
|
+
Gpt54Mini: "gpt-5.4-mini",
|
|
11
|
+
ClaudeOpus47: "claude-opus-4-7",
|
|
12
|
+
ClaudeSonnet46: "claude-sonnet-4-6",
|
|
13
|
+
ClaudeHaiku45: "claude-haiku-4-5",
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface OperationsTask1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
case_id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
deadline_timestamp?: string;
|
|
11
|
+
_id: string;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
org_id: string;
|
|
14
|
+
completed?: boolean;
|
|
15
|
+
completed_at_timestamp?: string | null;
|
|
16
|
+
/** Must be a string starting with `user_` */
|
|
17
|
+
completed_by_user_id?: string | null;
|
|
18
|
+
comments?: Chrt.OperationsTaskComment1[];
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type OperationsTaskSortByEnum = "deadline_timestamp" | "completed_at_timestamp";
|
|
5
|
+
export declare const OperationsTaskSortByEnum: {
|
|
6
|
+
readonly DeadlineTimestamp: "deadline_timestamp";
|
|
7
|
+
readonly CompletedAtTimestamp: "completed_at_timestamp";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.OperationsTaskSortByEnum = void 0;
|
|
7
|
+
exports.OperationsTaskSortByEnum = {
|
|
8
|
+
DeadlineTimestamp: "deadline_timestamp",
|
|
9
|
+
CompletedAtTimestamp: "completed_at_timestamp",
|
|
10
|
+
};
|
|
@@ -9,6 +9,7 @@ export interface OrgComplianceDocument1 {
|
|
|
9
9
|
/** Must be a string starting with `org_` */
|
|
10
10
|
org_id: string;
|
|
11
11
|
document_type: Chrt.OrgComplianceDocumentTypeEnum1;
|
|
12
|
+
description?: string | null;
|
|
12
13
|
org_compliance_document_s3_object_metadata_ids?: string[];
|
|
13
14
|
valid_from?: string | null;
|
|
14
15
|
valid_until?: string | null;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type OrgComplianceDocumentTypeEnum1 = "security_threat_assessment" | "insurance";
|
|
4
|
+
export type OrgComplianceDocumentTypeEnum1 = "security_threat_assessment" | "insurance" | "indirect_air_carrier" | "customs_broker" | "gdp" | "authorized_economic_operator" | "hipaa" | "chain_of_custody" | "auto_liability_insurance" | "cargo_insurance" | "general_liability_insurance" | "workers_comp_insurance";
|
|
5
5
|
export declare const OrgComplianceDocumentTypeEnum1: {
|
|
6
6
|
readonly SecurityThreatAssessment: "security_threat_assessment";
|
|
7
7
|
readonly Insurance: "insurance";
|
|
8
|
+
readonly IndirectAirCarrier: "indirect_air_carrier";
|
|
9
|
+
readonly CustomsBroker: "customs_broker";
|
|
10
|
+
readonly Gdp: "gdp";
|
|
11
|
+
readonly AuthorizedEconomicOperator: "authorized_economic_operator";
|
|
12
|
+
readonly Hipaa: "hipaa";
|
|
13
|
+
readonly ChainOfCustody: "chain_of_custody";
|
|
14
|
+
readonly AutoLiabilityInsurance: "auto_liability_insurance";
|
|
15
|
+
readonly CargoInsurance: "cargo_insurance";
|
|
16
|
+
readonly GeneralLiabilityInsurance: "general_liability_insurance";
|
|
17
|
+
readonly WorkersCompInsurance: "workers_comp_insurance";
|
|
8
18
|
};
|
|
@@ -7,4 +7,14 @@ exports.OrgComplianceDocumentTypeEnum1 = void 0;
|
|
|
7
7
|
exports.OrgComplianceDocumentTypeEnum1 = {
|
|
8
8
|
SecurityThreatAssessment: "security_threat_assessment",
|
|
9
9
|
Insurance: "insurance",
|
|
10
|
+
IndirectAirCarrier: "indirect_air_carrier",
|
|
11
|
+
CustomsBroker: "customs_broker",
|
|
12
|
+
Gdp: "gdp",
|
|
13
|
+
AuthorizedEconomicOperator: "authorized_economic_operator",
|
|
14
|
+
Hipaa: "hipaa",
|
|
15
|
+
ChainOfCustody: "chain_of_custody",
|
|
16
|
+
AutoLiabilityInsurance: "auto_liability_insurance",
|
|
17
|
+
CargoInsurance: "cargo_insurance",
|
|
18
|
+
GeneralLiabilityInsurance: "general_liability_insurance",
|
|
19
|
+
WorkersCompInsurance: "workers_comp_insurance",
|
|
10
20
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
4
5
|
export interface TaskArtifactS3ObjectMetadata1 {
|
|
5
6
|
schema_version: number;
|
|
6
7
|
_id: string;
|
|
@@ -16,4 +17,5 @@ export interface TaskArtifactS3ObjectMetadata1 {
|
|
|
16
17
|
content_type?: string | null;
|
|
17
18
|
/** Original filename of the uploaded file */
|
|
18
19
|
filename?: string | null;
|
|
20
|
+
ai_image_description?: Chrt.AiImageDescription | null;
|
|
19
21
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AiImageDescription.js";
|
|
1
2
|
export * from "./AnalyticsTimeBucketResponse.js";
|
|
2
3
|
export * from "./AttachBillingLedgerPeriodReq.js";
|
|
3
4
|
export * from "./AttachLigToVectorClientReq.js";
|
|
@@ -85,6 +86,9 @@ export * from "./CargojsonVolumeUnit.js";
|
|
|
85
86
|
export * from "./CargojsonWeight.js";
|
|
86
87
|
export * from "./CargojsonWeightUnit.js";
|
|
87
88
|
export * from "./Case1.js";
|
|
89
|
+
export * from "./CaseChecksDisableReq.js";
|
|
90
|
+
export * from "./CaseChecksDismissReq.js";
|
|
91
|
+
export * from "./CaseChecksSummary1.js";
|
|
88
92
|
export * from "./CaseListRes.js";
|
|
89
93
|
export * from "./CaseMessage1.js";
|
|
90
94
|
export * from "./CaseS3ObjectMetadata1.js";
|
|
@@ -97,6 +101,13 @@ export * from "./ChampFlightStatus1.js";
|
|
|
97
101
|
export * from "./ChampFlightStatusEvent1.js";
|
|
98
102
|
export * from "./ChampOriginAndDestination.js";
|
|
99
103
|
export * from "./ChampQuantity.js";
|
|
104
|
+
export * from "./Check1.js";
|
|
105
|
+
export * from "./CheckEnum.js";
|
|
106
|
+
export * from "./CheckStatusEnum.js";
|
|
107
|
+
export * from "./Checklist1.js";
|
|
108
|
+
export * from "./ChecklistCheck1.js";
|
|
109
|
+
export * from "./ChecklistListRes.js";
|
|
110
|
+
export * from "./ChecklistSortByEnum.js";
|
|
100
111
|
export * from "./ChrtGroundProviderRateSheet1.js";
|
|
101
112
|
export * from "./ChrtGroundProviderRateSheetListRes.js";
|
|
102
113
|
export * from "./ChrtGroundProviderTaskActionEnum1.js";
|
|
@@ -141,6 +152,7 @@ export * from "./GeometryCollection.js";
|
|
|
141
152
|
export * from "./HttpValidationError.js";
|
|
142
153
|
export * from "./InternalDelegationTokenReq.js";
|
|
143
154
|
export * from "./InternalDelegationTokenRes.js";
|
|
155
|
+
export * from "./LlmModelEnum.js";
|
|
144
156
|
export * from "./LineItem1.js";
|
|
145
157
|
export * from "./LineItemClientCreate1.js";
|
|
146
158
|
export * from "./LineItemEnum1.js";
|
|
@@ -196,6 +208,10 @@ export * from "./OperationsCaseGroupAssignedWebhookPayload.js";
|
|
|
196
208
|
export * from "./OperationsCaseMessageWebhookPayload.js";
|
|
197
209
|
export * from "./OperationsCaseOperatorAssignedWebhookPayload.js";
|
|
198
210
|
export * from "./OperationsCaseS3ObjectAddedWebhookPayload.js";
|
|
211
|
+
export * from "./OperationsTask1.js";
|
|
212
|
+
export * from "./OperationsTaskComment1.js";
|
|
213
|
+
export * from "./OperationsTaskListRes.js";
|
|
214
|
+
export * from "./OperationsTaskSortByEnum.js";
|
|
199
215
|
export * from "./Order1.js";
|
|
200
216
|
export * from "./OrderAndTaskGroupExpandedReq.js";
|
|
201
217
|
export * from "./OrderBuilderReq.js";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AiImageDescription.js"), exports);
|
|
17
18
|
__exportStar(require("./AnalyticsTimeBucketResponse.js"), exports);
|
|
18
19
|
__exportStar(require("./AttachBillingLedgerPeriodReq.js"), exports);
|
|
19
20
|
__exportStar(require("./AttachLigToVectorClientReq.js"), exports);
|
|
@@ -101,6 +102,9 @@ __exportStar(require("./CargojsonVolumeUnit.js"), exports);
|
|
|
101
102
|
__exportStar(require("./CargojsonWeight.js"), exports);
|
|
102
103
|
__exportStar(require("./CargojsonWeightUnit.js"), exports);
|
|
103
104
|
__exportStar(require("./Case1.js"), exports);
|
|
105
|
+
__exportStar(require("./CaseChecksDisableReq.js"), exports);
|
|
106
|
+
__exportStar(require("./CaseChecksDismissReq.js"), exports);
|
|
107
|
+
__exportStar(require("./CaseChecksSummary1.js"), exports);
|
|
104
108
|
__exportStar(require("./CaseListRes.js"), exports);
|
|
105
109
|
__exportStar(require("./CaseMessage1.js"), exports);
|
|
106
110
|
__exportStar(require("./CaseS3ObjectMetadata1.js"), exports);
|
|
@@ -113,6 +117,13 @@ __exportStar(require("./ChampFlightStatus1.js"), exports);
|
|
|
113
117
|
__exportStar(require("./ChampFlightStatusEvent1.js"), exports);
|
|
114
118
|
__exportStar(require("./ChampOriginAndDestination.js"), exports);
|
|
115
119
|
__exportStar(require("./ChampQuantity.js"), exports);
|
|
120
|
+
__exportStar(require("./Check1.js"), exports);
|
|
121
|
+
__exportStar(require("./CheckEnum.js"), exports);
|
|
122
|
+
__exportStar(require("./CheckStatusEnum.js"), exports);
|
|
123
|
+
__exportStar(require("./Checklist1.js"), exports);
|
|
124
|
+
__exportStar(require("./ChecklistCheck1.js"), exports);
|
|
125
|
+
__exportStar(require("./ChecklistListRes.js"), exports);
|
|
126
|
+
__exportStar(require("./ChecklistSortByEnum.js"), exports);
|
|
116
127
|
__exportStar(require("./ChrtGroundProviderRateSheet1.js"), exports);
|
|
117
128
|
__exportStar(require("./ChrtGroundProviderRateSheetListRes.js"), exports);
|
|
118
129
|
__exportStar(require("./ChrtGroundProviderTaskActionEnum1.js"), exports);
|
|
@@ -157,6 +168,7 @@ __exportStar(require("./GeometryCollection.js"), exports);
|
|
|
157
168
|
__exportStar(require("./HttpValidationError.js"), exports);
|
|
158
169
|
__exportStar(require("./InternalDelegationTokenReq.js"), exports);
|
|
159
170
|
__exportStar(require("./InternalDelegationTokenRes.js"), exports);
|
|
171
|
+
__exportStar(require("./LlmModelEnum.js"), exports);
|
|
160
172
|
__exportStar(require("./LineItem1.js"), exports);
|
|
161
173
|
__exportStar(require("./LineItemClientCreate1.js"), exports);
|
|
162
174
|
__exportStar(require("./LineItemEnum1.js"), exports);
|
|
@@ -212,6 +224,10 @@ __exportStar(require("./OperationsCaseGroupAssignedWebhookPayload.js"), exports)
|
|
|
212
224
|
__exportStar(require("./OperationsCaseMessageWebhookPayload.js"), exports);
|
|
213
225
|
__exportStar(require("./OperationsCaseOperatorAssignedWebhookPayload.js"), exports);
|
|
214
226
|
__exportStar(require("./OperationsCaseS3ObjectAddedWebhookPayload.js"), exports);
|
|
227
|
+
__exportStar(require("./OperationsTask1.js"), exports);
|
|
228
|
+
__exportStar(require("./OperationsTaskComment1.js"), exports);
|
|
229
|
+
__exportStar(require("./OperationsTaskListRes.js"), exports);
|
|
230
|
+
__exportStar(require("./OperationsTaskSortByEnum.js"), exports);
|
|
215
231
|
__exportStar(require("./Order1.js"), exports);
|
|
216
232
|
__exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
|
|
217
233
|
__exportStar(require("./OrderBuilderReq.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.702.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -20,8 +20,8 @@ export class ChrtClient {
|
|
|
20
20
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
21
21
|
"X-Fern-Language": "JavaScript",
|
|
22
22
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
23
|
-
"X-Fern-SDK-Version": "1.
|
|
24
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
23
|
+
"X-Fern-SDK-Version": "1.702.0",
|
|
24
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.702.0",
|
|
25
25
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
26
26
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
27
27
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
import * as environments from "../../../../environments.mjs";
|
|
5
5
|
import * as core from "../../../../core/index.mjs";
|
|
6
6
|
import { Cases } from "../resources/cases/client/Client.mjs";
|
|
7
|
+
import { Checklists } from "../resources/checklists/client/Client.mjs";
|
|
7
8
|
import { Departments } from "../resources/departments/client/Client.mjs";
|
|
9
|
+
import { OperationsTasks } from "../resources/operationsTasks/client/Client.mjs";
|
|
8
10
|
export declare namespace Operations {
|
|
9
11
|
interface Options {
|
|
10
12
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -19,8 +21,12 @@ export declare namespace Operations {
|
|
|
19
21
|
export declare class Operations {
|
|
20
22
|
protected readonly _options: Operations.Options;
|
|
21
23
|
protected _cases: Cases | undefined;
|
|
24
|
+
protected _checklists: Checklists | undefined;
|
|
22
25
|
protected _departments: Departments | undefined;
|
|
26
|
+
protected _operationsTasks: OperationsTasks | undefined;
|
|
23
27
|
constructor(_options?: Operations.Options);
|
|
24
28
|
get cases(): Cases;
|
|
29
|
+
get checklists(): Checklists;
|
|
25
30
|
get departments(): Departments;
|
|
31
|
+
get operationsTasks(): OperationsTasks;
|
|
26
32
|
}
|