@quantcdn/quant-client 4.11.1 → 4.12.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/api.ts +1926 -303
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1510 -340
- package/dist/api.js +1119 -250
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1510 -340
- package/dist/esm/api.js +1079 -210
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* QuantCDN API
|
|
5
5
|
* Unified API for QuantCDN Admin and QuantCloud Platform services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.
|
|
7
|
+
* The version of the OpenAPI document: 4.12.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -217,6 +217,13 @@ export const ImageGenerationRequestTextToImageParamsControlModeEnum = {
|
|
|
217
217
|
CannyEdge: 'CANNY_EDGE',
|
|
218
218
|
Segmentation: 'SEGMENTATION'
|
|
219
219
|
};
|
|
220
|
+
export const ImportSkillCollectionRequestSourceTypeEnum = {
|
|
221
|
+
Github: 'github'
|
|
222
|
+
};
|
|
223
|
+
export const ImportSkillRequestSourceTypeEnum = {
|
|
224
|
+
SkillsSh: 'skills.sh',
|
|
225
|
+
Github: 'github'
|
|
226
|
+
};
|
|
220
227
|
export const ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = {
|
|
221
228
|
Pending: 'pending',
|
|
222
229
|
Running: 'running',
|
|
@@ -3347,182 +3354,1070 @@ export const AISessionsApiFp = function (configuration) {
|
|
|
3347
3354
|
* @param {*} [options] Override http request option.
|
|
3348
3355
|
* @throws {RequiredError}
|
|
3349
3356
|
*/
|
|
3350
|
-
updateAISession(organisation, sessionId, updateAISessionRequest, options) {
|
|
3357
|
+
updateAISession(organisation, sessionId, updateAISessionRequest, options) {
|
|
3358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3359
|
+
var _a, _b, _c;
|
|
3360
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAISession(organisation, sessionId, updateAISessionRequest, options);
|
|
3361
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3362
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISessionsApi.updateAISession']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3363
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3364
|
+
});
|
|
3365
|
+
},
|
|
3366
|
+
};
|
|
3367
|
+
};
|
|
3368
|
+
/**
|
|
3369
|
+
* AISessionsApi - factory interface
|
|
3370
|
+
* @export
|
|
3371
|
+
*/
|
|
3372
|
+
export const AISessionsApiFactory = function (configuration, basePath, axios) {
|
|
3373
|
+
const localVarFp = AISessionsApiFp(configuration);
|
|
3374
|
+
return {
|
|
3375
|
+
/**
|
|
3376
|
+
* Creates an AI session with automatic expiration (60 min default, 24h max). Sessions are isolated by organization. Use userId to identify the user creating the session. Use sessionGroup for logical grouping. Use metadata for additional custom data. Filter sessions by userId or sessionGroup when listing.
|
|
3377
|
+
* @summary Create a new chat session with multi-tenant isolation
|
|
3378
|
+
* @param {string} organisation The organisation ID
|
|
3379
|
+
* @param {CreateAISessionRequest} createAISessionRequest
|
|
3380
|
+
* @param {*} [options] Override http request option.
|
|
3381
|
+
* @throws {RequiredError}
|
|
3382
|
+
*/
|
|
3383
|
+
createAISession(organisation, createAISessionRequest, options) {
|
|
3384
|
+
return localVarFp.createAISession(organisation, createAISessionRequest, options).then((request) => request(axios, basePath));
|
|
3385
|
+
},
|
|
3386
|
+
/**
|
|
3387
|
+
*
|
|
3388
|
+
* @summary Delete a chat session
|
|
3389
|
+
* @param {string} organisation The organisation ID
|
|
3390
|
+
* @param {string} sessionId The session ID
|
|
3391
|
+
* @param {*} [options] Override http request option.
|
|
3392
|
+
* @throws {RequiredError}
|
|
3393
|
+
*/
|
|
3394
|
+
deleteAISession(organisation, sessionId, options) {
|
|
3395
|
+
return localVarFp.deleteAISession(organisation, sessionId, options).then((request) => request(axios, basePath));
|
|
3396
|
+
},
|
|
3397
|
+
/**
|
|
3398
|
+
* Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
|
|
3399
|
+
* @summary Extend Session Expiration
|
|
3400
|
+
* @param {string} organisation The organisation ID
|
|
3401
|
+
* @param {string} sessionId The session ID
|
|
3402
|
+
* @param {ExtendAISessionRequest} [extendAISessionRequest]
|
|
3403
|
+
* @param {*} [options] Override http request option.
|
|
3404
|
+
* @throws {RequiredError}
|
|
3405
|
+
*/
|
|
3406
|
+
extendAISession(organisation, sessionId, extendAISessionRequest, options) {
|
|
3407
|
+
return localVarFp.extendAISession(organisation, sessionId, extendAISessionRequest, options).then((request) => request(axios, basePath));
|
|
3408
|
+
},
|
|
3409
|
+
/**
|
|
3410
|
+
*
|
|
3411
|
+
* @summary Get a specific chat session
|
|
3412
|
+
* @param {string} organisation The organisation ID
|
|
3413
|
+
* @param {string} sessionId The session ID
|
|
3414
|
+
* @param {*} [options] Override http request option.
|
|
3415
|
+
* @throws {RequiredError}
|
|
3416
|
+
*/
|
|
3417
|
+
getAISession(organisation, sessionId, options) {
|
|
3418
|
+
return localVarFp.getAISession(organisation, sessionId, options).then((request) => request(axios, basePath));
|
|
3419
|
+
},
|
|
3420
|
+
/**
|
|
3421
|
+
* Lists active sessions for an organization with flexible filtering options. * * **Query Combinations:** * 1. By Organization (default): Returns all sessions in the organization * 2. By Organization + Group: `?sessionGroup=drupal-prod` - Sessions in a specific group * 3. By User: `?userId=user-123` - All sessions for a user * 4. By User + Group: `?userId=user-123&sessionGroup=drupal-prod` - User\'s sessions in a specific group * * **Use Cases:** * - List user\'s conversations in a specific app/environment * - Admin view of all sessions in a customer/tenant group * - User profile showing all AI conversations across apps
|
|
3422
|
+
* @summary List chat sessions with multi-tenant filtering
|
|
3423
|
+
* @param {string} organisation The organisation ID
|
|
3424
|
+
* @param {string} [userId] Filter sessions by user ID
|
|
3425
|
+
* @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
|
|
3426
|
+
* @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
|
|
3427
|
+
* @param {number} [offset] Offset for pagination
|
|
3428
|
+
* @param {string} [model] Filter by model ID
|
|
3429
|
+
* @param {*} [options] Override http request option.
|
|
3430
|
+
* @throws {RequiredError}
|
|
3431
|
+
*/
|
|
3432
|
+
listAISessions(organisation, userId, sessionGroup, limit, offset, model, options) {
|
|
3433
|
+
return localVarFp.listAISessions(organisation, userId, sessionGroup, limit, offset, model, options).then((request) => request(axios, basePath));
|
|
3434
|
+
},
|
|
3435
|
+
/**
|
|
3436
|
+
* Updates session with new conversation messages and tracks token usage. Appends new messages to conversation history and updates session stats. * * **Typical Flow:** * 1. Get session to retrieve conversation history * 2. Call AI inference with full message history * 3. Update session with new user + assistant messages
|
|
3437
|
+
* @summary Update Session
|
|
3438
|
+
* @param {string} organisation The organisation ID
|
|
3439
|
+
* @param {string} sessionId The session ID
|
|
3440
|
+
* @param {UpdateAISessionRequest} updateAISessionRequest
|
|
3441
|
+
* @param {*} [options] Override http request option.
|
|
3442
|
+
* @throws {RequiredError}
|
|
3443
|
+
*/
|
|
3444
|
+
updateAISession(organisation, sessionId, updateAISessionRequest, options) {
|
|
3445
|
+
return localVarFp.updateAISession(organisation, sessionId, updateAISessionRequest, options).then((request) => request(axios, basePath));
|
|
3446
|
+
},
|
|
3447
|
+
};
|
|
3448
|
+
};
|
|
3449
|
+
/**
|
|
3450
|
+
* AISessionsApi - object-oriented interface
|
|
3451
|
+
* @export
|
|
3452
|
+
* @class AISessionsApi
|
|
3453
|
+
* @extends {BaseAPI}
|
|
3454
|
+
*/
|
|
3455
|
+
export class AISessionsApi extends BaseAPI {
|
|
3456
|
+
/**
|
|
3457
|
+
* Creates an AI session with automatic expiration (60 min default, 24h max). Sessions are isolated by organization. Use userId to identify the user creating the session. Use sessionGroup for logical grouping. Use metadata for additional custom data. Filter sessions by userId or sessionGroup when listing.
|
|
3458
|
+
* @summary Create a new chat session with multi-tenant isolation
|
|
3459
|
+
* @param {string} organisation The organisation ID
|
|
3460
|
+
* @param {CreateAISessionRequest} createAISessionRequest
|
|
3461
|
+
* @param {*} [options] Override http request option.
|
|
3462
|
+
* @throws {RequiredError}
|
|
3463
|
+
* @memberof AISessionsApi
|
|
3464
|
+
*/
|
|
3465
|
+
createAISession(organisation, createAISessionRequest, options) {
|
|
3466
|
+
return AISessionsApiFp(this.configuration).createAISession(organisation, createAISessionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3467
|
+
}
|
|
3468
|
+
/**
|
|
3469
|
+
*
|
|
3470
|
+
* @summary Delete a chat session
|
|
3471
|
+
* @param {string} organisation The organisation ID
|
|
3472
|
+
* @param {string} sessionId The session ID
|
|
3473
|
+
* @param {*} [options] Override http request option.
|
|
3474
|
+
* @throws {RequiredError}
|
|
3475
|
+
* @memberof AISessionsApi
|
|
3476
|
+
*/
|
|
3477
|
+
deleteAISession(organisation, sessionId, options) {
|
|
3478
|
+
return AISessionsApiFp(this.configuration).deleteAISession(organisation, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3479
|
+
}
|
|
3480
|
+
/**
|
|
3481
|
+
* Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
|
|
3482
|
+
* @summary Extend Session Expiration
|
|
3483
|
+
* @param {string} organisation The organisation ID
|
|
3484
|
+
* @param {string} sessionId The session ID
|
|
3485
|
+
* @param {ExtendAISessionRequest} [extendAISessionRequest]
|
|
3486
|
+
* @param {*} [options] Override http request option.
|
|
3487
|
+
* @throws {RequiredError}
|
|
3488
|
+
* @memberof AISessionsApi
|
|
3489
|
+
*/
|
|
3490
|
+
extendAISession(organisation, sessionId, extendAISessionRequest, options) {
|
|
3491
|
+
return AISessionsApiFp(this.configuration).extendAISession(organisation, sessionId, extendAISessionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3492
|
+
}
|
|
3493
|
+
/**
|
|
3494
|
+
*
|
|
3495
|
+
* @summary Get a specific chat session
|
|
3496
|
+
* @param {string} organisation The organisation ID
|
|
3497
|
+
* @param {string} sessionId The session ID
|
|
3498
|
+
* @param {*} [options] Override http request option.
|
|
3499
|
+
* @throws {RequiredError}
|
|
3500
|
+
* @memberof AISessionsApi
|
|
3501
|
+
*/
|
|
3502
|
+
getAISession(organisation, sessionId, options) {
|
|
3503
|
+
return AISessionsApiFp(this.configuration).getAISession(organisation, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3504
|
+
}
|
|
3505
|
+
/**
|
|
3506
|
+
* Lists active sessions for an organization with flexible filtering options. * * **Query Combinations:** * 1. By Organization (default): Returns all sessions in the organization * 2. By Organization + Group: `?sessionGroup=drupal-prod` - Sessions in a specific group * 3. By User: `?userId=user-123` - All sessions for a user * 4. By User + Group: `?userId=user-123&sessionGroup=drupal-prod` - User\'s sessions in a specific group * * **Use Cases:** * - List user\'s conversations in a specific app/environment * - Admin view of all sessions in a customer/tenant group * - User profile showing all AI conversations across apps
|
|
3507
|
+
* @summary List chat sessions with multi-tenant filtering
|
|
3508
|
+
* @param {string} organisation The organisation ID
|
|
3509
|
+
* @param {string} [userId] Filter sessions by user ID
|
|
3510
|
+
* @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
|
|
3511
|
+
* @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
|
|
3512
|
+
* @param {number} [offset] Offset for pagination
|
|
3513
|
+
* @param {string} [model] Filter by model ID
|
|
3514
|
+
* @param {*} [options] Override http request option.
|
|
3515
|
+
* @throws {RequiredError}
|
|
3516
|
+
* @memberof AISessionsApi
|
|
3517
|
+
*/
|
|
3518
|
+
listAISessions(organisation, userId, sessionGroup, limit, offset, model, options) {
|
|
3519
|
+
return AISessionsApiFp(this.configuration).listAISessions(organisation, userId, sessionGroup, limit, offset, model, options).then((request) => request(this.axios, this.basePath));
|
|
3520
|
+
}
|
|
3521
|
+
/**
|
|
3522
|
+
* Updates session with new conversation messages and tracks token usage. Appends new messages to conversation history and updates session stats. * * **Typical Flow:** * 1. Get session to retrieve conversation history * 2. Call AI inference with full message history * 3. Update session with new user + assistant messages
|
|
3523
|
+
* @summary Update Session
|
|
3524
|
+
* @param {string} organisation The organisation ID
|
|
3525
|
+
* @param {string} sessionId The session ID
|
|
3526
|
+
* @param {UpdateAISessionRequest} updateAISessionRequest
|
|
3527
|
+
* @param {*} [options] Override http request option.
|
|
3528
|
+
* @throws {RequiredError}
|
|
3529
|
+
* @memberof AISessionsApi
|
|
3530
|
+
*/
|
|
3531
|
+
updateAISession(organisation, sessionId, updateAISessionRequest, options) {
|
|
3532
|
+
return AISessionsApiFp(this.configuration).updateAISession(organisation, sessionId, updateAISessionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3533
|
+
}
|
|
3534
|
+
}
|
|
3535
|
+
/**
|
|
3536
|
+
* AISkillsApi - axios parameter creator
|
|
3537
|
+
* @export
|
|
3538
|
+
*/
|
|
3539
|
+
export const AISkillsApiAxiosParamCreator = function (configuration) {
|
|
3540
|
+
return {
|
|
3541
|
+
/**
|
|
3542
|
+
* Creates a new skill with inline content. Use this for custom skills * that are defined directly in your organization. * * **Trigger Conditions:** * - Natural language description of when to use the skill * - Used by AI to determine when to suggest or apply the skill * - Example: \'When the user asks about code review or security analysis\'
|
|
3543
|
+
* @summary Create Inline Skill
|
|
3544
|
+
* @param {string} organisation The organisation ID
|
|
3545
|
+
* @param {CreateSkillRequest} createSkillRequest
|
|
3546
|
+
* @param {*} [options] Override http request option.
|
|
3547
|
+
* @throws {RequiredError}
|
|
3548
|
+
*/
|
|
3549
|
+
createSkill: (organisation_1, createSkillRequest_1, ...args_1) => __awaiter(this, [organisation_1, createSkillRequest_1, ...args_1], void 0, function* (organisation, createSkillRequest, options = {}) {
|
|
3550
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3551
|
+
assertParamExists('createSkill', 'organisation', organisation);
|
|
3552
|
+
// verify required parameter 'createSkillRequest' is not null or undefined
|
|
3553
|
+
assertParamExists('createSkill', 'createSkillRequest', createSkillRequest);
|
|
3554
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills`
|
|
3555
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3558
|
+
let baseOptions;
|
|
3559
|
+
if (configuration) {
|
|
3560
|
+
baseOptions = configuration.baseOptions;
|
|
3561
|
+
}
|
|
3562
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3563
|
+
const localVarHeaderParameter = {};
|
|
3564
|
+
const localVarQueryParameter = {};
|
|
3565
|
+
// authentication BearerAuth required
|
|
3566
|
+
// http bearer authentication required
|
|
3567
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3568
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3569
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3570
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3571
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3572
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createSkillRequest, localVarRequestOptions, configuration);
|
|
3573
|
+
return {
|
|
3574
|
+
url: toPathString(localVarUrlObj),
|
|
3575
|
+
options: localVarRequestOptions,
|
|
3576
|
+
};
|
|
3577
|
+
}),
|
|
3578
|
+
/**
|
|
3579
|
+
* Permanently deletes a skill. This will also remove it from any agents that have it assigned.
|
|
3580
|
+
* @summary Delete Skill
|
|
3581
|
+
* @param {string} organisation The organisation ID
|
|
3582
|
+
* @param {string} skillId The skill ID
|
|
3583
|
+
* @param {*} [options] Override http request option.
|
|
3584
|
+
* @throws {RequiredError}
|
|
3585
|
+
*/
|
|
3586
|
+
deleteSkill: (organisation_1, skillId_1, ...args_1) => __awaiter(this, [organisation_1, skillId_1, ...args_1], void 0, function* (organisation, skillId, options = {}) {
|
|
3587
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3588
|
+
assertParamExists('deleteSkill', 'organisation', organisation);
|
|
3589
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
3590
|
+
assertParamExists('deleteSkill', 'skillId', skillId);
|
|
3591
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/{skillId}`
|
|
3592
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
3593
|
+
.replace(`{${"skillId"}}`, encodeURIComponent(String(skillId)));
|
|
3594
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3595
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3596
|
+
let baseOptions;
|
|
3597
|
+
if (configuration) {
|
|
3598
|
+
baseOptions = configuration.baseOptions;
|
|
3599
|
+
}
|
|
3600
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3601
|
+
const localVarHeaderParameter = {};
|
|
3602
|
+
const localVarQueryParameter = {};
|
|
3603
|
+
// authentication BearerAuth required
|
|
3604
|
+
// http bearer authentication required
|
|
3605
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3606
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3607
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3608
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3609
|
+
return {
|
|
3610
|
+
url: toPathString(localVarUrlObj),
|
|
3611
|
+
options: localVarRequestOptions,
|
|
3612
|
+
};
|
|
3613
|
+
}),
|
|
3614
|
+
/**
|
|
3615
|
+
* Permanently deletes all skills in the specified namespace.
|
|
3616
|
+
* @summary Delete Skill Collection
|
|
3617
|
+
* @param {string} organisation The organisation ID
|
|
3618
|
+
* @param {string} namespace Collection namespace
|
|
3619
|
+
* @param {*} [options] Override http request option.
|
|
3620
|
+
* @throws {RequiredError}
|
|
3621
|
+
*/
|
|
3622
|
+
deleteSkillCollection: (organisation_1, namespace_1, ...args_1) => __awaiter(this, [organisation_1, namespace_1, ...args_1], void 0, function* (organisation, namespace, options = {}) {
|
|
3623
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3624
|
+
assertParamExists('deleteSkillCollection', 'organisation', organisation);
|
|
3625
|
+
// verify required parameter 'namespace' is not null or undefined
|
|
3626
|
+
assertParamExists('deleteSkillCollection', 'namespace', namespace);
|
|
3627
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/collections/{namespace}`
|
|
3628
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
3629
|
+
.replace(`{${"namespace"}}`, encodeURIComponent(String(namespace)));
|
|
3630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3631
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3632
|
+
let baseOptions;
|
|
3633
|
+
if (configuration) {
|
|
3634
|
+
baseOptions = configuration.baseOptions;
|
|
3635
|
+
}
|
|
3636
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
3637
|
+
const localVarHeaderParameter = {};
|
|
3638
|
+
const localVarQueryParameter = {};
|
|
3639
|
+
// authentication BearerAuth required
|
|
3640
|
+
// http bearer authentication required
|
|
3641
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3642
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3643
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3644
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3645
|
+
return {
|
|
3646
|
+
url: toPathString(localVarUrlObj),
|
|
3647
|
+
options: localVarRequestOptions,
|
|
3648
|
+
};
|
|
3649
|
+
}),
|
|
3650
|
+
/**
|
|
3651
|
+
* Retrieves full details of a skill including its content, source information, and metadata.
|
|
3652
|
+
* @summary Get Skill Details
|
|
3653
|
+
* @param {string} organisation The organisation ID
|
|
3654
|
+
* @param {string} skillId The skill ID
|
|
3655
|
+
* @param {*} [options] Override http request option.
|
|
3656
|
+
* @throws {RequiredError}
|
|
3657
|
+
*/
|
|
3658
|
+
getSkill: (organisation_1, skillId_1, ...args_1) => __awaiter(this, [organisation_1, skillId_1, ...args_1], void 0, function* (organisation, skillId, options = {}) {
|
|
3659
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3660
|
+
assertParamExists('getSkill', 'organisation', organisation);
|
|
3661
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
3662
|
+
assertParamExists('getSkill', 'skillId', skillId);
|
|
3663
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/{skillId}`
|
|
3664
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
3665
|
+
.replace(`{${"skillId"}}`, encodeURIComponent(String(skillId)));
|
|
3666
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3667
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3668
|
+
let baseOptions;
|
|
3669
|
+
if (configuration) {
|
|
3670
|
+
baseOptions = configuration.baseOptions;
|
|
3671
|
+
}
|
|
3672
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3673
|
+
const localVarHeaderParameter = {};
|
|
3674
|
+
const localVarQueryParameter = {};
|
|
3675
|
+
// authentication BearerAuth required
|
|
3676
|
+
// http bearer authentication required
|
|
3677
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3678
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3679
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3680
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3681
|
+
return {
|
|
3682
|
+
url: toPathString(localVarUrlObj),
|
|
3683
|
+
options: localVarRequestOptions,
|
|
3684
|
+
};
|
|
3685
|
+
}),
|
|
3686
|
+
/**
|
|
3687
|
+
* Imports a skill from an external source like skills.sh registry or GitHub repository. * * **Supported Sources:** * - `skills.sh`: Import from the skills.sh community registry * - `github`: Import from a GitHub repository (public or private) * * **Version Control:** * - Skills can be pinned to specific versions * - Use the sync endpoint to update to latest version
|
|
3688
|
+
* @summary Import Skill from External Source
|
|
3689
|
+
* @param {string} organisation The organisation ID
|
|
3690
|
+
* @param {ImportSkillRequest} importSkillRequest
|
|
3691
|
+
* @param {*} [options] Override http request option.
|
|
3692
|
+
* @throws {RequiredError}
|
|
3693
|
+
*/
|
|
3694
|
+
importSkill: (organisation_1, importSkillRequest_1, ...args_1) => __awaiter(this, [organisation_1, importSkillRequest_1, ...args_1], void 0, function* (organisation, importSkillRequest, options = {}) {
|
|
3695
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3696
|
+
assertParamExists('importSkill', 'organisation', organisation);
|
|
3697
|
+
// verify required parameter 'importSkillRequest' is not null or undefined
|
|
3698
|
+
assertParamExists('importSkill', 'importSkillRequest', importSkillRequest);
|
|
3699
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/import`
|
|
3700
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3701
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3702
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3703
|
+
let baseOptions;
|
|
3704
|
+
if (configuration) {
|
|
3705
|
+
baseOptions = configuration.baseOptions;
|
|
3706
|
+
}
|
|
3707
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3708
|
+
const localVarHeaderParameter = {};
|
|
3709
|
+
const localVarQueryParameter = {};
|
|
3710
|
+
// authentication BearerAuth required
|
|
3711
|
+
// http bearer authentication required
|
|
3712
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3713
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3714
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3717
|
+
localVarRequestOptions.data = serializeDataIfNeeded(importSkillRequest, localVarRequestOptions, configuration);
|
|
3718
|
+
return {
|
|
3719
|
+
url: toPathString(localVarUrlObj),
|
|
3720
|
+
options: localVarRequestOptions,
|
|
3721
|
+
};
|
|
3722
|
+
}),
|
|
3723
|
+
/**
|
|
3724
|
+
* Discovers all skill directories under a given path in a GitHub repository * and imports each as a skill within the specified namespace. Each subdirectory must contain a SKILL.md file. * * **Namespace:** Used for grouping and slash-command invocation (e.g., `/superpowers:brainstorming`). * * **Idempotent:** If a skill with the same namespace + name already exists, it is updated.
|
|
3725
|
+
* @summary Import Skill Collection from GitHub
|
|
3726
|
+
* @param {string} organisation The organisation ID
|
|
3727
|
+
* @param {ImportSkillCollectionRequest} importSkillCollectionRequest
|
|
3728
|
+
* @param {*} [options] Override http request option.
|
|
3729
|
+
* @throws {RequiredError}
|
|
3730
|
+
*/
|
|
3731
|
+
importSkillCollection: (organisation_1, importSkillCollectionRequest_1, ...args_1) => __awaiter(this, [organisation_1, importSkillCollectionRequest_1, ...args_1], void 0, function* (organisation, importSkillCollectionRequest, options = {}) {
|
|
3732
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3733
|
+
assertParamExists('importSkillCollection', 'organisation', organisation);
|
|
3734
|
+
// verify required parameter 'importSkillCollectionRequest' is not null or undefined
|
|
3735
|
+
assertParamExists('importSkillCollection', 'importSkillCollectionRequest', importSkillCollectionRequest);
|
|
3736
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/import-collection`
|
|
3737
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3739
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3740
|
+
let baseOptions;
|
|
3741
|
+
if (configuration) {
|
|
3742
|
+
baseOptions = configuration.baseOptions;
|
|
3743
|
+
}
|
|
3744
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3745
|
+
const localVarHeaderParameter = {};
|
|
3746
|
+
const localVarQueryParameter = {};
|
|
3747
|
+
// authentication BearerAuth required
|
|
3748
|
+
// http bearer authentication required
|
|
3749
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3750
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3751
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3753
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3754
|
+
localVarRequestOptions.data = serializeDataIfNeeded(importSkillCollectionRequest, localVarRequestOptions, configuration);
|
|
3755
|
+
return {
|
|
3756
|
+
url: toPathString(localVarUrlObj),
|
|
3757
|
+
options: localVarRequestOptions,
|
|
3758
|
+
};
|
|
3759
|
+
}),
|
|
3760
|
+
/**
|
|
3761
|
+
* Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
|
|
3762
|
+
* @summary List Skill Collections
|
|
3763
|
+
* @param {string} organisation The organisation ID
|
|
3764
|
+
* @param {*} [options] Override http request option.
|
|
3765
|
+
* @throws {RequiredError}
|
|
3766
|
+
*/
|
|
3767
|
+
listSkillCollections: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
|
|
3768
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3769
|
+
assertParamExists('listSkillCollections', 'organisation', organisation);
|
|
3770
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/collections`
|
|
3771
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3772
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3773
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3774
|
+
let baseOptions;
|
|
3775
|
+
if (configuration) {
|
|
3776
|
+
baseOptions = configuration.baseOptions;
|
|
3777
|
+
}
|
|
3778
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3779
|
+
const localVarHeaderParameter = {};
|
|
3780
|
+
const localVarQueryParameter = {};
|
|
3781
|
+
// authentication BearerAuth required
|
|
3782
|
+
// http bearer authentication required
|
|
3783
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3784
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3785
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3786
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3787
|
+
return {
|
|
3788
|
+
url: toPathString(localVarUrlObj),
|
|
3789
|
+
options: localVarRequestOptions,
|
|
3790
|
+
};
|
|
3791
|
+
}),
|
|
3792
|
+
/**
|
|
3793
|
+
* Lists all skills available to the organization. Skills are reusable prompts, * workflows, or instructions that can be assigned to agents or invoked directly. * * **Skill Sources:** * - `inline`: Created directly via the API * - `skills.sh`: Imported from skills.sh registry * - `github`: Imported from a GitHub repository * - `local`: Uploaded from local file
|
|
3794
|
+
* @summary List Organization\'s Skills
|
|
3795
|
+
* @param {string} organisation The organisation ID
|
|
3796
|
+
* @param {string} [tag] Filter skills by tag
|
|
3797
|
+
* @param {string} [namespace] Filter skills by collection namespace (e.g. \'superpowers\')
|
|
3798
|
+
* @param {number} [limit] Maximum number of skills to return
|
|
3799
|
+
* @param {*} [options] Override http request option.
|
|
3800
|
+
* @throws {RequiredError}
|
|
3801
|
+
*/
|
|
3802
|
+
listSkills: (organisation_1, tag_1, namespace_1, limit_1, ...args_1) => __awaiter(this, [organisation_1, tag_1, namespace_1, limit_1, ...args_1], void 0, function* (organisation, tag, namespace, limit, options = {}) {
|
|
3803
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3804
|
+
assertParamExists('listSkills', 'organisation', organisation);
|
|
3805
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills`
|
|
3806
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
3807
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3808
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3809
|
+
let baseOptions;
|
|
3810
|
+
if (configuration) {
|
|
3811
|
+
baseOptions = configuration.baseOptions;
|
|
3812
|
+
}
|
|
3813
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3814
|
+
const localVarHeaderParameter = {};
|
|
3815
|
+
const localVarQueryParameter = {};
|
|
3816
|
+
// authentication BearerAuth required
|
|
3817
|
+
// http bearer authentication required
|
|
3818
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3819
|
+
if (tag !== undefined) {
|
|
3820
|
+
localVarQueryParameter['tag'] = tag;
|
|
3821
|
+
}
|
|
3822
|
+
if (namespace !== undefined) {
|
|
3823
|
+
localVarQueryParameter['namespace'] = namespace;
|
|
3824
|
+
}
|
|
3825
|
+
if (limit !== undefined) {
|
|
3826
|
+
localVarQueryParameter['limit'] = limit;
|
|
3827
|
+
}
|
|
3828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3830
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3831
|
+
return {
|
|
3832
|
+
url: toPathString(localVarUrlObj),
|
|
3833
|
+
options: localVarRequestOptions,
|
|
3834
|
+
};
|
|
3835
|
+
}),
|
|
3836
|
+
/**
|
|
3837
|
+
* Re-fetches skill content from its original source. * Only applicable to skills imported from external sources (skills.sh, github). * Inline skills cannot be synced. * * **Version Behavior:** * - If version is pinned, fetches that specific version * - If no version specified, fetches latest
|
|
3838
|
+
* @summary Sync Skill from Source
|
|
3839
|
+
* @param {string} organisation The organisation ID
|
|
3840
|
+
* @param {string} skillId The skill ID
|
|
3841
|
+
* @param {*} [options] Override http request option.
|
|
3842
|
+
* @throws {RequiredError}
|
|
3843
|
+
*/
|
|
3844
|
+
syncSkill: (organisation_1, skillId_1, ...args_1) => __awaiter(this, [organisation_1, skillId_1, ...args_1], void 0, function* (organisation, skillId, options = {}) {
|
|
3845
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3846
|
+
assertParamExists('syncSkill', 'organisation', organisation);
|
|
3847
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
3848
|
+
assertParamExists('syncSkill', 'skillId', skillId);
|
|
3849
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/{skillId}/sync`
|
|
3850
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
3851
|
+
.replace(`{${"skillId"}}`, encodeURIComponent(String(skillId)));
|
|
3852
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3853
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3854
|
+
let baseOptions;
|
|
3855
|
+
if (configuration) {
|
|
3856
|
+
baseOptions = configuration.baseOptions;
|
|
3857
|
+
}
|
|
3858
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3859
|
+
const localVarHeaderParameter = {};
|
|
3860
|
+
const localVarQueryParameter = {};
|
|
3861
|
+
// authentication BearerAuth required
|
|
3862
|
+
// http bearer authentication required
|
|
3863
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3864
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3865
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3866
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3867
|
+
return {
|
|
3868
|
+
url: toPathString(localVarUrlObj),
|
|
3869
|
+
options: localVarRequestOptions,
|
|
3870
|
+
};
|
|
3871
|
+
}),
|
|
3872
|
+
/**
|
|
3873
|
+
* Re-syncs all skills in a namespace from their GitHub source. Detects new * skills added to the repository and flags skills removed from the source. Does NOT auto-delete removed skills.
|
|
3874
|
+
* @summary Sync Skill Collection
|
|
3875
|
+
* @param {string} organisation The organisation ID
|
|
3876
|
+
* @param {string} namespace Collection namespace
|
|
3877
|
+
* @param {*} [options] Override http request option.
|
|
3878
|
+
* @throws {RequiredError}
|
|
3879
|
+
*/
|
|
3880
|
+
syncSkillCollection: (organisation_1, namespace_1, ...args_1) => __awaiter(this, [organisation_1, namespace_1, ...args_1], void 0, function* (organisation, namespace, options = {}) {
|
|
3881
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3882
|
+
assertParamExists('syncSkillCollection', 'organisation', organisation);
|
|
3883
|
+
// verify required parameter 'namespace' is not null or undefined
|
|
3884
|
+
assertParamExists('syncSkillCollection', 'namespace', namespace);
|
|
3885
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/collections/{namespace}/sync`
|
|
3886
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
3887
|
+
.replace(`{${"namespace"}}`, encodeURIComponent(String(namespace)));
|
|
3888
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3889
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3890
|
+
let baseOptions;
|
|
3891
|
+
if (configuration) {
|
|
3892
|
+
baseOptions = configuration.baseOptions;
|
|
3893
|
+
}
|
|
3894
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3895
|
+
const localVarHeaderParameter = {};
|
|
3896
|
+
const localVarQueryParameter = {};
|
|
3897
|
+
// authentication BearerAuth required
|
|
3898
|
+
// http bearer authentication required
|
|
3899
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3900
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3901
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3902
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3903
|
+
return {
|
|
3904
|
+
url: toPathString(localVarUrlObj),
|
|
3905
|
+
options: localVarRequestOptions,
|
|
3906
|
+
};
|
|
3907
|
+
}),
|
|
3908
|
+
/**
|
|
3909
|
+
* Updates an existing skill. For imported skills, this updates * local overrides (name, tags, triggerCondition) but not the source content. * Use the sync endpoint to update source content.
|
|
3910
|
+
* @summary Update Skill
|
|
3911
|
+
* @param {string} organisation The organisation ID
|
|
3912
|
+
* @param {string} skillId The skill ID
|
|
3913
|
+
* @param {UpdateSkillRequest} updateSkillRequest
|
|
3914
|
+
* @param {*} [options] Override http request option.
|
|
3915
|
+
* @throws {RequiredError}
|
|
3916
|
+
*/
|
|
3917
|
+
updateSkill: (organisation_1, skillId_1, updateSkillRequest_1, ...args_1) => __awaiter(this, [organisation_1, skillId_1, updateSkillRequest_1, ...args_1], void 0, function* (organisation, skillId, updateSkillRequest, options = {}) {
|
|
3918
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
3919
|
+
assertParamExists('updateSkill', 'organisation', organisation);
|
|
3920
|
+
// verify required parameter 'skillId' is not null or undefined
|
|
3921
|
+
assertParamExists('updateSkill', 'skillId', skillId);
|
|
3922
|
+
// verify required parameter 'updateSkillRequest' is not null or undefined
|
|
3923
|
+
assertParamExists('updateSkill', 'updateSkillRequest', updateSkillRequest);
|
|
3924
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/skills/{skillId}`
|
|
3925
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
3926
|
+
.replace(`{${"skillId"}}`, encodeURIComponent(String(skillId)));
|
|
3927
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3928
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3929
|
+
let baseOptions;
|
|
3930
|
+
if (configuration) {
|
|
3931
|
+
baseOptions = configuration.baseOptions;
|
|
3932
|
+
}
|
|
3933
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
3934
|
+
const localVarHeaderParameter = {};
|
|
3935
|
+
const localVarQueryParameter = {};
|
|
3936
|
+
// authentication BearerAuth required
|
|
3937
|
+
// http bearer authentication required
|
|
3938
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3939
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3940
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3941
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3942
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3943
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSkillRequest, localVarRequestOptions, configuration);
|
|
3944
|
+
return {
|
|
3945
|
+
url: toPathString(localVarUrlObj),
|
|
3946
|
+
options: localVarRequestOptions,
|
|
3947
|
+
};
|
|
3948
|
+
}),
|
|
3949
|
+
};
|
|
3950
|
+
};
|
|
3951
|
+
/**
|
|
3952
|
+
* AISkillsApi - functional programming interface
|
|
3953
|
+
* @export
|
|
3954
|
+
*/
|
|
3955
|
+
export const AISkillsApiFp = function (configuration) {
|
|
3956
|
+
const localVarAxiosParamCreator = AISkillsApiAxiosParamCreator(configuration);
|
|
3957
|
+
return {
|
|
3958
|
+
/**
|
|
3959
|
+
* Creates a new skill with inline content. Use this for custom skills * that are defined directly in your organization. * * **Trigger Conditions:** * - Natural language description of when to use the skill * - Used by AI to determine when to suggest or apply the skill * - Example: \'When the user asks about code review or security analysis\'
|
|
3960
|
+
* @summary Create Inline Skill
|
|
3961
|
+
* @param {string} organisation The organisation ID
|
|
3962
|
+
* @param {CreateSkillRequest} createSkillRequest
|
|
3963
|
+
* @param {*} [options] Override http request option.
|
|
3964
|
+
* @throws {RequiredError}
|
|
3965
|
+
*/
|
|
3966
|
+
createSkill(organisation, createSkillRequest, options) {
|
|
3967
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3968
|
+
var _a, _b, _c;
|
|
3969
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createSkill(organisation, createSkillRequest, options);
|
|
3970
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3971
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.createSkill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3972
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3973
|
+
});
|
|
3974
|
+
},
|
|
3975
|
+
/**
|
|
3976
|
+
* Permanently deletes a skill. This will also remove it from any agents that have it assigned.
|
|
3977
|
+
* @summary Delete Skill
|
|
3978
|
+
* @param {string} organisation The organisation ID
|
|
3979
|
+
* @param {string} skillId The skill ID
|
|
3980
|
+
* @param {*} [options] Override http request option.
|
|
3981
|
+
* @throws {RequiredError}
|
|
3982
|
+
*/
|
|
3983
|
+
deleteSkill(organisation, skillId, options) {
|
|
3984
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3985
|
+
var _a, _b, _c;
|
|
3986
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSkill(organisation, skillId, options);
|
|
3987
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3988
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.deleteSkill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3989
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3990
|
+
});
|
|
3991
|
+
},
|
|
3992
|
+
/**
|
|
3993
|
+
* Permanently deletes all skills in the specified namespace.
|
|
3994
|
+
* @summary Delete Skill Collection
|
|
3995
|
+
* @param {string} organisation The organisation ID
|
|
3996
|
+
* @param {string} namespace Collection namespace
|
|
3997
|
+
* @param {*} [options] Override http request option.
|
|
3998
|
+
* @throws {RequiredError}
|
|
3999
|
+
*/
|
|
4000
|
+
deleteSkillCollection(organisation, namespace, options) {
|
|
4001
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4002
|
+
var _a, _b, _c;
|
|
4003
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSkillCollection(organisation, namespace, options);
|
|
4004
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4005
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.deleteSkillCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4006
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4007
|
+
});
|
|
4008
|
+
},
|
|
4009
|
+
/**
|
|
4010
|
+
* Retrieves full details of a skill including its content, source information, and metadata.
|
|
4011
|
+
* @summary Get Skill Details
|
|
4012
|
+
* @param {string} organisation The organisation ID
|
|
4013
|
+
* @param {string} skillId The skill ID
|
|
4014
|
+
* @param {*} [options] Override http request option.
|
|
4015
|
+
* @throws {RequiredError}
|
|
4016
|
+
*/
|
|
4017
|
+
getSkill(organisation, skillId, options) {
|
|
4018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4019
|
+
var _a, _b, _c;
|
|
4020
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSkill(organisation, skillId, options);
|
|
4021
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4022
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.getSkill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4023
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4024
|
+
});
|
|
4025
|
+
},
|
|
4026
|
+
/**
|
|
4027
|
+
* Imports a skill from an external source like skills.sh registry or GitHub repository. * * **Supported Sources:** * - `skills.sh`: Import from the skills.sh community registry * - `github`: Import from a GitHub repository (public or private) * * **Version Control:** * - Skills can be pinned to specific versions * - Use the sync endpoint to update to latest version
|
|
4028
|
+
* @summary Import Skill from External Source
|
|
4029
|
+
* @param {string} organisation The organisation ID
|
|
4030
|
+
* @param {ImportSkillRequest} importSkillRequest
|
|
4031
|
+
* @param {*} [options] Override http request option.
|
|
4032
|
+
* @throws {RequiredError}
|
|
4033
|
+
*/
|
|
4034
|
+
importSkill(organisation, importSkillRequest, options) {
|
|
4035
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4036
|
+
var _a, _b, _c;
|
|
4037
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.importSkill(organisation, importSkillRequest, options);
|
|
4038
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4039
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.importSkill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4041
|
+
});
|
|
4042
|
+
},
|
|
4043
|
+
/**
|
|
4044
|
+
* Discovers all skill directories under a given path in a GitHub repository * and imports each as a skill within the specified namespace. Each subdirectory must contain a SKILL.md file. * * **Namespace:** Used for grouping and slash-command invocation (e.g., `/superpowers:brainstorming`). * * **Idempotent:** If a skill with the same namespace + name already exists, it is updated.
|
|
4045
|
+
* @summary Import Skill Collection from GitHub
|
|
4046
|
+
* @param {string} organisation The organisation ID
|
|
4047
|
+
* @param {ImportSkillCollectionRequest} importSkillCollectionRequest
|
|
4048
|
+
* @param {*} [options] Override http request option.
|
|
4049
|
+
* @throws {RequiredError}
|
|
4050
|
+
*/
|
|
4051
|
+
importSkillCollection(organisation, importSkillCollectionRequest, options) {
|
|
4052
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4053
|
+
var _a, _b, _c;
|
|
4054
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.importSkillCollection(organisation, importSkillCollectionRequest, options);
|
|
4055
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4056
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.importSkillCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4057
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4058
|
+
});
|
|
4059
|
+
},
|
|
4060
|
+
/**
|
|
4061
|
+
* Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
|
|
4062
|
+
* @summary List Skill Collections
|
|
4063
|
+
* @param {string} organisation The organisation ID
|
|
4064
|
+
* @param {*} [options] Override http request option.
|
|
4065
|
+
* @throws {RequiredError}
|
|
4066
|
+
*/
|
|
4067
|
+
listSkillCollections(organisation, options) {
|
|
4068
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4069
|
+
var _a, _b, _c;
|
|
4070
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSkillCollections(organisation, options);
|
|
4071
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4072
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.listSkillCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4073
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4074
|
+
});
|
|
4075
|
+
},
|
|
4076
|
+
/**
|
|
4077
|
+
* Lists all skills available to the organization. Skills are reusable prompts, * workflows, or instructions that can be assigned to agents or invoked directly. * * **Skill Sources:** * - `inline`: Created directly via the API * - `skills.sh`: Imported from skills.sh registry * - `github`: Imported from a GitHub repository * - `local`: Uploaded from local file
|
|
4078
|
+
* @summary List Organization\'s Skills
|
|
4079
|
+
* @param {string} organisation The organisation ID
|
|
4080
|
+
* @param {string} [tag] Filter skills by tag
|
|
4081
|
+
* @param {string} [namespace] Filter skills by collection namespace (e.g. \'superpowers\')
|
|
4082
|
+
* @param {number} [limit] Maximum number of skills to return
|
|
4083
|
+
* @param {*} [options] Override http request option.
|
|
4084
|
+
* @throws {RequiredError}
|
|
4085
|
+
*/
|
|
4086
|
+
listSkills(organisation, tag, namespace, limit, options) {
|
|
4087
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4088
|
+
var _a, _b, _c;
|
|
4089
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSkills(organisation, tag, namespace, limit, options);
|
|
4090
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4091
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.listSkills']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4092
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4093
|
+
});
|
|
4094
|
+
},
|
|
4095
|
+
/**
|
|
4096
|
+
* Re-fetches skill content from its original source. * Only applicable to skills imported from external sources (skills.sh, github). * Inline skills cannot be synced. * * **Version Behavior:** * - If version is pinned, fetches that specific version * - If no version specified, fetches latest
|
|
4097
|
+
* @summary Sync Skill from Source
|
|
4098
|
+
* @param {string} organisation The organisation ID
|
|
4099
|
+
* @param {string} skillId The skill ID
|
|
4100
|
+
* @param {*} [options] Override http request option.
|
|
4101
|
+
* @throws {RequiredError}
|
|
4102
|
+
*/
|
|
4103
|
+
syncSkill(organisation, skillId, options) {
|
|
4104
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4105
|
+
var _a, _b, _c;
|
|
4106
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncSkill(organisation, skillId, options);
|
|
4107
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4108
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.syncSkill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4110
|
+
});
|
|
4111
|
+
},
|
|
4112
|
+
/**
|
|
4113
|
+
* Re-syncs all skills in a namespace from their GitHub source. Detects new * skills added to the repository and flags skills removed from the source. Does NOT auto-delete removed skills.
|
|
4114
|
+
* @summary Sync Skill Collection
|
|
4115
|
+
* @param {string} organisation The organisation ID
|
|
4116
|
+
* @param {string} namespace Collection namespace
|
|
4117
|
+
* @param {*} [options] Override http request option.
|
|
4118
|
+
* @throws {RequiredError}
|
|
4119
|
+
*/
|
|
4120
|
+
syncSkillCollection(organisation, namespace, options) {
|
|
4121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4122
|
+
var _a, _b, _c;
|
|
4123
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncSkillCollection(organisation, namespace, options);
|
|
4124
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4125
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.syncSkillCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4126
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4127
|
+
});
|
|
4128
|
+
},
|
|
4129
|
+
/**
|
|
4130
|
+
* Updates an existing skill. For imported skills, this updates * local overrides (name, tags, triggerCondition) but not the source content. * Use the sync endpoint to update source content.
|
|
4131
|
+
* @summary Update Skill
|
|
4132
|
+
* @param {string} organisation The organisation ID
|
|
4133
|
+
* @param {string} skillId The skill ID
|
|
4134
|
+
* @param {UpdateSkillRequest} updateSkillRequest
|
|
4135
|
+
* @param {*} [options] Override http request option.
|
|
4136
|
+
* @throws {RequiredError}
|
|
4137
|
+
*/
|
|
4138
|
+
updateSkill(organisation, skillId, updateSkillRequest, options) {
|
|
3351
4139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3352
4140
|
var _a, _b, _c;
|
|
3353
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4141
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateSkill(organisation, skillId, updateSkillRequest, options);
|
|
3354
4142
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3355
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
4143
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AISkillsApi.updateSkill']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3356
4144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3357
4145
|
});
|
|
3358
4146
|
},
|
|
3359
4147
|
};
|
|
3360
4148
|
};
|
|
3361
4149
|
/**
|
|
3362
|
-
*
|
|
4150
|
+
* AISkillsApi - factory interface
|
|
3363
4151
|
* @export
|
|
3364
4152
|
*/
|
|
3365
|
-
export const
|
|
3366
|
-
const localVarFp =
|
|
4153
|
+
export const AISkillsApiFactory = function (configuration, basePath, axios) {
|
|
4154
|
+
const localVarFp = AISkillsApiFp(configuration);
|
|
3367
4155
|
return {
|
|
3368
4156
|
/**
|
|
3369
|
-
* Creates
|
|
3370
|
-
* @summary Create
|
|
4157
|
+
* Creates a new skill with inline content. Use this for custom skills * that are defined directly in your organization. * * **Trigger Conditions:** * - Natural language description of when to use the skill * - Used by AI to determine when to suggest or apply the skill * - Example: \'When the user asks about code review or security analysis\'
|
|
4158
|
+
* @summary Create Inline Skill
|
|
3371
4159
|
* @param {string} organisation The organisation ID
|
|
3372
|
-
* @param {
|
|
4160
|
+
* @param {CreateSkillRequest} createSkillRequest
|
|
3373
4161
|
* @param {*} [options] Override http request option.
|
|
3374
4162
|
* @throws {RequiredError}
|
|
3375
4163
|
*/
|
|
3376
|
-
|
|
3377
|
-
return localVarFp.
|
|
4164
|
+
createSkill(organisation, createSkillRequest, options) {
|
|
4165
|
+
return localVarFp.createSkill(organisation, createSkillRequest, options).then((request) => request(axios, basePath));
|
|
3378
4166
|
},
|
|
3379
4167
|
/**
|
|
3380
|
-
*
|
|
3381
|
-
* @summary Delete
|
|
4168
|
+
* Permanently deletes a skill. This will also remove it from any agents that have it assigned.
|
|
4169
|
+
* @summary Delete Skill
|
|
3382
4170
|
* @param {string} organisation The organisation ID
|
|
3383
|
-
* @param {string}
|
|
4171
|
+
* @param {string} skillId The skill ID
|
|
3384
4172
|
* @param {*} [options] Override http request option.
|
|
3385
4173
|
* @throws {RequiredError}
|
|
3386
4174
|
*/
|
|
3387
|
-
|
|
3388
|
-
return localVarFp.
|
|
4175
|
+
deleteSkill(organisation, skillId, options) {
|
|
4176
|
+
return localVarFp.deleteSkill(organisation, skillId, options).then((request) => request(axios, basePath));
|
|
3389
4177
|
},
|
|
3390
4178
|
/**
|
|
3391
|
-
*
|
|
3392
|
-
* @summary
|
|
4179
|
+
* Permanently deletes all skills in the specified namespace.
|
|
4180
|
+
* @summary Delete Skill Collection
|
|
3393
4181
|
* @param {string} organisation The organisation ID
|
|
3394
|
-
* @param {string}
|
|
3395
|
-
* @param {ExtendAISessionRequest} [extendAISessionRequest]
|
|
4182
|
+
* @param {string} namespace Collection namespace
|
|
3396
4183
|
* @param {*} [options] Override http request option.
|
|
3397
4184
|
* @throws {RequiredError}
|
|
3398
4185
|
*/
|
|
3399
|
-
|
|
3400
|
-
return localVarFp.
|
|
4186
|
+
deleteSkillCollection(organisation, namespace, options) {
|
|
4187
|
+
return localVarFp.deleteSkillCollection(organisation, namespace, options).then((request) => request(axios, basePath));
|
|
3401
4188
|
},
|
|
3402
4189
|
/**
|
|
3403
|
-
*
|
|
3404
|
-
* @summary Get
|
|
4190
|
+
* Retrieves full details of a skill including its content, source information, and metadata.
|
|
4191
|
+
* @summary Get Skill Details
|
|
3405
4192
|
* @param {string} organisation The organisation ID
|
|
3406
|
-
* @param {string}
|
|
4193
|
+
* @param {string} skillId The skill ID
|
|
3407
4194
|
* @param {*} [options] Override http request option.
|
|
3408
4195
|
* @throws {RequiredError}
|
|
3409
4196
|
*/
|
|
3410
|
-
|
|
3411
|
-
return localVarFp.
|
|
4197
|
+
getSkill(organisation, skillId, options) {
|
|
4198
|
+
return localVarFp.getSkill(organisation, skillId, options).then((request) => request(axios, basePath));
|
|
3412
4199
|
},
|
|
3413
4200
|
/**
|
|
3414
|
-
*
|
|
3415
|
-
* @summary
|
|
4201
|
+
* Imports a skill from an external source like skills.sh registry or GitHub repository. * * **Supported Sources:** * - `skills.sh`: Import from the skills.sh community registry * - `github`: Import from a GitHub repository (public or private) * * **Version Control:** * - Skills can be pinned to specific versions * - Use the sync endpoint to update to latest version
|
|
4202
|
+
* @summary Import Skill from External Source
|
|
3416
4203
|
* @param {string} organisation The organisation ID
|
|
3417
|
-
* @param {
|
|
3418
|
-
* @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
|
|
3419
|
-
* @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
|
|
3420
|
-
* @param {number} [offset] Offset for pagination
|
|
3421
|
-
* @param {string} [model] Filter by model ID
|
|
4204
|
+
* @param {ImportSkillRequest} importSkillRequest
|
|
3422
4205
|
* @param {*} [options] Override http request option.
|
|
3423
4206
|
* @throws {RequiredError}
|
|
3424
4207
|
*/
|
|
3425
|
-
|
|
3426
|
-
return localVarFp.
|
|
4208
|
+
importSkill(organisation, importSkillRequest, options) {
|
|
4209
|
+
return localVarFp.importSkill(organisation, importSkillRequest, options).then((request) => request(axios, basePath));
|
|
3427
4210
|
},
|
|
3428
4211
|
/**
|
|
3429
|
-
*
|
|
3430
|
-
* @summary
|
|
4212
|
+
* Discovers all skill directories under a given path in a GitHub repository * and imports each as a skill within the specified namespace. Each subdirectory must contain a SKILL.md file. * * **Namespace:** Used for grouping and slash-command invocation (e.g., `/superpowers:brainstorming`). * * **Idempotent:** If a skill with the same namespace + name already exists, it is updated.
|
|
4213
|
+
* @summary Import Skill Collection from GitHub
|
|
3431
4214
|
* @param {string} organisation The organisation ID
|
|
3432
|
-
* @param {
|
|
3433
|
-
* @param {UpdateAISessionRequest} updateAISessionRequest
|
|
4215
|
+
* @param {ImportSkillCollectionRequest} importSkillCollectionRequest
|
|
3434
4216
|
* @param {*} [options] Override http request option.
|
|
3435
4217
|
* @throws {RequiredError}
|
|
3436
4218
|
*/
|
|
3437
|
-
|
|
3438
|
-
return localVarFp.
|
|
4219
|
+
importSkillCollection(organisation, importSkillCollectionRequest, options) {
|
|
4220
|
+
return localVarFp.importSkillCollection(organisation, importSkillCollectionRequest, options).then((request) => request(axios, basePath));
|
|
4221
|
+
},
|
|
4222
|
+
/**
|
|
4223
|
+
* Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
|
|
4224
|
+
* @summary List Skill Collections
|
|
4225
|
+
* @param {string} organisation The organisation ID
|
|
4226
|
+
* @param {*} [options] Override http request option.
|
|
4227
|
+
* @throws {RequiredError}
|
|
4228
|
+
*/
|
|
4229
|
+
listSkillCollections(organisation, options) {
|
|
4230
|
+
return localVarFp.listSkillCollections(organisation, options).then((request) => request(axios, basePath));
|
|
4231
|
+
},
|
|
4232
|
+
/**
|
|
4233
|
+
* Lists all skills available to the organization. Skills are reusable prompts, * workflows, or instructions that can be assigned to agents or invoked directly. * * **Skill Sources:** * - `inline`: Created directly via the API * - `skills.sh`: Imported from skills.sh registry * - `github`: Imported from a GitHub repository * - `local`: Uploaded from local file
|
|
4234
|
+
* @summary List Organization\'s Skills
|
|
4235
|
+
* @param {string} organisation The organisation ID
|
|
4236
|
+
* @param {string} [tag] Filter skills by tag
|
|
4237
|
+
* @param {string} [namespace] Filter skills by collection namespace (e.g. \'superpowers\')
|
|
4238
|
+
* @param {number} [limit] Maximum number of skills to return
|
|
4239
|
+
* @param {*} [options] Override http request option.
|
|
4240
|
+
* @throws {RequiredError}
|
|
4241
|
+
*/
|
|
4242
|
+
listSkills(organisation, tag, namespace, limit, options) {
|
|
4243
|
+
return localVarFp.listSkills(organisation, tag, namespace, limit, options).then((request) => request(axios, basePath));
|
|
4244
|
+
},
|
|
4245
|
+
/**
|
|
4246
|
+
* Re-fetches skill content from its original source. * Only applicable to skills imported from external sources (skills.sh, github). * Inline skills cannot be synced. * * **Version Behavior:** * - If version is pinned, fetches that specific version * - If no version specified, fetches latest
|
|
4247
|
+
* @summary Sync Skill from Source
|
|
4248
|
+
* @param {string} organisation The organisation ID
|
|
4249
|
+
* @param {string} skillId The skill ID
|
|
4250
|
+
* @param {*} [options] Override http request option.
|
|
4251
|
+
* @throws {RequiredError}
|
|
4252
|
+
*/
|
|
4253
|
+
syncSkill(organisation, skillId, options) {
|
|
4254
|
+
return localVarFp.syncSkill(organisation, skillId, options).then((request) => request(axios, basePath));
|
|
4255
|
+
},
|
|
4256
|
+
/**
|
|
4257
|
+
* Re-syncs all skills in a namespace from their GitHub source. Detects new * skills added to the repository and flags skills removed from the source. Does NOT auto-delete removed skills.
|
|
4258
|
+
* @summary Sync Skill Collection
|
|
4259
|
+
* @param {string} organisation The organisation ID
|
|
4260
|
+
* @param {string} namespace Collection namespace
|
|
4261
|
+
* @param {*} [options] Override http request option.
|
|
4262
|
+
* @throws {RequiredError}
|
|
4263
|
+
*/
|
|
4264
|
+
syncSkillCollection(organisation, namespace, options) {
|
|
4265
|
+
return localVarFp.syncSkillCollection(organisation, namespace, options).then((request) => request(axios, basePath));
|
|
4266
|
+
},
|
|
4267
|
+
/**
|
|
4268
|
+
* Updates an existing skill. For imported skills, this updates * local overrides (name, tags, triggerCondition) but not the source content. * Use the sync endpoint to update source content.
|
|
4269
|
+
* @summary Update Skill
|
|
4270
|
+
* @param {string} organisation The organisation ID
|
|
4271
|
+
* @param {string} skillId The skill ID
|
|
4272
|
+
* @param {UpdateSkillRequest} updateSkillRequest
|
|
4273
|
+
* @param {*} [options] Override http request option.
|
|
4274
|
+
* @throws {RequiredError}
|
|
4275
|
+
*/
|
|
4276
|
+
updateSkill(organisation, skillId, updateSkillRequest, options) {
|
|
4277
|
+
return localVarFp.updateSkill(organisation, skillId, updateSkillRequest, options).then((request) => request(axios, basePath));
|
|
3439
4278
|
},
|
|
3440
4279
|
};
|
|
3441
4280
|
};
|
|
3442
4281
|
/**
|
|
3443
|
-
*
|
|
4282
|
+
* AISkillsApi - object-oriented interface
|
|
3444
4283
|
* @export
|
|
3445
|
-
* @class
|
|
4284
|
+
* @class AISkillsApi
|
|
3446
4285
|
* @extends {BaseAPI}
|
|
3447
4286
|
*/
|
|
3448
|
-
export class
|
|
4287
|
+
export class AISkillsApi extends BaseAPI {
|
|
3449
4288
|
/**
|
|
3450
|
-
* Creates
|
|
3451
|
-
* @summary Create
|
|
4289
|
+
* Creates a new skill with inline content. Use this for custom skills * that are defined directly in your organization. * * **Trigger Conditions:** * - Natural language description of when to use the skill * - Used by AI to determine when to suggest or apply the skill * - Example: \'When the user asks about code review or security analysis\'
|
|
4290
|
+
* @summary Create Inline Skill
|
|
3452
4291
|
* @param {string} organisation The organisation ID
|
|
3453
|
-
* @param {
|
|
4292
|
+
* @param {CreateSkillRequest} createSkillRequest
|
|
3454
4293
|
* @param {*} [options] Override http request option.
|
|
3455
4294
|
* @throws {RequiredError}
|
|
3456
|
-
* @memberof
|
|
4295
|
+
* @memberof AISkillsApi
|
|
3457
4296
|
*/
|
|
3458
|
-
|
|
3459
|
-
return
|
|
4297
|
+
createSkill(organisation, createSkillRequest, options) {
|
|
4298
|
+
return AISkillsApiFp(this.configuration).createSkill(organisation, createSkillRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3460
4299
|
}
|
|
3461
4300
|
/**
|
|
3462
|
-
*
|
|
3463
|
-
* @summary Delete
|
|
4301
|
+
* Permanently deletes a skill. This will also remove it from any agents that have it assigned.
|
|
4302
|
+
* @summary Delete Skill
|
|
3464
4303
|
* @param {string} organisation The organisation ID
|
|
3465
|
-
* @param {string}
|
|
4304
|
+
* @param {string} skillId The skill ID
|
|
3466
4305
|
* @param {*} [options] Override http request option.
|
|
3467
4306
|
* @throws {RequiredError}
|
|
3468
|
-
* @memberof
|
|
4307
|
+
* @memberof AISkillsApi
|
|
3469
4308
|
*/
|
|
3470
|
-
|
|
3471
|
-
return
|
|
4309
|
+
deleteSkill(organisation, skillId, options) {
|
|
4310
|
+
return AISkillsApiFp(this.configuration).deleteSkill(organisation, skillId, options).then((request) => request(this.axios, this.basePath));
|
|
3472
4311
|
}
|
|
3473
4312
|
/**
|
|
3474
|
-
*
|
|
3475
|
-
* @summary
|
|
4313
|
+
* Permanently deletes all skills in the specified namespace.
|
|
4314
|
+
* @summary Delete Skill Collection
|
|
3476
4315
|
* @param {string} organisation The organisation ID
|
|
3477
|
-
* @param {string}
|
|
3478
|
-
* @param {ExtendAISessionRequest} [extendAISessionRequest]
|
|
4316
|
+
* @param {string} namespace Collection namespace
|
|
3479
4317
|
* @param {*} [options] Override http request option.
|
|
3480
4318
|
* @throws {RequiredError}
|
|
3481
|
-
* @memberof
|
|
4319
|
+
* @memberof AISkillsApi
|
|
3482
4320
|
*/
|
|
3483
|
-
|
|
3484
|
-
return
|
|
4321
|
+
deleteSkillCollection(organisation, namespace, options) {
|
|
4322
|
+
return AISkillsApiFp(this.configuration).deleteSkillCollection(organisation, namespace, options).then((request) => request(this.axios, this.basePath));
|
|
3485
4323
|
}
|
|
3486
4324
|
/**
|
|
3487
|
-
*
|
|
3488
|
-
* @summary Get
|
|
4325
|
+
* Retrieves full details of a skill including its content, source information, and metadata.
|
|
4326
|
+
* @summary Get Skill Details
|
|
3489
4327
|
* @param {string} organisation The organisation ID
|
|
3490
|
-
* @param {string}
|
|
4328
|
+
* @param {string} skillId The skill ID
|
|
3491
4329
|
* @param {*} [options] Override http request option.
|
|
3492
4330
|
* @throws {RequiredError}
|
|
3493
|
-
* @memberof
|
|
4331
|
+
* @memberof AISkillsApi
|
|
3494
4332
|
*/
|
|
3495
|
-
|
|
3496
|
-
return
|
|
4333
|
+
getSkill(organisation, skillId, options) {
|
|
4334
|
+
return AISkillsApiFp(this.configuration).getSkill(organisation, skillId, options).then((request) => request(this.axios, this.basePath));
|
|
3497
4335
|
}
|
|
3498
4336
|
/**
|
|
3499
|
-
*
|
|
3500
|
-
* @summary
|
|
4337
|
+
* Imports a skill from an external source like skills.sh registry or GitHub repository. * * **Supported Sources:** * - `skills.sh`: Import from the skills.sh community registry * - `github`: Import from a GitHub repository (public or private) * * **Version Control:** * - Skills can be pinned to specific versions * - Use the sync endpoint to update to latest version
|
|
4338
|
+
* @summary Import Skill from External Source
|
|
3501
4339
|
* @param {string} organisation The organisation ID
|
|
3502
|
-
* @param {
|
|
3503
|
-
* @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
|
|
3504
|
-
* @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
|
|
3505
|
-
* @param {number} [offset] Offset for pagination
|
|
3506
|
-
* @param {string} [model] Filter by model ID
|
|
4340
|
+
* @param {ImportSkillRequest} importSkillRequest
|
|
3507
4341
|
* @param {*} [options] Override http request option.
|
|
3508
4342
|
* @throws {RequiredError}
|
|
3509
|
-
* @memberof
|
|
4343
|
+
* @memberof AISkillsApi
|
|
3510
4344
|
*/
|
|
3511
|
-
|
|
3512
|
-
return
|
|
4345
|
+
importSkill(organisation, importSkillRequest, options) {
|
|
4346
|
+
return AISkillsApiFp(this.configuration).importSkill(organisation, importSkillRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3513
4347
|
}
|
|
3514
4348
|
/**
|
|
3515
|
-
*
|
|
3516
|
-
* @summary
|
|
4349
|
+
* Discovers all skill directories under a given path in a GitHub repository * and imports each as a skill within the specified namespace. Each subdirectory must contain a SKILL.md file. * * **Namespace:** Used for grouping and slash-command invocation (e.g., `/superpowers:brainstorming`). * * **Idempotent:** If a skill with the same namespace + name already exists, it is updated.
|
|
4350
|
+
* @summary Import Skill Collection from GitHub
|
|
3517
4351
|
* @param {string} organisation The organisation ID
|
|
3518
|
-
* @param {
|
|
3519
|
-
* @param {UpdateAISessionRequest} updateAISessionRequest
|
|
4352
|
+
* @param {ImportSkillCollectionRequest} importSkillCollectionRequest
|
|
3520
4353
|
* @param {*} [options] Override http request option.
|
|
3521
4354
|
* @throws {RequiredError}
|
|
3522
|
-
* @memberof
|
|
4355
|
+
* @memberof AISkillsApi
|
|
3523
4356
|
*/
|
|
3524
|
-
|
|
3525
|
-
return
|
|
4357
|
+
importSkillCollection(organisation, importSkillCollectionRequest, options) {
|
|
4358
|
+
return AISkillsApiFp(this.configuration).importSkillCollection(organisation, importSkillCollectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4359
|
+
}
|
|
4360
|
+
/**
|
|
4361
|
+
* Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
|
|
4362
|
+
* @summary List Skill Collections
|
|
4363
|
+
* @param {string} organisation The organisation ID
|
|
4364
|
+
* @param {*} [options] Override http request option.
|
|
4365
|
+
* @throws {RequiredError}
|
|
4366
|
+
* @memberof AISkillsApi
|
|
4367
|
+
*/
|
|
4368
|
+
listSkillCollections(organisation, options) {
|
|
4369
|
+
return AISkillsApiFp(this.configuration).listSkillCollections(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
4370
|
+
}
|
|
4371
|
+
/**
|
|
4372
|
+
* Lists all skills available to the organization. Skills are reusable prompts, * workflows, or instructions that can be assigned to agents or invoked directly. * * **Skill Sources:** * - `inline`: Created directly via the API * - `skills.sh`: Imported from skills.sh registry * - `github`: Imported from a GitHub repository * - `local`: Uploaded from local file
|
|
4373
|
+
* @summary List Organization\'s Skills
|
|
4374
|
+
* @param {string} organisation The organisation ID
|
|
4375
|
+
* @param {string} [tag] Filter skills by tag
|
|
4376
|
+
* @param {string} [namespace] Filter skills by collection namespace (e.g. \'superpowers\')
|
|
4377
|
+
* @param {number} [limit] Maximum number of skills to return
|
|
4378
|
+
* @param {*} [options] Override http request option.
|
|
4379
|
+
* @throws {RequiredError}
|
|
4380
|
+
* @memberof AISkillsApi
|
|
4381
|
+
*/
|
|
4382
|
+
listSkills(organisation, tag, namespace, limit, options) {
|
|
4383
|
+
return AISkillsApiFp(this.configuration).listSkills(organisation, tag, namespace, limit, options).then((request) => request(this.axios, this.basePath));
|
|
4384
|
+
}
|
|
4385
|
+
/**
|
|
4386
|
+
* Re-fetches skill content from its original source. * Only applicable to skills imported from external sources (skills.sh, github). * Inline skills cannot be synced. * * **Version Behavior:** * - If version is pinned, fetches that specific version * - If no version specified, fetches latest
|
|
4387
|
+
* @summary Sync Skill from Source
|
|
4388
|
+
* @param {string} organisation The organisation ID
|
|
4389
|
+
* @param {string} skillId The skill ID
|
|
4390
|
+
* @param {*} [options] Override http request option.
|
|
4391
|
+
* @throws {RequiredError}
|
|
4392
|
+
* @memberof AISkillsApi
|
|
4393
|
+
*/
|
|
4394
|
+
syncSkill(organisation, skillId, options) {
|
|
4395
|
+
return AISkillsApiFp(this.configuration).syncSkill(organisation, skillId, options).then((request) => request(this.axios, this.basePath));
|
|
4396
|
+
}
|
|
4397
|
+
/**
|
|
4398
|
+
* Re-syncs all skills in a namespace from their GitHub source. Detects new * skills added to the repository and flags skills removed from the source. Does NOT auto-delete removed skills.
|
|
4399
|
+
* @summary Sync Skill Collection
|
|
4400
|
+
* @param {string} organisation The organisation ID
|
|
4401
|
+
* @param {string} namespace Collection namespace
|
|
4402
|
+
* @param {*} [options] Override http request option.
|
|
4403
|
+
* @throws {RequiredError}
|
|
4404
|
+
* @memberof AISkillsApi
|
|
4405
|
+
*/
|
|
4406
|
+
syncSkillCollection(organisation, namespace, options) {
|
|
4407
|
+
return AISkillsApiFp(this.configuration).syncSkillCollection(organisation, namespace, options).then((request) => request(this.axios, this.basePath));
|
|
4408
|
+
}
|
|
4409
|
+
/**
|
|
4410
|
+
* Updates an existing skill. For imported skills, this updates * local overrides (name, tags, triggerCondition) but not the source content. * Use the sync endpoint to update source content.
|
|
4411
|
+
* @summary Update Skill
|
|
4412
|
+
* @param {string} organisation The organisation ID
|
|
4413
|
+
* @param {string} skillId The skill ID
|
|
4414
|
+
* @param {UpdateSkillRequest} updateSkillRequest
|
|
4415
|
+
* @param {*} [options] Override http request option.
|
|
4416
|
+
* @throws {RequiredError}
|
|
4417
|
+
* @memberof AISkillsApi
|
|
4418
|
+
*/
|
|
4419
|
+
updateSkill(organisation, skillId, updateSkillRequest, options) {
|
|
4420
|
+
return AISkillsApiFp(this.configuration).updateSkill(organisation, skillId, updateSkillRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3526
4421
|
}
|
|
3527
4422
|
}
|
|
3528
4423
|
/**
|
|
@@ -5993,7 +6888,7 @@ export const CDNMetricsApiAxiosParamCreator = function (configuration) {
|
|
|
5993
6888
|
* @param {string} organization Organization identifier
|
|
5994
6889
|
* @param {string} project Project identifier
|
|
5995
6890
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
5996
|
-
* @param {Array<
|
|
6891
|
+
* @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
5997
6892
|
* @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
5998
6893
|
* @param {*} [options] Override http request option.
|
|
5999
6894
|
* @throws {RequiredError}
|
|
@@ -6041,7 +6936,7 @@ export const CDNMetricsApiAxiosParamCreator = function (configuration) {
|
|
|
6041
6936
|
* @param {string} organization Organization identifier
|
|
6042
6937
|
* @param {string} project Project identifier
|
|
6043
6938
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6044
|
-
* @param {Array<
|
|
6939
|
+
* @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6045
6940
|
* @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6046
6941
|
* @param {*} [options] Override http request option.
|
|
6047
6942
|
* @throws {RequiredError}
|
|
@@ -6089,7 +6984,7 @@ export const CDNMetricsApiAxiosParamCreator = function (configuration) {
|
|
|
6089
6984
|
* @param {string} organization Organization identifier
|
|
6090
6985
|
* @param {string} project Project identifier
|
|
6091
6986
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6092
|
-
* @param {Array<
|
|
6987
|
+
* @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6093
6988
|
* @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6094
6989
|
* @param {*} [options] Override http request option.
|
|
6095
6990
|
* @throws {RequiredError}
|
|
@@ -6146,7 +7041,7 @@ export const CDNMetricsApiFp = function (configuration) {
|
|
|
6146
7041
|
* @param {string} organization Organization identifier
|
|
6147
7042
|
* @param {string} project Project identifier
|
|
6148
7043
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6149
|
-
* @param {Array<
|
|
7044
|
+
* @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6150
7045
|
* @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6151
7046
|
* @param {*} [options] Override http request option.
|
|
6152
7047
|
* @throws {RequiredError}
|
|
@@ -6166,7 +7061,7 @@ export const CDNMetricsApiFp = function (configuration) {
|
|
|
6166
7061
|
* @param {string} organization Organization identifier
|
|
6167
7062
|
* @param {string} project Project identifier
|
|
6168
7063
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6169
|
-
* @param {Array<
|
|
7064
|
+
* @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6170
7065
|
* @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6171
7066
|
* @param {*} [options] Override http request option.
|
|
6172
7067
|
* @throws {RequiredError}
|
|
@@ -6186,7 +7081,7 @@ export const CDNMetricsApiFp = function (configuration) {
|
|
|
6186
7081
|
* @param {string} organization Organization identifier
|
|
6187
7082
|
* @param {string} project Project identifier
|
|
6188
7083
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6189
|
-
* @param {Array<
|
|
7084
|
+
* @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6190
7085
|
* @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6191
7086
|
* @param {*} [options] Override http request option.
|
|
6192
7087
|
* @throws {RequiredError}
|
|
@@ -6215,7 +7110,7 @@ export const CDNMetricsApiFactory = function (configuration, basePath, axios) {
|
|
|
6215
7110
|
* @param {string} organization Organization identifier
|
|
6216
7111
|
* @param {string} project Project identifier
|
|
6217
7112
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6218
|
-
* @param {Array<
|
|
7113
|
+
* @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6219
7114
|
* @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6220
7115
|
* @param {*} [options] Override http request option.
|
|
6221
7116
|
* @throws {RequiredError}
|
|
@@ -6229,7 +7124,7 @@ export const CDNMetricsApiFactory = function (configuration, basePath, axios) {
|
|
|
6229
7124
|
* @param {string} organization Organization identifier
|
|
6230
7125
|
* @param {string} project Project identifier
|
|
6231
7126
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6232
|
-
* @param {Array<
|
|
7127
|
+
* @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6233
7128
|
* @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6234
7129
|
* @param {*} [options] Override http request option.
|
|
6235
7130
|
* @throws {RequiredError}
|
|
@@ -6243,7 +7138,7 @@ export const CDNMetricsApiFactory = function (configuration, basePath, axios) {
|
|
|
6243
7138
|
* @param {string} organization Organization identifier
|
|
6244
7139
|
* @param {string} project Project identifier
|
|
6245
7140
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6246
|
-
* @param {Array<
|
|
7141
|
+
* @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6247
7142
|
* @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6248
7143
|
* @param {*} [options] Override http request option.
|
|
6249
7144
|
* @throws {RequiredError}
|
|
@@ -6266,7 +7161,7 @@ export class CDNMetricsApi extends BaseAPI {
|
|
|
6266
7161
|
* @param {string} organization Organization identifier
|
|
6267
7162
|
* @param {string} project Project identifier
|
|
6268
7163
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6269
|
-
* @param {Array<
|
|
7164
|
+
* @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6270
7165
|
* @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6271
7166
|
* @param {*} [options] Override http request option.
|
|
6272
7167
|
* @throws {RequiredError}
|
|
@@ -6281,7 +7176,7 @@ export class CDNMetricsApi extends BaseAPI {
|
|
|
6281
7176
|
* @param {string} organization Organization identifier
|
|
6282
7177
|
* @param {string} project Project identifier
|
|
6283
7178
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6284
|
-
* @param {Array<
|
|
7179
|
+
* @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6285
7180
|
* @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6286
7181
|
* @param {*} [options] Override http request option.
|
|
6287
7182
|
* @throws {RequiredError}
|
|
@@ -6296,7 +7191,7 @@ export class CDNMetricsApi extends BaseAPI {
|
|
|
6296
7191
|
* @param {string} organization Organization identifier
|
|
6297
7192
|
* @param {string} project Project identifier
|
|
6298
7193
|
* @param {string} [domain] Filter by domain ID or domain name
|
|
6299
|
-
* @param {Array<
|
|
7194
|
+
* @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
|
|
6300
7195
|
* @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
|
|
6301
7196
|
* @param {*} [options] Override http request option.
|
|
6302
7197
|
* @throws {RequiredError}
|
|
@@ -6306,6 +7201,34 @@ export class CDNMetricsApi extends BaseAPI {
|
|
|
6306
7201
|
return CDNMetricsApiFp(this.configuration).getMonthlyMetrics(organization, project, domain, metrics, timestampFormat, options).then((request) => request(this.axios, this.basePath));
|
|
6307
7202
|
}
|
|
6308
7203
|
}
|
|
7204
|
+
/**
|
|
7205
|
+
* @export
|
|
7206
|
+
*/
|
|
7207
|
+
export const GetDailyMetricsMetricsEnum = {
|
|
7208
|
+
Hits: 'hits',
|
|
7209
|
+
Bytes: 'bytes',
|
|
7210
|
+
EdgeRespHeaderBytes: 'edge_resp_header_bytes',
|
|
7211
|
+
BereqBodyBytes: 'bereq_body_bytes',
|
|
7212
|
+
BereqHeaderBytes: 'bereq_header_bytes',
|
|
7213
|
+
Bandwidth: 'bandwidth',
|
|
7214
|
+
EdgeHitRatio: 'edge_hit_ratio',
|
|
7215
|
+
EdgeHitRequests: 'edge_hit_requests',
|
|
7216
|
+
EdgeMissRequests: 'edge_miss_requests',
|
|
7217
|
+
OriginFetches: 'origin_fetches',
|
|
7218
|
+
OriginFetchRespBodyBytes: 'origin_fetch_resp_body_bytes',
|
|
7219
|
+
OriginFetchRespHeaderBytes: 'origin_fetch_resp_header_bytes',
|
|
7220
|
+
OriginOffload: 'origin_offload',
|
|
7221
|
+
Status1xx: 'status_1xx',
|
|
7222
|
+
Status2xx: 'status_2xx',
|
|
7223
|
+
Status3xx: 'status_3xx',
|
|
7224
|
+
Status4xx: 'status_4xx',
|
|
7225
|
+
Status5xx: 'status_5xx',
|
|
7226
|
+
OriginStatus1xx: 'origin_status_1xx',
|
|
7227
|
+
OriginStatus2xx: 'origin_status_2xx',
|
|
7228
|
+
OriginStatus3xx: 'origin_status_3xx',
|
|
7229
|
+
OriginStatus4xx: 'origin_status_4xx',
|
|
7230
|
+
OriginStatus5xx: 'origin_status_5xx'
|
|
7231
|
+
};
|
|
6309
7232
|
/**
|
|
6310
7233
|
* @export
|
|
6311
7234
|
*/
|
|
@@ -6313,6 +7236,34 @@ export const GetDailyMetricsTimestampFormatEnum = {
|
|
|
6313
7236
|
Iso8601: 'iso8601',
|
|
6314
7237
|
Unix: 'unix'
|
|
6315
7238
|
};
|
|
7239
|
+
/**
|
|
7240
|
+
* @export
|
|
7241
|
+
*/
|
|
7242
|
+
export const GetHourlyMetricsMetricsEnum = {
|
|
7243
|
+
Hits: 'hits',
|
|
7244
|
+
Bytes: 'bytes',
|
|
7245
|
+
EdgeRespHeaderBytes: 'edge_resp_header_bytes',
|
|
7246
|
+
BereqBodyBytes: 'bereq_body_bytes',
|
|
7247
|
+
BereqHeaderBytes: 'bereq_header_bytes',
|
|
7248
|
+
Bandwidth: 'bandwidth',
|
|
7249
|
+
EdgeHitRatio: 'edge_hit_ratio',
|
|
7250
|
+
EdgeHitRequests: 'edge_hit_requests',
|
|
7251
|
+
EdgeMissRequests: 'edge_miss_requests',
|
|
7252
|
+
OriginFetches: 'origin_fetches',
|
|
7253
|
+
OriginFetchRespBodyBytes: 'origin_fetch_resp_body_bytes',
|
|
7254
|
+
OriginFetchRespHeaderBytes: 'origin_fetch_resp_header_bytes',
|
|
7255
|
+
OriginOffload: 'origin_offload',
|
|
7256
|
+
Status1xx: 'status_1xx',
|
|
7257
|
+
Status2xx: 'status_2xx',
|
|
7258
|
+
Status3xx: 'status_3xx',
|
|
7259
|
+
Status4xx: 'status_4xx',
|
|
7260
|
+
Status5xx: 'status_5xx',
|
|
7261
|
+
OriginStatus1xx: 'origin_status_1xx',
|
|
7262
|
+
OriginStatus2xx: 'origin_status_2xx',
|
|
7263
|
+
OriginStatus3xx: 'origin_status_3xx',
|
|
7264
|
+
OriginStatus4xx: 'origin_status_4xx',
|
|
7265
|
+
OriginStatus5xx: 'origin_status_5xx'
|
|
7266
|
+
};
|
|
6316
7267
|
/**
|
|
6317
7268
|
* @export
|
|
6318
7269
|
*/
|
|
@@ -6320,6 +7271,34 @@ export const GetHourlyMetricsTimestampFormatEnum = {
|
|
|
6320
7271
|
Iso8601: 'iso8601',
|
|
6321
7272
|
Unix: 'unix'
|
|
6322
7273
|
};
|
|
7274
|
+
/**
|
|
7275
|
+
* @export
|
|
7276
|
+
*/
|
|
7277
|
+
export const GetMonthlyMetricsMetricsEnum = {
|
|
7278
|
+
Hits: 'hits',
|
|
7279
|
+
Bytes: 'bytes',
|
|
7280
|
+
EdgeRespHeaderBytes: 'edge_resp_header_bytes',
|
|
7281
|
+
BereqBodyBytes: 'bereq_body_bytes',
|
|
7282
|
+
BereqHeaderBytes: 'bereq_header_bytes',
|
|
7283
|
+
Bandwidth: 'bandwidth',
|
|
7284
|
+
EdgeHitRatio: 'edge_hit_ratio',
|
|
7285
|
+
EdgeHitRequests: 'edge_hit_requests',
|
|
7286
|
+
EdgeMissRequests: 'edge_miss_requests',
|
|
7287
|
+
OriginFetches: 'origin_fetches',
|
|
7288
|
+
OriginFetchRespBodyBytes: 'origin_fetch_resp_body_bytes',
|
|
7289
|
+
OriginFetchRespHeaderBytes: 'origin_fetch_resp_header_bytes',
|
|
7290
|
+
OriginOffload: 'origin_offload',
|
|
7291
|
+
Status1xx: 'status_1xx',
|
|
7292
|
+
Status2xx: 'status_2xx',
|
|
7293
|
+
Status3xx: 'status_3xx',
|
|
7294
|
+
Status4xx: 'status_4xx',
|
|
7295
|
+
Status5xx: 'status_5xx',
|
|
7296
|
+
OriginStatus1xx: 'origin_status_1xx',
|
|
7297
|
+
OriginStatus2xx: 'origin_status_2xx',
|
|
7298
|
+
OriginStatus3xx: 'origin_status_3xx',
|
|
7299
|
+
OriginStatus4xx: 'origin_status_4xx',
|
|
7300
|
+
OriginStatus5xx: 'origin_status_5xx'
|
|
7301
|
+
};
|
|
6323
7302
|
/**
|
|
6324
7303
|
* @export
|
|
6325
7304
|
*/
|
|
@@ -11705,116 +12684,6 @@ export class KVApi extends BaseAPI {
|
|
|
11705
12684
|
return KVApiFp(this.configuration).kVUnlinkFromProject(organization, project, storeId, options).then((request) => request(this.axios, this.basePath));
|
|
11706
12685
|
}
|
|
11707
12686
|
}
|
|
11708
|
-
/**
|
|
11709
|
-
* OrchestrationApi - axios parameter creator
|
|
11710
|
-
* @export
|
|
11711
|
-
*/
|
|
11712
|
-
export const OrchestrationApiAxiosParamCreator = function (configuration) {
|
|
11713
|
-
return {
|
|
11714
|
-
/**
|
|
11715
|
-
* Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
|
|
11716
|
-
* @summary Get Tool Orchestration Status (Async Tool Polling)
|
|
11717
|
-
* @param {string} organisation The organisation ID
|
|
11718
|
-
* @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
|
|
11719
|
-
* @param {*} [options] Override http request option.
|
|
11720
|
-
* @throws {RequiredError}
|
|
11721
|
-
*/
|
|
11722
|
-
getAIOrchestrationStatus: (organisation_1, orchestrationId_1, ...args_1) => __awaiter(this, [organisation_1, orchestrationId_1, ...args_1], void 0, function* (organisation, orchestrationId, options = {}) {
|
|
11723
|
-
// verify required parameter 'organisation' is not null or undefined
|
|
11724
|
-
assertParamExists('getAIOrchestrationStatus', 'organisation', organisation);
|
|
11725
|
-
// verify required parameter 'orchestrationId' is not null or undefined
|
|
11726
|
-
assertParamExists('getAIOrchestrationStatus', 'orchestrationId', orchestrationId);
|
|
11727
|
-
const localVarPath = `/api/v3/organizations/{organisation}/ai/tools/orchestrations/{orchestrationId}`
|
|
11728
|
-
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
11729
|
-
.replace(`{${"orchestrationId"}}`, encodeURIComponent(String(orchestrationId)));
|
|
11730
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11731
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11732
|
-
let baseOptions;
|
|
11733
|
-
if (configuration) {
|
|
11734
|
-
baseOptions = configuration.baseOptions;
|
|
11735
|
-
}
|
|
11736
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
11737
|
-
const localVarHeaderParameter = {};
|
|
11738
|
-
const localVarQueryParameter = {};
|
|
11739
|
-
// authentication BearerAuth required
|
|
11740
|
-
// http bearer authentication required
|
|
11741
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
11742
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11743
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11744
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11745
|
-
return {
|
|
11746
|
-
url: toPathString(localVarUrlObj),
|
|
11747
|
-
options: localVarRequestOptions,
|
|
11748
|
-
};
|
|
11749
|
-
}),
|
|
11750
|
-
};
|
|
11751
|
-
};
|
|
11752
|
-
/**
|
|
11753
|
-
* OrchestrationApi - functional programming interface
|
|
11754
|
-
* @export
|
|
11755
|
-
*/
|
|
11756
|
-
export const OrchestrationApiFp = function (configuration) {
|
|
11757
|
-
const localVarAxiosParamCreator = OrchestrationApiAxiosParamCreator(configuration);
|
|
11758
|
-
return {
|
|
11759
|
-
/**
|
|
11760
|
-
* Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
|
|
11761
|
-
* @summary Get Tool Orchestration Status (Async Tool Polling)
|
|
11762
|
-
* @param {string} organisation The organisation ID
|
|
11763
|
-
* @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
|
|
11764
|
-
* @param {*} [options] Override http request option.
|
|
11765
|
-
* @throws {RequiredError}
|
|
11766
|
-
*/
|
|
11767
|
-
getAIOrchestrationStatus(organisation, orchestrationId, options) {
|
|
11768
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
11769
|
-
var _a, _b, _c;
|
|
11770
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAIOrchestrationStatus(organisation, orchestrationId, options);
|
|
11771
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
11772
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrchestrationApi.getAIOrchestrationStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
11773
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11774
|
-
});
|
|
11775
|
-
},
|
|
11776
|
-
};
|
|
11777
|
-
};
|
|
11778
|
-
/**
|
|
11779
|
-
* OrchestrationApi - factory interface
|
|
11780
|
-
* @export
|
|
11781
|
-
*/
|
|
11782
|
-
export const OrchestrationApiFactory = function (configuration, basePath, axios) {
|
|
11783
|
-
const localVarFp = OrchestrationApiFp(configuration);
|
|
11784
|
-
return {
|
|
11785
|
-
/**
|
|
11786
|
-
* Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
|
|
11787
|
-
* @summary Get Tool Orchestration Status (Async Tool Polling)
|
|
11788
|
-
* @param {string} organisation The organisation ID
|
|
11789
|
-
* @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
|
|
11790
|
-
* @param {*} [options] Override http request option.
|
|
11791
|
-
* @throws {RequiredError}
|
|
11792
|
-
*/
|
|
11793
|
-
getAIOrchestrationStatus(organisation, orchestrationId, options) {
|
|
11794
|
-
return localVarFp.getAIOrchestrationStatus(organisation, orchestrationId, options).then((request) => request(axios, basePath));
|
|
11795
|
-
},
|
|
11796
|
-
};
|
|
11797
|
-
};
|
|
11798
|
-
/**
|
|
11799
|
-
* OrchestrationApi - object-oriented interface
|
|
11800
|
-
* @export
|
|
11801
|
-
* @class OrchestrationApi
|
|
11802
|
-
* @extends {BaseAPI}
|
|
11803
|
-
*/
|
|
11804
|
-
export class OrchestrationApi extends BaseAPI {
|
|
11805
|
-
/**
|
|
11806
|
-
* Retrieves the status and synthesized result of a multi-tool async execution orchestration. * * **Note:** This endpoint is for async tool execution polling (`/tools/orchestrations`). * For durable batch processing orchestrations, see `GET /orchestrations` endpoints. * * **Orchestration Pattern:** * When the AI requests multiple async tools simultaneously, an orchestration is created * to track all tool executions and synthesize their results into a single coherent response. * * **Flow:** * 1. AI requests multiple async tools (e.g., image generation + web search) * 2. Chat API creates orchestration and returns orchestrationId * 3. Tool Orchestrator Lambda polls all async tools * 4. When all tools complete, Orchestrator synthesizes results using AI * 5. Client polls this endpoint and receives final synthesized response * * **Status Values:** * - pending: Orchestration created, tools not yet started * - polling: Orchestrator is actively polling async tools * - synthesizing: All tools complete, AI is synthesizing response * - complete: Orchestration finished, synthesizedResponse available * - failed: Orchestration failed, error available * * **Polling Recommendations:** * - Poll every 2 seconds * - Maximum poll time: 10 minutes * - Orchestrator handles tool polling internally * * **Benefits over individual polling:** * - Single poll endpoint for multiple async tools * - AI synthesizes all results into coherent response * - Answers the original user question, not just tool summaries
|
|
11807
|
-
* @summary Get Tool Orchestration Status (Async Tool Polling)
|
|
11808
|
-
* @param {string} organisation The organisation ID
|
|
11809
|
-
* @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
|
|
11810
|
-
* @param {*} [options] Override http request option.
|
|
11811
|
-
* @throws {RequiredError}
|
|
11812
|
-
* @memberof OrchestrationApi
|
|
11813
|
-
*/
|
|
11814
|
-
getAIOrchestrationStatus(organisation, orchestrationId, options) {
|
|
11815
|
-
return OrchestrationApiFp(this.configuration).getAIOrchestrationStatus(organisation, orchestrationId, options).then((request) => request(this.axios, this.basePath));
|
|
11816
|
-
}
|
|
11817
|
-
}
|
|
11818
12687
|
/**
|
|
11819
12688
|
* OrganizationsApi - axios parameter creator
|
|
11820
12689
|
* @export
|