@chrt-inc/typescript-sdk 1.692.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/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/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/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/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/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/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 +1826 -153
|
@@ -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
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -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
|
}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import { Cases } from "../resources/cases/client/Client.mjs";
|
|
5
|
+
import { Checklists } from "../resources/checklists/client/Client.mjs";
|
|
5
6
|
import { Departments } from "../resources/departments/client/Client.mjs";
|
|
7
|
+
import { OperationsTasks } from "../resources/operationsTasks/client/Client.mjs";
|
|
6
8
|
export class Operations {
|
|
7
9
|
constructor(_options = {}) {
|
|
8
10
|
this._options = _options;
|
|
@@ -11,8 +13,16 @@ export class Operations {
|
|
|
11
13
|
var _a;
|
|
12
14
|
return ((_a = this._cases) !== null && _a !== void 0 ? _a : (this._cases = new Cases(this._options)));
|
|
13
15
|
}
|
|
16
|
+
get checklists() {
|
|
17
|
+
var _a;
|
|
18
|
+
return ((_a = this._checklists) !== null && _a !== void 0 ? _a : (this._checklists = new Checklists(this._options)));
|
|
19
|
+
}
|
|
14
20
|
get departments() {
|
|
15
21
|
var _a;
|
|
16
22
|
return ((_a = this._departments) !== null && _a !== void 0 ? _a : (this._departments = new Departments(this._options)));
|
|
17
23
|
}
|
|
24
|
+
get operationsTasks() {
|
|
25
|
+
var _a;
|
|
26
|
+
return ((_a = this._operationsTasks) !== null && _a !== void 0 ? _a : (this._operationsTasks = new OperationsTasks(this._options)));
|
|
27
|
+
}
|
|
18
28
|
}
|
|
@@ -33,6 +33,106 @@ export declare class Cases {
|
|
|
33
33
|
protected _s3Objects: S3Objects | undefined;
|
|
34
34
|
constructor(_options?: Cases.Options);
|
|
35
35
|
get s3Objects(): S3Objects;
|
|
36
|
+
/**
|
|
37
|
+
* Records image-analysis workflow results onto every participating org's Case for the order. Walks task_artifact -> task -> order, authorizes the caller against the shipping graph, then fans out to all Cases keyed on `order_id` — upserting one Check1 per surviving result keyed by (check, task_artifact_id) on each Case whose effective check set (`enabled - disabled`) includes it. Silently drops results for checks not in the image-uploaded event family, results for checks not in a given Case's effective set, and results whose existing row on that Case is DISMISSED. Returns True if any Case was updated. Intended to be called by the shipping_task_image_analysis Temporal workflow via an internal delegation JWT. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | (CaseChecksRecordImageAnalysisResultsReq) -> (bool)
|
|
38
|
+
*
|
|
39
|
+
* @param {string} taskArtifactId
|
|
40
|
+
* @param {Chrt.operations.CaseChecksRecordImageAnalysisResultsReq} request
|
|
41
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* await client.operations.cases.recordImageAnalysisResultsV1("task_artifact_id", {
|
|
47
|
+
* results: {
|
|
48
|
+
* "key": "not_started"
|
|
49
|
+
* }
|
|
50
|
+
* })
|
|
51
|
+
*/
|
|
52
|
+
recordImageAnalysisResultsV1(taskArtifactId: string, request: Chrt.operations.CaseChecksRecordImageAnalysisResultsReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
53
|
+
private __recordImageAnalysisResultsV1;
|
|
54
|
+
/**
|
|
55
|
+
* Adds the Checklist's checks to the Case's enabled_check_keys (deduped) and records the Checklist id. Does not touch existing check runs. Idempotent. | authz: min_org_role=operator | (CaseChecksApplyChecklistReq) -> (bool)
|
|
56
|
+
*
|
|
57
|
+
* @param {string} caseId
|
|
58
|
+
* @param {Chrt.operations.CaseChecksApplyChecklistReq} request
|
|
59
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* await client.operations.cases.applyChecklistV1("case_id", {
|
|
65
|
+
* checklist_id: "checklist_id"
|
|
66
|
+
* })
|
|
67
|
+
*/
|
|
68
|
+
applyChecklistV1(caseId: string, request: Chrt.operations.CaseChecksApplyChecklistReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
69
|
+
private __applyChecklistV1;
|
|
70
|
+
/**
|
|
71
|
+
* Adds a CheckEnum to the Case's disabled_check_keys (operator override). The Checklist that enabled the check stays applied; the workflow's effective set becomes enabled - disabled. Requires the CheckEnum to currently be in enabled_check_keys; otherwise 400. Existing check runs are untouched — operators dismiss them individually if they also want them out of summary counts. | authz: min_org_role=operator | (CaseChecksDisableReq) -> (bool)
|
|
72
|
+
*
|
|
73
|
+
* @param {string} caseId
|
|
74
|
+
* @param {Chrt.CaseChecksDisableReq} request
|
|
75
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* await client.operations.cases.disableCheckV1("case_id", {
|
|
81
|
+
* check: "shipping.order.placed.order_details_reviewed"
|
|
82
|
+
* })
|
|
83
|
+
*/
|
|
84
|
+
disableCheckV1(caseId: string, request: Chrt.CaseChecksDisableReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
85
|
+
private __disableCheckV1;
|
|
86
|
+
/**
|
|
87
|
+
* Removes a CheckEnum from the Case's disabled_check_keys, restoring it to the workflow's effective set. Inverse of disable. No-op if the CheckEnum isn't currently disabled. | authz: min_org_role=operator | (CaseChecksDisableReq) -> (bool)
|
|
88
|
+
*
|
|
89
|
+
* @param {string} caseId
|
|
90
|
+
* @param {Chrt.CaseChecksDisableReq} request
|
|
91
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.operations.cases.enableCheckV1("case_id", {
|
|
97
|
+
* check: "shipping.order.placed.order_details_reviewed"
|
|
98
|
+
* })
|
|
99
|
+
*/
|
|
100
|
+
enableCheckV1(caseId: string, request: Chrt.CaseChecksDisableReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
101
|
+
private __enableCheckV1;
|
|
102
|
+
/**
|
|
103
|
+
* Transitions one (check, entity_id) Check1 to status=DISMISSED. Does not affect other runs of the same check on different entity_ids. | authz: min_org_role=operator | (CaseChecksDismissReq) -> (bool)
|
|
104
|
+
*
|
|
105
|
+
* @param {string} caseId
|
|
106
|
+
* @param {Chrt.CaseChecksDismissReq} request
|
|
107
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* await client.operations.cases.dismissCheckV1("case_id", {
|
|
113
|
+
* check: "shipping.order.placed.order_details_reviewed",
|
|
114
|
+
* entity_id: "entity_id"
|
|
115
|
+
* })
|
|
116
|
+
*/
|
|
117
|
+
dismissCheckV1(caseId: string, request: Chrt.CaseChecksDismissReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
118
|
+
private __dismissCheckV1;
|
|
119
|
+
/**
|
|
120
|
+
* Transitions a DISMISSED (check, entity_id) Check1 back to NOT_STARTED so the next matching event re-evaluates it. No-op if not currently DISMISSED. | authz: min_org_role=operator | (CaseChecksDismissReq) -> (bool)
|
|
121
|
+
*
|
|
122
|
+
* @param {string} caseId
|
|
123
|
+
* @param {Chrt.CaseChecksDismissReq} request
|
|
124
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* await client.operations.cases.undismissCheckV1("case_id", {
|
|
130
|
+
* check: "shipping.order.placed.order_details_reviewed",
|
|
131
|
+
* entity_id: "entity_id"
|
|
132
|
+
* })
|
|
133
|
+
*/
|
|
134
|
+
undismissCheckV1(caseId: string, request: Chrt.CaseChecksDismissReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
135
|
+
private __undismissCheckV1;
|
|
36
136
|
/**
|
|
37
137
|
* Lists cases for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (CaseListRes)
|
|
38
138
|
*
|