@knowledge-stack/ksapi 1.135.1 → 1.136.1
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 +28 -4
- package/README.md +29 -4
- package/dist/apis/FoldersApi.d.ts +9 -9
- package/dist/apis/FoldersApi.js +2 -2
- package/dist/apis/SkillsApi.d.ts +579 -0
- package/dist/apis/SkillsApi.js +786 -0
- package/dist/apis/WorkflowDefinitionsApi.d.ts +3 -0
- package/dist/apis/WorkflowDefinitionsApi.js +3 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/FoldersApi.d.ts +9 -9
- package/dist/esm/apis/FoldersApi.js +3 -3
- package/dist/esm/apis/SkillsApi.d.ts +579 -0
- package/dist/esm/apis/SkillsApi.js +749 -0
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +3 -0
- package/dist/esm/apis/WorkflowDefinitionsApi.js +3 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ActivateSkillVersionRequest.d.ts +47 -0
- package/dist/esm/models/ActivateSkillVersionRequest.js +42 -0
- package/dist/esm/models/CreateSkillRequest.d.ts +60 -0
- package/dist/esm/models/CreateSkillRequest.js +59 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +6 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.d.ts} +9 -6
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.js} +11 -6
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat.d.ts} +16 -16
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat.js} +12 -12
- package/dist/esm/models/PaginatedResponseSkillResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseSkillResponse.js +70 -0
- package/dist/esm/models/PartType.d.ts +1 -0
- package/dist/esm/models/PartType.js +2 -1
- package/dist/esm/models/ReferenceType.d.ts +1 -0
- package/dist/esm/models/ReferenceType.js +1 -0
- package/dist/esm/models/SearchSkillsRequest.d.ts +59 -0
- package/dist/esm/models/SearchSkillsRequest.js +64 -0
- package/dist/esm/models/SearchSkillsResponse.d.ts +48 -0
- package/dist/esm/models/SearchSkillsResponse.js +43 -0
- package/dist/esm/models/SkillOrder.d.ts +26 -0
- package/dist/esm/models/SkillOrder.js +44 -0
- package/dist/esm/models/SkillResponse.d.ts +147 -0
- package/dist/esm/models/SkillResponse.js +101 -0
- package/dist/esm/models/SkillScriptFile.d.ts +53 -0
- package/dist/esm/models/SkillScriptFile.js +52 -0
- package/dist/esm/models/SkillSearchResult.d.ts +71 -0
- package/dist/esm/models/SkillSearchResult.js +60 -0
- package/dist/esm/models/SkillVersionResponse.d.ts +71 -0
- package/dist/esm/models/SkillVersionResponse.js +58 -0
- package/dist/esm/models/UpdateSkillRequest.d.ts +54 -0
- package/dist/esm/models/UpdateSkillRequest.js +50 -0
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.js +6 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +6 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +2 -0
- package/dist/esm/models/WorkflowRunSnapshot.d.ts +6 -0
- package/dist/esm/models/WorkflowRunSnapshot.js +2 -0
- package/dist/esm/models/index.d.ts +13 -2
- package/dist/esm/models/index.js +13 -2
- package/dist/models/ActivateSkillVersionRequest.d.ts +47 -0
- package/dist/models/ActivateSkillVersionRequest.js +50 -0
- package/dist/models/CreateSkillRequest.d.ts +60 -0
- package/dist/models/CreateSkillRequest.js +67 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +6 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.d.ts} +9 -6
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.js} +15 -10
- package/dist/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat.d.ts} +16 -16
- package/dist/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat.js} +18 -18
- package/dist/models/PaginatedResponseSkillResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseSkillResponse.js +78 -0
- package/dist/models/PartType.d.ts +1 -0
- package/dist/models/PartType.js +2 -1
- package/dist/models/ReferenceType.d.ts +1 -0
- package/dist/models/ReferenceType.js +1 -0
- package/dist/models/SearchSkillsRequest.d.ts +59 -0
- package/dist/models/SearchSkillsRequest.js +72 -0
- package/dist/models/SearchSkillsResponse.d.ts +48 -0
- package/dist/models/SearchSkillsResponse.js +51 -0
- package/dist/models/SkillOrder.d.ts +26 -0
- package/dist/models/SkillOrder.js +52 -0
- package/dist/models/SkillResponse.d.ts +147 -0
- package/dist/models/SkillResponse.js +109 -0
- package/dist/models/SkillScriptFile.d.ts +53 -0
- package/dist/models/SkillScriptFile.js +60 -0
- package/dist/models/SkillSearchResult.d.ts +71 -0
- package/dist/models/SkillSearchResult.js +68 -0
- package/dist/models/SkillVersionResponse.d.ts +71 -0
- package/dist/models/SkillVersionResponse.js +66 -0
- package/dist/models/UpdateSkillRequest.d.ts +54 -0
- package/dist/models/UpdateSkillRequest.js +58 -0
- package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/UpdateWorkflowDefinitionRequest.js +6 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +6 -0
- package/dist/models/WorkflowDefinitionResponse.js +2 -0
- package/dist/models/WorkflowRunSnapshot.d.ts +6 -0
- package/dist/models/WorkflowRunSnapshot.js +2 -0
- package/dist/models/index.d.ts +13 -2
- package/dist/models/index.js +13 -2
- package/docs/ActivateSkillVersionRequest.md +35 -0
- package/docs/ChunksApi.md +1 -1
- package/docs/CreateSkillRequest.md +39 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.md} +12 -4
- package/docs/FoldersApi.md +4 -4
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat.md} +5 -5
- package/docs/PaginatedResponseSkillResponse.md +40 -0
- package/docs/SearchSkillsRequest.md +39 -0
- package/docs/SearchSkillsResponse.md +34 -0
- package/docs/SkillOrder.md +33 -0
- package/docs/SkillResponse.md +65 -0
- package/docs/SkillScriptFile.md +37 -0
- package/docs/SkillSearchResult.md +43 -0
- package/docs/SkillVersionResponse.md +43 -0
- package/docs/SkillsApi.md +1093 -0
- package/docs/UpdateSkillRequest.md +37 -0
- package/docs/UpdateWorkflowDefinitionRequest.md +2 -0
- package/docs/WorkflowDefinitionResponse.md +2 -0
- package/docs/WorkflowDefinitionsApi.md +4 -1
- package/docs/WorkflowRunSnapshot.md +2 -0
- package/package.json +1 -1
- package/src/apis/FoldersApi.ts +13 -13
- package/src/apis/SkillsApi.ts +1321 -0
- package/src/apis/WorkflowDefinitionsApi.ts +7 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ActivateSkillVersionRequest.ts +82 -0
- package/src/models/CreateSkillRequest.ts +115 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +12 -0
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.ts} +19 -8
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat.ts} +25 -25
- package/src/models/PaginatedResponseSkillResponse.ts +130 -0
- package/src/models/PartType.ts +2 -1
- package/src/models/ReferenceType.ts +1 -0
- package/src/models/SearchSkillsRequest.ts +114 -0
- package/src/models/SearchSkillsResponse.ts +90 -0
- package/src/models/SkillOrder.ts +54 -0
- package/src/models/SkillResponse.ts +244 -0
- package/src/models/SkillScriptFile.ts +95 -0
- package/src/models/SkillSearchResult.ts +119 -0
- package/src/models/SkillVersionResponse.ts +118 -0
- package/src/models/UpdateSkillRequest.ts +102 -0
- package/src/models/UpdateWorkflowDefinitionRequest.ts +12 -0
- package/src/models/WorkflowDefinitionResponse.ts +8 -0
- package/src/models/WorkflowRunSnapshot.ts +8 -0
- package/src/models/index.ts +13 -2
|
@@ -80,6 +80,7 @@ export function WorkflowDefinitionResponseFromJSONTyped(json, ignoreDiscriminato
|
|
|
80
80
|
'isActive': json['is_active'],
|
|
81
81
|
'approvalRequired': json['approval_required'],
|
|
82
82
|
'isTemplate': json['is_template'],
|
|
83
|
+
'selectedSkillIds': json['selected_skill_ids'] == null ? undefined : json['selected_skill_ids'],
|
|
83
84
|
'commonFilePathPartIds': json['common_file_path_part_ids'] == null ? undefined : json['common_file_path_part_ids'],
|
|
84
85
|
'createdFromId': json['created_from_id'],
|
|
85
86
|
'copyCount': json['copy_count'] == null ? undefined : json['copy_count'],
|
|
@@ -111,6 +112,7 @@ export function WorkflowDefinitionResponseToJSONTyped(value, ignoreDiscriminator
|
|
|
111
112
|
'is_active': value['isActive'],
|
|
112
113
|
'approval_required': value['approvalRequired'],
|
|
113
114
|
'is_template': value['isTemplate'],
|
|
115
|
+
'selected_skill_ids': value['selectedSkillIds'],
|
|
114
116
|
'common_file_path_part_ids': value['commonFilePathPartIds'],
|
|
115
117
|
'created_from_id': value['createdFromId'],
|
|
116
118
|
'copy_count': value['copyCount'],
|
|
@@ -62,6 +62,12 @@ export interface WorkflowRunSnapshot {
|
|
|
62
62
|
* @memberof WorkflowRunSnapshot
|
|
63
63
|
*/
|
|
64
64
|
userMessage?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Skill PDO ids to force-load into the run at turn 0, merged with the definition's prefill. Definition selections are validated readable + SKILL at write time; every id is re-checked fail-closed when the run materializes (a skill deleted or revoked after selection is dropped, never bricking the run). The runner materializes each skill's ACTIVE published version into the agent's skills dir; the agent can still discover others via search. Empty for the common case; pre-feature snapshots default to empty.
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof WorkflowRunSnapshot
|
|
69
|
+
*/
|
|
70
|
+
selectedSkillIds?: Array<string>;
|
|
65
71
|
}
|
|
66
72
|
export declare const WorkflowRunSnapshotPropertyValidationAttributesMap: {
|
|
67
73
|
[property: string]: {
|
|
@@ -47,6 +47,7 @@ export function WorkflowRunSnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'inputs': (json['inputs'].map(InputSnapshotFromJSON)),
|
|
48
48
|
'excludedCommonFiles': json['excluded_common_files'] == null ? undefined : (json['excluded_common_files'].map(ExcludedCommonFileFromJSON)),
|
|
49
49
|
'userMessage': json['user_message'] == null ? undefined : json['user_message'],
|
|
50
|
+
'selectedSkillIds': json['selected_skill_ids'] == null ? undefined : json['selected_skill_ids'],
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
export function WorkflowRunSnapshotToJSON(json) {
|
|
@@ -63,5 +64,6 @@ export function WorkflowRunSnapshotToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
63
64
|
'inputs': (value['inputs'].map(InputSnapshotToJSON)),
|
|
64
65
|
'excluded_common_files': value['excludedCommonFiles'] == null ? undefined : (value['excludedCommonFiles'].map(ExcludedCommonFileToJSON)),
|
|
65
66
|
'user_message': value['userMessage'],
|
|
67
|
+
'selected_skill_ids': value['selectedSkillIds'],
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './AcceptDisclaimerRequest';
|
|
2
2
|
export * from './AcceptInviteResponse';
|
|
3
3
|
export * from './AccessCheckResponse';
|
|
4
|
+
export * from './ActivateSkillVersionRequest';
|
|
4
5
|
export * from './AddMemberRequest';
|
|
5
6
|
export * from './AncestryResponse';
|
|
6
7
|
export * from './ApiAuthConfig';
|
|
@@ -62,6 +63,7 @@ export * from './CreatePasswordUserRequest';
|
|
|
62
63
|
export * from './CreatePermissionRequest';
|
|
63
64
|
export * from './CreatePhonePasswordUserRequest';
|
|
64
65
|
export * from './CreateSectionRequest';
|
|
66
|
+
export * from './CreateSkillRequest';
|
|
65
67
|
export * from './CreateTagRequest';
|
|
66
68
|
export * from './CreateThreadMessageRequest';
|
|
67
69
|
export * from './CreateThreadRequest';
|
|
@@ -122,7 +124,7 @@ export * from './FeedbackTargetType';
|
|
|
122
124
|
export * from './FolderAction';
|
|
123
125
|
export * from './FolderActionResponse';
|
|
124
126
|
export * from './FolderResponse';
|
|
125
|
-
export * from './
|
|
127
|
+
export * from './FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR';
|
|
126
128
|
export * from './GroupMemberOrder';
|
|
127
129
|
export * from './GroupPermissionOrder';
|
|
128
130
|
export * from './GroupPermissionResponse';
|
|
@@ -166,7 +168,7 @@ export * from './NetworkClass';
|
|
|
166
168
|
export * from './NonFilesystemReferenceType';
|
|
167
169
|
export * from './OnboardingCompanyRequest';
|
|
168
170
|
export * from './OnboardingProfileRequest';
|
|
169
|
-
export * from './
|
|
171
|
+
export * from './PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat';
|
|
170
172
|
export * from './PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator';
|
|
171
173
|
export * from './PaginatedResponseDocumentResponse';
|
|
172
174
|
export * from './PaginatedResponseDocumentVersionResponse';
|
|
@@ -181,6 +183,7 @@ export * from './PaginatedResponseMemoryChunkResponse';
|
|
|
181
183
|
export * from './PaginatedResponsePathPartResponse';
|
|
182
184
|
export * from './PaginatedResponsePendingMemoryChunkResponse';
|
|
183
185
|
export * from './PaginatedResponsePermissionResponse';
|
|
186
|
+
export * from './PaginatedResponseSkillResponse';
|
|
184
187
|
export * from './PaginatedResponseTagResponse';
|
|
185
188
|
export * from './PaginatedResponseTenantResponse';
|
|
186
189
|
export * from './PaginatedResponseTenantUserResponse';
|
|
@@ -225,6 +228,8 @@ export * from './RunFolder';
|
|
|
225
228
|
export * from './RunFolderRef';
|
|
226
229
|
export * from './SSOInitiateResponse';
|
|
227
230
|
export * from './ScoredChunkResponse';
|
|
231
|
+
export * from './SearchSkillsRequest';
|
|
232
|
+
export * from './SearchSkillsResponse';
|
|
228
233
|
export * from './SearchSortOrder';
|
|
229
234
|
export * from './SearchTablesRequest';
|
|
230
235
|
export * from './SearchTablesResponse';
|
|
@@ -240,6 +245,11 @@ export * from './SetApprovalStateRequest';
|
|
|
240
245
|
export * from './SetWorkflowRunApprovalRequest';
|
|
241
246
|
export * from './SheetVisibilityChange';
|
|
242
247
|
export * from './SignInRequest';
|
|
248
|
+
export * from './SkillOrder';
|
|
249
|
+
export * from './SkillResponse';
|
|
250
|
+
export * from './SkillScriptFile';
|
|
251
|
+
export * from './SkillSearchResult';
|
|
252
|
+
export * from './SkillVersionResponse';
|
|
243
253
|
export * from './SortDirection';
|
|
244
254
|
export * from './StartWorkflowRunRequest';
|
|
245
255
|
export * from './Step';
|
|
@@ -296,6 +306,7 @@ export * from './UpdateGroupRequest';
|
|
|
296
306
|
export * from './UpdateInviteRequest';
|
|
297
307
|
export * from './UpdatePermissionRequest';
|
|
298
308
|
export * from './UpdateSectionRequest';
|
|
309
|
+
export * from './UpdateSkillRequest';
|
|
299
310
|
export * from './UpdateTableRequest';
|
|
300
311
|
export * from './UpdateTagRequest';
|
|
301
312
|
export * from './UpdateTenantRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export * from './AcceptDisclaimerRequest';
|
|
4
4
|
export * from './AcceptInviteResponse';
|
|
5
5
|
export * from './AccessCheckResponse';
|
|
6
|
+
export * from './ActivateSkillVersionRequest';
|
|
6
7
|
export * from './AddMemberRequest';
|
|
7
8
|
export * from './AncestryResponse';
|
|
8
9
|
export * from './ApiAuthConfig';
|
|
@@ -64,6 +65,7 @@ export * from './CreatePasswordUserRequest';
|
|
|
64
65
|
export * from './CreatePermissionRequest';
|
|
65
66
|
export * from './CreatePhonePasswordUserRequest';
|
|
66
67
|
export * from './CreateSectionRequest';
|
|
68
|
+
export * from './CreateSkillRequest';
|
|
67
69
|
export * from './CreateTagRequest';
|
|
68
70
|
export * from './CreateThreadMessageRequest';
|
|
69
71
|
export * from './CreateThreadRequest';
|
|
@@ -124,7 +126,7 @@ export * from './FeedbackTargetType';
|
|
|
124
126
|
export * from './FolderAction';
|
|
125
127
|
export * from './FolderActionResponse';
|
|
126
128
|
export * from './FolderResponse';
|
|
127
|
-
export * from './
|
|
129
|
+
export * from './FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR';
|
|
128
130
|
export * from './GroupMemberOrder';
|
|
129
131
|
export * from './GroupPermissionOrder';
|
|
130
132
|
export * from './GroupPermissionResponse';
|
|
@@ -168,7 +170,7 @@ export * from './NetworkClass';
|
|
|
168
170
|
export * from './NonFilesystemReferenceType';
|
|
169
171
|
export * from './OnboardingCompanyRequest';
|
|
170
172
|
export * from './OnboardingProfileRequest';
|
|
171
|
-
export * from './
|
|
173
|
+
export * from './PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDat';
|
|
172
174
|
export * from './PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator';
|
|
173
175
|
export * from './PaginatedResponseDocumentResponse';
|
|
174
176
|
export * from './PaginatedResponseDocumentVersionResponse';
|
|
@@ -183,6 +185,7 @@ export * from './PaginatedResponseMemoryChunkResponse';
|
|
|
183
185
|
export * from './PaginatedResponsePathPartResponse';
|
|
184
186
|
export * from './PaginatedResponsePendingMemoryChunkResponse';
|
|
185
187
|
export * from './PaginatedResponsePermissionResponse';
|
|
188
|
+
export * from './PaginatedResponseSkillResponse';
|
|
186
189
|
export * from './PaginatedResponseTagResponse';
|
|
187
190
|
export * from './PaginatedResponseTenantResponse';
|
|
188
191
|
export * from './PaginatedResponseTenantUserResponse';
|
|
@@ -227,6 +230,8 @@ export * from './RunFolder';
|
|
|
227
230
|
export * from './RunFolderRef';
|
|
228
231
|
export * from './SSOInitiateResponse';
|
|
229
232
|
export * from './ScoredChunkResponse';
|
|
233
|
+
export * from './SearchSkillsRequest';
|
|
234
|
+
export * from './SearchSkillsResponse';
|
|
230
235
|
export * from './SearchSortOrder';
|
|
231
236
|
export * from './SearchTablesRequest';
|
|
232
237
|
export * from './SearchTablesResponse';
|
|
@@ -242,6 +247,11 @@ export * from './SetApprovalStateRequest';
|
|
|
242
247
|
export * from './SetWorkflowRunApprovalRequest';
|
|
243
248
|
export * from './SheetVisibilityChange';
|
|
244
249
|
export * from './SignInRequest';
|
|
250
|
+
export * from './SkillOrder';
|
|
251
|
+
export * from './SkillResponse';
|
|
252
|
+
export * from './SkillScriptFile';
|
|
253
|
+
export * from './SkillSearchResult';
|
|
254
|
+
export * from './SkillVersionResponse';
|
|
245
255
|
export * from './SortDirection';
|
|
246
256
|
export * from './StartWorkflowRunRequest';
|
|
247
257
|
export * from './Step';
|
|
@@ -298,6 +308,7 @@ export * from './UpdateGroupRequest';
|
|
|
298
308
|
export * from './UpdateInviteRequest';
|
|
299
309
|
export * from './UpdatePermissionRequest';
|
|
300
310
|
export * from './UpdateSectionRequest';
|
|
311
|
+
export * from './UpdateSkillRequest';
|
|
301
312
|
export * from './UpdateTableRequest';
|
|
302
313
|
export * from './UpdateTagRequest';
|
|
303
314
|
export * from './UpdateTenantRequest';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Activate a specific published version.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ActivateSkillVersionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivateSkillVersionRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Required (true) to activate when the working copy has unpublished edits — activating overwrites them. Otherwise the request is a 409.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ActivateSkillVersionRequest
|
|
22
|
+
*/
|
|
23
|
+
confirmDiscardUnpublished?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare const ActivateSkillVersionRequestPropertyValidationAttributesMap: {
|
|
26
|
+
[property: string]: {
|
|
27
|
+
maxLength?: number;
|
|
28
|
+
minLength?: number;
|
|
29
|
+
pattern?: string;
|
|
30
|
+
maximum?: number;
|
|
31
|
+
exclusiveMaximum?: boolean;
|
|
32
|
+
minimum?: number;
|
|
33
|
+
exclusiveMinimum?: boolean;
|
|
34
|
+
multipleOf?: number;
|
|
35
|
+
maxItems?: number;
|
|
36
|
+
minItems?: number;
|
|
37
|
+
uniqueItems?: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ActivateSkillVersionRequest interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfActivateSkillVersionRequest(value: object): value is ActivateSkillVersionRequest;
|
|
44
|
+
export declare function ActivateSkillVersionRequestFromJSON(json: any): ActivateSkillVersionRequest;
|
|
45
|
+
export declare function ActivateSkillVersionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ActivateSkillVersionRequest;
|
|
46
|
+
export declare function ActivateSkillVersionRequestToJSON(json: any): ActivateSkillVersionRequest;
|
|
47
|
+
export declare function ActivateSkillVersionRequestToJSONTyped(value?: ActivateSkillVersionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ActivateSkillVersionRequestPropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfActivateSkillVersionRequest = instanceOfActivateSkillVersionRequest;
|
|
18
|
+
exports.ActivateSkillVersionRequestFromJSON = ActivateSkillVersionRequestFromJSON;
|
|
19
|
+
exports.ActivateSkillVersionRequestFromJSONTyped = ActivateSkillVersionRequestFromJSONTyped;
|
|
20
|
+
exports.ActivateSkillVersionRequestToJSON = ActivateSkillVersionRequestToJSON;
|
|
21
|
+
exports.ActivateSkillVersionRequestToJSONTyped = ActivateSkillVersionRequestToJSONTyped;
|
|
22
|
+
exports.ActivateSkillVersionRequestPropertyValidationAttributesMap = {};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ActivateSkillVersionRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfActivateSkillVersionRequest(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ActivateSkillVersionRequestFromJSON(json) {
|
|
30
|
+
return ActivateSkillVersionRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ActivateSkillVersionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'confirmDiscardUnpublished': json['confirm_discard_unpublished'] == null ? undefined : json['confirm_discard_unpublished'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ActivateSkillVersionRequestToJSON(json) {
|
|
41
|
+
return ActivateSkillVersionRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ActivateSkillVersionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'confirm_discard_unpublished': value['confirmDiscardUnpublished'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SkillScriptFile } from './SkillScriptFile';
|
|
13
|
+
/**
|
|
14
|
+
* Author a skill from a SKILL.md bundle.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateSkillRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateSkillRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Skill machine name (its folder name); unique within the tenant.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CreateSkillRequest
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Full SKILL.md content: YAML frontmatter with name + description, then the markdown instruction body.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateSkillRequest
|
|
29
|
+
*/
|
|
30
|
+
skillMd: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional scripts bundled under the skill's scripts/ folder.
|
|
33
|
+
* @type {Array<SkillScriptFile>}
|
|
34
|
+
* @memberof CreateSkillRequest
|
|
35
|
+
*/
|
|
36
|
+
scripts?: Array<SkillScriptFile>;
|
|
37
|
+
}
|
|
38
|
+
export declare const CreateSkillRequestPropertyValidationAttributesMap: {
|
|
39
|
+
[property: string]: {
|
|
40
|
+
maxLength?: number;
|
|
41
|
+
minLength?: number;
|
|
42
|
+
pattern?: string;
|
|
43
|
+
maximum?: number;
|
|
44
|
+
exclusiveMaximum?: boolean;
|
|
45
|
+
minimum?: number;
|
|
46
|
+
exclusiveMinimum?: boolean;
|
|
47
|
+
multipleOf?: number;
|
|
48
|
+
maxItems?: number;
|
|
49
|
+
minItems?: number;
|
|
50
|
+
uniqueItems?: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the CreateSkillRequest interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfCreateSkillRequest(value: object): value is CreateSkillRequest;
|
|
57
|
+
export declare function CreateSkillRequestFromJSON(json: any): CreateSkillRequest;
|
|
58
|
+
export declare function CreateSkillRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSkillRequest;
|
|
59
|
+
export declare function CreateSkillRequestToJSON(json: any): CreateSkillRequest;
|
|
60
|
+
export declare function CreateSkillRequestToJSONTyped(value?: CreateSkillRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management. ## Integrating (RPA / machine clients) **Base URL.** Knowledge Stack is self-hosted — point at your own deployment host (see `servers`). The `localhost` entry is for local development only. **Authentication.** Send `Authorization: Bearer <api-key>` on every request. Mint an API key once via `POST /v1/api-keys` from a signed-in browser session; the raw `sk-user-...` secret is returned **only** at creation, so store it then. A key inherits its owning user\'s live tenant role and path permissions — create RPA keys from a least-privilege user, and set `expires_at` for rotation. The `ks_uat` cookie scheme is browser-only and cannot be used by headless clients. **Async work is polled, not pushed.** There are no outbound webhooks. - `POST /v1/documents/ingest` returns `201` immediately with a `workflow_id`; poll `GET /v1/system-jobs/document_versions/{workflow_id}` until `status` is terminal (anything other than `pending`/`processing`). The `Location` response header points at this poll resource. - `POST /v1/workflow-runs/{run_id}/start` returns `202`; poll `GET /v1/workflow-runs/{run_id}` until `execution_state` is `COMPLETED` or `FAILED`. The `Location` header points at the run resource. - `POST /v1/agent/ask` is **synchronous** — it blocks until the agent finishes and returns the answer inline. Use a generous HTTP timeout. **Pagination.** List endpoints accept `limit`/`offset` and return `{items, total, limit, offset}`. **Errors.** Every non-2xx body is `{detail, code, request_id}`. `code` is a stable value from a closed set (see the `ErrorResponse` schema\'s `code` enum) — branch on it rather than parsing `detail`. Quota rejections return `429` with a `Retry-After` header; transient lock contention returns a retryable `503`. Quote `request_id` (also the `x-request-id` response header) to support. **Idempotency.** `POST /v1/workflow-runs` accepts an `idempotency_key` to dedupe retried run creation. `agent/ask` charges one message *before* running and does not refund a client-cancelled call.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateSkillRequestPropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfCreateSkillRequest = instanceOfCreateSkillRequest;
|
|
18
|
+
exports.CreateSkillRequestFromJSON = CreateSkillRequestFromJSON;
|
|
19
|
+
exports.CreateSkillRequestFromJSONTyped = CreateSkillRequestFromJSONTyped;
|
|
20
|
+
exports.CreateSkillRequestToJSON = CreateSkillRequestToJSON;
|
|
21
|
+
exports.CreateSkillRequestToJSONTyped = CreateSkillRequestToJSONTyped;
|
|
22
|
+
const SkillScriptFile_1 = require("./SkillScriptFile");
|
|
23
|
+
exports.CreateSkillRequestPropertyValidationAttributesMap = {
|
|
24
|
+
name: {
|
|
25
|
+
maxLength: 255,
|
|
26
|
+
},
|
|
27
|
+
scripts: {
|
|
28
|
+
maxItems: 50,
|
|
29
|
+
uniqueItems: false,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the CreateSkillRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfCreateSkillRequest(value) {
|
|
36
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('skillMd' in value) || value['skillMd'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function CreateSkillRequestFromJSON(json) {
|
|
43
|
+
return CreateSkillRequestFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function CreateSkillRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
'skillMd': json['skill_md'],
|
|
52
|
+
'scripts': json['scripts'] == null ? undefined : (json['scripts'].map(SkillScriptFile_1.SkillScriptFileFromJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function CreateSkillRequestToJSON(json) {
|
|
56
|
+
return CreateSkillRequestToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function CreateSkillRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'skill_md': value['skillMd'],
|
|
65
|
+
'scripts': value['scripts'] == null ? undefined : (value['scripts'].map(SkillScriptFile_1.SkillScriptFileToJSON)),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -61,6 +61,12 @@ export interface CreateWorkflowDefinitionRequest {
|
|
|
61
61
|
* @memberof CreateWorkflowDefinitionRequest
|
|
62
62
|
*/
|
|
63
63
|
isTemplate?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Skill PDO ids force-loaded into every run of this workflow by default (prefill). Each run inherits these and may add more; the agent can still discover others via search. Each must be a SKILL the caller can read.
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof CreateWorkflowDefinitionRequest
|
|
68
|
+
*/
|
|
69
|
+
selectedSkillIds?: Array<string>;
|
|
64
70
|
/**
|
|
65
71
|
* Optional path_part ids of common files (DOCUMENT / FOLDER / DATA_SOURCE / API_CONNECTION) attached to every run of this workflow — e.g. an output template. Merged with each run's own inputs at Start. The caller must be able to read each one.
|
|
66
72
|
* @type {Array<string>}
|
|
@@ -29,6 +29,10 @@ exports.CreateWorkflowDefinitionRequestPropertyValidationAttributesMap = {
|
|
|
29
29
|
minimum: 60,
|
|
30
30
|
exclusiveMinimum: false,
|
|
31
31
|
},
|
|
32
|
+
selectedSkillIds: {
|
|
33
|
+
maxItems: 20,
|
|
34
|
+
uniqueItems: false,
|
|
35
|
+
},
|
|
32
36
|
commonFilePathPartIds: {
|
|
33
37
|
maxItems: 20,
|
|
34
38
|
uniqueItems: false,
|
|
@@ -61,6 +65,7 @@ function CreateWorkflowDefinitionRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
61
65
|
'instructionPathPartId': json['instruction_path_part_id'] == null ? undefined : json['instruction_path_part_id'],
|
|
62
66
|
'approvalRequired': json['approval_required'],
|
|
63
67
|
'isTemplate': json['is_template'] == null ? undefined : json['is_template'],
|
|
68
|
+
'selectedSkillIds': json['selected_skill_ids'] == null ? undefined : json['selected_skill_ids'],
|
|
64
69
|
'commonFilePathPartIds': json['common_file_path_part_ids'] == null ? undefined : json['common_file_path_part_ids'],
|
|
65
70
|
};
|
|
66
71
|
}
|
|
@@ -79,6 +84,7 @@ function CreateWorkflowDefinitionRequestToJSONTyped(value, ignoreDiscriminator =
|
|
|
79
84
|
'instruction_path_part_id': value['instructionPathPartId'],
|
|
80
85
|
'approval_required': value['approvalRequired'],
|
|
81
86
|
'is_template': value['isTemplate'],
|
|
87
|
+
'selected_skill_ids': value['selectedSkillIds'],
|
|
82
88
|
'common_file_path_part_ids': value['commonFilePathPartIds'],
|
|
83
89
|
};
|
|
84
90
|
}
|
|
@@ -15,14 +15,15 @@ import type { DataSourceSchemaResponse } from './DataSourceSchemaResponse';
|
|
|
15
15
|
import type { DataSourceTableResponse } from './DataSourceTableResponse';
|
|
16
16
|
import type { DocumentResponse } from './DocumentResponse';
|
|
17
17
|
import type { FolderResponse } from './FolderResponse';
|
|
18
|
+
import type { SkillResponse } from './SkillResponse';
|
|
18
19
|
import type { WorkflowDefinitionResponse } from './WorkflowDefinitionResponse';
|
|
19
20
|
import type { WorkflowRunResponse } from './WorkflowRunResponse';
|
|
20
21
|
/**
|
|
21
|
-
* @type
|
|
22
|
+
* @type FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
25
|
-
export type
|
|
26
|
+
export type FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR = {
|
|
26
27
|
partType: 'API_CONNECTION';
|
|
27
28
|
} & ApiConnectionResponse | {
|
|
28
29
|
partType: 'DATA_SOURCE';
|
|
@@ -35,11 +36,13 @@ export type FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkfl
|
|
|
35
36
|
} & DocumentResponse | {
|
|
36
37
|
partType: 'FOLDER';
|
|
37
38
|
} & FolderResponse | {
|
|
39
|
+
partType: 'SKILL';
|
|
40
|
+
} & SkillResponse | {
|
|
38
41
|
partType: 'WORKFLOW_DEFINITION';
|
|
39
42
|
} & WorkflowDefinitionResponse | {
|
|
40
43
|
partType: 'WORKFLOW_RUN';
|
|
41
44
|
} & WorkflowRunResponse;
|
|
42
|
-
export declare function
|
|
43
|
-
export declare function
|
|
44
|
-
export declare function
|
|
45
|
-
export declare function
|
|
45
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSON(json: any): FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR;
|
|
46
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSONTyped(json: any, ignoreDiscriminator: boolean): FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR;
|
|
47
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSON(json: any): any;
|
|
48
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSONTyped(value?: FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,22 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
16
|
+
exports.FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSON = FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSON;
|
|
17
|
+
exports.FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSONTyped = FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSONTyped;
|
|
18
|
+
exports.FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSON = FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSON;
|
|
19
|
+
exports.FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSONTyped = FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSONTyped;
|
|
20
20
|
const ApiConnectionResponse_1 = require("./ApiConnectionResponse");
|
|
21
21
|
const DataSourceResponse_1 = require("./DataSourceResponse");
|
|
22
22
|
const DataSourceSchemaResponse_1 = require("./DataSourceSchemaResponse");
|
|
23
23
|
const DataSourceTableResponse_1 = require("./DataSourceTableResponse");
|
|
24
24
|
const DocumentResponse_1 = require("./DocumentResponse");
|
|
25
25
|
const FolderResponse_1 = require("./FolderResponse");
|
|
26
|
+
const SkillResponse_1 = require("./SkillResponse");
|
|
26
27
|
const WorkflowDefinitionResponse_1 = require("./WorkflowDefinitionResponse");
|
|
27
28
|
const WorkflowRunResponse_1 = require("./WorkflowRunResponse");
|
|
28
|
-
function
|
|
29
|
-
return
|
|
29
|
+
function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSON(json) {
|
|
30
|
+
return FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSONTyped(json, false);
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
+
function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
33
|
if (json == null) {
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
@@ -45,6 +46,8 @@ function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowR
|
|
|
45
46
|
return Object.assign({}, (0, DocumentResponse_1.DocumentResponseFromJSONTyped)(json, true), { partType: 'DOCUMENT' });
|
|
46
47
|
case 'FOLDER':
|
|
47
48
|
return Object.assign({}, (0, FolderResponse_1.FolderResponseFromJSONTyped)(json, true), { partType: 'FOLDER' });
|
|
49
|
+
case 'SKILL':
|
|
50
|
+
return Object.assign({}, (0, SkillResponse_1.SkillResponseFromJSONTyped)(json, true), { partType: 'SKILL' });
|
|
48
51
|
case 'WORKFLOW_DEFINITION':
|
|
49
52
|
return Object.assign({}, (0, WorkflowDefinitionResponse_1.WorkflowDefinitionResponseFromJSONTyped)(json, true), { partType: 'WORKFLOW_DEFINITION' });
|
|
50
53
|
case 'WORKFLOW_RUN':
|
|
@@ -53,10 +56,10 @@ function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowR
|
|
|
53
56
|
return json;
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
59
|
+
function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSON(json) {
|
|
60
|
+
return FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSONTyped(json, false);
|
|
58
61
|
}
|
|
59
|
-
function
|
|
62
|
+
function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaRToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
63
|
if (value == null) {
|
|
61
64
|
return value;
|
|
62
65
|
}
|
|
@@ -73,6 +76,8 @@ function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowR
|
|
|
73
76
|
return Object.assign({}, (0, DocumentResponse_1.DocumentResponseToJSON)(value), { partType: 'DOCUMENT' });
|
|
74
77
|
case 'FOLDER':
|
|
75
78
|
return Object.assign({}, (0, FolderResponse_1.FolderResponseToJSON)(value), { partType: 'FOLDER' });
|
|
79
|
+
case 'SKILL':
|
|
80
|
+
return Object.assign({}, (0, SkillResponse_1.SkillResponseToJSON)(value), { partType: 'SKILL' });
|
|
76
81
|
case 'WORKFLOW_DEFINITION':
|
|
77
82
|
return Object.assign({}, (0, WorkflowDefinitionResponse_1.WorkflowDefinitionResponseToJSON)(value), { partType: 'WORKFLOW_DEFINITION' });
|
|
78
83
|
case 'WORKFLOW_RUN':
|