@knowledge-stack/ksapi 1.57.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.
Files changed (35) hide show
  1. package/.openapi-generator/FILES +4 -2
  2. package/README.md +9 -6
  3. package/dist/apis/WorkflowsApi.d.ts +144 -59
  4. package/dist/apis/WorkflowsApi.js +131 -49
  5. package/dist/esm/apis/WorkflowsApi.d.ts +144 -59
  6. package/dist/esm/apis/WorkflowsApi.js +132 -50
  7. package/dist/esm/models/TemporalWorkflowStatusResponse.d.ts +83 -0
  8. package/dist/esm/models/TemporalWorkflowStatusResponse.js +66 -0
  9. package/dist/esm/models/WorkflowActionResponse.d.ts +1 -1
  10. package/dist/esm/models/WorkflowCancelResponse.d.ts +53 -0
  11. package/dist/esm/models/WorkflowCancelResponse.js +48 -0
  12. package/dist/esm/models/index.d.ts +2 -1
  13. package/dist/esm/models/index.js +2 -1
  14. package/dist/models/TemporalWorkflowStatusResponse.d.ts +83 -0
  15. package/dist/models/TemporalWorkflowStatusResponse.js +74 -0
  16. package/dist/models/WorkflowActionResponse.d.ts +1 -1
  17. package/dist/models/WorkflowCancelResponse.d.ts +53 -0
  18. package/dist/models/WorkflowCancelResponse.js +56 -0
  19. package/dist/models/index.d.ts +2 -1
  20. package/dist/models/index.js +2 -1
  21. package/docs/TemporalWorkflowStatusResponse.md +47 -0
  22. package/docs/WorkflowActionResponse.md +1 -1
  23. package/docs/{WorkflowAction.md → WorkflowCancelResponse.md} +9 -5
  24. package/docs/WorkflowsApi.md +183 -36
  25. package/package.json +1 -1
  26. package/src/apis/WorkflowsApi.ts +249 -90
  27. package/src/models/TemporalWorkflowStatusResponse.ts +136 -0
  28. package/src/models/WorkflowActionResponse.ts +1 -1
  29. package/src/models/WorkflowCancelResponse.ts +92 -0
  30. package/src/models/index.ts +2 -1
  31. package/dist/esm/models/WorkflowAction.d.ts +0 -25
  32. package/dist/esm/models/WorkflowAction.js +0 -43
  33. package/dist/models/WorkflowAction.d.ts +0 -25
  34. package/dist/models/WorkflowAction.js +0 -51
  35. package/src/models/WorkflowAction.ts +0 -53
@@ -125,6 +125,7 @@ docs/SubtreeChunksResponse.md
125
125
  docs/SupportedLanguage.md
126
126
  docs/TagResponse.md
127
127
  docs/TagsApi.md
128
+ docs/TemporalWorkflowStatusResponse.md
128
129
  docs/TenantBrandingResponse.md
129
130
  docs/TenantResponse.md
130
131
  docs/TenantSettingsResponse.md
@@ -157,8 +158,8 @@ docs/UserResponse.md
157
158
  docs/UsersApi.md
158
159
  docs/ValidationError.md
159
160
  docs/VersionChunkIdsResponse.md
160
- docs/WorkflowAction.md
161
161
  docs/WorkflowActionResponse.md
162
+ docs/WorkflowCancelResponse.md
162
163
  docs/WorkflowDetailResponse.md
163
164
  docs/WorkflowSummaryResponse.md
164
165
  docs/WorkflowsApi.md
@@ -294,6 +295,7 @@ src/models/SubtreeChunkGroup.ts
294
295
  src/models/SubtreeChunksResponse.ts
295
296
  src/models/SupportedLanguage.ts
296
297
  src/models/TagResponse.ts
298
+ src/models/TemporalWorkflowStatusResponse.ts
297
299
  src/models/TenantBrandingResponse.ts
298
300
  src/models/TenantResponse.ts
299
301
  src/models/TenantSettingsResponse.ts
@@ -321,8 +323,8 @@ src/models/UserMessageResponse.ts
321
323
  src/models/UserResponse.ts
322
324
  src/models/ValidationError.ts
323
325
  src/models/VersionChunkIdsResponse.ts
324
- src/models/WorkflowAction.ts
325
326
  src/models/WorkflowActionResponse.ts
