@knowledge-stack/ksapi 1.56.0 → 1.58.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 +14 -2
- package/README.md +14 -6
- package/dist/apis/DocumentVersionsApi.d.ts +8 -5
- package/dist/apis/DocumentVersionsApi.js +5 -2
- package/dist/apis/ThreadMessagesApi.d.ts +6 -6
- package/dist/apis/ThreadMessagesApi.js +2 -2
- package/dist/apis/WorkflowsApi.d.ts +144 -59
- package/dist/apis/WorkflowsApi.js +131 -49
- package/dist/esm/apis/DocumentVersionsApi.d.ts +8 -5
- package/dist/esm/apis/DocumentVersionsApi.js +5 -2
- package/dist/esm/apis/ThreadMessagesApi.d.ts +6 -6
- package/dist/esm/apis/ThreadMessagesApi.js +2 -2
- package/dist/esm/apis/WorkflowsApi.d.ts +144 -59
- package/dist/esm/apis/WorkflowsApi.js +132 -50
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +6 -0
- package/dist/esm/models/CreateThreadMessageRequest.js +2 -0
- package/dist/esm/models/DocumentVersionContentTypeFilter.d.ts +25 -0
- package/dist/esm/models/DocumentVersionContentTypeFilter.js +43 -0
- package/dist/esm/models/EnrichedThreadMessageContent.d.ts +13 -0
- package/dist/esm/models/EnrichedThreadMessageContent.js +5 -0
- package/dist/esm/models/NonFilesystemReferenceType.d.ts +27 -0
- package/dist/esm/models/NonFilesystemReferenceType.js +45 -0
- package/dist/esm/models/ReferenceType.d.ts +34 -0
- package/dist/esm/models/ReferenceType.js +52 -0
- package/dist/esm/models/ResolvedReferenceInput.d.ts +70 -0
- package/dist/esm/models/ResolvedReferenceInput.js +55 -0
- package/dist/esm/models/ResolvedReferenceOutput.d.ts +69 -0
- package/dist/esm/models/ResolvedReferenceOutput.js +54 -0
- package/dist/esm/models/StepInput.d.ts +6 -0
- package/dist/esm/models/StepInput.js +4 -0
- package/dist/esm/models/StepKind.d.ts +1 -0
- package/dist/esm/models/StepKind.js +1 -0
- package/dist/esm/models/StepOutput.d.ts +6 -0
- package/dist/esm/models/StepOutput.js +4 -0
- package/dist/esm/models/TemporalWorkflowStatusResponse.d.ts +83 -0
- package/dist/esm/models/TemporalWorkflowStatusResponse.js +66 -0
- package/dist/esm/models/ThreadMessageContent.d.ts +13 -0
- package/dist/esm/models/ThreadMessageContent.js +5 -0
- package/dist/esm/models/WorkflowActionResponse.d.ts +1 -1
- package/dist/esm/models/WorkflowCancelResponse.d.ts +53 -0
- package/dist/esm/models/WorkflowCancelResponse.js +48 -0
- package/dist/esm/models/index.d.ts +7 -1
- package/dist/esm/models/index.js +7 -1
- package/dist/models/CreateThreadMessageRequest.d.ts +6 -0
- package/dist/models/CreateThreadMessageRequest.js +2 -0
- package/dist/models/DocumentVersionContentTypeFilter.d.ts +25 -0
- package/dist/models/DocumentVersionContentTypeFilter.js +51 -0
- package/dist/models/EnrichedThreadMessageContent.d.ts +13 -0
- package/dist/models/EnrichedThreadMessageContent.js +5 -0
- package/dist/models/NonFilesystemReferenceType.d.ts +27 -0
- package/dist/models/NonFilesystemReferenceType.js +53 -0
- package/dist/models/ReferenceType.d.ts +34 -0
- package/dist/models/ReferenceType.js +60 -0
- package/dist/models/ResolvedReferenceInput.d.ts +70 -0
- package/dist/models/ResolvedReferenceInput.js +63 -0
- package/dist/models/ResolvedReferenceOutput.d.ts +69 -0
- package/dist/models/ResolvedReferenceOutput.js +62 -0
- package/dist/models/StepInput.d.ts +6 -0
- package/dist/models/StepInput.js +4 -0
- package/dist/models/StepKind.d.ts +1 -0
- package/dist/models/StepKind.js +1 -0
- package/dist/models/StepOutput.d.ts +6 -0
- package/dist/models/StepOutput.js +4 -0
- package/dist/models/TemporalWorkflowStatusResponse.d.ts +83 -0
- package/dist/models/TemporalWorkflowStatusResponse.js +74 -0
- package/dist/models/ThreadMessageContent.d.ts +13 -0
- package/dist/models/ThreadMessageContent.js +5 -0
- package/dist/models/WorkflowActionResponse.d.ts +1 -1
- package/dist/models/WorkflowCancelResponse.d.ts +53 -0
- package/dist/models/WorkflowCancelResponse.js +56 -0
- package/dist/models/index.d.ts +7 -1
- package/dist/models/index.js +7 -1
- package/docs/CreateThreadMessageRequest.md +2 -0
- package/docs/DocumentVersionContentTypeFilter.md +33 -0
- package/docs/DocumentVersionsApi.md +5 -2
- package/docs/EnrichedThreadMessageContent.md +4 -0
- package/docs/NonFilesystemReferenceType.md +33 -0
- package/docs/{WorkflowAction.md → ReferenceType.md} +4 -5
- package/docs/ResolvedReferenceInput.md +41 -0
- package/docs/ResolvedReferenceOutput.md +41 -0
- package/docs/StepInput.md +2 -0
- package/docs/StepOutput.md +2 -0
- package/docs/TemporalWorkflowStatusResponse.md +47 -0
- package/docs/ThreadMessageContent.md +4 -0
- package/docs/ThreadMessagesApi.md +3 -3
- package/docs/WorkflowActionResponse.md +1 -1
- package/docs/WorkflowCancelResponse.md +37 -0
- package/docs/WorkflowsApi.md +183 -36
- package/package.json +1 -1
- package/src/apis/DocumentVersionsApi.ts +14 -4
- package/src/apis/ThreadMessagesApi.ts +6 -6
- package/src/apis/WorkflowsApi.ts +249 -90
- package/src/models/CreateThreadMessageRequest.ts +8 -0
- package/src/models/DocumentVersionContentTypeFilter.ts +53 -0
- package/src/models/EnrichedThreadMessageContent.ts +23 -0
- package/src/models/NonFilesystemReferenceType.ts +55 -0
- package/src/models/ReferenceType.ts +62 -0
- package/src/models/ResolvedReferenceInput.ts +123 -0
- package/src/models/ResolvedReferenceOutput.ts +113 -0
- package/src/models/StepInput.ts +9 -0
- package/src/models/StepKind.ts +1 -0
- package/src/models/StepOutput.ts +9 -0
- package/src/models/TemporalWorkflowStatusResponse.ts +136 -0
- package/src/models/ThreadMessageContent.ts +23 -0
- package/src/models/WorkflowActionResponse.ts +1 -1
- package/src/models/WorkflowCancelResponse.ts +92 -0
- package/src/models/index.ts +7 -1
- package/dist/esm/models/WorkflowAction.d.ts +0 -25
- package/dist/esm/models/WorkflowAction.js +0 -43
- package/dist/models/WorkflowAction.d.ts +0 -25
- package/dist/models/WorkflowAction.js +0 -51
- package/src/models/WorkflowAction.ts +0 -53
package/.openapi-generator/FILES
CHANGED
|
@@ -42,6 +42,7 @@ docs/DocumentResponse.md
|
|
|
42
42
|
docs/DocumentType.md
|
|
43
43
|
docs/DocumentVersionAction.md
|
|
44
44
|
docs/DocumentVersionActionResponse.md
|
|
45
|
+
docs/DocumentVersionContentTypeFilter.md
|
|
45
46
|
docs/DocumentVersionMetadata.md
|
|
46
47
|
docs/DocumentVersionMetadataUpdate.md
|
|
47
48
|
docs/DocumentVersionResponse.md
|
|
@@ -74,6 +75,7 @@ docs/LineageGraphResponse.md
|
|
|
74
75
|
docs/LineageNodeResponse.md
|
|
75
76
|
docs/LocationInner.md
|
|
76
77
|
docs/MessageRole.md
|
|
78
|
+
docs/NonFilesystemReferenceType.md
|
|
77
79
|
docs/OAuth2Config.md
|
|
78
80
|
docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md
|
|
79
81
|
docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md
|
|
@@ -102,6 +104,9 @@ docs/PipelineState.md
|
|
|
102
104
|
docs/PipelineStatus.md
|
|
103
105
|
docs/Polygon.md
|
|
104
106
|
docs/PolygonReference.md
|
|
107
|
+
docs/ReferenceType.md
|
|
108
|
+
docs/ResolvedReferenceInput.md
|
|
109
|
+
docs/ResolvedReferenceOutput.md
|
|
105
110
|
docs/RootResponse.md
|
|
106
111
|
docs/SSOInitiateResponse.md
|
|
107
112
|
docs/ScoredChunkResponse.md
|
|
@@ -120,6 +125,7 @@ docs/SubtreeChunksResponse.md
|
|
|
120
125
|
docs/SupportedLanguage.md
|
|
121
126
|
docs/TagResponse.md
|
|
122
127
|
docs/TagsApi.md
|
|
128
|
+
docs/TemporalWorkflowStatusResponse.md
|
|
123
129
|
docs/TenantBrandingResponse.md
|
|
124
130
|
docs/TenantResponse.md
|
|
125
131
|
docs/TenantSettingsResponse.md
|
|
@@ -152,8 +158,8 @@ docs/UserResponse.md
|
|
|
152
158
|
docs/UsersApi.md
|
|
153
159
|
docs/ValidationError.md
|
|
154
160
|
docs/VersionChunkIdsResponse.md
|
|
155
|
-
docs/WorkflowAction.md
|
|
156
161
|
docs/WorkflowActionResponse.md
|
|
162
|
+
docs/WorkflowCancelResponse.md
|
|
157
163
|
docs/WorkflowDetailResponse.md
|
|
158
164
|
docs/WorkflowSummaryResponse.md
|
|
159
165
|
docs/WorkflowsApi.md
|
|
@@ -214,6 +220,7 @@ src/models/DocumentResponse.ts
|
|
|
214
220
|
src/models/DocumentType.ts
|
|
215
221
|
src/models/DocumentVersionAction.ts
|
|
216
222
|
src/models/DocumentVersionActionResponse.ts
|
|
223
|
+
src/models/DocumentVersionContentTypeFilter.ts
|
|
217
224
|
src/models/DocumentVersionMetadata.ts
|
|
218
225
|
src/models/DocumentVersionMetadataUpdate.ts
|
|
219
226
|
src/models/DocumentVersionResponse.ts
|
|
@@ -241,6 +248,7 @@ src/models/LineageGraphResponse.ts
|
|
|
241
248
|
src/models/LineageNodeResponse.ts
|
|
242
249
|
src/models/LocationInner.ts
|
|
243
250
|
src/models/MessageRole.ts
|
|
251
|
+
src/models/NonFilesystemReferenceType.ts
|
|
244
252
|
src/models/OAuth2Config.ts
|
|
245
253
|
src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts
|
|
246
254
|
src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts
|
|
@@ -268,6 +276,9 @@ src/models/PipelineState.ts
|
|
|
268
276
|
src/models/PipelineStatus.ts
|
|
269
277
|
src/models/Polygon.ts
|
|
270
278
|
src/models/PolygonReference.ts
|
|
279
|
+
src/models/ReferenceType.ts
|
|
280
|
+
src/models/ResolvedReferenceInput.ts
|
|
281
|
+
src/models/ResolvedReferenceOutput.ts
|
|
271
282
|
src/models/RootResponse.ts
|
|
272
283
|
src/models/SSOInitiateResponse.ts
|
|
273
284
|
src/models/ScoredChunkResponse.ts
|
|
@@ -284,6 +295,7 @@ src/models/SubtreeChunkGroup.ts
|
|
|
284
295
|
src/models/SubtreeChunksResponse.ts
|
|
285
296
|
src/models/SupportedLanguage.ts
|
|
286
297
|
src/models/TagResponse.ts
|
|
298
|
+
src/models/TemporalWorkflowStatusResponse.ts
|
|
287
299
|
src/models/TenantBrandingResponse.ts
|
|
288
300
|
src/models/TenantResponse.ts
|
|
289
301
|
src/models/TenantSettingsResponse.ts
|
|
@@ -311,8 +323,8 @@ src/models/UserMessageResponse.ts
|
|
|
311
323
|
src/models/UserResponse.ts
|
|
312
324
|
src/models/ValidationError.ts
|
|
313
325
|
src/models/VersionChunkIdsResponse.ts
|
|
314
|
-
src/models/WorkflowAction.ts
|
|
315
326
|
src/models/WorkflowActionResponse.ts
|
|
327
|
+
src/models/WorkflowCancelResponse.ts
|
|
316
328
|
src/models/WorkflowDetailResponse.ts
|
|
317
329
|
src/models/WorkflowSummaryResponse.ts
|
|
318
330
|
src/models/index.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.58.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -147,9 +147,11 @@ All URIs are relative to *http://localhost:8000*
|
|
|
147
147
|
*UserPermissionsApi* | [**updateUserPermission**](docs/UserPermissionsApi.md#updateuserpermission) | **PATCH** /v1/user-permissions/{permission_id} | Update User Permission Handler
|
|
148
148
|
*UsersApi* | [**getMe**](docs/UsersApi.md#getme) | **GET** /v1/users/me | Get Me Handler
|
|
149
149
|
*UsersApi* | [**updateMe**](docs/UsersApi.md#updateme) | **PATCH** /v1/users | Update Me Handler
|
|
150
|
-
*WorkflowsApi* | [**
|
|
151
|
-
*WorkflowsApi* | [**
|
|
152
|
-
*WorkflowsApi* | [**
|
|
150
|
+
*WorkflowsApi* | [**cancelTemporalWorkflow**](docs/WorkflowsApi.md#canceltemporalworkflow) | **DELETE** /v1/workflows/{workflow_id} | Cancel Temporal Workflow Handler
|
|
151
|
+
*WorkflowsApi* | [**dvWorkflowRerun**](docs/WorkflowsApi.md#dvworkflowrerun) | **POST** /v1/workflows/document_versions/{workflow_id} | Dv Workflow Rerun Handler
|
|
152
|
+
*WorkflowsApi* | [**getDvWorkflow**](docs/WorkflowsApi.md#getdvworkflow) | **GET** /v1/workflows/document_versions/{workflow_id} | Get Dv Workflow Handler
|
|
153
|
+
*WorkflowsApi* | [**getTemporalWorkflowStatus**](docs/WorkflowsApi.md#gettemporalworkflowstatus) | **GET** /v1/workflows/{workflow_id} | Get Temporal Workflow Status Handler
|
|
154
|
+
*WorkflowsApi* | [**listDvWorkflows**](docs/WorkflowsApi.md#listdvworkflows) | **GET** /v1/workflows/document_versions | List Dv Workflows Handler
|
|
153
155
|
|
|
154
156
|
|
|
155
157
|
### Models
|
|
@@ -189,6 +191,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
189
191
|
- [DocumentType](docs/DocumentType.md)
|
|
190
192
|
- [DocumentVersionAction](docs/DocumentVersionAction.md)
|
|
191
193
|
- [DocumentVersionActionResponse](docs/DocumentVersionActionResponse.md)
|
|
194
|
+
- [DocumentVersionContentTypeFilter](docs/DocumentVersionContentTypeFilter.md)
|
|
192
195
|
- [DocumentVersionMetadata](docs/DocumentVersionMetadata.md)
|
|
193
196
|
- [DocumentVersionMetadataUpdate](docs/DocumentVersionMetadataUpdate.md)
|
|
194
197
|
- [DocumentVersionResponse](docs/DocumentVersionResponse.md)
|
|
@@ -216,6 +219,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
216
219
|
- [LineageNodeResponse](docs/LineageNodeResponse.md)
|
|
217
220
|
- [LocationInner](docs/LocationInner.md)
|
|
218
221
|
- [MessageRole](docs/MessageRole.md)
|
|
222
|
+
- [NonFilesystemReferenceType](docs/NonFilesystemReferenceType.md)
|
|
219
223
|
- [OAuth2Config](docs/OAuth2Config.md)
|
|
220
224
|
- [PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator](docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md)
|
|
221
225
|
- [PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator](docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md)
|
|
@@ -243,6 +247,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
243
247
|
- [PipelineStatus](docs/PipelineStatus.md)
|
|
244
248
|
- [Polygon](docs/Polygon.md)
|
|
245
249
|
- [PolygonReference](docs/PolygonReference.md)
|
|
250
|
+
- [ReferenceType](docs/ReferenceType.md)
|
|
251
|
+
- [ResolvedReferenceInput](docs/ResolvedReferenceInput.md)
|
|
252
|
+
- [ResolvedReferenceOutput](docs/ResolvedReferenceOutput.md)
|
|
246
253
|
- [RootResponse](docs/RootResponse.md)
|
|
247
254
|
- [SSOInitiateResponse](docs/SSOInitiateResponse.md)
|
|
248
255
|
- [ScoredChunkResponse](docs/ScoredChunkResponse.md)
|
|
@@ -259,6 +266,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
259
266
|
- [SubtreeChunksResponse](docs/SubtreeChunksResponse.md)
|
|
260
267
|
- [SupportedLanguage](docs/SupportedLanguage.md)
|
|
261
268
|
- [TagResponse](docs/TagResponse.md)
|
|
269
|
+
- [TemporalWorkflowStatusResponse](docs/TemporalWorkflowStatusResponse.md)
|
|
262
270
|
- [TenantBrandingResponse](docs/TenantBrandingResponse.md)
|
|
263
271
|
- [TenantResponse](docs/TenantResponse.md)
|
|
264
272
|
- [TenantSettingsResponse](docs/TenantSettingsResponse.md)
|
|
@@ -286,8 +294,8 @@ All URIs are relative to *http://localhost:8000*
|
|
|
286
294
|
- [UserResponse](docs/UserResponse.md)
|
|
287
295
|
- [ValidationError](docs/ValidationError.md)
|
|
288
296
|
- [VersionChunkIdsResponse](docs/VersionChunkIdsResponse.md)
|
|
289
|
-
- [WorkflowAction](docs/WorkflowAction.md)
|
|
290
297
|
- [WorkflowActionResponse](docs/WorkflowActionResponse.md)
|
|
298
|
+
- [WorkflowCancelResponse](docs/WorkflowCancelResponse.md)
|
|
291
299
|
- [WorkflowDetailResponse](docs/WorkflowDetailResponse.md)
|
|
292
300
|
- [WorkflowSummaryResponse](docs/WorkflowSummaryResponse.md)
|
|
293
301
|
|
|
@@ -303,7 +311,7 @@ and is automatically generated by the
|
|
|
303
311
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
304
312
|
|
|
305
313
|
- API version: `0.1.0`
|
|
306
|
-
- Package version: `1.
|
|
314
|
+
- Package version: `1.58.0`
|
|
307
315
|
- Generator version: `7.20.0`
|
|
308
316
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
309
317
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ClearVersionContentsResponse, DocumentVersionAction, DocumentVersionActionResponse, DocumentVersionMetadataUpdate, DocumentVersionResponse, PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator, PaginatedResponseDocumentVersionResponse } from '../models/index';
|
|
13
|
+
import type { ClearVersionContentsResponse, DocumentVersionAction, DocumentVersionActionResponse, DocumentVersionContentTypeFilter, DocumentVersionMetadataUpdate, DocumentVersionResponse, PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator, PaginatedResponseDocumentVersionResponse } from '../models/index';
|
|
14
14
|
export interface ClearDocumentVersionContentsRequest {
|
|
15
15
|
versionId: string;
|
|
16
16
|
authorization?: string | null;
|
|
@@ -40,6 +40,7 @@ export interface GetDocumentVersionRequest {
|
|
|
40
40
|
export interface GetDocumentVersionContentsRequest {
|
|
41
41
|
versionId: string;
|
|
42
42
|
sectionId?: string | null;
|
|
43
|
+
contentType?: DocumentVersionContentTypeFilter;
|
|
43
44
|
limit?: number;
|
|
44
45
|
offset?: number;
|
|
45
46
|
authorization?: string | null;
|
|
@@ -196,6 +197,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
196
197
|
* Creates request options for getDocumentVersionContents without sending the request
|
|
197
198
|
* @param {string} versionId DocumentVersion ID
|
|
198
199
|
* @param {string} [sectionId] Optional section ID to scope traversal to a subtree
|
|
200
|
+
* @param {DocumentVersionContentTypeFilter} [contentType] Filter by content type: SECTION or CHUNK. Omit to return both types.
|
|
199
201
|
* @param {number} [limit] Number of items per page
|
|
200
202
|
* @param {number} [offset] Number of items to skip
|
|
201
203
|
* @param {string} [authorization]
|
|
@@ -205,10 +207,11 @@ export interface DocumentVersionsApiInterface {
|
|
|
205
207
|
*/
|
|
206
208
|
getDocumentVersionContentsRequestOpts(requestParameters: GetDocumentVersionContentsRequest): Promise<runtime.RequestOpts>;
|
|
207
209
|
/**
|
|
208
|
-
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\").
|
|
210
|
+
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\"). Use `content_type` to return only one type (e.g. `content_type=CHUNK` for chunk-only pagination where offset/limit apply only to chunks).
|
|
209
211
|
* @summary Get Document Version Contents Handler
|
|
210
212
|
* @param {string} versionId DocumentVersion ID
|
|
211
213
|
* @param {string} [sectionId] Optional section ID to scope traversal to a subtree
|
|
214
|
+
* @param {DocumentVersionContentTypeFilter} [contentType] Filter by content type: SECTION or CHUNK. Omit to return both types.
|
|
212
215
|
* @param {number} [limit] Number of items per page
|
|
213
216
|
* @param {number} [offset] Number of items to skip
|
|
214
217
|
* @param {string} [authorization]
|
|
@@ -219,7 +222,7 @@ export interface DocumentVersionsApiInterface {
|
|
|
219
222
|
*/
|
|
220
223
|
getDocumentVersionContentsRaw(requestParameters: GetDocumentVersionContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator>>;
|
|
221
224
|
/**
|
|
222
|
-
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\").
|
|
225
|
+
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\"). Use `content_type` to return only one type (e.g. `content_type=CHUNK` for chunk-only pagination where offset/limit apply only to chunks).
|
|
223
226
|
* Get Document Version Contents Handler
|
|
224
227
|
*/
|
|
225
228
|
getDocumentVersionContents(requestParameters: GetDocumentVersionContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator>;
|
|
@@ -359,12 +362,12 @@ export declare class DocumentVersionsApi extends runtime.BaseAPI implements Docu
|
|
|
359
362
|
*/
|
|
360
363
|
getDocumentVersionContentsRequestOpts(requestParameters: GetDocumentVersionContentsRequest): Promise<runtime.RequestOpts>;
|
|
361
364
|
/**
|
|
362
|
-
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\").
|
|
365
|
+
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\"). Use `content_type` to return only one type (e.g. `content_type=CHUNK` for chunk-only pagination where offset/limit apply only to chunks).
|
|
363
366
|
* Get Document Version Contents Handler
|
|
364
367
|
*/
|
|
365
368
|
getDocumentVersionContentsRaw(requestParameters: GetDocumentVersionContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator>>;
|
|
366
369
|
/**
|
|
367
|
-
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\").
|
|
370
|
+
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\"). Use `content_type` to return only one type (e.g. `content_type=CHUNK` for chunk-only pagination where offset/limit apply only to chunks).
|
|
368
371
|
* Get Document Version Contents Handler
|
|
369
372
|
*/
|
|
370
373
|
getDocumentVersionContents(requestParameters: GetDocumentVersionContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator>;
|
|
@@ -266,6 +266,9 @@ class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
266
266
|
if (requestParameters['sectionId'] != null) {
|
|
267
267
|
queryParameters['section_id'] = requestParameters['sectionId'];
|
|
268
268
|
}
|
|
269
|
+
if (requestParameters['contentType'] != null) {
|
|
270
|
+
queryParameters['content_type'] = requestParameters['contentType'];
|
|
271
|
+
}
|
|
269
272
|
if (requestParameters['limit'] != null) {
|
|
270
273
|
queryParameters['limit'] = requestParameters['limit'];
|
|
271
274
|
}
|
|
@@ -287,7 +290,7 @@ class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
287
290
|
});
|
|
288
291
|
}
|
|
289
292
|
/**
|
|
290
|
-
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\").
|
|
293
|
+
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\"). Use `content_type` to return only one type (e.g. `content_type=CHUNK` for chunk-only pagination where offset/limit apply only to chunks).
|
|
291
294
|
* Get Document Version Contents Handler
|
|
292
295
|
*/
|
|
293
296
|
getDocumentVersionContentsRaw(requestParameters, initOverrides) {
|
|
@@ -298,7 +301,7 @@ class DocumentVersionsApi extends runtime.BaseAPI {
|
|
|
298
301
|
});
|
|
299
302
|
}
|
|
300
303
|
/**
|
|
301
|
-
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\").
|
|
304
|
+
* List all sections and chunks for a document version in depth-first logical order. Returns a discriminated union of SectionContentItem and ChunkContentItem, distinguished by the `part_type` field (\"SECTION\" or \"CHUNK\"). Use `content_type` to return only one type (e.g. `content_type=CHUNK` for chunk-only pagination where offset/limit apply only to chunks).
|
|
302
305
|
* Get Document Version Contents Handler
|
|
303
306
|
*/
|
|
304
307
|
getDocumentVersionContents(requestParameters, initOverrides) {
|
|
@@ -100,7 +100,7 @@ export interface ThreadMessagesApiInterface {
|
|
|
100
100
|
* Creates request options for listThreadMessages without sending the request
|
|
101
101
|
* @param {string} threadId
|
|
102
102
|
* @param {Date} [before] Cursor for keyset pagination: only return messages with created_at < this value
|
|
103
|
-
* @param {boolean} [withDetails] Include execution steps in response (default
|
|
103
|
+
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
104
104
|
* @param {number} [limit] Number of items per page
|
|
105
105
|
* @param {number} [offset] Number of items to skip
|
|
106
106
|
* @param {string} [authorization]
|
|
@@ -110,11 +110,11 @@ export interface ThreadMessagesApiInterface {
|
|
|
110
110
|
*/
|
|
111
111
|
listThreadMessagesRequestOpts(requestParameters: ListThreadMessagesRequest): Promise<runtime.RequestOpts>;
|
|
112
112
|
/**
|
|
113
|
-
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=
|
|
113
|
+
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=false` to exclude execution step data and reduce payload size.
|
|
114
114
|
* @summary List Thread Messages Handler
|
|
115
115
|
* @param {string} threadId
|
|
116
116
|
* @param {Date} [before] Cursor for keyset pagination: only return messages with created_at < this value
|
|
117
|
-
* @param {boolean} [withDetails] Include execution steps in response (default
|
|
117
|
+
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
118
118
|
* @param {number} [limit] Number of items per page
|
|
119
119
|
* @param {number} [offset] Number of items to skip
|
|
120
120
|
* @param {string} [authorization]
|
|
@@ -125,7 +125,7 @@ export interface ThreadMessagesApiInterface {
|
|
|
125
125
|
*/
|
|
126
126
|
listThreadMessagesRaw(requestParameters: ListThreadMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseThreadMessageResponse>>;
|
|
127
127
|
/**
|
|
128
|
-
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=
|
|
128
|
+
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=false` to exclude execution step data and reduce payload size.
|
|
129
129
|
* List Thread Messages Handler
|
|
130
130
|
*/
|
|
131
131
|
listThreadMessages(requestParameters: ListThreadMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseThreadMessageResponse>;
|
|
@@ -167,12 +167,12 @@ export declare class ThreadMessagesApi extends runtime.BaseAPI implements Thread
|
|
|
167
167
|
*/
|
|
168
168
|
listThreadMessagesRequestOpts(requestParameters: ListThreadMessagesRequest): Promise<runtime.RequestOpts>;
|
|
169
169
|
/**
|
|
170
|
-
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=
|
|
170
|
+
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=false` to exclude execution step data and reduce payload size.
|
|
171
171
|
* List Thread Messages Handler
|
|
172
172
|
*/
|
|
173
173
|
listThreadMessagesRaw(requestParameters: ListThreadMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseThreadMessageResponse>>;
|
|
174
174
|
/**
|
|
175
|
-
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=
|
|
175
|
+
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=false` to exclude execution step data and reduce payload size.
|
|
176
176
|
* List Thread Messages Handler
|
|
177
177
|
*/
|
|
178
178
|
listThreadMessages(requestParameters: ListThreadMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseThreadMessageResponse>;
|
|
@@ -165,7 +165,7 @@ class ThreadMessagesApi extends runtime.BaseAPI {
|
|
|
165
165
|
});
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
|
-
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=
|
|
168
|
+
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=false` to exclude execution step data and reduce payload size.
|
|
169
169
|
* List Thread Messages Handler
|
|
170
170
|
*/
|
|
171
171
|
listThreadMessagesRaw(requestParameters, initOverrides) {
|
|
@@ -176,7 +176,7 @@ class ThreadMessagesApi extends runtime.BaseAPI {
|
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
|
-
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=
|
|
179
|
+
* List messages in a thread, ordered by created_at descending. Supports cursor-based pagination via `before` parameter and standard offset-based pagination via `limit`/`offset`. Use `with_details=false` to exclude execution step data and reduce payload size.
|
|
180
180
|
* List Thread Messages Handler
|
|
181
181
|
*/
|
|
182
182
|
listThreadMessages(requestParameters, initOverrides) {
|
|
@@ -10,21 +10,30 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { PaginatedResponseWorkflowSummaryResponse,
|
|
14
|
-
export interface
|
|
13
|
+
import type { PaginatedResponseWorkflowSummaryResponse, TemporalWorkflowStatusResponse, WorkflowActionResponse, WorkflowCancelResponse, WorkflowDetailResponse } from '../models/index';
|
|
14
|
+
export interface CancelTemporalWorkflowRequest {
|
|
15
15
|
workflowId: string;
|
|
16
16
|
authorization?: string | null;
|
|
17
17
|
ksUat?: string | null;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
20
|
-
|
|
21
|
-
offset?: number;
|
|
19
|
+
export interface DvWorkflowRerunRequest {
|
|
20
|
+
workflowId: string;
|
|
22
21
|
authorization?: string | null;
|
|
23
22
|
ksUat?: string | null;
|
|
24
23
|
}
|
|
25
|
-
export interface
|
|
24
|
+
export interface GetDvWorkflowRequest {
|
|
26
25
|
workflowId: string;
|
|
27
|
-
|
|
26
|
+
authorization?: string | null;
|
|
27
|
+
ksUat?: string | null;
|
|
28
|
+
}
|
|
29
|
+
export interface GetTemporalWorkflowStatusRequest {
|
|
30
|
+
workflowId: string;
|
|
31
|
+
authorization?: string | null;
|
|
32
|
+
ksUat?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface ListDvWorkflowsRequest {
|
|
35
|
+
limit?: number;
|
|
36
|
+
offset?: number;
|
|
28
37
|
authorization?: string | null;
|
|
29
38
|
ksUat?: string | null;
|
|
30
39
|
}
|
|
@@ -36,17 +45,17 @@ export interface WorkflowActionRequest {
|
|
|
36
45
|
*/
|
|
37
46
|
export interface WorkflowsApiInterface {
|
|
38
47
|
/**
|
|
39
|
-
* Creates request options for
|
|
48
|
+
* Creates request options for cancelTemporalWorkflow without sending the request
|
|
40
49
|
* @param {string} workflowId
|
|
41
50
|
* @param {string} [authorization]
|
|
42
51
|
* @param {string} [ksUat]
|
|
43
52
|
* @throws {RequiredError}
|
|
44
53
|
* @memberof WorkflowsApiInterface
|
|
45
54
|
*/
|
|
46
|
-
|
|
55
|
+
cancelTemporalWorkflowRequestOpts(requestParameters: CancelTemporalWorkflowRequest): Promise<runtime.RequestOpts>;
|
|
47
56
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @summary
|
|
57
|
+
* Cancel any Temporal workflow owned by the caller\'s tenant. No status guard — this is a thin Temporal wrapper. Cancelling an already-terminal workflow is a no-op on the Temporal side.
|
|
58
|
+
* @summary Cancel Temporal Workflow Handler
|
|
50
59
|
* @param {string} workflowId
|
|
51
60
|
* @param {string} [authorization]
|
|
52
61
|
* @param {string} [ksUat]
|
|
@@ -54,111 +63,187 @@ export interface WorkflowsApiInterface {
|
|
|
54
63
|
* @throws {RequiredError}
|
|
55
64
|
* @memberof WorkflowsApiInterface
|
|
56
65
|
*/
|
|
57
|
-
|
|
66
|
+
cancelTemporalWorkflowRaw(requestParameters: CancelTemporalWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowCancelResponse>>;
|
|
58
67
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
68
|
+
* Cancel any Temporal workflow owned by the caller\'s tenant. No status guard — this is a thin Temporal wrapper. Cancelling an already-terminal workflow is a no-op on the Temporal side.
|
|
69
|
+
* Cancel Temporal Workflow Handler
|
|
61
70
|
*/
|
|
62
|
-
|
|
71
|
+
cancelTemporalWorkflow(requestParameters: CancelTemporalWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowCancelResponse>;
|
|
63
72
|
/**
|
|
64
|
-
* Creates request options for
|
|
65
|
-
* @param {
|
|
66
|
-
* @param {number} [offset] Number of items to skip
|
|
73
|
+
* Creates request options for dvWorkflowRerun without sending the request
|
|
74
|
+
* @param {string} workflowId
|
|
67
75
|
* @param {string} [authorization]
|
|
68
76
|
* @param {string} [ksUat]
|
|
69
77
|
* @throws {RequiredError}
|
|
70
78
|
* @memberof WorkflowsApiInterface
|
|
71
79
|
*/
|
|
72
|
-
|
|
80
|
+
dvWorkflowRerunRequestOpts(requestParameters: DvWorkflowRerunRequest): Promise<runtime.RequestOpts>;
|
|
73
81
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @summary
|
|
76
|
-
* @param {
|
|
77
|
-
* @param {
|
|
82
|
+
* Rerun a workflow. USER role requires ``can_write`` on the document path.
|
|
83
|
+
* @summary Dv Workflow Rerun Handler
|
|
84
|
+
* @param {string} workflowId
|
|
85
|
+
* @param {string} [authorization]
|
|
86
|
+
* @param {string} [ksUat]
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
* @memberof WorkflowsApiInterface
|
|
90
|
+
*/
|
|
91
|
+
dvWorkflowRerunRaw(requestParameters: DvWorkflowRerunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowActionResponse>>;
|
|
92
|
+
/**
|
|
93
|
+
* Rerun a workflow. USER role requires ``can_write`` on the document path.
|
|
94
|
+
* Dv Workflow Rerun Handler
|
|
95
|
+
*/
|
|
96
|
+
dvWorkflowRerun(requestParameters: DvWorkflowRerunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowActionResponse>;
|
|
97
|
+
/**
|
|
98
|
+
* Creates request options for getDvWorkflow without sending the request
|
|
99
|
+
* @param {string} workflowId
|
|
100
|
+
* @param {string} [authorization]
|
|
101
|
+
* @param {string} [ksUat]
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
* @memberof WorkflowsApiInterface
|
|
104
|
+
*/
|
|
105
|
+
getDvWorkflowRequestOpts(requestParameters: GetDvWorkflowRequest): Promise<runtime.RequestOpts>;
|
|
106
|
+
/**
|
|
107
|
+
* Get single workflow detail with live Temporal status.
|
|
108
|
+
* @summary Get Dv Workflow Handler
|
|
109
|
+
* @param {string} workflowId
|
|
78
110
|
* @param {string} [authorization]
|
|
79
111
|
* @param {string} [ksUat]
|
|
80
112
|
* @param {*} [options] Override http request option.
|
|
81
113
|
* @throws {RequiredError}
|
|
82
114
|
* @memberof WorkflowsApiInterface
|
|
83
115
|
*/
|
|
84
|
-
|
|
116
|
+
getDvWorkflowRaw(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDetailResponse>>;
|
|
85
117
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
118
|
+
* Get single workflow detail with live Temporal status.
|
|
119
|
+
* Get Dv Workflow Handler
|
|
88
120
|
*/
|
|
89
|
-
|
|
121
|
+
getDvWorkflow(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
|
|
90
122
|
/**
|
|
91
|
-
* Creates request options for
|
|
123
|
+
* Creates request options for getTemporalWorkflowStatus without sending the request
|
|
92
124
|
* @param {string} workflowId
|
|
93
|
-
* @param {WorkflowAction} action Action to perform
|
|
94
125
|
* @param {string} [authorization]
|
|
95
126
|
* @param {string} [ksUat]
|
|
96
127
|
* @throws {RequiredError}
|
|
97
128
|
* @memberof WorkflowsApiInterface
|
|
98
129
|
*/
|
|
99
|
-
|
|
130
|
+
getTemporalWorkflowStatusRequestOpts(requestParameters: GetTemporalWorkflowStatusRequest): Promise<runtime.RequestOpts>;
|
|
100
131
|
/**
|
|
101
|
-
*
|
|
102
|
-
* @summary Workflow
|
|
132
|
+
* Get live Temporal status for any workflow owned by the caller\'s tenant.
|
|
133
|
+
* @summary Get Temporal Workflow Status Handler
|
|
103
134
|
* @param {string} workflowId
|
|
104
|
-
* @param {WorkflowAction} action Action to perform
|
|
105
135
|
* @param {string} [authorization]
|
|
106
136
|
* @param {string} [ksUat]
|
|
107
137
|
* @param {*} [options] Override http request option.
|
|
108
138
|
* @throws {RequiredError}
|
|
109
139
|
* @memberof WorkflowsApiInterface
|
|
110
140
|
*/
|
|
111
|
-
|
|
141
|
+
getTemporalWorkflowStatusRaw(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TemporalWorkflowStatusResponse>>;
|
|
112
142
|
/**
|
|
113
|
-
*
|
|
114
|
-
* Workflow
|
|
143
|
+
* Get live Temporal status for any workflow owned by the caller\'s tenant.
|
|
144
|
+
* Get Temporal Workflow Status Handler
|
|
145
|
+
*/
|
|
146
|
+
getTemporalWorkflowStatus(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TemporalWorkflowStatusResponse>;
|
|
147
|
+
/**
|
|
148
|
+
* Creates request options for listDvWorkflows without sending the request
|
|
149
|
+
* @param {number} [limit] Number of items per page
|
|
150
|
+
* @param {number} [offset] Number of items to skip
|
|
151
|
+
* @param {string} [authorization]
|
|
152
|
+
* @param {string} [ksUat]
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
* @memberof WorkflowsApiInterface
|
|
115
155
|
*/
|
|
116
|
-
|
|
156
|
+
listDvWorkflowsRequestOpts(requestParameters: ListDvWorkflowsRequest): Promise<runtime.RequestOpts>;
|
|
157
|
+
/**
|
|
158
|
+
* List all workflows for the current tenant (paginated, DB-backed). ADMIN/OWNER see all workflows; USER sees only those under permitted paths.
|
|
159
|
+
* @summary List Dv Workflows Handler
|
|
160
|
+
* @param {number} [limit] Number of items per page
|
|
161
|
+
* @param {number} [offset] Number of items to skip
|
|
162
|
+
* @param {string} [authorization]
|
|
163
|
+
* @param {string} [ksUat]
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
* @memberof WorkflowsApiInterface
|
|
167
|
+
*/
|
|
168
|
+
listDvWorkflowsRaw(requestParameters: ListDvWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowSummaryResponse>>;
|
|
169
|
+
/**
|
|
170
|
+
* List all workflows for the current tenant (paginated, DB-backed). ADMIN/OWNER see all workflows; USER sees only those under permitted paths.
|
|
171
|
+
* List Dv Workflows Handler
|
|
172
|
+
*/
|
|
173
|
+
listDvWorkflows(requestParameters: ListDvWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
|
|
117
174
|
}
|
|
118
175
|
/**
|
|
119
176
|
*
|
|
120
177
|
*/
|
|
121
178
|
export declare class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterface {
|
|
122
179
|
/**
|
|
123
|
-
* Creates request options for
|
|
180
|
+
* Creates request options for cancelTemporalWorkflow without sending the request
|
|
181
|
+
*/
|
|
182
|
+
cancelTemporalWorkflowRequestOpts(requestParameters: CancelTemporalWorkflowRequest): Promise<runtime.RequestOpts>;
|
|
183
|
+
/**
|
|
184
|
+
* Cancel any Temporal workflow owned by the caller\'s tenant. No status guard — this is a thin Temporal wrapper. Cancelling an already-terminal workflow is a no-op on the Temporal side.
|
|
185
|
+
* Cancel Temporal Workflow Handler
|
|
186
|
+
*/
|
|
187
|
+
cancelTemporalWorkflowRaw(requestParameters: CancelTemporalWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowCancelResponse>>;
|
|
188
|
+
/**
|
|
189
|
+
* Cancel any Temporal workflow owned by the caller\'s tenant. No status guard — this is a thin Temporal wrapper. Cancelling an already-terminal workflow is a no-op on the Temporal side.
|
|
190
|
+
* Cancel Temporal Workflow Handler
|
|
191
|
+
*/
|
|
192
|
+
cancelTemporalWorkflow(requestParameters: CancelTemporalWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowCancelResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Creates request options for dvWorkflowRerun without sending the request
|
|
195
|
+
*/
|
|
196
|
+
dvWorkflowRerunRequestOpts(requestParameters: DvWorkflowRerunRequest): Promise<runtime.RequestOpts>;
|
|
197
|
+
/**
|
|
198
|
+
* Rerun a workflow. USER role requires ``can_write`` on the document path.
|
|
199
|
+
* Dv Workflow Rerun Handler
|
|
200
|
+
*/
|
|
201
|
+
dvWorkflowRerunRaw(requestParameters: DvWorkflowRerunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowActionResponse>>;
|
|
202
|
+
/**
|
|
203
|
+
* Rerun a workflow. USER role requires ``can_write`` on the document path.
|
|
204
|
+
* Dv Workflow Rerun Handler
|
|
205
|
+
*/
|
|
206
|
+
dvWorkflowRerun(requestParameters: DvWorkflowRerunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowActionResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* Creates request options for getDvWorkflow without sending the request
|
|
124
209
|
*/
|
|
125
|
-
|
|
210
|
+
getDvWorkflowRequestOpts(requestParameters: GetDvWorkflowRequest): Promise<runtime.RequestOpts>;
|
|
126
211
|
/**
|
|
127
212
|
* Get single workflow detail with live Temporal status.
|
|
128
|
-
* Get Workflow Handler
|
|
213
|
+
* Get Dv Workflow Handler
|
|
129
214
|
*/
|
|
130
|
-
|
|
215
|
+
getDvWorkflowRaw(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDetailResponse>>;
|
|
131
216
|
/**
|
|
132
217
|
* Get single workflow detail with live Temporal status.
|
|
133
|
-
* Get Workflow Handler
|
|
218
|
+
* Get Dv Workflow Handler
|
|
134
219
|
*/
|
|
135
|
-
|
|
220
|
+
getDvWorkflow(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
|
|
136
221
|
/**
|
|
137
|
-
* Creates request options for
|
|
222
|
+
* Creates request options for getTemporalWorkflowStatus without sending the request
|
|
138
223
|
*/
|
|
139
|
-
|
|
224
|
+
getTemporalWorkflowStatusRequestOpts(requestParameters: GetTemporalWorkflowStatusRequest): Promise<runtime.RequestOpts>;
|
|
140
225
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
226
|
+
* Get live Temporal status for any workflow owned by the caller\'s tenant.
|
|
227
|
+
* Get Temporal Workflow Status Handler
|
|
143
228
|
*/
|
|
144
|
-
|
|
229
|
+
getTemporalWorkflowStatusRaw(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TemporalWorkflowStatusResponse>>;
|
|
145
230
|
/**
|
|
146
|
-
*
|
|
147
|
-
*
|
|
231
|
+
* Get live Temporal status for any workflow owned by the caller\'s tenant.
|
|
232
|
+
* Get Temporal Workflow Status Handler
|
|
148
233
|
*/
|
|
149
|
-
|
|
234
|
+
getTemporalWorkflowStatus(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TemporalWorkflowStatusResponse>;
|
|
150
235
|
/**
|
|
151
|
-
* Creates request options for
|
|
236
|
+
* Creates request options for listDvWorkflows without sending the request
|
|
152
237
|
*/
|
|
153
|
-
|
|
238
|
+
listDvWorkflowsRequestOpts(requestParameters: ListDvWorkflowsRequest): Promise<runtime.RequestOpts>;
|
|
154
239
|
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
240
|
+
* List all workflows for the current tenant (paginated, DB-backed). ADMIN/OWNER see all workflows; USER sees only those under permitted paths.
|
|
241
|
+
* List Dv Workflows Handler
|
|
157
242
|
*/
|
|
158
|
-
|
|
243
|
+
listDvWorkflowsRaw(requestParameters: ListDvWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowSummaryResponse>>;
|
|
159
244
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
245
|
+
* List all workflows for the current tenant (paginated, DB-backed). ADMIN/OWNER see all workflows; USER sees only those under permitted paths.
|
|
246
|
+
* List Dv Workflows Handler
|
|
162
247
|
*/
|
|
163
|
-
|
|
248
|
+
listDvWorkflows(requestParameters?: ListDvWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
|
|
164
249
|
}
|