@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,262 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Knowledge Stack API
|
|
5
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { AppendMemoryChunkRequestToJSON, EditMemoryChunkRequestToJSON, ListMemoryChunksResponseFromJSON, MemoryChunkResponseFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class WorkflowMemoryApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Creates request options for appendWorkflowMemoryChunk without sending the request
|
|
31
|
+
*/
|
|
32
|
+
appendWorkflowMemoryChunkRequestOpts(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['definitionId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('definitionId', 'Required parameter "definitionId" was null or undefined when calling appendWorkflowMemoryChunk().');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['appendMemoryChunkRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('appendMemoryChunkRequest', 'Required parameter "appendMemoryChunkRequest" was null or undefined when calling appendWorkflowMemoryChunk().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
if (requestParameters['authorization'] != null) {
|
|
44
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
45
|
+
}
|
|
46
|
+
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks`;
|
|
47
|
+
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
48
|
+
return {
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
body: AppendMemoryChunkRequestToJSON(requestParameters['appendMemoryChunkRequest']),
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Append a new memory chunk. Exposed for external agents (e.g. self-hosted runners) that need to capture learnings without touching the DB directly. The new chunk\'s ``chunk_id`` is server-assigned. Each call snapshots a new DocumentVersion, just like edit/forget.
|
|
59
|
+
* Append Workflow Memory Chunk Handler
|
|
60
|
+
*/
|
|
61
|
+
appendWorkflowMemoryChunkRaw(requestParameters, initOverrides) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const requestOptions = yield this.appendWorkflowMemoryChunkRequestOpts(requestParameters);
|
|
64
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
65
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MemoryChunkResponseFromJSON(jsonValue));
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Append a new memory chunk. Exposed for external agents (e.g. self-hosted runners) that need to capture learnings without touching the DB directly. The new chunk\'s ``chunk_id`` is server-assigned. Each call snapshots a new DocumentVersion, just like edit/forget.
|
|
70
|
+
* Append Workflow Memory Chunk Handler
|
|
71
|
+
*/
|
|
72
|
+
appendWorkflowMemoryChunk(requestParameters, initOverrides) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
const response = yield this.appendWorkflowMemoryChunkRaw(requestParameters, initOverrides);
|
|
75
|
+
return yield response.value();
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for editWorkflowMemoryChunk without sending the request
|
|
80
|
+
*/
|
|
81
|
+
editWorkflowMemoryChunkRequestOpts(requestParameters) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
if (requestParameters['definitionId'] == null) {
|
|
84
|
+
throw new runtime.RequiredError('definitionId', 'Required parameter "definitionId" was null or undefined when calling editWorkflowMemoryChunk().');
|
|
85
|
+
}
|
|
86
|
+
if (requestParameters['chunkId'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('chunkId', 'Required parameter "chunkId" was null or undefined when calling editWorkflowMemoryChunk().');
|
|
88
|
+
}
|
|
89
|
+
if (requestParameters['editMemoryChunkRequest'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('editMemoryChunkRequest', 'Required parameter "editMemoryChunkRequest" was null or undefined when calling editWorkflowMemoryChunk().');
|
|
91
|
+
}
|
|
92
|
+
const queryParameters = {};
|
|
93
|
+
const headerParameters = {};
|
|
94
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
+
if (requestParameters['authorization'] != null) {
|
|
96
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
97
|
+
}
|
|
98
|
+
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
99
|
+
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
100
|
+
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
101
|
+
return {
|
|
102
|
+
path: urlPath,
|
|
103
|
+
method: 'PATCH',
|
|
104
|
+
headers: headerParameters,
|
|
105
|
+
query: queryParameters,
|
|
106
|
+
body: EditMemoryChunkRequestToJSON(requestParameters['editMemoryChunkRequest']),
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Edit Workflow Memory Chunk Handler
|
|
112
|
+
*/
|
|
113
|
+
editWorkflowMemoryChunkRaw(requestParameters, initOverrides) {
|
|
114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
115
|
+
const requestOptions = yield this.editWorkflowMemoryChunkRequestOpts(requestParameters);
|
|
116
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
117
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MemoryChunkResponseFromJSON(jsonValue));
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Edit Workflow Memory Chunk Handler
|
|
122
|
+
*/
|
|
123
|
+
editWorkflowMemoryChunk(requestParameters, initOverrides) {
|
|
124
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
125
|
+
const response = yield this.editWorkflowMemoryChunkRaw(requestParameters, initOverrides);
|
|
126
|
+
return yield response.value();
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Creates request options for forgetWorkflowMemoryChunk without sending the request
|
|
131
|
+
*/
|
|
132
|
+
forgetWorkflowMemoryChunkRequestOpts(requestParameters) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
if (requestParameters['definitionId'] == null) {
|
|
135
|
+
throw new runtime.RequiredError('definitionId', 'Required parameter "definitionId" was null or undefined when calling forgetWorkflowMemoryChunk().');
|
|
136
|
+
}
|
|
137
|
+
if (requestParameters['chunkId'] == null) {
|
|
138
|
+
throw new runtime.RequiredError('chunkId', 'Required parameter "chunkId" was null or undefined when calling forgetWorkflowMemoryChunk().');
|
|
139
|
+
}
|
|
140
|
+
const queryParameters = {};
|
|
141
|
+
const headerParameters = {};
|
|
142
|
+
if (requestParameters['authorization'] != null) {
|
|
143
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
144
|
+
}
|
|
145
|
+
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
146
|
+
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
147
|
+
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
148
|
+
return {
|
|
149
|
+
path: urlPath,
|
|
150
|
+
method: 'DELETE',
|
|
151
|
+
headers: headerParameters,
|
|
152
|
+
query: queryParameters,
|
|
153
|
+
};
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Forget Workflow Memory Chunk Handler
|
|
158
|
+
*/
|
|
159
|
+
forgetWorkflowMemoryChunkRaw(requestParameters, initOverrides) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
const requestOptions = yield this.forgetWorkflowMemoryChunkRequestOpts(requestParameters);
|
|
162
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
163
|
+
return new runtime.VoidApiResponse(response);
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Forget Workflow Memory Chunk Handler
|
|
168
|
+
*/
|
|
169
|
+
forgetWorkflowMemoryChunk(requestParameters, initOverrides) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
yield this.forgetWorkflowMemoryChunkRaw(requestParameters, initOverrides);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Creates request options for getWorkflowMemoryChunk without sending the request
|
|
176
|
+
*/
|
|
177
|
+
getWorkflowMemoryChunkRequestOpts(requestParameters) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
if (requestParameters['definitionId'] == null) {
|
|
180
|
+
throw new runtime.RequiredError('definitionId', 'Required parameter "definitionId" was null or undefined when calling getWorkflowMemoryChunk().');
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters['chunkId'] == null) {
|
|
183
|
+
throw new runtime.RequiredError('chunkId', 'Required parameter "chunkId" was null or undefined when calling getWorkflowMemoryChunk().');
|
|
184
|
+
}
|
|
185
|
+
const queryParameters = {};
|
|
186
|
+
const headerParameters = {};
|
|
187
|
+
if (requestParameters['authorization'] != null) {
|
|
188
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
189
|
+
}
|
|
190
|
+
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
191
|
+
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
192
|
+
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
193
|
+
return {
|
|
194
|
+
path: urlPath,
|
|
195
|
+
method: 'GET',
|
|
196
|
+
headers: headerParameters,
|
|
197
|
+
query: queryParameters,
|
|
198
|
+
};
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Get Workflow Memory Chunk Handler
|
|
203
|
+
*/
|
|
204
|
+
getWorkflowMemoryChunkRaw(requestParameters, initOverrides) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
const requestOptions = yield this.getWorkflowMemoryChunkRequestOpts(requestParameters);
|
|
207
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
208
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => MemoryChunkResponseFromJSON(jsonValue));
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Get Workflow Memory Chunk Handler
|
|
213
|
+
*/
|
|
214
|
+
getWorkflowMemoryChunk(requestParameters, initOverrides) {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
const response = yield this.getWorkflowMemoryChunkRaw(requestParameters, initOverrides);
|
|
217
|
+
return yield response.value();
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Creates request options for listWorkflowMemoryChunks without sending the request
|
|
222
|
+
*/
|
|
223
|
+
listWorkflowMemoryChunksRequestOpts(requestParameters) {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
if (requestParameters['definitionId'] == null) {
|
|
226
|
+
throw new runtime.RequiredError('definitionId', 'Required parameter "definitionId" was null or undefined when calling listWorkflowMemoryChunks().');
|
|
227
|
+
}
|
|
228
|
+
const queryParameters = {};
|
|
229
|
+
const headerParameters = {};
|
|
230
|
+
if (requestParameters['authorization'] != null) {
|
|
231
|
+
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
232
|
+
}
|
|
233
|
+
let urlPath = `/v1/workflow-definitions/{definition_id}/memory`;
|
|
234
|
+
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
235
|
+
return {
|
|
236
|
+
path: urlPath,
|
|
237
|
+
method: 'GET',
|
|
238
|
+
headers: headerParameters,
|
|
239
|
+
query: queryParameters,
|
|
240
|
+
};
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* List Workflow Memory Chunks Handler
|
|
245
|
+
*/
|
|
246
|
+
listWorkflowMemoryChunksRaw(requestParameters, initOverrides) {
|
|
247
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
248
|
+
const requestOptions = yield this.listWorkflowMemoryChunksRequestOpts(requestParameters);
|
|
249
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
250
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListMemoryChunksResponseFromJSON(jsonValue));
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* List Workflow Memory Chunks Handler
|
|
255
|
+
*/
|
|
256
|
+
listWorkflowMemoryChunks(requestParameters, initOverrides) {
|
|
257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
+
const response = yield this.listWorkflowMemoryChunksRaw(requestParameters, initOverrides);
|
|
259
|
+
return yield response.value();
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
@@ -10,7 +10,18 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { WorkflowCallbackResponse, WorkflowRunCallbackRequest, WorkflowRunResponse } from '../models/index';
|
|
13
|
+
import type { PathPartApprovalResponse, RejectFileRequest, RunLockResponse, WorkflowCallbackResponse, WorkflowRunCallbackRequest, WorkflowRunResponse } from '../models/index';
|
|
14
|
+
export interface AcquireWorkflowRunLockRequest {
|
|
15
|
+
runId: string;
|
|
16
|
+
authorization?: string | null;
|
|
17
|
+
ksUat?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export interface ApproveWorkflowRunFileRequest {
|
|
20
|
+
runId: string;
|
|
21
|
+
pathPartId: string;
|
|
22
|
+
authorization?: string | null;
|
|
23
|
+
ksUat?: string | null;
|
|
24
|
+
}
|
|
14
25
|
export interface DeleteWorkflowRunRequest {
|
|
15
26
|
runId: string;
|
|
16
27
|
authorization?: string | null;
|
|
@@ -21,6 +32,24 @@ export interface GetWorkflowRunRequest {
|
|
|
21
32
|
authorization?: string | null;
|
|
22
33
|
ksUat?: string | null;
|
|
23
34
|
}
|
|
35
|
+
export interface RejectWorkflowRunFileRequest {
|
|
36
|
+
runId: string;
|
|
37
|
+
pathPartId: string;
|
|
38
|
+
rejectFileRequest: RejectFileRequest;
|
|
39
|
+
authorization?: string | null;
|
|
40
|
+
ksUat?: string | null;
|
|
41
|
+
}
|
|
42
|
+
export interface ReleaseWorkflowRunLockRequest {
|
|
43
|
+
runId: string;
|
|
44
|
+
authorization?: string | null;
|
|
45
|
+
ksUat?: string | null;
|
|
46
|
+
}
|
|
47
|
+
export interface UnapproveWorkflowRunFileRequest {
|
|
48
|
+
runId: string;
|
|
49
|
+
pathPartId: string;
|
|
50
|
+
authorization?: string | null;
|
|
51
|
+
ksUat?: string | null;
|
|
52
|
+
}
|
|
24
53
|
export interface WorkflowRunCallbackOperationRequest {
|
|
25
54
|
runId: string;
|
|
26
55
|
workflowRunCallbackRequest: WorkflowRunCallbackRequest;
|
|
@@ -32,6 +61,58 @@ export interface WorkflowRunCallbackOperationRequest {
|
|
|
32
61
|
* @interface WorkflowRunsApiInterface
|
|
33
62
|
*/
|
|
34
63
|
export interface WorkflowRunsApiInterface {
|
|
64
|
+
/**
|
|
65
|
+
* Creates request options for acquireWorkflowRunLock without sending the request
|
|
66
|
+
* @param {string} runId
|
|
67
|
+
* @param {string} [authorization]
|
|
68
|
+
* @param {string} [ksUat]
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
* @memberof WorkflowRunsApiInterface
|
|
71
|
+
*/
|
|
72
|
+
acquireWorkflowRunLockRequestOpts(requestParameters: AcquireWorkflowRunLockRequest): Promise<runtime.RequestOpts>;
|
|
73
|
+
/**
|
|
74
|
+
* Acquire (or renew) the reviewer lock on ``run_id``. The current holder may re-POST to refresh ``lock_acquired_at``. A different user receives 409 until the lock is released or auto-swept.
|
|
75
|
+
* @summary Acquire Workflow Run Lock Handler
|
|
76
|
+
* @param {string} runId
|
|
77
|
+
* @param {string} [authorization]
|
|
78
|
+
* @param {string} [ksUat]
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
* @memberof WorkflowRunsApiInterface
|
|
82
|
+
*/
|
|
83
|
+
acquireWorkflowRunLockRaw(requestParameters: AcquireWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RunLockResponse>>;
|
|
84
|
+
/**
|
|
85
|
+
* Acquire (or renew) the reviewer lock on ``run_id``. The current holder may re-POST to refresh ``lock_acquired_at``. A different user receives 409 until the lock is released or auto-swept.
|
|
86
|
+
* Acquire Workflow Run Lock Handler
|
|
87
|
+
*/
|
|
88
|
+
acquireWorkflowRunLock(requestParameters: AcquireWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RunLockResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* Creates request options for approveWorkflowRunFile without sending the request
|
|
91
|
+
* @param {string} runId
|
|
92
|
+
* @param {string} pathPartId
|
|
93
|
+
* @param {string} [authorization]
|
|
94
|
+
* @param {string} [ksUat]
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
* @memberof WorkflowRunsApiInterface
|
|
97
|
+
*/
|
|
98
|
+
approveWorkflowRunFileRequestOpts(requestParameters: ApproveWorkflowRunFileRequest): Promise<runtime.RequestOpts>;
|
|
99
|
+
/**
|
|
100
|
+
* Approve a single generated file. Caller must hold the run lock.
|
|
101
|
+
* @summary Approve Workflow Run File Handler
|
|
102
|
+
* @param {string} runId
|
|
103
|
+
* @param {string} pathPartId
|
|
104
|
+
* @param {string} [authorization]
|
|
105
|
+
* @param {string} [ksUat]
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
* @memberof WorkflowRunsApiInterface
|
|
109
|
+
*/
|
|
110
|
+
approveWorkflowRunFileRaw(requestParameters: ApproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartApprovalResponse>>;
|
|
111
|
+
/**
|
|
112
|
+
* Approve a single generated file. Caller must hold the run lock.
|
|
113
|
+
* Approve Workflow Run File Handler
|
|
114
|
+
*/
|
|
115
|
+
approveWorkflowRunFile(requestParameters: ApproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartApprovalResponse>;
|
|
35
116
|
/**
|
|
36
117
|
* Creates request options for deleteWorkflowRun without sending the request
|
|
37
118
|
* @param {string} runId
|
|
@@ -80,6 +161,87 @@ export interface WorkflowRunsApiInterface {
|
|
|
80
161
|
* Get Workflow Run Handler
|
|
81
162
|
*/
|
|
82
163
|
getWorkflowRun(requestParameters: GetWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* Creates request options for rejectWorkflowRunFile without sending the request
|
|
166
|
+
* @param {string} runId
|
|
167
|
+
* @param {string} pathPartId
|
|
168
|
+
* @param {RejectFileRequest} rejectFileRequest
|
|
169
|
+
* @param {string} [authorization]
|
|
170
|
+
* @param {string} [ksUat]
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
* @memberof WorkflowRunsApiInterface
|
|
173
|
+
*/
|
|
174
|
+
rejectWorkflowRunFileRequestOpts(requestParameters: RejectWorkflowRunFileRequest): Promise<runtime.RequestOpts>;
|
|
175
|
+
/**
|
|
176
|
+
* Reject a single generated file with a reason. Caller must hold the run lock.
|
|
177
|
+
* @summary Reject Workflow Run File Handler
|
|
178
|
+
* @param {string} runId
|
|
179
|
+
* @param {string} pathPartId
|
|
180
|
+
* @param {RejectFileRequest} rejectFileRequest
|
|
181
|
+
* @param {string} [authorization]
|
|
182
|
+
* @param {string} [ksUat]
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
* @memberof WorkflowRunsApiInterface
|
|
186
|
+
*/
|
|
187
|
+
rejectWorkflowRunFileRaw(requestParameters: RejectWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartApprovalResponse>>;
|
|
188
|
+
/**
|
|
189
|
+
* Reject a single generated file with a reason. Caller must hold the run lock.
|
|
190
|
+
* Reject Workflow Run File Handler
|
|
191
|
+
*/
|
|
192
|
+
rejectWorkflowRunFile(requestParameters: RejectWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartApprovalResponse>;
|
|
193
|
+
/**
|
|
194
|
+
* Creates request options for releaseWorkflowRunLock without sending the request
|
|
195
|
+
* @param {string} runId
|
|
196
|
+
* @param {string} [authorization]
|
|
197
|
+
* @param {string} [ksUat]
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
* @memberof WorkflowRunsApiInterface
|
|
200
|
+
*/
|
|
201
|
+
releaseWorkflowRunLockRequestOpts(requestParameters: ReleaseWorkflowRunLockRequest): Promise<runtime.RequestOpts>;
|
|
202
|
+
/**
|
|
203
|
+
* Release the reviewer lock; only the holder may call this. DELETE /lock is idempotent: returns 204 even if no lock is held.
|
|
204
|
+
* @summary Release Workflow Run Lock Handler
|
|
205
|
+
* @param {string} runId
|
|
206
|
+
* @param {string} [authorization]
|
|
207
|
+
* @param {string} [ksUat]
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
* @memberof WorkflowRunsApiInterface
|
|
211
|
+
*/
|
|
212
|
+
releaseWorkflowRunLockRaw(requestParameters: ReleaseWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
213
|
+
/**
|
|
214
|
+
* Release the reviewer lock; only the holder may call this. DELETE /lock is idempotent: returns 204 even if no lock is held.
|
|
215
|
+
* Release Workflow Run Lock Handler
|
|
216
|
+
*/
|
|
217
|
+
releaseWorkflowRunLock(requestParameters: ReleaseWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
218
|
+
/**
|
|
219
|
+
* Creates request options for unapproveWorkflowRunFile without sending the request
|
|
220
|
+
* @param {string} runId
|
|
221
|
+
* @param {string} pathPartId
|
|
222
|
+
* @param {string} [authorization]
|
|
223
|
+
* @param {string} [ksUat]
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
* @memberof WorkflowRunsApiInterface
|
|
226
|
+
*/
|
|
227
|
+
unapproveWorkflowRunFileRequestOpts(requestParameters: UnapproveWorkflowRunFileRequest): Promise<runtime.RequestOpts>;
|
|
228
|
+
/**
|
|
229
|
+
* Revert an approved file to ``pending``. Does NOT require the reviewer lock — anyone with ``can_write`` on the run path may unapprove (pilot plan §11.7).
|
|
230
|
+
* @summary Unapprove Workflow Run File Handler
|
|
231
|
+
* @param {string} runId
|
|
232
|
+
* @param {string} pathPartId
|
|
233
|
+
* @param {string} [authorization]
|
|
234
|
+
* @param {string} [ksUat]
|
|
235
|
+
* @param {*} [options] Override http request option.
|
|
236
|
+
* @throws {RequiredError}
|
|
237
|
+
* @memberof WorkflowRunsApiInterface
|
|
238
|
+
*/
|
|
239
|
+
unapproveWorkflowRunFileRaw(requestParameters: UnapproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartApprovalResponse>>;
|
|
240
|
+
/**
|
|
241
|
+
* Revert an approved file to ``pending``. Does NOT require the reviewer lock — anyone with ``can_write`` on the run path may unapprove (pilot plan §11.7).
|
|
242
|
+
* Unapprove Workflow Run File Handler
|
|
243
|
+
*/
|
|
244
|
+
unapproveWorkflowRunFile(requestParameters: UnapproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartApprovalResponse>;
|
|
83
245
|
/**
|
|
84
246
|
* Creates request options for workflowRunCallback without sending the request
|
|
85
247
|
* @param {string} runId
|
|
@@ -107,6 +269,34 @@ export interface WorkflowRunsApiInterface {
|
|
|
107
269
|
*
|
|
108
270
|
*/
|
|
109
271
|
export declare class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiInterface {
|
|
272
|
+
/**
|
|
273
|
+
* Creates request options for acquireWorkflowRunLock without sending the request
|
|
274
|
+
*/
|
|
275
|
+
acquireWorkflowRunLockRequestOpts(requestParameters: AcquireWorkflowRunLockRequest): Promise<runtime.RequestOpts>;
|
|
276
|
+
/**
|
|
277
|
+
* Acquire (or renew) the reviewer lock on ``run_id``. The current holder may re-POST to refresh ``lock_acquired_at``. A different user receives 409 until the lock is released or auto-swept.
|
|
278
|
+
* Acquire Workflow Run Lock Handler
|
|
279
|
+
*/
|
|
280
|
+
acquireWorkflowRunLockRaw(requestParameters: AcquireWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RunLockResponse>>;
|
|
281
|
+
/**
|
|
282
|
+
* Acquire (or renew) the reviewer lock on ``run_id``. The current holder may re-POST to refresh ``lock_acquired_at``. A different user receives 409 until the lock is released or auto-swept.
|
|
283
|
+
* Acquire Workflow Run Lock Handler
|
|
284
|
+
*/
|
|
285
|
+
acquireWorkflowRunLock(requestParameters: AcquireWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RunLockResponse>;
|
|
286
|
+
/**
|
|
287
|
+
* Creates request options for approveWorkflowRunFile without sending the request
|
|
288
|
+
*/
|
|
289
|
+
approveWorkflowRunFileRequestOpts(requestParameters: ApproveWorkflowRunFileRequest): Promise<runtime.RequestOpts>;
|
|
290
|
+
/**
|
|
291
|
+
* Approve a single generated file. Caller must hold the run lock.
|
|
292
|
+
* Approve Workflow Run File Handler
|
|
293
|
+
*/
|
|
294
|
+
approveWorkflowRunFileRaw(requestParameters: ApproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartApprovalResponse>>;
|
|
295
|
+
/**
|
|
296
|
+
* Approve a single generated file. Caller must hold the run lock.
|
|
297
|
+
* Approve Workflow Run File Handler
|
|
298
|
+
*/
|
|
299
|
+
approveWorkflowRunFile(requestParameters: ApproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartApprovalResponse>;
|
|
110
300
|
/**
|
|
111
301
|
* Creates request options for deleteWorkflowRun without sending the request
|
|
112
302
|
*/
|
|
@@ -131,6 +321,48 @@ export declare class WorkflowRunsApi extends runtime.BaseAPI implements Workflow
|
|
|
131
321
|
* Get Workflow Run Handler
|
|
132
322
|
*/
|
|
133
323
|
getWorkflowRun(requestParameters: GetWorkflowRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|
|
324
|
+
/**
|
|
325
|
+
* Creates request options for rejectWorkflowRunFile without sending the request
|
|
326
|
+
*/
|
|
327
|
+
rejectWorkflowRunFileRequestOpts(requestParameters: RejectWorkflowRunFileRequest): Promise<runtime.RequestOpts>;
|
|
328
|
+
/**
|
|
329
|
+
* Reject a single generated file with a reason. Caller must hold the run lock.
|
|
330
|
+
* Reject Workflow Run File Handler
|
|
331
|
+
*/
|
|
332
|
+
rejectWorkflowRunFileRaw(requestParameters: RejectWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartApprovalResponse>>;
|
|
333
|
+
/**
|
|
334
|
+
* Reject a single generated file with a reason. Caller must hold the run lock.
|
|
335
|
+
* Reject Workflow Run File Handler
|
|
336
|
+
*/
|
|
337
|
+
rejectWorkflowRunFile(requestParameters: RejectWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartApprovalResponse>;
|
|
338
|
+
/**
|
|
339
|
+
* Creates request options for releaseWorkflowRunLock without sending the request
|
|
340
|
+
*/
|
|
341
|
+
releaseWorkflowRunLockRequestOpts(requestParameters: ReleaseWorkflowRunLockRequest): Promise<runtime.RequestOpts>;
|
|
342
|
+
/**
|
|
343
|
+
* Release the reviewer lock; only the holder may call this. DELETE /lock is idempotent: returns 204 even if no lock is held.
|
|
344
|
+
* Release Workflow Run Lock Handler
|
|
345
|
+
*/
|
|
346
|
+
releaseWorkflowRunLockRaw(requestParameters: ReleaseWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
347
|
+
/**
|
|
348
|
+
* Release the reviewer lock; only the holder may call this. DELETE /lock is idempotent: returns 204 even if no lock is held.
|
|
349
|
+
* Release Workflow Run Lock Handler
|
|
350
|
+
*/
|
|
351
|
+
releaseWorkflowRunLock(requestParameters: ReleaseWorkflowRunLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
352
|
+
/**
|
|
353
|
+
* Creates request options for unapproveWorkflowRunFile without sending the request
|
|
354
|
+
*/
|
|
355
|
+
unapproveWorkflowRunFileRequestOpts(requestParameters: UnapproveWorkflowRunFileRequest): Promise<runtime.RequestOpts>;
|
|
356
|
+
/**
|
|
357
|
+
* Revert an approved file to ``pending``. Does NOT require the reviewer lock — anyone with ``can_write`` on the run path may unapprove (pilot plan §11.7).
|
|
358
|
+
* Unapprove Workflow Run File Handler
|
|
359
|
+
*/
|
|
360
|
+
unapproveWorkflowRunFileRaw(requestParameters: UnapproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartApprovalResponse>>;
|
|
361
|
+
/**
|
|
362
|
+
* Revert an approved file to ``pending``. Does NOT require the reviewer lock — anyone with ``can_write`` on the run path may unapprove (pilot plan §11.7).
|
|
363
|
+
* Unapprove Workflow Run File Handler
|
|
364
|
+
*/
|
|
365
|
+
unapproveWorkflowRunFile(requestParameters: UnapproveWorkflowRunFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartApprovalResponse>;
|
|
134
366
|
/**
|
|
135
367
|
* Creates request options for workflowRunCallback without sending the request
|
|
136
368
|
*/
|