327
+ src/models/WorkflowCancelResponse.ts
326
328
  src/models/WorkflowDetailResponse.ts
327
329
  src/models/WorkflowSummaryResponse.ts
328
330
  src/models/index.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.57.0
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* | [**getWorkflow**](docs/WorkflowsApi.md#getworkflow) | **GET** /v1/workflows/{workflow_id} | Get Workflow Handler
151
- *WorkflowsApi* | [**listWorkflows**](docs/WorkflowsApi.md#listworkflows) | **GET** /v1/workflows | List Workflows Handler
152
- *WorkflowsApi* | [**workflowAction**](docs/WorkflowsApi.md#workflowaction) | **POST** /v1/workflows/{workflow_id} | Workflow Action Handler
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
@@ -264,6 +266,7 @@ All URIs are relative to *http://localhost:8000*
264
266
  - [SubtreeChunksResponse](docs/SubtreeChunksResponse.md)
265
267
  - [SupportedLanguage](docs/SupportedLanguage.md)
266
268
  - [TagResponse](docs/TagResponse.md)
269
+ - [TemporalWorkflowStatusResponse](docs/TemporalWorkflowStatusResponse.md)
267
270
  - [TenantBrandingResponse](docs/TenantBrandingResponse.md)
268
271
  - [TenantResponse](docs/TenantResponse.md)
269
272
  - [TenantSettingsResponse](docs/TenantSettingsResponse.md)
@@ -291,8 +294,8 @@ All URIs are relative to *http://localhost:8000*
291
294
  - [UserResponse](docs/UserResponse.md)
292
295
  - [ValidationError](docs/ValidationError.md)
293
296
  - [VersionChunkIdsResponse](docs/VersionChunkIdsResponse.md)
294
- - [WorkflowAction](docs/WorkflowAction.md)
295
297
  - [WorkflowActionResponse](docs/WorkflowActionResponse.md)
298
+ - [WorkflowCancelResponse](docs/WorkflowCancelResponse.md)
296
299
  - [WorkflowDetailResponse](docs/WorkflowDetailResponse.md)
297
300
  - [WorkflowSummaryResponse](docs/WorkflowSummaryResponse.md)
298
301
 
@@ -308,7 +311,7 @@ and is automatically generated by the
308
311
  [OpenAPI Generator](https://openapi-generator.tech) project:
309
312
 
310
313
  - API version: `0.1.0`
311
- - Package version: `1.57.0`
314
+ - Package version: `1.58.0`
312
315
  - Generator version: `7.20.0`
313
316
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
314
317
 
@@ -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, WorkflowAction, WorkflowActionResponse, WorkflowDetailResponse } from '../models/index';
14
- export interface GetWorkflowRequest {
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 ListWorkflowsRequest {
20
- limit?: number;
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 WorkflowActionRequest {
24
+ export interface GetDvWorkflowRequest {
26
25
  workflowId: string;
27
- action: WorkflowAction;
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 getWorkflow without sending the request
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
- getWorkflowRequestOpts(requestParameters: GetWorkflowRequest): Promise<runtime.RequestOpts>;
55
+ cancelTemporalWorkflowRequestOpts(requestParameters: CancelTemporalWorkflowRequest): Promise<runtime.RequestOpts>;
47
56
  /**
48
- * Get single workflow detail with live Temporal status.
49
- * @summary Get Workflow Handler
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
- getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDetailResponse>>;
66
+ cancelTemporalWorkflowRaw(requestParameters: CancelTemporalWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowCancelResponse>>;
58
67
  /**
59
- * Get single workflow detail with live Temporal status.
60
- * Get Workflow Handler
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
- getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
71
+ cancelTemporalWorkflow(requestParameters: CancelTemporalWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowCancelResponse>;
63
72
  /**
64
- * Creates request options for listWorkflows without sending the request
65
- * @param {number} [limit] Number of items per page
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
- listWorkflowsRequestOpts(requestParameters: ListWorkflowsRequest): Promise<runtime.RequestOpts>;
80
+ dvWorkflowRerunRequestOpts(requestParameters: DvWorkflowRerunRequest): Promise<runtime.RequestOpts>;
73
81
  /**
74
- * List all workflows for the current tenant (paginated, DB-backed).
75
- * @summary List Workflows Handler
76
- * @param {number} [limit] Number of items per page
77
- * @param {number} [offset] Number of items to skip
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
- listWorkflowsRaw(requestParameters: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowSummaryResponse>>;
116
+ getDvWorkflowRaw(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDetailResponse>>;
85
117
  /**
86
- * List all workflows for the current tenant (paginated, DB-backed).
87
- * List Workflows Handler
118
+ * Get single workflow detail with live Temporal status.
119
+ * Get Dv Workflow Handler
88
120
  */
89
- listWorkflows(requestParameters: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
121
+ getDvWorkflow(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
90
122
  /**
91
- * Creates request options for workflowAction without sending the request
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
- workflowActionRequestOpts(requestParameters: WorkflowActionRequest): Promise<runtime.RequestOpts>;
130
+ getTemporalWorkflowStatusRequestOpts(requestParameters: GetTemporalWorkflowStatusRequest): Promise<runtime.RequestOpts>;
100
131
  /**
101
- * Cancel or rerun a workflow (OWNER/ADMIN only).
102
- * @summary Workflow Action Handler
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
- workflowActionRaw(requestParameters: WorkflowActionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowActionResponse>>;
141
+ getTemporalWorkflowStatusRaw(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TemporalWorkflowStatusResponse>>;
112
142
  /**
113
- * Cancel or rerun a workflow (OWNER/ADMIN only).
114
- * Workflow Action Handler
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
- workflowAction(requestParameters: WorkflowActionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowActionResponse>;
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 getWorkflow without sending the request
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
- getWorkflowRequestOpts(requestParameters: GetWorkflowRequest): Promise<runtime.RequestOpts>;
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
- getWorkflowRaw(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowDetailResponse>>;
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
- getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
220
+ getDvWorkflow(requestParameters: GetDvWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
136
221
  /**
137
- * Creates request options for listWorkflows without sending the request
222
+ * Creates request options for getTemporalWorkflowStatus without sending the request
138
223
  */
139
- listWorkflowsRequestOpts(requestParameters: ListWorkflowsRequest): Promise<runtime.RequestOpts>;
224
+ getTemporalWorkflowStatusRequestOpts(requestParameters: GetTemporalWorkflowStatusRequest): Promise<runtime.RequestOpts>;
140
225
  /**
141
- * List all workflows for the current tenant (paginated, DB-backed).
142
- * List Workflows Handler
226
+ * Get live Temporal status for any workflow owned by the caller\'s tenant.
227
+ * Get Temporal Workflow Status Handler
143
228
  */
144
- listWorkflowsRaw(requestParameters: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowSummaryResponse>>;
229
+ getTemporalWorkflowStatusRaw(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TemporalWorkflowStatusResponse>>;
145
230
  /**
146
- * List all workflows for the current tenant (paginated, DB-backed).
147
- * List Workflows Handler
231
+ * Get live Temporal status for any workflow owned by the caller\'s tenant.
232
+ * Get Temporal Workflow Status Handler
148
233
  */
149
- listWorkflows(requestParameters?: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
234
+ getTemporalWorkflowStatus(requestParameters: GetTemporalWorkflowStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TemporalWorkflowStatusResponse>;
150
235
  /**
151
- * Creates request options for workflowAction without sending the request
236
+ * Creates request options for listDvWorkflows without sending the request
152
237
  */
153
- workflowActionRequestOpts(requestParameters: WorkflowActionRequest): Promise<runtime.RequestOpts>;
238
+ listDvWorkflowsRequestOpts(requestParameters: ListDvWorkflowsRequest): Promise<runtime.RequestOpts>;
154
239
  /**
155
- * Cancel or rerun a workflow (OWNER/ADMIN only).
156
- * Workflow Action Handler
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
- workflowActionRaw(requestParameters: WorkflowActionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowActionResponse>>;
243
+ listDvWorkflowsRaw(requestParameters: ListDvWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseWorkflowSummaryResponse>>;
159
244
  /**
160
- * Cancel or rerun a workflow (OWNER/ADMIN only).
161
- * Workflow Action Handler
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
- workflowAction(requestParameters: WorkflowActionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowActionResponse>;
248
+ listDvWorkflows(requestParameters?: ListDvWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
164
249
  }