@knowledge-stack/ksapi 1.143.0 → 1.145.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 +6 -2
- package/README.md +6 -3
- package/dist/apis/PathPartsApi.d.ts +42 -1
- package/dist/apis/PathPartsApi.js +53 -0
- package/dist/apis/SkillsApi.d.ts +11 -8
- package/dist/apis/SkillsApi.js +7 -4
- package/dist/esm/apis/PathPartsApi.d.ts +42 -1
- package/dist/esm/apis/PathPartsApi.js +54 -1
- package/dist/esm/apis/SkillsApi.d.ts +11 -8
- package/dist/esm/apis/SkillsApi.js +7 -4
- package/dist/esm/models/CreateSkillRequest.d.ts +4 -4
- package/dist/esm/models/CreateSkillRequest.js +5 -5
- package/dist/esm/models/EventResponse.d.ts +35 -1
- package/dist/esm/models/EventResponse.js +12 -0
- package/dist/esm/models/{SkillScriptFile.d.ts → ReorderPathPartRequest.d.ts} +17 -17
- package/dist/esm/models/ReorderPathPartRequest.js +44 -0
- package/dist/esm/models/ResolvedRef.d.ts +79 -0
- package/dist/esm/models/ResolvedRef.js +59 -0
- package/dist/esm/models/SkillFile.d.ts +71 -0
- package/dist/esm/models/{SkillScriptFile.js → SkillFile.js} +23 -14
- package/dist/esm/models/SkillResponse.d.ts +6 -6
- package/dist/esm/models/SkillResponse.js +5 -5
- package/dist/esm/models/UpdateSkillRequest.d.ts +4 -4
- package/dist/esm/models/UpdateSkillRequest.js +5 -5
- package/dist/esm/models/index.d.ts +3 -1
- package/dist/esm/models/index.js +3 -1
- package/dist/models/CreateSkillRequest.d.ts +4 -4
- package/dist/models/CreateSkillRequest.js +5 -5
- package/dist/models/EventResponse.d.ts +35 -1
- package/dist/models/EventResponse.js +12 -0
- package/dist/models/{SkillScriptFile.d.ts → ReorderPathPartRequest.d.ts} +17 -17
- package/dist/models/ReorderPathPartRequest.js +52 -0
- package/dist/models/ResolvedRef.d.ts +79 -0
- package/dist/models/ResolvedRef.js +67 -0
- package/dist/models/SkillFile.d.ts +71 -0
- package/dist/models/{SkillScriptFile.js → SkillFile.js} +29 -20
- package/dist/models/SkillResponse.d.ts +6 -6
- package/dist/models/SkillResponse.js +5 -5
- package/dist/models/UpdateSkillRequest.d.ts +4 -4
- package/dist/models/UpdateSkillRequest.js +5 -5
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/docs/CreateSkillRequest.md +2 -2
- package/docs/EventResponse.md +11 -1
- package/docs/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaR.md +4 -4
- package/docs/PathPartsApi.md +79 -0
- package/docs/{SkillScriptFile.md → ReorderPathPartRequest.md} +9 -9
- package/docs/ResolvedRef.md +41 -0
- package/docs/SkillFile.md +39 -0
- package/docs/SkillResponse.md +4 -4
- package/docs/SkillsApi.md +6 -3
- package/docs/UpdateSkillRequest.md +2 -2
- package/package.json +1 -1
- package/src/apis/PathPartsApi.ts +99 -0
- package/src/apis/SkillsApi.ts +15 -8
- package/src/models/CreateSkillRequest.ts +13 -13
- package/src/models/EventResponse.ts +49 -1
- package/src/models/{SkillScriptFile.ts → ReorderPathPartRequest.ts} +23 -28
- package/src/models/ResolvedRef.ts +125 -0
- package/src/models/SkillFile.ts +118 -0
- package/src/models/SkillResponse.ts +15 -15
- package/src/models/UpdateSkillRequest.ts +13 -13
- package/src/models/index.ts +3 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -252,7 +252,9 @@ docs/ProposedMemoryChunkResponse.md
|
|
|
252
252
|
docs/PublicApi.md
|
|
253
253
|
docs/ReasoningPart.md
|
|
254
254
|
docs/ReferenceType.md
|
|
255
|
+
docs/ReorderPathPartRequest.md
|
|
255
256
|
docs/RequestPhoneChangeRequest.md
|
|
257
|
+
docs/ResolvedRef.md
|
|
256
258
|
docs/ResolvedReferenceInput.md
|
|
257
259
|
docs/ResolvedReferenceOutput.md
|
|
258
260
|
docs/ResponseSendPwResetEmail.md
|
|
@@ -281,9 +283,9 @@ docs/SetApprovalStateRequest.md
|
|
|
281
283
|
docs/SetWorkflowRunApprovalRequest.md
|
|
282
284
|
docs/SheetVisibilityChange.md
|
|
283
285
|
docs/SignInRequest.md
|
|
286
|
+
docs/SkillFile.md
|
|
284
287
|
docs/SkillOrder.md
|
|
285
288
|
docs/SkillResponse.md
|
|
286
|
-
docs/SkillScriptFile.md
|
|
287
289
|
docs/SkillSearchResult.md
|
|
288
290
|
docs/SkillVersionResponse.md
|
|
289
291
|
docs/SkillsApi.md
|
|
@@ -665,7 +667,9 @@ src/models/ProposeMemoryChunkRequest.ts
|
|
|
665
667
|
src/models/ProposedMemoryChunkResponse.ts
|
|
666
668
|
src/models/ReasoningPart.ts
|
|
667
669
|
src/models/ReferenceType.ts
|
|
670
|
+
src/models/ReorderPathPartRequest.ts
|
|
668
671
|
src/models/RequestPhoneChangeRequest.ts
|
|
672
|
+
src/models/ResolvedRef.ts
|
|
669
673
|
src/models/ResolvedReferenceInput.ts
|
|
670
674
|
src/models/ResolvedReferenceOutput.ts
|
|
671
675
|
src/models/ResponseSendPwResetEmail.ts
|
|
@@ -693,9 +697,9 @@ src/models/SetApprovalStateRequest.ts
|
|
|
693
697
|
src/models/SetWorkflowRunApprovalRequest.ts
|
|
694
698
|
src/models/SheetVisibilityChange.ts
|
|
695
699
|
src/models/SignInRequest.ts
|
|
700
|
+
src/models/SkillFile.ts
|
|
696
701
|
src/models/SkillOrder.ts
|
|
697
702
|
src/models/SkillResponse.ts
|
|
698
|
-
src/models/SkillScriptFile.ts
|
|
699
703
|
src/models/SkillSearchResult.ts
|
|
700
704
|
src/models/SkillVersionResponse.ts
|
|
701
705
|
src/models/SortDirection.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.145.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -177,6 +177,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
177
177
|
*PathPartsApi* | [**getPathPartTags**](docs/PathPartsApi.md#getpathparttags) | **GET** /v1/path-parts/{path_part_id}/tags | Get Path Part Tags Handler
|
|
178
178
|
*PathPartsApi* | [**listPathPartEvents**](docs/PathPartsApi.md#listpathpartevents) | **GET** /v1/path-parts/{path_part_id}/events | List Path Part Events Handler
|
|
179
179
|
*PathPartsApi* | [**listPathParts**](docs/PathPartsApi.md#listpathparts) | **GET** /v1/path-parts | List Path Parts Handler
|
|
180
|
+
*PathPartsApi* | [**reorderPathPart**](docs/PathPartsApi.md#reorderpathpartoperation) | **POST** /v1/path-parts/{path_part_id}/reorder | Reorder Path Part Handler
|
|
180
181
|
*PathPartsApi* | [**setPathPartTags**](docs/PathPartsApi.md#setpathparttags) | **POST** /v1/path-parts/{path_part_id}/tags | Set Path Part Tags Handler
|
|
181
182
|
*PathPartsApi* | [**transferPathPartOwner**](docs/PathPartsApi.md#transferpathpartowner) | **PUT** /v1/path-parts/{path_part_id}/owner | Transfer Path Part Owner Handler
|
|
182
183
|
*PublicApi* | [**listPublicSubscriptions**](docs/PublicApi.md#listpublicsubscriptions) | **GET** /public/subscriptions | List Public Subscriptions Handler
|
|
@@ -515,7 +516,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
515
516
|
- [ProposedMemoryChunkResponse](docs/ProposedMemoryChunkResponse.md)
|
|
516
517
|
- [ReasoningPart](docs/ReasoningPart.md)
|
|
517
518
|
- [ReferenceType](docs/ReferenceType.md)
|
|
519
|
+
- [ReorderPathPartRequest](docs/ReorderPathPartRequest.md)
|
|
518
520
|
- [RequestPhoneChangeRequest](docs/RequestPhoneChangeRequest.md)
|
|
521
|
+
- [ResolvedRef](docs/ResolvedRef.md)
|
|
519
522
|
- [ResolvedReferenceInput](docs/ResolvedReferenceInput.md)
|
|
520
523
|
- [ResolvedReferenceOutput](docs/ResolvedReferenceOutput.md)
|
|
521
524
|
- [ResponseSendPwResetEmail](docs/ResponseSendPwResetEmail.md)
|
|
@@ -543,9 +546,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
543
546
|
- [SetWorkflowRunApprovalRequest](docs/SetWorkflowRunApprovalRequest.md)
|
|
544
547
|
- [SheetVisibilityChange](docs/SheetVisibilityChange.md)
|
|
545
548
|
- [SignInRequest](docs/SignInRequest.md)
|
|
549
|
+
- [SkillFile](docs/SkillFile.md)
|
|
546
550
|
- [SkillOrder](docs/SkillOrder.md)
|
|
547
551
|
- [SkillResponse](docs/SkillResponse.md)
|
|
548
|
-
- [SkillScriptFile](docs/SkillScriptFile.md)
|
|
549
552
|
- [SkillSearchResult](docs/SkillSearchResult.md)
|
|
550
553
|
- [SkillVersionResponse](docs/SkillVersionResponse.md)
|
|
551
554
|
- [SortDirection](docs/SortDirection.md)
|
|
@@ -670,7 +673,7 @@ and is automatically generated by the
|
|
|
670
673
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
671
674
|
|
|
672
675
|
- API version: `0.1.0`
|
|
673
|
-
- Package version: `1.
|
|
676
|
+
- Package version: `1.145.0`
|
|
674
677
|
- Generator version: `7.21.0`
|
|
675
678
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
676
679
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccessCheckResponse, AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, PermissionCapability, SortDirection, SubtreeChunksResponse, TransferOwnerRequest, TransferOwnerResponse } from '../models/index';
|
|
13
|
+
import type { AccessCheckResponse, AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, PermissionCapability, ReorderPathPartRequest, SortDirection, SubtreeChunksResponse, TransferOwnerRequest, TransferOwnerResponse } from '../models/index';
|
|
14
14
|
export interface AppendPathPartEventRequest {
|
|
15
15
|
pathPartId: string;
|
|
16
16
|
appendEventRequest: AppendEventRequest;
|
|
@@ -58,6 +58,10 @@ export interface ListPathPartsRequest {
|
|
|
58
58
|
updatedAfter?: Date | null;
|
|
59
59
|
updatedBefore?: Date | null;
|
|
60
60
|
}
|
|
61
|
+
export interface ReorderPathPartOperationRequest {
|
|
62
|
+
pathPartId: string;
|
|
63
|
+
reorderPathPartRequest: ReorderPathPartRequest;
|
|
64
|
+
}
|
|
61
65
|
export interface SetPathPartTagsRequest {
|
|
62
66
|
pathPartId: string;
|
|
63
67
|
bulkTagRequest: BulkTagRequest;
|
|
@@ -302,6 +306,29 @@ export interface PathPartsApiInterface {
|
|
|
302
306
|
* List Path Parts Handler
|
|
303
307
|
*/
|
|
304
308
|
listPathParts(requestParameters: ListPathPartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePathPartResponse>;
|
|
309
|
+
/**
|
|
310
|
+
* Creates request options for reorderPathPart without sending the request
|
|
311
|
+
* @param {string} pathPartId
|
|
312
|
+
* @param {ReorderPathPartRequest} reorderPathPartRequest
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
* @memberof PathPartsApiInterface
|
|
315
|
+
*/
|
|
316
|
+
reorderPathPartRequestOpts(requestParameters: ReorderPathPartOperationRequest): Promise<runtime.RequestOpts>;
|
|
317
|
+
/**
|
|
318
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
319
|
+
* @summary Reorder Path Part Handler
|
|
320
|
+
* @param {string} pathPartId
|
|
321
|
+
* @param {ReorderPathPartRequest} reorderPathPartRequest
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
* @memberof PathPartsApiInterface
|
|
325
|
+
*/
|
|
326
|
+
reorderPathPartRaw(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartResponse>>;
|
|
327
|
+
/**
|
|
328
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
329
|
+
* Reorder Path Part Handler
|
|
330
|
+
*/
|
|
331
|
+
reorderPathPart(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartResponse>;
|
|
305
332
|
/**
|
|
306
333
|
* Creates request options for setPathPartTags without sending the request
|
|
307
334
|
* @param {string} pathPartId
|
|
@@ -479,6 +506,20 @@ export declare class PathPartsApi extends runtime.BaseAPI implements PathPartsAp
|
|
|
479
506
|
* List Path Parts Handler
|
|
480
507
|
*/
|
|
481
508
|
listPathParts(requestParameters?: ListPathPartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePathPartResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* Creates request options for reorderPathPart without sending the request
|
|
511
|
+
*/
|
|
512
|
+
reorderPathPartRequestOpts(requestParameters: ReorderPathPartOperationRequest): Promise<runtime.RequestOpts>;
|
|
513
|
+
/**
|
|
514
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
515
|
+
* Reorder Path Part Handler
|
|
516
|
+
*/
|
|
517
|
+
reorderPathPartRaw(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartResponse>>;
|
|
518
|
+
/**
|
|
519
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
520
|
+
* Reorder Path Part Handler
|
|
521
|
+
*/
|
|
522
|
+
reorderPathPart(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartResponse>;
|
|
482
523
|
/**
|
|
483
524
|
* Creates request options for setPathPartTags without sending the request
|
|
484
525
|
*/
|
|
@@ -560,6 +560,59 @@ class PathPartsApi extends runtime.BaseAPI {
|
|
|
560
560
|
return yield response.value();
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
|
+
/**
|
|
564
|
+
* Creates request options for reorderPathPart without sending the request
|
|
565
|
+
*/
|
|
566
|
+
reorderPathPartRequestOpts(requestParameters) {
|
|
567
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
568
|
+
if (requestParameters['pathPartId'] == null) {
|
|
569
|
+
throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling reorderPathPart().');
|
|
570
|
+
}
|
|
571
|
+
if (requestParameters['reorderPathPartRequest'] == null) {
|
|
572
|
+
throw new runtime.RequiredError('reorderPathPartRequest', 'Required parameter "reorderPathPartRequest" was null or undefined when calling reorderPathPart().');
|
|
573
|
+
}
|
|
574
|
+
const queryParameters = {};
|
|
575
|
+
const headerParameters = {};
|
|
576
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
577
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
578
|
+
const token = this.configuration.accessToken;
|
|
579
|
+
const tokenString = yield token("bearerAuth", []);
|
|
580
|
+
if (tokenString) {
|
|
581
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
let urlPath = `/v1/path-parts/{path_part_id}/reorder`;
|
|
585
|
+
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
586
|
+
return {
|
|
587
|
+
path: urlPath,
|
|
588
|
+
method: 'POST',
|
|
589
|
+
headers: headerParameters,
|
|
590
|
+
query: queryParameters,
|
|
591
|
+
body: (0, index_1.ReorderPathPartRequestToJSON)(requestParameters['reorderPathPartRequest']),
|
|
592
|
+
};
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
597
|
+
* Reorder Path Part Handler
|
|
598
|
+
*/
|
|
599
|
+
reorderPathPartRaw(requestParameters, initOverrides) {
|
|
600
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
601
|
+
const requestOptions = yield this.reorderPathPartRequestOpts(requestParameters);
|
|
602
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
603
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PathPartResponseFromJSON)(jsonValue));
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
608
|
+
* Reorder Path Part Handler
|
|
609
|
+
*/
|
|
610
|
+
reorderPathPart(requestParameters, initOverrides) {
|
|
611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
612
|
+
const response = yield this.reorderPathPartRaw(requestParameters, initOverrides);
|
|
613
|
+
return yield response.value();
|
|
614
|
+
});
|
|
615
|
+
}
|
|
563
616
|
/**
|
|
564
617
|
* Creates request options for setPathPartTags without sending the request
|
|
565
618
|
*/
|
package/dist/apis/SkillsApi.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export interface ExportSkillRequest {
|
|
|
36
36
|
}
|
|
37
37
|
export interface GetSkillRequest {
|
|
38
38
|
skillId: string;
|
|
39
|
+
includeFileContents?: boolean;
|
|
39
40
|
}
|
|
40
41
|
export interface ImportSkillRequest {
|
|
41
42
|
file: Blob;
|
|
@@ -221,21 +222,23 @@ export interface SkillsApiInterface {
|
|
|
221
222
|
/**
|
|
222
223
|
* Creates request options for getSkill without sending the request
|
|
223
224
|
* @param {string} skillId
|
|
225
|
+
* @param {boolean} [includeFileContents] Include every bundle file\'s contents (base64 for binary). Off by default — the editor opts in; a large skill\'s contents can be many MB and one S3 read per file.
|
|
224
226
|
* @throws {RequiredError}
|
|
225
227
|
* @memberof SkillsApiInterface
|
|
226
228
|
*/
|
|
227
229
|
getSkillRequestOpts(requestParameters: GetSkillRequest): Promise<runtime.RequestOpts>;
|
|
228
230
|
/**
|
|
229
|
-
* Skill detail: SKILL.md,
|
|
231
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
230
232
|
* @summary Get Skill Handler
|
|
231
233
|
* @param {string} skillId
|
|
234
|
+
* @param {boolean} [includeFileContents] Include every bundle file\'s contents (base64 for binary). Off by default — the editor opts in; a large skill\'s contents can be many MB and one S3 read per file.
|
|
232
235
|
* @param {*} [options] Override http request option.
|
|
233
236
|
* @throws {RequiredError}
|
|
234
237
|
* @memberof SkillsApiInterface
|
|
235
238
|
*/
|
|
236
239
|
getSkillRaw(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
237
240
|
/**
|
|
238
|
-
* Skill detail: SKILL.md,
|
|
241
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
239
242
|
* Get Skill Handler
|
|
240
243
|
*/
|
|
241
244
|
getSkill(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -247,7 +250,7 @@ export interface SkillsApiInterface {
|
|
|
247
250
|
*/
|
|
248
251
|
importSkillRequestOpts(requestParameters: ImportSkillRequest): Promise<runtime.RequestOpts>;
|
|
249
252
|
/**
|
|
250
|
-
* Create a skill
|
|
253
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
251
254
|
* @summary Import Skill Handler
|
|
252
255
|
* @param {Blob} file
|
|
253
256
|
* @param {*} [options] Override http request option.
|
|
@@ -256,7 +259,7 @@ export interface SkillsApiInterface {
|
|
|
256
259
|
*/
|
|
257
260
|
importSkillRaw(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
258
261
|
/**
|
|
259
|
-
* Create a skill
|
|
262
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
260
263
|
* Import Skill Handler
|
|
261
264
|
*/
|
|
262
265
|
importSkill(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -483,12 +486,12 @@ export declare class SkillsApi extends runtime.BaseAPI implements SkillsApiInter
|
|
|
483
486
|
*/
|
|
484
487
|
getSkillRequestOpts(requestParameters: GetSkillRequest): Promise<runtime.RequestOpts>;
|
|
485
488
|
/**
|
|
486
|
-
* Skill detail: SKILL.md,
|
|
489
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
487
490
|
* Get Skill Handler
|
|
488
491
|
*/
|
|
489
492
|
getSkillRaw(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
490
493
|
/**
|
|
491
|
-
* Skill detail: SKILL.md,
|
|
494
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
492
495
|
* Get Skill Handler
|
|
493
496
|
*/
|
|
494
497
|
getSkill(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -497,12 +500,12 @@ export declare class SkillsApi extends runtime.BaseAPI implements SkillsApiInter
|
|
|
497
500
|
*/
|
|
498
501
|
importSkillRequestOpts(requestParameters: ImportSkillRequest): Promise<runtime.RequestOpts>;
|
|
499
502
|
/**
|
|
500
|
-
* Create a skill
|
|
503
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
501
504
|
* Import Skill Handler
|
|
502
505
|
*/
|
|
503
506
|
importSkillRaw(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
504
507
|
/**
|
|
505
|
-
* Create a skill
|
|
508
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
506
509
|
* Import Skill Handler
|
|
507
510
|
*/
|
|
508
511
|
importSkill(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
package/dist/apis/SkillsApi.js
CHANGED
|
@@ -420,6 +420,9 @@ class SkillsApi extends runtime.BaseAPI {
|
|
|
420
420
|
throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling getSkill().');
|
|
421
421
|
}
|
|
422
422
|
const queryParameters = {};
|
|
423
|
+
if (requestParameters['includeFileContents'] != null) {
|
|
424
|
+
queryParameters['include_file_contents'] = requestParameters['includeFileContents'];
|
|
425
|
+
}
|
|
423
426
|
const headerParameters = {};
|
|
424
427
|
if (this.configuration && this.configuration.accessToken) {
|
|
425
428
|
const token = this.configuration.accessToken;
|
|
@@ -439,7 +442,7 @@ class SkillsApi extends runtime.BaseAPI {
|
|
|
439
442
|
});
|
|
440
443
|
}
|
|
441
444
|
/**
|
|
442
|
-
* Skill detail: SKILL.md,
|
|
445
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
443
446
|
* Get Skill Handler
|
|
444
447
|
*/
|
|
445
448
|
getSkillRaw(requestParameters, initOverrides) {
|
|
@@ -450,7 +453,7 @@ class SkillsApi extends runtime.BaseAPI {
|
|
|
450
453
|
});
|
|
451
454
|
}
|
|
452
455
|
/**
|
|
453
|
-
* Skill detail: SKILL.md,
|
|
456
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
454
457
|
* Get Skill Handler
|
|
455
458
|
*/
|
|
456
459
|
getSkill(requestParameters, initOverrides) {
|
|
@@ -505,7 +508,7 @@ class SkillsApi extends runtime.BaseAPI {
|
|
|
505
508
|
});
|
|
506
509
|
}
|
|
507
510
|
/**
|
|
508
|
-
* Create a skill
|
|
511
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
509
512
|
* Import Skill Handler
|
|
510
513
|
*/
|
|
511
514
|
importSkillRaw(requestParameters, initOverrides) {
|
|
@@ -516,7 +519,7 @@ class SkillsApi extends runtime.BaseAPI {
|
|
|
516
519
|
});
|
|
517
520
|
}
|
|
518
521
|
/**
|
|
519
|
-
* Create a skill
|
|
522
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
520
523
|
* Import Skill Handler
|
|
521
524
|
*/
|
|
522
525
|
importSkill(requestParameters, initOverrides) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AccessCheckResponse, AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, PermissionCapability, SortDirection, SubtreeChunksResponse, TransferOwnerRequest, TransferOwnerResponse } from '../models/index';
|
|
13
|
+
import type { AccessCheckResponse, AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, PermissionCapability, ReorderPathPartRequest, SortDirection, SubtreeChunksResponse, TransferOwnerRequest, TransferOwnerResponse } from '../models/index';
|
|
14
14
|
export interface AppendPathPartEventRequest {
|
|
15
15
|
pathPartId: string;
|
|
16
16
|
appendEventRequest: AppendEventRequest;
|
|
@@ -58,6 +58,10 @@ export interface ListPathPartsRequest {
|
|
|
58
58
|
updatedAfter?: Date | null;
|
|
59
59
|
updatedBefore?: Date | null;
|
|
60
60
|
}
|
|
61
|
+
export interface ReorderPathPartOperationRequest {
|
|
62
|
+
pathPartId: string;
|
|
63
|
+
reorderPathPartRequest: ReorderPathPartRequest;
|
|
64
|
+
}
|
|
61
65
|
export interface SetPathPartTagsRequest {
|
|
62
66
|
pathPartId: string;
|
|
63
67
|
bulkTagRequest: BulkTagRequest;
|
|
@@ -302,6 +306,29 @@ export interface PathPartsApiInterface {
|
|
|
302
306
|
* List Path Parts Handler
|
|
303
307
|
*/
|
|
304
308
|
listPathParts(requestParameters: ListPathPartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePathPartResponse>;
|
|
309
|
+
/**
|
|
310
|
+
* Creates request options for reorderPathPart without sending the request
|
|
311
|
+
* @param {string} pathPartId
|
|
312
|
+
* @param {ReorderPathPartRequest} reorderPathPartRequest
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
* @memberof PathPartsApiInterface
|
|
315
|
+
*/
|
|
316
|
+
reorderPathPartRequestOpts(requestParameters: ReorderPathPartOperationRequest): Promise<runtime.RequestOpts>;
|
|
317
|
+
/**
|
|
318
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
319
|
+
* @summary Reorder Path Part Handler
|
|
320
|
+
* @param {string} pathPartId
|
|
321
|
+
* @param {ReorderPathPartRequest} reorderPathPartRequest
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
* @memberof PathPartsApiInterface
|
|
325
|
+
*/
|
|
326
|
+
reorderPathPartRaw(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartResponse>>;
|
|
327
|
+
/**
|
|
328
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
329
|
+
* Reorder Path Part Handler
|
|
330
|
+
*/
|
|
331
|
+
reorderPathPart(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartResponse>;
|
|
305
332
|
/**
|
|
306
333
|
* Creates request options for setPathPartTags without sending the request
|
|
307
334
|
* @param {string} pathPartId
|
|
@@ -479,6 +506,20 @@ export declare class PathPartsApi extends runtime.BaseAPI implements PathPartsAp
|
|
|
479
506
|
* List Path Parts Handler
|
|
480
507
|
*/
|
|
481
508
|
listPathParts(requestParameters?: ListPathPartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponsePathPartResponse>;
|
|
509
|
+
/**
|
|
510
|
+
* Creates request options for reorderPathPart without sending the request
|
|
511
|
+
*/
|
|
512
|
+
reorderPathPartRequestOpts(requestParameters: ReorderPathPartOperationRequest): Promise<runtime.RequestOpts>;
|
|
513
|
+
/**
|
|
514
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
515
|
+
* Reorder Path Part Handler
|
|
516
|
+
*/
|
|
517
|
+
reorderPathPartRaw(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PathPartResponse>>;
|
|
518
|
+
/**
|
|
519
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
520
|
+
* Reorder Path Part Handler
|
|
521
|
+
*/
|
|
522
|
+
reorderPathPart(requestParameters: ReorderPathPartOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartResponse>;
|
|
482
523
|
/**
|
|
483
524
|
* Creates request options for setPathPartTags without sending the request
|
|
484
525
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AccessCheckResponseFromJSON, AncestryResponseFromJSON, AppendEventRequestToJSON, BulkTagRequestToJSON, EventResponseFromJSON, PaginatedResponseEventResponseFromJSON, PaginatedResponsePathPartResponseFromJSON, PathPartResponseFromJSON, PathPartTagsResponseFromJSON, SubtreeChunksResponseFromJSON, TransferOwnerRequestToJSON, TransferOwnerResponseFromJSON, } from '../models/index';
|
|
24
|
+
import { AccessCheckResponseFromJSON, AncestryResponseFromJSON, AppendEventRequestToJSON, BulkTagRequestToJSON, EventResponseFromJSON, PaginatedResponseEventResponseFromJSON, PaginatedResponsePathPartResponseFromJSON, PathPartResponseFromJSON, PathPartTagsResponseFromJSON, ReorderPathPartRequestToJSON, SubtreeChunksResponseFromJSON, TransferOwnerRequestToJSON, TransferOwnerResponseFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -524,6 +524,59 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
524
524
|
return yield response.value();
|
|
525
525
|
});
|
|
526
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* Creates request options for reorderPathPart without sending the request
|
|
529
|
+
*/
|
|
530
|
+
reorderPathPartRequestOpts(requestParameters) {
|
|
531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
+
if (requestParameters['pathPartId'] == null) {
|
|
533
|
+
throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling reorderPathPart().');
|
|
534
|
+
}
|
|
535
|
+
if (requestParameters['reorderPathPartRequest'] == null) {
|
|
536
|
+
throw new runtime.RequiredError('reorderPathPartRequest', 'Required parameter "reorderPathPartRequest" was null or undefined when calling reorderPathPart().');
|
|
537
|
+
}
|
|
538
|
+
const queryParameters = {};
|
|
539
|
+
const headerParameters = {};
|
|
540
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
541
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
542
|
+
const token = this.configuration.accessToken;
|
|
543
|
+
const tokenString = yield token("bearerAuth", []);
|
|
544
|
+
if (tokenString) {
|
|
545
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
let urlPath = `/v1/path-parts/{path_part_id}/reorder`;
|
|
549
|
+
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
550
|
+
return {
|
|
551
|
+
path: urlPath,
|
|
552
|
+
method: 'POST',
|
|
553
|
+
headers: headerParameters,
|
|
554
|
+
query: queryParameters,
|
|
555
|
+
body: ReorderPathPartRequestToJSON(requestParameters['reorderPathPartRequest']),
|
|
556
|
+
};
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
561
|
+
* Reorder Path Part Handler
|
|
562
|
+
*/
|
|
563
|
+
reorderPathPartRaw(requestParameters, initOverrides) {
|
|
564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
565
|
+
const requestOptions = yield this.reorderPathPartRequestOpts(requestParameters);
|
|
566
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
567
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PathPartResponseFromJSON(jsonValue));
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Reorder a path part within its sibling list. The left-nav order follows the path_part sibling linked list: one per-parent chain shared by everyone in the tenant. Moving is confined to the node\'s current parent; use the folder/document move endpoints to change parents.
|
|
572
|
+
* Reorder Path Part Handler
|
|
573
|
+
*/
|
|
574
|
+
reorderPathPart(requestParameters, initOverrides) {
|
|
575
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
576
|
+
const response = yield this.reorderPathPartRaw(requestParameters, initOverrides);
|
|
577
|
+
return yield response.value();
|
|
578
|
+
});
|
|
579
|
+
}
|
|
527
580
|
/**
|
|
528
581
|
* Creates request options for setPathPartTags without sending the request
|
|
529
582
|
*/
|
|
@@ -36,6 +36,7 @@ export interface ExportSkillRequest {
|
|
|
36
36
|
}
|
|
37
37
|
export interface GetSkillRequest {
|
|
38
38
|
skillId: string;
|
|
39
|
+
includeFileContents?: boolean;
|
|
39
40
|
}
|
|
40
41
|
export interface ImportSkillRequest {
|
|
41
42
|
file: Blob;
|
|
@@ -221,21 +222,23 @@ export interface SkillsApiInterface {
|
|
|
221
222
|
/**
|
|
222
223
|
* Creates request options for getSkill without sending the request
|
|
223
224
|
* @param {string} skillId
|
|
225
|
+
* @param {boolean} [includeFileContents] Include every bundle file\'s contents (base64 for binary). Off by default — the editor opts in; a large skill\'s contents can be many MB and one S3 read per file.
|
|
224
226
|
* @throws {RequiredError}
|
|
225
227
|
* @memberof SkillsApiInterface
|
|
226
228
|
*/
|
|
227
229
|
getSkillRequestOpts(requestParameters: GetSkillRequest): Promise<runtime.RequestOpts>;
|
|
228
230
|
/**
|
|
229
|
-
* Skill detail: SKILL.md,
|
|
231
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
230
232
|
* @summary Get Skill Handler
|
|
231
233
|
* @param {string} skillId
|
|
234
|
+
* @param {boolean} [includeFileContents] Include every bundle file\'s contents (base64 for binary). Off by default — the editor opts in; a large skill\'s contents can be many MB and one S3 read per file.
|
|
232
235
|
* @param {*} [options] Override http request option.
|
|
233
236
|
* @throws {RequiredError}
|
|
234
237
|
* @memberof SkillsApiInterface
|
|
235
238
|
*/
|
|
236
239
|
getSkillRaw(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
237
240
|
/**
|
|
238
|
-
* Skill detail: SKILL.md,
|
|
241
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
239
242
|
* Get Skill Handler
|
|
240
243
|
*/
|
|
241
244
|
getSkill(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -247,7 +250,7 @@ export interface SkillsApiInterface {
|
|
|
247
250
|
*/
|
|
248
251
|
importSkillRequestOpts(requestParameters: ImportSkillRequest): Promise<runtime.RequestOpts>;
|
|
249
252
|
/**
|
|
250
|
-
* Create a skill
|
|
253
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
251
254
|
* @summary Import Skill Handler
|
|
252
255
|
* @param {Blob} file
|
|
253
256
|
* @param {*} [options] Override http request option.
|
|
@@ -256,7 +259,7 @@ export interface SkillsApiInterface {
|
|
|
256
259
|
*/
|
|
257
260
|
importSkillRaw(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
258
261
|
/**
|
|
259
|
-
* Create a skill
|
|
262
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
260
263
|
* Import Skill Handler
|
|
261
264
|
*/
|
|
262
265
|
importSkill(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -483,12 +486,12 @@ export declare class SkillsApi extends runtime.BaseAPI implements SkillsApiInter
|
|
|
483
486
|
*/
|
|
484
487
|
getSkillRequestOpts(requestParameters: GetSkillRequest): Promise<runtime.RequestOpts>;
|
|
485
488
|
/**
|
|
486
|
-
* Skill detail: SKILL.md,
|
|
489
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
487
490
|
* Get Skill Handler
|
|
488
491
|
*/
|
|
489
492
|
getSkillRaw(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
490
493
|
/**
|
|
491
|
-
* Skill detail: SKILL.md,
|
|
494
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
492
495
|
* Get Skill Handler
|
|
493
496
|
*/
|
|
494
497
|
getSkill(requestParameters: GetSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -497,12 +500,12 @@ export declare class SkillsApi extends runtime.BaseAPI implements SkillsApiInter
|
|
|
497
500
|
*/
|
|
498
501
|
importSkillRequestOpts(requestParameters: ImportSkillRequest): Promise<runtime.RequestOpts>;
|
|
499
502
|
/**
|
|
500
|
-
* Create a skill
|
|
503
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
501
504
|
* Import Skill Handler
|
|
502
505
|
*/
|
|
503
506
|
importSkillRaw(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillResponse>>;
|
|
504
507
|
/**
|
|
505
|
-
* Create a skill
|
|
508
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
506
509
|
* Import Skill Handler
|
|
507
510
|
*/
|
|
508
511
|
importSkill(requestParameters: ImportSkillRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillResponse>;
|
|
@@ -384,6 +384,9 @@ export class SkillsApi extends runtime.BaseAPI {
|
|
|
384
384
|
throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling getSkill().');
|
|
385
385
|
}
|
|
386
386
|
const queryParameters = {};
|
|
387
|
+
if (requestParameters['includeFileContents'] != null) {
|
|
388
|
+
queryParameters['include_file_contents'] = requestParameters['includeFileContents'];
|
|
389
|
+
}
|
|
387
390
|
const headerParameters = {};
|
|
388
391
|
if (this.configuration && this.configuration.accessToken) {
|
|
389
392
|
const token = this.configuration.accessToken;
|
|
@@ -403,7 +406,7 @@ export class SkillsApi extends runtime.BaseAPI {
|
|
|
403
406
|
});
|
|
404
407
|
}
|
|
405
408
|
/**
|
|
406
|
-
* Skill detail: SKILL.md,
|
|
409
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
407
410
|
* Get Skill Handler
|
|
408
411
|
*/
|
|
409
412
|
getSkillRaw(requestParameters, initOverrides) {
|
|
@@ -414,7 +417,7 @@ export class SkillsApi extends runtime.BaseAPI {
|
|
|
414
417
|
});
|
|
415
418
|
}
|
|
416
419
|
/**
|
|
417
|
-
* Skill detail: SKILL.md,
|
|
420
|
+
* Skill detail: SKILL.md, file paths (+ contents on request), perms.
|
|
418
421
|
* Get Skill Handler
|
|
419
422
|
*/
|
|
420
423
|
getSkill(requestParameters, initOverrides) {
|
|
@@ -469,7 +472,7 @@ export class SkillsApi extends runtime.BaseAPI {
|
|
|
469
472
|
});
|
|
470
473
|
}
|
|
471
474
|
/**
|
|
472
|
-
* Create a skill
|
|
475
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
473
476
|
* Import Skill Handler
|
|
474
477
|
*/
|
|
475
478
|
importSkillRaw(requestParameters, initOverrides) {
|
|
@@ -480,7 +483,7 @@ export class SkillsApi extends runtime.BaseAPI {
|
|
|
480
483
|
});
|
|
481
484
|
}
|
|
482
485
|
/**
|
|
483
|
-
* Create a skill
|
|
486
|
+
* Create a skill from an uploaded ZIP or tarball (works across tenants).
|
|
484
487
|
* Import Skill Handler
|
|
485
488
|
*/
|
|
486
489
|
importSkill(requestParameters, initOverrides) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { SkillFile } from './SkillFile';
|
|
13
13
|
/**
|
|
14
14
|
* Author a skill from a SKILL.md bundle.
|
|
15
15
|
* @export
|
|
@@ -29,11 +29,11 @@ export interface CreateSkillRequest {
|
|
|
29
29
|
*/
|
|
30
30
|
skillMd: string;
|
|
31
31
|
/**
|
|
32
|
-
* Optional
|
|
33
|
-
* @type {Array<
|
|
32
|
+
* Optional bundle files at paths relative to the skill root (scripts/, references/, assets/, …). SKILL.md is supplied separately and must not be repeated here.
|
|
33
|
+
* @type {Array<SkillFile>}
|
|
34
34
|
* @memberof CreateSkillRequest
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
files?: Array<SkillFile>;
|
|
37
37
|
}
|
|
38
38
|
export declare const CreateSkillRequestPropertyValidationAttributesMap: {
|
|
39
39
|
[property: string]: {
|