@knowledge-stack/ksapi 1.82.0 → 1.84.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/.openapi-generator/FILES +26 -0
- package/README.md +26 -2
- package/dist/apis/PathPartsApi.d.ts +110 -1
- package/dist/apis/PathPartsApi.js +111 -0
- package/dist/apis/WorkflowMemoryApi.d.ts +249 -0
- package/dist/apis/WorkflowMemoryApi.js +299 -0
- package/dist/apis/WorkflowRunsApi.d.ts +233 -1
- package/dist/apis/WorkflowRunsApi.js +236 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/PathPartsApi.d.ts +110 -1
- package/dist/esm/apis/PathPartsApi.js +112 -1
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +249 -0
- package/dist/esm/apis/WorkflowMemoryApi.js +262 -0
- package/dist/esm/apis/WorkflowRunsApi.d.ts +233 -1
- package/dist/esm/apis/WorkflowRunsApi.js +237 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppendEventRequest.d.ts +62 -0
- package/dist/esm/models/AppendEventRequest.js +51 -0
- package/dist/esm/models/AppendMemoryChunkRequest.d.ts +54 -0
- package/dist/esm/models/AppendMemoryChunkRequest.js +52 -0
- package/dist/esm/models/ChunkBulkResponse.d.ts +4 -4
- package/dist/esm/models/ChunkContentItem.d.ts +2 -2
- package/dist/esm/models/ChunkResponse.d.ts +4 -4
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +2 -2
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +7 -1
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +2 -0
- package/dist/esm/models/DocumentVersionMetadata.d.ts +4 -4
- package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +2 -2
- package/dist/esm/models/EditMemoryChunkRequest.d.ts +47 -0
- package/dist/esm/models/EditMemoryChunkRequest.js +49 -0
- package/dist/esm/models/EventResponse.d.ts +83 -0
- package/dist/esm/models/EventResponse.js +64 -0
- package/dist/esm/models/ListMemoryChunksResponse.d.ts +48 -0
- package/dist/esm/models/ListMemoryChunksResponse.js +45 -0
- package/dist/esm/models/MemoryChunkResponse.d.ts +60 -0
- package/dist/esm/models/MemoryChunkResponse.js +53 -0
- package/dist/esm/models/MemoryKind.d.ts +29 -0
- package/dist/esm/models/MemoryKind.js +47 -0
- package/dist/esm/models/PaginatedResponseEventResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseEventResponse.js +70 -0
- package/dist/esm/models/PathPartApprovalDecision.d.ts +30 -0
- package/dist/esm/models/PathPartApprovalDecision.js +48 -0
- package/dist/esm/models/PathPartApprovalResponse.d.ts +111 -0
- package/dist/esm/models/PathPartApprovalResponse.js +85 -0
- package/dist/esm/models/RejectFileRequest.d.ts +47 -0
- package/dist/esm/models/RejectFileRequest.js +49 -0
- package/dist/esm/models/RunLockResponse.d.ts +59 -0
- package/dist/esm/models/RunLockResponse.js +52 -0
- package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/esm/models/SectionSystemMetadata.d.ts +1 -1
- package/dist/esm/models/TenantSettingsUpdate.d.ts +2 -2
- package/dist/esm/models/ThreadMessageDetailsInput.d.ts +2 -2
- package/dist/esm/models/ThreadMessageDetailsOutput.d.ts +2 -2
- package/dist/esm/models/ThreadMessageResponse.d.ts +2 -2
- package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +2 -2
- package/dist/esm/models/UpdateTenantRequest.d.ts +4 -4
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +7 -1
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.js +2 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +7 -1
- package/dist/esm/models/WorkflowDefinitionResponse.js +4 -0
- package/dist/esm/models/WorkflowRunSnapshot.d.ts +1 -1
- package/dist/esm/models/WorkflowRunStatus.d.ts +20 -2
- package/dist/esm/models/WorkflowRunStatus.js +20 -2
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/models/AppendEventRequest.d.ts +62 -0
- package/dist/models/AppendEventRequest.js +59 -0
- package/dist/models/AppendMemoryChunkRequest.d.ts +54 -0
- package/dist/models/AppendMemoryChunkRequest.js +60 -0
- package/dist/models/ChunkBulkResponse.d.ts +4 -4
- package/dist/models/ChunkContentItem.d.ts +2 -2
- package/dist/models/ChunkResponse.d.ts +4 -4
- package/dist/models/CreateThreadMessageRequest.d.ts +2 -2
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +7 -1
- package/dist/models/CreateWorkflowDefinitionRequest.js +2 -0
- package/dist/models/DocumentVersionMetadata.d.ts +4 -4
- package/dist/models/DocumentVersionMetadataUpdate.d.ts +2 -2
- package/dist/models/EditMemoryChunkRequest.d.ts +47 -0
- package/dist/models/EditMemoryChunkRequest.js +57 -0
- package/dist/models/EventResponse.d.ts +83 -0
- package/dist/models/EventResponse.js +72 -0
- package/dist/models/ListMemoryChunksResponse.d.ts +48 -0
- package/dist/models/ListMemoryChunksResponse.js +53 -0
- package/dist/models/MemoryChunkResponse.d.ts +60 -0
- package/dist/models/MemoryChunkResponse.js +61 -0
- package/dist/models/MemoryKind.d.ts +29 -0
- package/dist/models/MemoryKind.js +55 -0
- package/dist/models/PaginatedResponseEventResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseEventResponse.js +78 -0
- package/dist/models/PathPartApprovalDecision.d.ts +30 -0
- package/dist/models/PathPartApprovalDecision.js +56 -0
- package/dist/models/PathPartApprovalResponse.d.ts +111 -0
- package/dist/models/PathPartApprovalResponse.js +93 -0
- package/dist/models/RejectFileRequest.d.ts +47 -0
- package/dist/models/RejectFileRequest.js +57 -0
- package/dist/models/RunLockResponse.d.ts +59 -0
- package/dist/models/RunLockResponse.js +60 -0
- package/dist/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/models/SectionSystemMetadata.d.ts +1 -1
- package/dist/models/TenantSettingsUpdate.d.ts +2 -2
- package/dist/models/ThreadMessageDetailsInput.d.ts +2 -2
- package/dist/models/ThreadMessageDetailsOutput.d.ts +2 -2
- package/dist/models/ThreadMessageResponse.d.ts +2 -2
- package/dist/models/UpdateChunkMetadataRequest.d.ts +2 -2
- package/dist/models/UpdateTenantRequest.d.ts +4 -4
- package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +7 -1
- package/dist/models/UpdateWorkflowDefinitionRequest.js +2 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +7 -1
- package/dist/models/WorkflowDefinitionResponse.js +4 -0
- package/dist/models/WorkflowRunSnapshot.d.ts +1 -1
- package/dist/models/WorkflowRunStatus.d.ts +20 -2
- package/dist/models/WorkflowRunStatus.js +20 -2
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/docs/AppendEventRequest.md +37 -0
- package/docs/AppendMemoryChunkRequest.md +36 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/EditMemoryChunkRequest.md +34 -0
- package/docs/EventResponse.md +45 -0
- package/docs/ListMemoryChunksResponse.md +34 -0
- package/docs/MemoryChunkResponse.md +39 -0
- package/docs/MemoryKind.md +33 -0
- package/docs/PaginatedResponseEventResponse.md +40 -0
- package/docs/PathPartApprovalDecision.md +33 -0
- package/docs/PathPartApprovalResponse.md +55 -0
- package/docs/PathPartsApi.md +171 -0
- package/docs/RejectFileRequest.md +35 -0
- package/docs/RunLockResponse.md +39 -0
- package/docs/UpdateWorkflowDefinitionRequest.md +2 -0
- package/docs/WorkflowDefinitionResponse.md +2 -0
- package/docs/WorkflowMemoryApi.md +390 -0
- package/docs/WorkflowRunStatus.md +1 -1
- package/docs/WorkflowRunsApi.md +387 -0
- package/package.json +1 -1
- package/src/apis/PathPartsApi.ts +234 -0
- package/src/apis/WorkflowMemoryApi.ts +522 -0
- package/src/apis/WorkflowRunsApi.ts +479 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppendEventRequest.ts +102 -0
- package/src/models/AppendMemoryChunkRequest.ts +105 -0
- package/src/models/ChunkBulkResponse.ts +4 -4
- package/src/models/ChunkContentItem.ts +2 -2
- package/src/models/ChunkResponse.ts +4 -4
- package/src/models/CreateThreadMessageRequest.ts +2 -2
- package/src/models/CreateWorkflowDefinitionRequest.ts +9 -1
- package/src/models/DocumentVersionMetadata.ts +4 -4
- package/src/models/DocumentVersionMetadataUpdate.ts +2 -2
- package/src/models/EditMemoryChunkRequest.ts +87 -0
- package/src/models/EventResponse.ts +132 -0
- package/src/models/ListMemoryChunksResponse.ts +91 -0
- package/src/models/MemoryChunkResponse.ts +111 -0
- package/src/models/MemoryKind.ts +57 -0
- package/src/models/PaginatedResponseEventResponse.ts +130 -0
- package/src/models/PathPartApprovalDecision.ts +58 -0
- package/src/models/PathPartApprovalResponse.ts +186 -0
- package/src/models/RejectFileRequest.ts +87 -0
- package/src/models/RunLockResponse.ts +101 -0
- package/src/models/ScoredChunkResponse.ts +4 -4
- package/src/models/SectionSystemMetadata.ts +1 -1
- package/src/models/TenantSettingsUpdate.ts +2 -2
- package/src/models/ThreadMessageDetailsInput.ts +2 -2
- package/src/models/ThreadMessageDetailsOutput.ts +2 -2
- package/src/models/ThreadMessageResponse.ts +2 -2
- package/src/models/UpdateChunkMetadataRequest.ts +2 -2
- package/src/models/UpdateTenantRequest.ts +4 -4
- package/src/models/UpdateWorkflowDefinitionRequest.ts +9 -1
- package/src/models/WorkflowDefinitionResponse.ts +10 -1
- package/src/models/WorkflowRunSnapshot.ts +1 -1
- package/src/models/WorkflowRunStatus.ts +20 -2
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PaginatedResponseEventResponsePropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfPaginatedResponseEventResponse = instanceOfPaginatedResponseEventResponse;
|
|
18
|
+
exports.PaginatedResponseEventResponseFromJSON = PaginatedResponseEventResponseFromJSON;
|
|
19
|
+
exports.PaginatedResponseEventResponseFromJSONTyped = PaginatedResponseEventResponseFromJSONTyped;
|
|
20
|
+
exports.PaginatedResponseEventResponseToJSON = PaginatedResponseEventResponseToJSON;
|
|
21
|
+
exports.PaginatedResponseEventResponseToJSONTyped = PaginatedResponseEventResponseToJSONTyped;
|
|
22
|
+
const EventResponse_1 = require("./EventResponse");
|
|
23
|
+
exports.PaginatedResponseEventResponsePropertyValidationAttributesMap = {
|
|
24
|
+
total: {
|
|
25
|
+
minimum: 0,
|
|
26
|
+
exclusiveMinimum: false,
|
|
27
|
+
},
|
|
28
|
+
limit: {
|
|
29
|
+
minimum: 1,
|
|
30
|
+
exclusiveMinimum: false,
|
|
31
|
+
},
|
|
32
|
+
offset: {
|
|
33
|
+
minimum: 0,
|
|
34
|
+
exclusiveMinimum: false,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PaginatedResponseEventResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfPaginatedResponseEventResponse(value) {
|
|
41
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('offset' in value) || value['offset'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function PaginatedResponseEventResponseFromJSON(json) {
|
|
52
|
+
return PaginatedResponseEventResponseFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function PaginatedResponseEventResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'items': (json['items'].map(EventResponse_1.EventResponseFromJSON)),
|
|
60
|
+
'total': json['total'],
|
|
61
|
+
'limit': json['limit'],
|
|
62
|
+
'offset': json['offset'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function PaginatedResponseEventResponseToJSON(json) {
|
|
66
|
+
return PaginatedResponseEventResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function PaginatedResponseEventResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'items': (value['items'].map(EventResponse_1.EventResponseToJSON)),
|
|
74
|
+
'total': value['total'],
|
|
75
|
+
'limit': value['limit'],
|
|
76
|
+
'offset': value['offset'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Per-file review status within a run (SeaHonor pilot).
|
|
14
|
+
*
|
|
15
|
+
* Now retained as the audit-history record (one row per (run, file));
|
|
16
|
+
* the current state of truth is ``path_part.approval_state``. The
|
|
17
|
+
* service dual-writes both.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const PathPartApprovalDecision: {
|
|
21
|
+
readonly Pending: "pending";
|
|
22
|
+
readonly Approved: "approved";
|
|
23
|
+
readonly Rejected: "rejected";
|
|
24
|
+
};
|
|
25
|
+
export type PathPartApprovalDecision = typeof PathPartApprovalDecision[keyof typeof PathPartApprovalDecision];
|
|
26
|
+
export declare function instanceOfPathPartApprovalDecision(value: any): boolean;
|
|
27
|
+
export declare function PathPartApprovalDecisionFromJSON(json: any): PathPartApprovalDecision;
|
|
28
|
+
export declare function PathPartApprovalDecisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PathPartApprovalDecision;
|
|
29
|
+
export declare function PathPartApprovalDecisionToJSON(value?: PathPartApprovalDecision | null): any;
|
|
30
|
+
export declare function PathPartApprovalDecisionToJSONTyped(value: any, ignoreDiscriminator: boolean): PathPartApprovalDecision;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PathPartApprovalDecision = void 0;
|
|
17
|
+
exports.instanceOfPathPartApprovalDecision = instanceOfPathPartApprovalDecision;
|
|
18
|
+
exports.PathPartApprovalDecisionFromJSON = PathPartApprovalDecisionFromJSON;
|
|
19
|
+
exports.PathPartApprovalDecisionFromJSONTyped = PathPartApprovalDecisionFromJSONTyped;
|
|
20
|
+
exports.PathPartApprovalDecisionToJSON = PathPartApprovalDecisionToJSON;
|
|
21
|
+
exports.PathPartApprovalDecisionToJSONTyped = PathPartApprovalDecisionToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Per-file review status within a run (SeaHonor pilot).
|
|
24
|
+
*
|
|
25
|
+
* Now retained as the audit-history record (one row per (run, file));
|
|
26
|
+
* the current state of truth is ``path_part.approval_state``. The
|
|
27
|
+
* service dual-writes both.
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
exports.PathPartApprovalDecision = {
|
|
31
|
+
Pending: 'pending',
|
|
32
|
+
Approved: 'approved',
|
|
33
|
+
Rejected: 'rejected'
|
|
34
|
+
};
|
|
35
|
+
function instanceOfPathPartApprovalDecision(value) {
|
|
36
|
+
for (const key in exports.PathPartApprovalDecision) {
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(exports.PathPartApprovalDecision, key)) {
|
|
38
|
+
if (exports.PathPartApprovalDecision[key] === value) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
function PathPartApprovalDecisionFromJSON(json) {
|
|
46
|
+
return PathPartApprovalDecisionFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PathPartApprovalDecisionFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
function PathPartApprovalDecisionToJSON(value) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
function PathPartApprovalDecisionToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PathPartApprovalDecision } from './PathPartApprovalDecision';
|
|
13
|
+
/**
|
|
14
|
+
* Approval audit-history row over any path_part (file or folder).
|
|
15
|
+
*
|
|
16
|
+
* ``run_id`` is optional — None when the path_part was approved directly
|
|
17
|
+
* without a workflow-run context.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PathPartApprovalResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface PathPartApprovalResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PathPartApprovalResponse
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PathPartApprovalResponse
|
|
32
|
+
*/
|
|
33
|
+
runId: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PathPartApprovalResponse
|
|
38
|
+
*/
|
|
39
|
+
pathPartId: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {PathPartApprovalDecision}
|
|
43
|
+
* @memberof PathPartApprovalResponse
|
|
44
|
+
*/
|
|
45
|
+
status: PathPartApprovalDecision;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof PathPartApprovalResponse
|
|
50
|
+
*/
|
|
51
|
+
reviewerId: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof PathPartApprovalResponse
|
|
56
|
+
*/
|
|
57
|
+
reviewedAt: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof PathPartApprovalResponse
|
|
62
|
+
*/
|
|
63
|
+
rejectionReason: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof PathPartApprovalResponse
|
|
68
|
+
*/
|
|
69
|
+
unapprovedBy: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Date}
|
|
73
|
+
* @memberof PathPartApprovalResponse
|
|
74
|
+
*/
|
|
75
|
+
unapprovedAt: Date | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof PathPartApprovalResponse
|
|
80
|
+
*/
|
|
81
|
+
createdAt: Date;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof PathPartApprovalResponse
|
|
86
|
+
*/
|
|
87
|
+
updatedAt: Date;
|
|
88
|
+
}
|
|
89
|
+
export declare const PathPartApprovalResponsePropertyValidationAttributesMap: {
|
|
90
|
+
[property: string]: {
|
|
91
|
+
maxLength?: number;
|
|
92
|
+
minLength?: number;
|
|
93
|
+
pattern?: string;
|
|
94
|
+
maximum?: number;
|
|
95
|
+
exclusiveMaximum?: boolean;
|
|
96
|
+
minimum?: number;
|
|
97
|
+
exclusiveMinimum?: boolean;
|
|
98
|
+
multipleOf?: number;
|
|
99
|
+
maxItems?: number;
|
|
100
|
+
minItems?: number;
|
|
101
|
+
uniqueItems?: boolean;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Check if a given object implements the PathPartApprovalResponse interface.
|
|
106
|
+
*/
|
|
107
|
+
export declare function instanceOfPathPartApprovalResponse(value: object): value is PathPartApprovalResponse;
|
|
108
|
+
export declare function PathPartApprovalResponseFromJSON(json: any): PathPartApprovalResponse;
|
|
109
|
+
export declare function PathPartApprovalResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PathPartApprovalResponse;
|
|
110
|
+
export declare function PathPartApprovalResponseToJSON(json: any): PathPartApprovalResponse;
|
|
111
|
+
export declare function PathPartApprovalResponseToJSONTyped(value?: PathPartApprovalResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PathPartApprovalResponsePropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfPathPartApprovalResponse = instanceOfPathPartApprovalResponse;
|
|
18
|
+
exports.PathPartApprovalResponseFromJSON = PathPartApprovalResponseFromJSON;
|
|
19
|
+
exports.PathPartApprovalResponseFromJSONTyped = PathPartApprovalResponseFromJSONTyped;
|
|
20
|
+
exports.PathPartApprovalResponseToJSON = PathPartApprovalResponseToJSON;
|
|
21
|
+
exports.PathPartApprovalResponseToJSONTyped = PathPartApprovalResponseToJSONTyped;
|
|
22
|
+
const PathPartApprovalDecision_1 = require("./PathPartApprovalDecision");
|
|
23
|
+
exports.PathPartApprovalResponsePropertyValidationAttributesMap = {};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PathPartApprovalResponse interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfPathPartApprovalResponse(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('runId' in value) || value['runId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('pathPartId' in value) || value['pathPartId'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('reviewerId' in value) || value['reviewerId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('reviewedAt' in value) || value['reviewedAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('rejectionReason' in value) || value['rejectionReason'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('unapprovedBy' in value) || value['unapprovedBy'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('unapprovedAt' in value) || value['unapprovedAt'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
function PathPartApprovalResponseFromJSON(json) {
|
|
53
|
+
return PathPartApprovalResponseFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function PathPartApprovalResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': json['id'],
|
|
61
|
+
'runId': json['run_id'],
|
|
62
|
+
'pathPartId': json['path_part_id'],
|
|
63
|
+
'status': (0, PathPartApprovalDecision_1.PathPartApprovalDecisionFromJSON)(json['status']),
|
|
64
|
+
'reviewerId': json['reviewer_id'],
|
|
65
|
+
'reviewedAt': (json['reviewed_at'] == null ? null : new Date(json['reviewed_at'])),
|
|
66
|
+
'rejectionReason': json['rejection_reason'],
|
|
67
|
+
'unapprovedBy': json['unapproved_by'],
|
|
68
|
+
'unapprovedAt': (json['unapproved_at'] == null ? null : new Date(json['unapproved_at'])),
|
|
69
|
+
'createdAt': (new Date(json['created_at'])),
|
|
70
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function PathPartApprovalResponseToJSON(json) {
|
|
74
|
+
return PathPartApprovalResponseToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
function PathPartApprovalResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'id': value['id'],
|
|
82
|
+
'run_id': value['runId'],
|
|
83
|
+
'path_part_id': value['pathPartId'],
|
|
84
|
+
'status': (0, PathPartApprovalDecision_1.PathPartApprovalDecisionToJSON)(value['status']),
|
|
85
|
+
'reviewer_id': value['reviewerId'],
|
|
86
|
+
'reviewed_at': value['reviewedAt'] == null ? value['reviewedAt'] : value['reviewedAt'].toISOString(),
|
|
87
|
+
'rejection_reason': value['rejectionReason'],
|
|
88
|
+
'unapproved_by': value['unapprovedBy'],
|
|
89
|
+
'unapproved_at': value['unapprovedAt'] == null ? value['unapprovedAt'] : value['unapprovedAt'].toISOString(),
|
|
90
|
+
'created_at': value['createdAt'].toISOString(),
|
|
91
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Body for ``POST /workflow-runs/{run}/files/{file}/reject``.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RejectFileRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RejectFileRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RejectFileRequest
|
|
22
|
+
*/
|
|
23
|
+
reason: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const RejectFileRequestPropertyValidationAttributesMap: {
|
|
26
|
+
[property: string]: {
|
|
27
|
+
maxLength?: number;
|
|
28
|
+
minLength?: number;
|
|
29
|
+
pattern?: string;
|
|
30
|
+
maximum?: number;
|
|
31
|
+
exclusiveMaximum?: boolean;
|
|
32
|
+
minimum?: number;
|
|
33
|
+
exclusiveMinimum?: boolean;
|
|
34
|
+
multipleOf?: number;
|
|
35
|
+
maxItems?: number;
|
|
36
|
+
minItems?: number;
|
|
37
|
+
uniqueItems?: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the RejectFileRequest interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfRejectFileRequest(value: object): value is RejectFileRequest;
|
|
44
|
+
export declare function RejectFileRequestFromJSON(json: any): RejectFileRequest;
|
|
45
|
+
export declare function RejectFileRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RejectFileRequest;
|
|
46
|
+
export declare function RejectFileRequestToJSON(json: any): RejectFileRequest;
|
|
47
|
+
export declare function RejectFileRequestToJSONTyped(value?: RejectFileRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RejectFileRequestPropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfRejectFileRequest = instanceOfRejectFileRequest;
|
|
18
|
+
exports.RejectFileRequestFromJSON = RejectFileRequestFromJSON;
|
|
19
|
+
exports.RejectFileRequestFromJSONTyped = RejectFileRequestFromJSONTyped;
|
|
20
|
+
exports.RejectFileRequestToJSON = RejectFileRequestToJSON;
|
|
21
|
+
exports.RejectFileRequestToJSONTyped = RejectFileRequestToJSONTyped;
|
|
22
|
+
exports.RejectFileRequestPropertyValidationAttributesMap = {
|
|
23
|
+
reason: {
|
|
24
|
+
maxLength: 2048,
|
|
25
|
+
minLength: 1,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the RejectFileRequest interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfRejectFileRequest(value) {
|
|
32
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function RejectFileRequestFromJSON(json) {
|
|
37
|
+
return RejectFileRequestFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function RejectFileRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'reason': json['reason'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function RejectFileRequestToJSON(json) {
|
|
48
|
+
return RejectFileRequestToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function RejectFileRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'reason': value['reason'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Reviewer-lock state on a workflow run.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunLockResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RunLockResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RunLockResponse
|
|
22
|
+
*/
|
|
23
|
+
runId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RunLockResponse
|
|
28
|
+
*/
|
|
29
|
+
lockUserId: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof RunLockResponse
|
|
34
|
+
*/
|
|
35
|
+
lockAcquiredAt: Date | null;
|
|
36
|
+
}
|
|
37
|
+
export declare const RunLockResponsePropertyValidationAttributesMap: {
|
|
38
|
+
[property: string]: {
|
|
39
|
+
maxLength?: number;
|
|
40
|
+
minLength?: number;
|
|
41
|
+
pattern?: string;
|
|
42
|
+
maximum?: number;
|
|
43
|
+
exclusiveMaximum?: boolean;
|
|
44
|
+
minimum?: number;
|
|
45
|
+
exclusiveMinimum?: boolean;
|
|
46
|
+
multipleOf?: number;
|
|
47
|
+
maxItems?: number;
|
|
48
|
+
minItems?: number;
|
|
49
|
+
uniqueItems?: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the RunLockResponse interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfRunLockResponse(value: object): value is RunLockResponse;
|
|
56
|
+
export declare function RunLockResponseFromJSON(json: any): RunLockResponse;
|
|
57
|
+
export declare function RunLockResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunLockResponse;
|
|
58
|
+
export declare function RunLockResponseToJSON(json: any): RunLockResponse;
|
|
59
|
+
export declare function RunLockResponseToJSONTyped(value?: RunLockResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RunLockResponsePropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfRunLockResponse = instanceOfRunLockResponse;
|
|
18
|
+
exports.RunLockResponseFromJSON = RunLockResponseFromJSON;
|
|
19
|
+
exports.RunLockResponseFromJSONTyped = RunLockResponseFromJSONTyped;
|
|
20
|
+
exports.RunLockResponseToJSON = RunLockResponseToJSON;
|
|
21
|
+
exports.RunLockResponseToJSONTyped = RunLockResponseToJSONTyped;
|
|
22
|
+
exports.RunLockResponsePropertyValidationAttributesMap = {};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the RunLockResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfRunLockResponse(value) {
|
|
27
|
+
if (!('runId' in value) || value['runId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('lockUserId' in value) || value['lockUserId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('lockAcquiredAt' in value) || value['lockAcquiredAt'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function RunLockResponseFromJSON(json) {
|
|
36
|
+
return RunLockResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function RunLockResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'runId': json['run_id'],
|
|
44
|
+
'lockUserId': json['lock_user_id'],
|
|
45
|
+
'lockAcquiredAt': (json['lock_acquired_at'] == null ? null : new Date(json['lock_acquired_at'])),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function RunLockResponseToJSON(json) {
|
|
49
|
+
return RunLockResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function RunLockResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'run_id': value['runId'],
|
|
57
|
+
'lock_user_id': value['lockUserId'],
|
|
58
|
+
'lock_acquired_at': value['lockAcquiredAt'] == null ? value['lockAcquiredAt'] : value['lockAcquiredAt'].toISOString(),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -116,17 +116,17 @@ export interface ScoredChunkResponse {
|
|
|
116
116
|
*/
|
|
117
117
|
assetS3Urls?: Array<string>;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Ancestor document info (populated when with_document=true)
|
|
120
120
|
* @type {ChunkDocumentResponse}
|
|
121
121
|
* @memberof ScoredChunkResponse
|
|
122
122
|
*/
|
|
123
|
-
document?: ChunkDocumentResponse;
|
|
123
|
+
document?: ChunkDocumentResponse | null;
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Ancestor document version info (populated when with_document=true)
|
|
126
126
|
* @type {ChunkDocumentVersionResponse}
|
|
127
127
|
* @memberof ScoredChunkResponse
|
|
128
128
|
*/
|
|
129
|
-
documentVersion?: ChunkDocumentVersionResponse;
|
|
129
|
+
documentVersion?: ChunkDocumentVersionResponse | null;
|
|
130
130
|
/**
|
|
131
131
|
* Search ranking score returned by Qdrant
|
|
132
132
|
* @type {number}
|
|
@@ -21,7 +21,7 @@ export interface SectionSystemMetadata {
|
|
|
21
21
|
* @type {InformationStatistics}
|
|
22
22
|
* @memberof SectionSystemMetadata
|
|
23
23
|
*/
|
|
24
|
-
informationStatistics?: InformationStatistics;
|
|
24
|
+
informationStatistics?: InformationStatistics | null;
|
|
25
25
|
}
|
|
26
26
|
export declare const SectionSystemMetadataPropertyValidationAttributesMap: {
|
|
27
27
|
[property: string]: {
|
|
@@ -62,11 +62,11 @@ export interface TenantSettingsUpdate {
|
|
|
62
62
|
[key: string]: string;
|
|
63
63
|
} | null;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Tenant-wide invite-link configuration
|
|
66
66
|
* @type {InviteLinkSettingsRequest}
|
|
67
67
|
* @memberof TenantSettingsUpdate
|
|
68
68
|
*/
|
|
69
|
-
inviteLink?: InviteLinkSettingsRequest;
|
|
69
|
+
inviteLink?: InviteLinkSettingsRequest | null;
|
|
70
70
|
}
|
|
71
71
|
export declare const TenantSettingsUpdatePropertyValidationAttributesMap: {
|
|
72
72
|
[property: string]: {
|
|
@@ -24,11 +24,11 @@ export interface ThreadMessageDetailsInput {
|
|
|
24
24
|
*/
|
|
25
25
|
steps?: Array<StepInput>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Agent history checkpoint. Present only on role=SYSTEM messages written by the agent's archival path.
|
|
28
28
|
* @type {CheckpointDetails}
|
|
29
29
|
* @memberof ThreadMessageDetailsInput
|
|
30
30
|
*/
|
|
31
|
-
checkpoint?: CheckpointDetails;
|
|
31
|
+
checkpoint?: CheckpointDetails | null;
|
|
32
32
|
}
|
|
33
33
|
export declare const ThreadMessageDetailsInputPropertyValidationAttributesMap: {
|
|
34
34
|
[property: string]: {
|
|
@@ -24,11 +24,11 @@ export interface ThreadMessageDetailsOutput {
|
|
|
24
24
|
*/
|
|
25
25
|
steps?: Array<StepOutput>;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Agent history checkpoint. Present only on role=SYSTEM messages written by the agent's archival path.
|
|
28
28
|
* @type {CheckpointDetails}
|
|
29
29
|
* @memberof ThreadMessageDetailsOutput
|
|
30
30
|
*/
|
|
31
|
-
checkpoint?: CheckpointDetails;
|
|
31
|
+
checkpoint?: CheckpointDetails | null;
|
|
32
32
|
}
|
|
33
33
|
export declare const ThreadMessageDetailsOutputPropertyValidationAttributesMap: {
|
|
34
34
|
[property: string]: {
|