@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/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * QuantCDN API
3
3
  * Unified API for QuantCDN Admin and QuantCloud Platform services
4
4
  *
5
- * The version of the OpenAPI document: 4.11.0
5
+ * The version of the OpenAPI document: 4.12.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2441,6 +2441,104 @@ export declare const CreateOrchestrationRequestStopConditionTypeEnum: {
2441
2441
  readonly Manual: "manual";
2442
2442
  };
2443
2443
  export type CreateOrchestrationRequestStopConditionTypeEnum = typeof CreateOrchestrationRequestStopConditionTypeEnum[keyof typeof CreateOrchestrationRequestStopConditionTypeEnum];
2444
+ /**
2445
+ *
2446
+ * @export
2447
+ * @interface CreateSkill201Response
2448
+ */
2449
+ export interface CreateSkill201Response {
2450
+ /**
2451
+ *
2452
+ * @type {boolean}
2453
+ * @memberof CreateSkill201Response
2454
+ */
2455
+ 'success'?: boolean;
2456
+ /**
2457
+ *
2458
+ * @type {object}
2459
+ * @memberof CreateSkill201Response
2460
+ */
2461
+ 'skill'?: object;
2462
+ /**
2463
+ *
2464
+ * @type {string}
2465
+ * @memberof CreateSkill201Response
2466
+ */
2467
+ 'message'?: string;
2468
+ }
2469
+ /**
2470
+ *
2471
+ * @export
2472
+ * @interface CreateSkillRequest
2473
+ */
2474
+ export interface CreateSkillRequest {
2475
+ /**
2476
+ *
2477
+ * @type {string}
2478
+ * @memberof CreateSkillRequest
2479
+ */
2480
+ 'name': string;
2481
+ /**
2482
+ *
2483
+ * @type {string}
2484
+ * @memberof CreateSkillRequest
2485
+ */
2486
+ 'description'?: string;
2487
+ /**
2488
+ *
2489
+ * @type {string}
2490
+ * @memberof CreateSkillRequest
2491
+ */
2492
+ 'content': string;
2493
+ /**
2494
+ *
2495
+ * @type {string}
2496
+ * @memberof CreateSkillRequest
2497
+ */
2498
+ 'triggerCondition': string;
2499
+ /**
2500
+ *
2501
+ * @type {Array<string>}
2502
+ * @memberof CreateSkillRequest
2503
+ */
2504
+ 'tags'?: Array<string>;
2505
+ /**
2506
+ *
2507
+ * @type {Array<string>}
2508
+ * @memberof CreateSkillRequest
2509
+ */
2510
+ 'requiredTools'?: Array<string>;
2511
+ /**
2512
+ *
2513
+ * @type {string}
2514
+ * @memberof CreateSkillRequest
2515
+ */
2516
+ 'namespace'?: string;
2517
+ /**
2518
+ *
2519
+ * @type {object}
2520
+ * @memberof CreateSkillRequest
2521
+ */
2522
+ 'files'?: object;
2523
+ /**
2524
+ *
2525
+ * @type {boolean}
2526
+ * @memberof CreateSkillRequest
2527
+ */
2528
+ 'disableModelInvocation'?: boolean;
2529
+ /**
2530
+ *
2531
+ * @type {Array<string>}
2532
+ * @memberof CreateSkillRequest
2533
+ */
2534
+ 'allowedTools'?: Array<string>;
2535
+ /**
2536
+ *
2537
+ * @type {string}
2538
+ * @memberof CreateSkillRequest
2539
+ */
2540
+ 'installedBy'?: string;
2541
+ }
2444
2542
  /**
2445
2543
  *
2446
2544
  * @export
@@ -2873,6 +2971,44 @@ export interface DeleteFile200Response {
2873
2971
  */
2874
2972
  'fileId'?: string;
2875
2973
  }
2974
+ /**
2975
+ *
2976
+ * @export
2977
+ * @interface DeleteSkill200Response
2978
+ */
2979
+ export interface DeleteSkill200Response {
2980
+ /**
2981
+ *
2982
+ * @type {boolean}
2983
+ * @memberof DeleteSkill200Response
2984
+ */
2985
+ 'success'?: boolean;
2986
+ /**
2987
+ *
2988
+ * @type {string}
2989
+ * @memberof DeleteSkill200Response
2990
+ */
2991
+ 'message'?: string;
2992
+ }
2993
+ /**
2994
+ *
2995
+ * @export
2996
+ * @interface DeleteSkillCollection200Response
2997
+ */
2998
+ export interface DeleteSkillCollection200Response {
2999
+ /**
3000
+ *
3001
+ * @type {boolean}
3002
+ * @memberof DeleteSkillCollection200Response
3003
+ */
3004
+ 'success'?: boolean;
3005
+ /**
3006
+ *
3007
+ * @type {string}
3008
+ * @memberof DeleteSkillCollection200Response
3009
+ */
3010
+ 'message'?: string;
3011
+ }
2876
3012
  /**
2877
3013
  *
2878
3014
  * @export
@@ -2923,25 +3059,6 @@ export interface DeleteTask409Response {
2923
3059
  */
2924
3060
  'dependentTaskIds'?: Array<string>;
2925
3061
  }
2926
- /**
2927
- *
2928
- * @export
2929
- * @interface DeleteVectorCollection200Response
2930
- */
2931
- export interface DeleteVectorCollection200Response {
2932
- /**
2933
- *
2934
- * @type {boolean}
2935
- * @memberof DeleteVectorCollection200Response
2936
- */
2937
- 'success'?: boolean;
2938
- /**
2939
- *
2940
- * @type {string}
2941
- * @memberof DeleteVectorCollection200Response
2942
- */
2943
- 'message'?: string;
2944
- }
2945
3062
  /**
2946
3063
  *
2947
3064
  * @export
@@ -4320,6 +4437,110 @@ export interface GetFile200Response {
4320
4437
  */
4321
4438
  'createdAt'?: string;
4322
4439
  }
4440
+ /**
4441
+ *
4442
+ * @export
4443
+ * @interface GetSkill200Response
4444
+ */
4445
+ export interface GetSkill200Response {
4446
+ /**
4447
+ *
4448
+ * @type {GetSkill200ResponseSkill}
4449
+ * @memberof GetSkill200Response
4450
+ */
4451
+ 'skill'?: GetSkill200ResponseSkill;
4452
+ }
4453
+ /**
4454
+ *
4455
+ * @export
4456
+ * @interface GetSkill200ResponseSkill
4457
+ */
4458
+ export interface GetSkill200ResponseSkill {
4459
+ /**
4460
+ *
4461
+ * @type {string}
4462
+ * @memberof GetSkill200ResponseSkill
4463
+ */
4464
+ 'skillId'?: string;
4465
+ /**
4466
+ *
4467
+ * @type {string}
4468
+ * @memberof GetSkill200ResponseSkill
4469
+ */
4470
+ 'name'?: string;
4471
+ /**
4472
+ *
4473
+ * @type {string}
4474
+ * @memberof GetSkill200ResponseSkill
4475
+ */
4476
+ 'description'?: string;
4477
+ /**
4478
+ *
4479
+ * @type {string}
4480
+ * @memberof GetSkill200ResponseSkill
4481
+ */
4482
+ 'content'?: string;
4483
+ /**
4484
+ *
4485
+ * @type {string}
4486
+ * @memberof GetSkill200ResponseSkill
4487
+ */
4488
+ 'triggerCondition'?: string;
4489
+ /**
4490
+ *
4491
+ * @type {Array<string>}
4492
+ * @memberof GetSkill200ResponseSkill
4493
+ */
4494
+ 'tags'?: Array<string>;
4495
+ /**
4496
+ *
4497
+ * @type {object}
4498
+ * @memberof GetSkill200ResponseSkill
4499
+ */
4500
+ 'source'?: object;
4501
+ /**
4502
+ *
4503
+ * @type {Array<string>}
4504
+ * @memberof GetSkill200ResponseSkill
4505
+ */
4506
+ 'requiredTools'?: Array<string>;
4507
+ /**
4508
+ *
4509
+ * @type {object}
4510
+ * @memberof GetSkill200ResponseSkill
4511
+ */
4512
+ 'files'?: object;
4513
+ /**
4514
+ *
4515
+ * @type {string}
4516
+ * @memberof GetSkill200ResponseSkill
4517
+ */
4518
+ 'namespace'?: string;
4519
+ /**
4520
+ *
4521
+ * @type {boolean}
4522
+ * @memberof GetSkill200ResponseSkill
4523
+ */
4524
+ 'disableModelInvocation'?: boolean;
4525
+ /**
4526
+ *
4527
+ * @type {Array<string>}
4528
+ * @memberof GetSkill200ResponseSkill
4529
+ */
4530
+ 'allowedTools'?: Array<string>;
4531
+ /**
4532
+ *
4533
+ * @type {string}
4534
+ * @memberof GetSkill200ResponseSkill
4535
+ */
4536
+ 'installedAt'?: string;
4537
+ /**
4538
+ *
4539
+ * @type {string}
4540
+ * @memberof GetSkill200ResponseSkill
4541
+ */
4542
+ 'updatedAt'?: string;
4543
+ }
4323
4544
  /**
4324
4545
  *
4325
4546
  * @export
@@ -5024,81 +5245,306 @@ export type ImageGenerationRequestTextToImageParamsControlModeEnum = typeof Imag
5024
5245
  /**
5025
5246
  *
5026
5247
  * @export
5027
- * @interface KVItemsCreate200Response
5248
+ * @interface ImportSkill201Response
5028
5249
  */
5029
- export interface KVItemsCreate200Response {
5030
- /**
5031
- *
5032
- * @type {boolean}
5033
- * @memberof KVItemsCreate200Response
5034
- */
5035
- 'success'?: boolean;
5250
+ export interface ImportSkill201Response {
5036
5251
  /**
5037
5252
  *
5038
- * @type {string}
5039
- * @memberof KVItemsCreate200Response
5253
+ * @type {object}
5254
+ * @memberof ImportSkill201Response
5040
5255
  */
5041
- 'key'?: string;
5256
+ 'skill'?: object;
5042
5257
  /**
5043
5258
  *
5044
5259
  * @type {string}
5045
- * @memberof KVItemsCreate200Response
5260
+ * @memberof ImportSkill201Response
5046
5261
  */
5047
- 'value'?: string;
5262
+ 'message'?: string;
5048
5263
  }
5049
5264
  /**
5050
5265
  *
5051
5266
  * @export
5052
- * @interface KVItemsDelete200Response
5267
+ * @interface ImportSkillCollection201Response
5053
5268
  */
5054
- export interface KVItemsDelete200Response {
5269
+ export interface ImportSkillCollection201Response {
5055
5270
  /**
5056
5271
  *
5057
- * @type {boolean}
5058
- * @memberof KVItemsDelete200Response
5272
+ * @type {string}
5273
+ * @memberof ImportSkillCollection201Response
5059
5274
  */
5060
- 'success'?: boolean;
5275
+ 'namespace'?: string;
5061
5276
  /**
5062
5277
  *
5063
- * @type {string}
5064
- * @memberof KVItemsDelete200Response
5278
+ * @type {number}
5279
+ * @memberof ImportSkillCollection201Response
5065
5280
  */
5066
- 'key'?: string;
5281
+ 'imported'?: number;
5282
+ /**
5283
+ *
5284
+ * @type {number}
5285
+ * @memberof ImportSkillCollection201Response
5286
+ */
5287
+ 'failed'?: number;
5288
+ /**
5289
+ *
5290
+ * @type {Array<object>}
5291
+ * @memberof ImportSkillCollection201Response
5292
+ */
5293
+ 'skills'?: Array<object>;
5294
+ /**
5295
+ *
5296
+ * @type {Array<object>}
5297
+ * @memberof ImportSkillCollection201Response
5298
+ */
5299
+ 'errors'?: Array<object>;
5067
5300
  }
5068
5301
  /**
5069
5302
  *
5070
5303
  * @export
5071
- * @interface KVItemsShow200Response
5304
+ * @interface ImportSkillCollectionRequest
5072
5305
  */
5073
- export interface KVItemsShow200Response {
5306
+ export interface ImportSkillCollectionRequest {
5074
5307
  /**
5075
5308
  *
5076
5309
  * @type {string}
5077
- * @memberof KVItemsShow200Response
5310
+ * @memberof ImportSkillCollectionRequest
5078
5311
  */
5079
- 'key'?: string;
5312
+ 'namespace': string;
5080
5313
  /**
5081
5314
  *
5082
- * @type {KVItemsShow200ResponseValue}
5083
- * @memberof KVItemsShow200Response
5315
+ * @type {ImportSkillCollectionRequestSource}
5316
+ * @memberof ImportSkillCollectionRequest
5084
5317
  */
5085
- 'value'?: KVItemsShow200ResponseValue;
5318
+ 'source': ImportSkillCollectionRequestSource;
5319
+ /**
5320
+ *
5321
+ * @type {Array<string>}
5322
+ * @memberof ImportSkillCollectionRequest
5323
+ */
5324
+ 'tags'?: Array<string>;
5325
+ /**
5326
+ *
5327
+ * @type {string}
5328
+ * @memberof ImportSkillCollectionRequest
5329
+ */
5330
+ 'installedBy'?: string;
5086
5331
  }
5087
- /**
5088
- * @type KVItemsShow200ResponseValue
5089
- * Item value (decoded from JSON if applicable). Returns \'[ENCRYPTED]\' for secret items.
5090
- * @export
5091
- */
5092
- export type KVItemsShow200ResponseValue = object | string;
5093
5332
  /**
5094
5333
  *
5095
5334
  * @export
5096
- * @interface KVLinkToProject200Response
5335
+ * @interface ImportSkillCollectionRequestSource
5097
5336
  */
5098
- export interface KVLinkToProject200Response {
5337
+ export interface ImportSkillCollectionRequestSource {
5099
5338
  /**
5100
5339
  *
5101
- * @type {boolean}
5340
+ * @type {string}
5341
+ * @memberof ImportSkillCollectionRequestSource
5342
+ */
5343
+ 'type': ImportSkillCollectionRequestSourceTypeEnum;
5344
+ /**
5345
+ *
5346
+ * @type {string}
5347
+ * @memberof ImportSkillCollectionRequestSource
5348
+ */
5349
+ 'repo': string;
5350
+ /**
5351
+ *
5352
+ * @type {string}
5353
+ * @memberof ImportSkillCollectionRequestSource
5354
+ */
5355
+ 'path'?: string;
5356
+ /**
5357
+ *
5358
+ * @type {string}
5359
+ * @memberof ImportSkillCollectionRequestSource
5360
+ */
5361
+ 'version'?: string;
5362
+ }
5363
+ export declare const ImportSkillCollectionRequestSourceTypeEnum: {
5364
+ readonly Github: "github";
5365
+ };
5366
+ export type ImportSkillCollectionRequestSourceTypeEnum = typeof ImportSkillCollectionRequestSourceTypeEnum[keyof typeof ImportSkillCollectionRequestSourceTypeEnum];
5367
+ /**
5368
+ *
5369
+ * @export
5370
+ * @interface ImportSkillRequest
5371
+ */
5372
+ export interface ImportSkillRequest {
5373
+ /**
5374
+ *
5375
+ * @type {ImportSkillRequestSource}
5376
+ * @memberof ImportSkillRequest
5377
+ */
5378
+ 'source': ImportSkillRequestSource;
5379
+ /**
5380
+ *
5381
+ * @type {string}
5382
+ * @memberof ImportSkillRequest
5383
+ */
5384
+ 'name'?: string;
5385
+ /**
5386
+ *
5387
+ * @type {string}
5388
+ * @memberof ImportSkillRequest
5389
+ */
5390
+ 'description'?: string;
5391
+ /**
5392
+ *
5393
+ * @type {Array<string>}
5394
+ * @memberof ImportSkillRequest
5395
+ */
5396
+ 'tags'?: Array<string>;
5397
+ /**
5398
+ *
5399
+ * @type {string}
5400
+ * @memberof ImportSkillRequest
5401
+ */
5402
+ 'triggerCondition'?: string;
5403
+ /**
5404
+ *
5405
+ * @type {Array<string>}
5406
+ * @memberof ImportSkillRequest
5407
+ */
5408
+ 'requiredTools'?: Array<string>;
5409
+ /**
5410
+ *
5411
+ * @type {boolean}
5412
+ * @memberof ImportSkillRequest
5413
+ */
5414
+ 'disableModelInvocation'?: boolean;
5415
+ /**
5416
+ *
5417
+ * @type {Array<string>}
5418
+ * @memberof ImportSkillRequest
5419
+ */
5420
+ 'allowedTools'?: Array<string>;
5421
+ /**
5422
+ *
5423
+ * @type {string}
5424
+ * @memberof ImportSkillRequest
5425
+ */
5426
+ 'installedBy'?: string;
5427
+ }
5428
+ /**
5429
+ *
5430
+ * @export
5431
+ * @interface ImportSkillRequestSource
5432
+ */
5433
+ export interface ImportSkillRequestSource {
5434
+ /**
5435
+ *
5436
+ * @type {string}
5437
+ * @memberof ImportSkillRequestSource
5438
+ */
5439
+ 'type': ImportSkillRequestSourceTypeEnum;
5440
+ /**
5441
+ *
5442
+ * @type {string}
5443
+ * @memberof ImportSkillRequestSource
5444
+ */
5445
+ 'url'?: string;
5446
+ /**
5447
+ *
5448
+ * @type {string}
5449
+ * @memberof ImportSkillRequestSource
5450
+ */
5451
+ 'repo'?: string;
5452
+ /**
5453
+ *
5454
+ * @type {string}
5455
+ * @memberof ImportSkillRequestSource
5456
+ */
5457
+ 'path'?: string;
5458
+ /**
5459
+ *
5460
+ * @type {string}
5461
+ * @memberof ImportSkillRequestSource
5462
+ */
5463
+ 'version'?: string;
5464
+ }
5465
+ export declare const ImportSkillRequestSourceTypeEnum: {
5466
+ readonly SkillsSh: "skills.sh";
5467
+ readonly Github: "github";
5468
+ };
5469
+ export type ImportSkillRequestSourceTypeEnum = typeof ImportSkillRequestSourceTypeEnum[keyof typeof ImportSkillRequestSourceTypeEnum];
5470
+ /**
5471
+ *
5472
+ * @export
5473
+ * @interface KVItemsCreate200Response
5474
+ */
5475
+ export interface KVItemsCreate200Response {
5476
+ /**
5477
+ *
5478
+ * @type {boolean}
5479
+ * @memberof KVItemsCreate200Response
5480
+ */
5481
+ 'success'?: boolean;
5482
+ /**
5483
+ *
5484
+ * @type {string}
5485
+ * @memberof KVItemsCreate200Response
5486
+ */
5487
+ 'key'?: string;
5488
+ /**
5489
+ *
5490
+ * @type {string}
5491
+ * @memberof KVItemsCreate200Response
5492
+ */
5493
+ 'value'?: string;
5494
+ }
5495
+ /**
5496
+ *
5497
+ * @export
5498
+ * @interface KVItemsDelete200Response
5499
+ */
5500
+ export interface KVItemsDelete200Response {
5501
+ /**
5502
+ *
5503
+ * @type {boolean}
5504
+ * @memberof KVItemsDelete200Response
5505
+ */
5506
+ 'success'?: boolean;
5507
+ /**
5508
+ *
5509
+ * @type {string}
5510
+ * @memberof KVItemsDelete200Response
5511
+ */
5512
+ 'key'?: string;
5513
+ }
5514
+ /**
5515
+ *
5516
+ * @export
5517
+ * @interface KVItemsShow200Response
5518
+ */
5519
+ export interface KVItemsShow200Response {
5520
+ /**
5521
+ *
5522
+ * @type {string}
5523
+ * @memberof KVItemsShow200Response
5524
+ */
5525
+ 'key'?: string;
5526
+ /**
5527
+ *
5528
+ * @type {KVItemsShow200ResponseValue}
5529
+ * @memberof KVItemsShow200Response
5530
+ */
5531
+ 'value'?: KVItemsShow200ResponseValue;
5532
+ }
5533
+ /**
5534
+ * @type KVItemsShow200ResponseValue
5535
+ * Item value (decoded from JSON if applicable). Returns \'[ENCRYPTED]\' for secret items.
5536
+ * @export
5537
+ */
5538
+ export type KVItemsShow200ResponseValue = object | string;
5539
+ /**
5540
+ *
5541
+ * @export
5542
+ * @interface KVLinkToProject200Response
5543
+ */
5544
+ export interface KVLinkToProject200Response {
5545
+ /**
5546
+ *
5547
+ * @type {boolean}
5102
5548
  * @memberof KVLinkToProject200Response
5103
5549
  */
5104
5550
  'success'?: boolean;
@@ -5854,6 +6300,124 @@ export interface ListOrchestrations200Response {
5854
6300
  */
5855
6301
  'nextCursor'?: string | null;
5856
6302
  }
6303
+ /**
6304
+ *
6305
+ * @export
6306
+ * @interface ListSkillCollections200Response
6307
+ */
6308
+ export interface ListSkillCollections200Response {
6309
+ /**
6310
+ *
6311
+ * @type {Array<ListSkillCollections200ResponseCollectionsInner>}
6312
+ * @memberof ListSkillCollections200Response
6313
+ */
6314
+ 'collections'?: Array<ListSkillCollections200ResponseCollectionsInner>;
6315
+ }
6316
+ /**
6317
+ *
6318
+ * @export
6319
+ * @interface ListSkillCollections200ResponseCollectionsInner
6320
+ */
6321
+ export interface ListSkillCollections200ResponseCollectionsInner {
6322
+ /**
6323
+ *
6324
+ * @type {string}
6325
+ * @memberof ListSkillCollections200ResponseCollectionsInner
6326
+ */
6327
+ 'namespace'?: string;
6328
+ /**
6329
+ *
6330
+ * @type {number}
6331
+ * @memberof ListSkillCollections200ResponseCollectionsInner
6332
+ */
6333
+ 'count'?: number;
6334
+ /**
6335
+ *
6336
+ * @type {Array<string>}
6337
+ * @memberof ListSkillCollections200ResponseCollectionsInner
6338
+ */
6339
+ 'skills'?: Array<string>;
6340
+ }
6341
+ /**
6342
+ *
6343
+ * @export
6344
+ * @interface ListSkills200Response
6345
+ */
6346
+ export interface ListSkills200Response {
6347
+ /**
6348
+ *
6349
+ * @type {Array<ListSkills200ResponseSkillsInner>}
6350
+ * @memberof ListSkills200Response
6351
+ */
6352
+ 'skills'?: Array<ListSkills200ResponseSkillsInner>;
6353
+ /**
6354
+ *
6355
+ * @type {number}
6356
+ * @memberof ListSkills200Response
6357
+ */
6358
+ 'count'?: number;
6359
+ }
6360
+ /**
6361
+ *
6362
+ * @export
6363
+ * @interface ListSkills200ResponseSkillsInner
6364
+ */
6365
+ export interface ListSkills200ResponseSkillsInner {
6366
+ /**
6367
+ *
6368
+ * @type {string}
6369
+ * @memberof ListSkills200ResponseSkillsInner
6370
+ */
6371
+ 'skillId'?: string;
6372
+ /**
6373
+ *
6374
+ * @type {string}
6375
+ * @memberof ListSkills200ResponseSkillsInner
6376
+ */
6377
+ 'name'?: string;
6378
+ /**
6379
+ *
6380
+ * @type {string}
6381
+ * @memberof ListSkills200ResponseSkillsInner
6382
+ */
6383
+ 'description'?: string;
6384
+ /**
6385
+ *
6386
+ * @type {Array<string>}
6387
+ * @memberof ListSkills200ResponseSkillsInner
6388
+ */
6389
+ 'tags'?: Array<string>;
6390
+ /**
6391
+ *
6392
+ * @type {object}
6393
+ * @memberof ListSkills200ResponseSkillsInner
6394
+ */
6395
+ 'source'?: object;
6396
+ /**
6397
+ *
6398
+ * @type {string}
6399
+ * @memberof ListSkills200ResponseSkillsInner
6400
+ */
6401
+ 'triggerCondition'?: string;
6402
+ /**
6403
+ *
6404
+ * @type {string}
6405
+ * @memberof ListSkills200ResponseSkillsInner
6406
+ */
6407
+ 'namespace'?: string;
6408
+ /**
6409
+ *
6410
+ * @type {string}
6411
+ * @memberof ListSkills200ResponseSkillsInner
6412
+ */
6413
+ 'installedAt'?: string;
6414
+ /**
6415
+ *
6416
+ * @type {string}
6417
+ * @memberof ListSkills200ResponseSkillsInner
6418
+ */
6419
+ 'updatedAt'?: string;
6420
+ }
5857
6421
  /**
5858
6422
  *
5859
6423
  * @export
@@ -6684,18 +7248,61 @@ export interface SyncOperation {
6684
7248
  /**
6685
7249
  *
6686
7250
  * @export
6687
- * @interface SyncToEnvironmentRequest
7251
+ * @interface SyncSkillCollection200Response
6688
7252
  */
6689
- export interface SyncToEnvironmentRequest {
7253
+ export interface SyncSkillCollection200Response {
6690
7254
  /**
6691
7255
  *
6692
7256
  * @type {string}
6693
- * @memberof SyncToEnvironmentRequest
7257
+ * @memberof SyncSkillCollection200Response
6694
7258
  */
6695
- 'sourceEnvironment'?: string;
6696
- }
6697
- /**
6698
- *
7259
+ 'namespace'?: string;
7260
+ /**
7261
+ *
7262
+ * @type {number}
7263
+ * @memberof SyncSkillCollection200Response
7264
+ */
7265
+ 'synced'?: number;
7266
+ /**
7267
+ *
7268
+ * @type {number}
7269
+ * @memberof SyncSkillCollection200Response
7270
+ */
7271
+ 'created'?: number;
7272
+ /**
7273
+ *
7274
+ * @type {number}
7275
+ * @memberof SyncSkillCollection200Response
7276
+ */
7277
+ 'failed'?: number;
7278
+ /**
7279
+ *
7280
+ * @type {Array<string>}
7281
+ * @memberof SyncSkillCollection200Response
7282
+ */
7283
+ 'removedFromSource'?: Array<string>;
7284
+ /**
7285
+ *
7286
+ * @type {Array<object>}
7287
+ * @memberof SyncSkillCollection200Response
7288
+ */
7289
+ 'skills'?: Array<object>;
7290
+ }
7291
+ /**
7292
+ *
7293
+ * @export
7294
+ * @interface SyncToEnvironmentRequest
7295
+ */
7296
+ export interface SyncToEnvironmentRequest {
7297
+ /**
7298
+ *
7299
+ * @type {string}
7300
+ * @memberof SyncToEnvironmentRequest
7301
+ */
7302
+ 'sourceEnvironment'?: string;
7303
+ }
7304
+ /**
7305
+ *
6699
7306
  * @export
6700
7307
  * @interface TokensCreate201Response
6701
7308
  */
@@ -7053,6 +7660,104 @@ export interface UpdateEnvironmentVariableRequest {
7053
7660
  */
7054
7661
  'value'?: string;
7055
7662
  }
7663
+ /**
7664
+ *
7665
+ * @export
7666
+ * @interface UpdateSkill200Response
7667
+ */
7668
+ export interface UpdateSkill200Response {
7669
+ /**
7670
+ *
7671
+ * @type {boolean}
7672
+ * @memberof UpdateSkill200Response
7673
+ */
7674
+ 'success'?: boolean;
7675
+ /**
7676
+ *
7677
+ * @type {object}
7678
+ * @memberof UpdateSkill200Response
7679
+ */
7680
+ 'skill'?: object;
7681
+ /**
7682
+ *
7683
+ * @type {string}
7684
+ * @memberof UpdateSkill200Response
7685
+ */
7686
+ 'message'?: string;
7687
+ }
7688
+ /**
7689
+ *
7690
+ * @export
7691
+ * @interface UpdateSkillRequest
7692
+ */
7693
+ export interface UpdateSkillRequest {
7694
+ /**
7695
+ *
7696
+ * @type {string}
7697
+ * @memberof UpdateSkillRequest
7698
+ */
7699
+ 'name'?: string;
7700
+ /**
7701
+ *
7702
+ * @type {string}
7703
+ * @memberof UpdateSkillRequest
7704
+ */
7705
+ 'description'?: string;
7706
+ /**
7707
+ *
7708
+ * @type {string}
7709
+ * @memberof UpdateSkillRequest
7710
+ */
7711
+ 'content'?: string;
7712
+ /**
7713
+ *
7714
+ * @type {string}
7715
+ * @memberof UpdateSkillRequest
7716
+ */
7717
+ 'triggerCondition'?: string;
7718
+ /**
7719
+ *
7720
+ * @type {Array<string>}
7721
+ * @memberof UpdateSkillRequest
7722
+ */
7723
+ 'tags'?: Array<string>;
7724
+ /**
7725
+ *
7726
+ * @type {Array<string>}
7727
+ * @memberof UpdateSkillRequest
7728
+ */
7729
+ 'requiredTools'?: Array<string>;
7730
+ /**
7731
+ *
7732
+ * @type {object}
7733
+ * @memberof UpdateSkillRequest
7734
+ */
7735
+ 'source'?: object;
7736
+ /**
7737
+ *
7738
+ * @type {object}
7739
+ * @memberof UpdateSkillRequest
7740
+ */
7741
+ 'files'?: object;
7742
+ /**
7743
+ *
7744
+ * @type {boolean}
7745
+ * @memberof UpdateSkillRequest
7746
+ */
7747
+ 'disableModelInvocation'?: boolean;
7748
+ /**
7749
+ *
7750
+ * @type {Array<string>}
7751
+ * @memberof UpdateSkillRequest
7752
+ */
7753
+ 'allowedTools'?: Array<string>;
7754
+ /**
7755
+ *
7756
+ * @type {string}
7757
+ * @memberof UpdateSkillRequest
7758
+ */
7759
+ 'namespace'?: string;
7760
+ }
7056
7761
  /**
7057
7762
  *
7058
7763
  * @export
@@ -14354,323 +15059,764 @@ export declare class AIOrchestrationsApi extends BaseAPI {
14354
15059
  * @param {string} [cursor] Pagination cursor from previous response
14355
15060
  * @param {*} [options] Override http request option.
14356
15061
  * @throws {RequiredError}
14357
- * @memberof AIOrchestrationsApi
15062
+ * @memberof AIOrchestrationsApi
15063
+ */
15064
+ listOrchestrations(organisation: string, status?: ListOrchestrationsStatusEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrchestrations200Response, any, {}>>;
15065
+ /**
15066
+ * Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later.
15067
+ * @summary Pause Durable Orchestration
15068
+ * @param {string} organisation The organisation machine name
15069
+ * @param {string} orchestrationId Orchestration identifier
15070
+ * @param {*} [options] Override http request option.
15071
+ * @throws {RequiredError}
15072
+ * @memberof AIOrchestrationsApi
15073
+ */
15074
+ pauseOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
15075
+ /**
15076
+ * Resume a paused orchestration. Processing continues from where it left off.
15077
+ * @summary Resume Durable Orchestration
15078
+ * @param {string} organisation The organisation machine name
15079
+ * @param {string} orchestrationId Orchestration identifier
15080
+ * @param {*} [options] Override http request option.
15081
+ * @throws {RequiredError}
15082
+ * @memberof AIOrchestrationsApi
15083
+ */
15084
+ resumeOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
15085
+ /**
15086
+ * Start a pending orchestration. Only works on orchestrations created with `autoStart: false`.
15087
+ * @summary Start Durable Orchestration
15088
+ * @param {string} organisation The organisation machine name
15089
+ * @param {string} orchestrationId Orchestration identifier
15090
+ * @param {*} [options] Override http request option.
15091
+ * @throws {RequiredError}
15092
+ * @memberof AIOrchestrationsApi
15093
+ */
15094
+ startOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
15095
+ }
15096
+ /**
15097
+ * @export
15098
+ */
15099
+ export declare const ListOrchestrationsStatusEnum: {
15100
+ readonly Pending: "pending";
15101
+ readonly Running: "running";
15102
+ readonly Paused: "paused";
15103
+ readonly Completed: "completed";
15104
+ readonly Failed: "failed";
15105
+ readonly Cancelled: "cancelled";
15106
+ };
15107
+ export type ListOrchestrationsStatusEnum = typeof ListOrchestrationsStatusEnum[keyof typeof ListOrchestrationsStatusEnum];
15108
+ /**
15109
+ * AISessionsApi - axios parameter creator
15110
+ * @export
15111
+ */
15112
+ export declare const AISessionsApiAxiosParamCreator: (configuration?: Configuration) => {
15113
+ /**
15114
+ * 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.
15115
+ * @summary Create a new chat session with multi-tenant isolation
15116
+ * @param {string} organisation The organisation ID
15117
+ * @param {CreateAISessionRequest} createAISessionRequest
15118
+ * @param {*} [options] Override http request option.
15119
+ * @throws {RequiredError}
15120
+ */
15121
+ createAISession: (organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15122
+ /**
15123
+ *
15124
+ * @summary Delete a chat session
15125
+ * @param {string} organisation The organisation ID
15126
+ * @param {string} sessionId The session ID
15127
+ * @param {*} [options] Override http request option.
15128
+ * @throws {RequiredError}
15129
+ */
15130
+ deleteAISession: (organisation: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15131
+ /**
15132
+ * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
15133
+ * @summary Extend Session Expiration
15134
+ * @param {string} organisation The organisation ID
15135
+ * @param {string} sessionId The session ID
15136
+ * @param {ExtendAISessionRequest} [extendAISessionRequest]
15137
+ * @param {*} [options] Override http request option.
15138
+ * @throws {RequiredError}
15139
+ */
15140
+ extendAISession: (organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15141
+ /**
15142
+ *
15143
+ * @summary Get a specific chat session
15144
+ * @param {string} organisation The organisation ID
15145
+ * @param {string} sessionId The session ID
15146
+ * @param {*} [options] Override http request option.
15147
+ * @throws {RequiredError}
15148
+ */
15149
+ getAISession: (organisation: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15150
+ /**
15151
+ * 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
15152
+ * @summary List chat sessions with multi-tenant filtering
15153
+ * @param {string} organisation The organisation ID
15154
+ * @param {string} [userId] Filter sessions by user ID
15155
+ * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
15156
+ * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
15157
+ * @param {number} [offset] Offset for pagination
15158
+ * @param {string} [model] Filter by model ID
15159
+ * @param {*} [options] Override http request option.
15160
+ * @throws {RequiredError}
15161
+ */
15162
+ listAISessions: (organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15163
+ /**
15164
+ * 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
15165
+ * @summary Update Session
15166
+ * @param {string} organisation The organisation ID
15167
+ * @param {string} sessionId The session ID
15168
+ * @param {UpdateAISessionRequest} updateAISessionRequest
15169
+ * @param {*} [options] Override http request option.
15170
+ * @throws {RequiredError}
15171
+ */
15172
+ updateAISession: (organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15173
+ };
15174
+ /**
15175
+ * AISessionsApi - functional programming interface
15176
+ * @export
15177
+ */
15178
+ export declare const AISessionsApiFp: (configuration?: Configuration) => {
15179
+ /**
15180
+ * 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.
15181
+ * @summary Create a new chat session with multi-tenant isolation
15182
+ * @param {string} organisation The organisation ID
15183
+ * @param {CreateAISessionRequest} createAISessionRequest
15184
+ * @param {*} [options] Override http request option.
15185
+ * @throws {RequiredError}
15186
+ */
15187
+ createAISession(organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAISession201Response>>;
15188
+ /**
15189
+ *
15190
+ * @summary Delete a chat session
15191
+ * @param {string} organisation The organisation ID
15192
+ * @param {string} sessionId The session ID
15193
+ * @param {*} [options] Override http request option.
15194
+ * @throws {RequiredError}
15195
+ */
15196
+ deleteAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteAISession200Response>>;
15197
+ /**
15198
+ * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
15199
+ * @summary Extend Session Expiration
15200
+ * @param {string} organisation The organisation ID
15201
+ * @param {string} sessionId The session ID
15202
+ * @param {ExtendAISessionRequest} [extendAISessionRequest]
15203
+ * @param {*} [options] Override http request option.
15204
+ * @throws {RequiredError}
15205
+ */
15206
+ extendAISession(organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExtendAISession200Response>>;
15207
+ /**
15208
+ *
15209
+ * @summary Get a specific chat session
15210
+ * @param {string} organisation The organisation ID
15211
+ * @param {string} sessionId The session ID
15212
+ * @param {*} [options] Override http request option.
15213
+ * @throws {RequiredError}
15214
+ */
15215
+ getAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAISession200Response>>;
15216
+ /**
15217
+ * 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
15218
+ * @summary List chat sessions with multi-tenant filtering
15219
+ * @param {string} organisation The organisation ID
15220
+ * @param {string} [userId] Filter sessions by user ID
15221
+ * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
15222
+ * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
15223
+ * @param {number} [offset] Offset for pagination
15224
+ * @param {string} [model] Filter by model ID
15225
+ * @param {*} [options] Override http request option.
15226
+ * @throws {RequiredError}
15227
+ */
15228
+ listAISessions(organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListAISessions200ResponseInner>>>;
15229
+ /**
15230
+ * 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
15231
+ * @summary Update Session
15232
+ * @param {string} organisation The organisation ID
15233
+ * @param {string} sessionId The session ID
15234
+ * @param {UpdateAISessionRequest} updateAISessionRequest
15235
+ * @param {*} [options] Override http request option.
15236
+ * @throws {RequiredError}
15237
+ */
15238
+ updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAISession200Response>>;
15239
+ };
15240
+ /**
15241
+ * AISessionsApi - factory interface
15242
+ * @export
15243
+ */
15244
+ export declare const AISessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15245
+ /**
15246
+ * 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.
15247
+ * @summary Create a new chat session with multi-tenant isolation
15248
+ * @param {string} organisation The organisation ID
15249
+ * @param {CreateAISessionRequest} createAISessionRequest
15250
+ * @param {*} [options] Override http request option.
15251
+ * @throws {RequiredError}
15252
+ */
15253
+ createAISession(organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAISession201Response>;
15254
+ /**
15255
+ *
15256
+ * @summary Delete a chat session
15257
+ * @param {string} organisation The organisation ID
15258
+ * @param {string} sessionId The session ID
15259
+ * @param {*} [options] Override http request option.
15260
+ * @throws {RequiredError}
15261
+ */
15262
+ deleteAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteAISession200Response>;
15263
+ /**
15264
+ * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
15265
+ * @summary Extend Session Expiration
15266
+ * @param {string} organisation The organisation ID
15267
+ * @param {string} sessionId The session ID
15268
+ * @param {ExtendAISessionRequest} [extendAISessionRequest]
15269
+ * @param {*} [options] Override http request option.
15270
+ * @throws {RequiredError}
15271
+ */
15272
+ extendAISession(organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExtendAISession200Response>;
15273
+ /**
15274
+ *
15275
+ * @summary Get a specific chat session
15276
+ * @param {string} organisation The organisation ID
15277
+ * @param {string} sessionId The session ID
15278
+ * @param {*} [options] Override http request option.
15279
+ * @throws {RequiredError}
15280
+ */
15281
+ getAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAISession200Response>;
15282
+ /**
15283
+ * 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
15284
+ * @summary List chat sessions with multi-tenant filtering
15285
+ * @param {string} organisation The organisation ID
15286
+ * @param {string} [userId] Filter sessions by user ID
15287
+ * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
15288
+ * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
15289
+ * @param {number} [offset] Offset for pagination
15290
+ * @param {string} [model] Filter by model ID
15291
+ * @param {*} [options] Override http request option.
15292
+ * @throws {RequiredError}
15293
+ */
15294
+ listAISessions(organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListAISessions200ResponseInner>>;
15295
+ /**
15296
+ * 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
15297
+ * @summary Update Session
15298
+ * @param {string} organisation The organisation ID
15299
+ * @param {string} sessionId The session ID
15300
+ * @param {UpdateAISessionRequest} updateAISessionRequest
15301
+ * @param {*} [options] Override http request option.
15302
+ * @throws {RequiredError}
15303
+ */
15304
+ updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAISession200Response>;
15305
+ };
15306
+ /**
15307
+ * AISessionsApi - object-oriented interface
15308
+ * @export
15309
+ * @class AISessionsApi
15310
+ * @extends {BaseAPI}
15311
+ */
15312
+ export declare class AISessionsApi extends BaseAPI {
15313
+ /**
15314
+ * 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.
15315
+ * @summary Create a new chat session with multi-tenant isolation
15316
+ * @param {string} organisation The organisation ID
15317
+ * @param {CreateAISessionRequest} createAISessionRequest
15318
+ * @param {*} [options] Override http request option.
15319
+ * @throws {RequiredError}
15320
+ * @memberof AISessionsApi
15321
+ */
15322
+ createAISession(organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAISession201Response, any, {}>>;
15323
+ /**
15324
+ *
15325
+ * @summary Delete a chat session
15326
+ * @param {string} organisation The organisation ID
15327
+ * @param {string} sessionId The session ID
15328
+ * @param {*} [options] Override http request option.
15329
+ * @throws {RequiredError}
15330
+ * @memberof AISessionsApi
15331
+ */
15332
+ deleteAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteAISession200Response, any, {}>>;
15333
+ /**
15334
+ * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
15335
+ * @summary Extend Session Expiration
15336
+ * @param {string} organisation The organisation ID
15337
+ * @param {string} sessionId The session ID
15338
+ * @param {ExtendAISessionRequest} [extendAISessionRequest]
15339
+ * @param {*} [options] Override http request option.
15340
+ * @throws {RequiredError}
15341
+ * @memberof AISessionsApi
15342
+ */
15343
+ extendAISession(organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtendAISession200Response, any, {}>>;
15344
+ /**
15345
+ *
15346
+ * @summary Get a specific chat session
15347
+ * @param {string} organisation The organisation ID
15348
+ * @param {string} sessionId The session ID
15349
+ * @param {*} [options] Override http request option.
15350
+ * @throws {RequiredError}
15351
+ * @memberof AISessionsApi
15352
+ */
15353
+ getAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAISession200Response, any, {}>>;
15354
+ /**
15355
+ * 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
15356
+ * @summary List chat sessions with multi-tenant filtering
15357
+ * @param {string} organisation The organisation ID
15358
+ * @param {string} [userId] Filter sessions by user ID
15359
+ * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
15360
+ * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
15361
+ * @param {number} [offset] Offset for pagination
15362
+ * @param {string} [model] Filter by model ID
15363
+ * @param {*} [options] Override http request option.
15364
+ * @throws {RequiredError}
15365
+ * @memberof AISessionsApi
15366
+ */
15367
+ listAISessions(organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAISessions200ResponseInner[], any, {}>>;
15368
+ /**
15369
+ * 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
15370
+ * @summary Update Session
15371
+ * @param {string} organisation The organisation ID
15372
+ * @param {string} sessionId The session ID
15373
+ * @param {UpdateAISessionRequest} updateAISessionRequest
15374
+ * @param {*} [options] Override http request option.
15375
+ * @throws {RequiredError}
15376
+ * @memberof AISessionsApi
15377
+ */
15378
+ updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAISession200Response, any, {}>>;
15379
+ }
15380
+ /**
15381
+ * AISkillsApi - axios parameter creator
15382
+ * @export
15383
+ */
15384
+ export declare const AISkillsApiAxiosParamCreator: (configuration?: Configuration) => {
15385
+ /**
15386
+ * 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\'
15387
+ * @summary Create Inline Skill
15388
+ * @param {string} organisation The organisation ID
15389
+ * @param {CreateSkillRequest} createSkillRequest
15390
+ * @param {*} [options] Override http request option.
15391
+ * @throws {RequiredError}
15392
+ */
15393
+ createSkill: (organisation: string, createSkillRequest: CreateSkillRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15394
+ /**
15395
+ * Permanently deletes a skill. This will also remove it from any agents that have it assigned.
15396
+ * @summary Delete Skill
15397
+ * @param {string} organisation The organisation ID
15398
+ * @param {string} skillId The skill ID
15399
+ * @param {*} [options] Override http request option.
15400
+ * @throws {RequiredError}
15401
+ */
15402
+ deleteSkill: (organisation: string, skillId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15403
+ /**
15404
+ * Permanently deletes all skills in the specified namespace.
15405
+ * @summary Delete Skill Collection
15406
+ * @param {string} organisation The organisation ID
15407
+ * @param {string} namespace Collection namespace
15408
+ * @param {*} [options] Override http request option.
15409
+ * @throws {RequiredError}
15410
+ */
15411
+ deleteSkillCollection: (organisation: string, namespace: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15412
+ /**
15413
+ * Retrieves full details of a skill including its content, source information, and metadata.
15414
+ * @summary Get Skill Details
15415
+ * @param {string} organisation The organisation ID
15416
+ * @param {string} skillId The skill ID
15417
+ * @param {*} [options] Override http request option.
15418
+ * @throws {RequiredError}
15419
+ */
15420
+ getSkill: (organisation: string, skillId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15421
+ /**
15422
+ * 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
15423
+ * @summary Import Skill from External Source
15424
+ * @param {string} organisation The organisation ID
15425
+ * @param {ImportSkillRequest} importSkillRequest
15426
+ * @param {*} [options] Override http request option.
15427
+ * @throws {RequiredError}
15428
+ */
15429
+ importSkill: (organisation: string, importSkillRequest: ImportSkillRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15430
+ /**
15431
+ * 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.
15432
+ * @summary Import Skill Collection from GitHub
15433
+ * @param {string} organisation The organisation ID
15434
+ * @param {ImportSkillCollectionRequest} importSkillCollectionRequest
15435
+ * @param {*} [options] Override http request option.
15436
+ * @throws {RequiredError}
15437
+ */
15438
+ importSkillCollection: (organisation: string, importSkillCollectionRequest: ImportSkillCollectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15439
+ /**
15440
+ * Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
15441
+ * @summary List Skill Collections
15442
+ * @param {string} organisation The organisation ID
15443
+ * @param {*} [options] Override http request option.
15444
+ * @throws {RequiredError}
15445
+ */
15446
+ listSkillCollections: (organisation: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15447
+ /**
15448
+ * 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
15449
+ * @summary List Organization\'s Skills
15450
+ * @param {string} organisation The organisation ID
15451
+ * @param {string} [tag] Filter skills by tag
15452
+ * @param {string} [namespace] Filter skills by collection namespace (e.g. \&#39;superpowers\&#39;)
15453
+ * @param {number} [limit] Maximum number of skills to return
15454
+ * @param {*} [options] Override http request option.
15455
+ * @throws {RequiredError}
15456
+ */
15457
+ listSkills: (organisation: string, tag?: string, namespace?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15458
+ /**
15459
+ * 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
15460
+ * @summary Sync Skill from Source
15461
+ * @param {string} organisation The organisation ID
15462
+ * @param {string} skillId The skill ID
15463
+ * @param {*} [options] Override http request option.
15464
+ * @throws {RequiredError}
15465
+ */
15466
+ syncSkill: (organisation: string, skillId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15467
+ /**
15468
+ * 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.
15469
+ * @summary Sync Skill Collection
15470
+ * @param {string} organisation The organisation ID
15471
+ * @param {string} namespace Collection namespace
15472
+ * @param {*} [options] Override http request option.
15473
+ * @throws {RequiredError}
15474
+ */
15475
+ syncSkillCollection: (organisation: string, namespace: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15476
+ /**
15477
+ * 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.
15478
+ * @summary Update Skill
15479
+ * @param {string} organisation The organisation ID
15480
+ * @param {string} skillId The skill ID
15481
+ * @param {UpdateSkillRequest} updateSkillRequest
15482
+ * @param {*} [options] Override http request option.
15483
+ * @throws {RequiredError}
15484
+ */
15485
+ updateSkill: (organisation: string, skillId: string, updateSkillRequest: UpdateSkillRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15486
+ };
15487
+ /**
15488
+ * AISkillsApi - functional programming interface
15489
+ * @export
15490
+ */
15491
+ export declare const AISkillsApiFp: (configuration?: Configuration) => {
15492
+ /**
15493
+ * 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\'
15494
+ * @summary Create Inline Skill
15495
+ * @param {string} organisation The organisation ID
15496
+ * @param {CreateSkillRequest} createSkillRequest
15497
+ * @param {*} [options] Override http request option.
15498
+ * @throws {RequiredError}
15499
+ */
15500
+ createSkill(organisation: string, createSkillRequest: CreateSkillRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSkill201Response>>;
15501
+ /**
15502
+ * Permanently deletes a skill. This will also remove it from any agents that have it assigned.
15503
+ * @summary Delete Skill
15504
+ * @param {string} organisation The organisation ID
15505
+ * @param {string} skillId The skill ID
15506
+ * @param {*} [options] Override http request option.
15507
+ * @throws {RequiredError}
15508
+ */
15509
+ deleteSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSkill200Response>>;
15510
+ /**
15511
+ * Permanently deletes all skills in the specified namespace.
15512
+ * @summary Delete Skill Collection
15513
+ * @param {string} organisation The organisation ID
15514
+ * @param {string} namespace Collection namespace
15515
+ * @param {*} [options] Override http request option.
15516
+ * @throws {RequiredError}
15517
+ */
15518
+ deleteSkillCollection(organisation: string, namespace: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSkillCollection200Response>>;
15519
+ /**
15520
+ * Retrieves full details of a skill including its content, source information, and metadata.
15521
+ * @summary Get Skill Details
15522
+ * @param {string} organisation The organisation ID
15523
+ * @param {string} skillId The skill ID
15524
+ * @param {*} [options] Override http request option.
15525
+ * @throws {RequiredError}
15526
+ */
15527
+ getSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSkill200Response>>;
15528
+ /**
15529
+ * 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
15530
+ * @summary Import Skill from External Source
15531
+ * @param {string} organisation The organisation ID
15532
+ * @param {ImportSkillRequest} importSkillRequest
15533
+ * @param {*} [options] Override http request option.
15534
+ * @throws {RequiredError}
15535
+ */
15536
+ importSkill(organisation: string, importSkillRequest: ImportSkillRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportSkill201Response>>;
15537
+ /**
15538
+ * 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.
15539
+ * @summary Import Skill Collection from GitHub
15540
+ * @param {string} organisation The organisation ID
15541
+ * @param {ImportSkillCollectionRequest} importSkillCollectionRequest
15542
+ * @param {*} [options] Override http request option.
15543
+ * @throws {RequiredError}
15544
+ */
15545
+ importSkillCollection(organisation: string, importSkillCollectionRequest: ImportSkillCollectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportSkillCollection201Response>>;
15546
+ /**
15547
+ * Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
15548
+ * @summary List Skill Collections
15549
+ * @param {string} organisation The organisation ID
15550
+ * @param {*} [options] Override http request option.
15551
+ * @throws {RequiredError}
14358
15552
  */
14359
- listOrchestrations(organisation: string, status?: ListOrchestrationsStatusEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrchestrations200Response, any, {}>>;
15553
+ listSkillCollections(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSkillCollections200Response>>;
14360
15554
  /**
14361
- * Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later.
14362
- * @summary Pause Durable Orchestration
14363
- * @param {string} organisation The organisation machine name
14364
- * @param {string} orchestrationId Orchestration identifier
15555
+ * 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
15556
+ * @summary List Organization\'s Skills
15557
+ * @param {string} organisation The organisation ID
15558
+ * @param {string} [tag] Filter skills by tag
15559
+ * @param {string} [namespace] Filter skills by collection namespace (e.g. \&#39;superpowers\&#39;)
15560
+ * @param {number} [limit] Maximum number of skills to return
14365
15561
  * @param {*} [options] Override http request option.
14366
15562
  * @throws {RequiredError}
14367
- * @memberof AIOrchestrationsApi
14368
15563
  */
14369
- pauseOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
15564
+ listSkills(organisation: string, tag?: string, namespace?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSkills200Response>>;
14370
15565
  /**
14371
- * Resume a paused orchestration. Processing continues from where it left off.
14372
- * @summary Resume Durable Orchestration
14373
- * @param {string} organisation The organisation machine name
14374
- * @param {string} orchestrationId Orchestration identifier
15566
+ * 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
15567
+ * @summary Sync Skill from Source
15568
+ * @param {string} organisation The organisation ID
15569
+ * @param {string} skillId The skill ID
14375
15570
  * @param {*} [options] Override http request option.
14376
15571
  * @throws {RequiredError}
14377
- * @memberof AIOrchestrationsApi
14378
15572
  */
14379
- resumeOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
15573
+ syncSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImportSkill201Response>>;
14380
15574
  /**
14381
- * Start a pending orchestration. Only works on orchestrations created with `autoStart: false`.
14382
- * @summary Start Durable Orchestration
14383
- * @param {string} organisation The organisation machine name
14384
- * @param {string} orchestrationId Orchestration identifier
15575
+ * 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.
15576
+ * @summary Sync Skill Collection
15577
+ * @param {string} organisation The organisation ID
15578
+ * @param {string} namespace Collection namespace
14385
15579
  * @param {*} [options] Override http request option.
14386
15580
  * @throws {RequiredError}
14387
- * @memberof AIOrchestrationsApi
14388
15581
  */
14389
- startOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
14390
- }
14391
- /**
14392
- * @export
14393
- */
14394
- export declare const ListOrchestrationsStatusEnum: {
14395
- readonly Pending: "pending";
14396
- readonly Running: "running";
14397
- readonly Paused: "paused";
14398
- readonly Completed: "completed";
14399
- readonly Failed: "failed";
14400
- readonly Cancelled: "cancelled";
14401
- };
14402
- export type ListOrchestrationsStatusEnum = typeof ListOrchestrationsStatusEnum[keyof typeof ListOrchestrationsStatusEnum];
14403
- /**
14404
- * AISessionsApi - axios parameter creator
14405
- * @export
14406
- */
14407
- export declare const AISessionsApiAxiosParamCreator: (configuration?: Configuration) => {
15582
+ syncSkillCollection(organisation: string, namespace: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncSkillCollection200Response>>;
14408
15583
  /**
14409
- * 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.
14410
- * @summary Create a new chat session with multi-tenant isolation
15584
+ * 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.
15585
+ * @summary Update Skill
14411
15586
  * @param {string} organisation The organisation ID
14412
- * @param {CreateAISessionRequest} createAISessionRequest
15587
+ * @param {string} skillId The skill ID
15588
+ * @param {UpdateSkillRequest} updateSkillRequest
14413
15589
  * @param {*} [options] Override http request option.
14414
15590
  * @throws {RequiredError}
14415
15591
  */
14416
- createAISession: (organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15592
+ updateSkill(organisation: string, skillId: string, updateSkillRequest: UpdateSkillRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSkill200Response>>;
15593
+ };
15594
+ /**
15595
+ * AISkillsApi - factory interface
15596
+ * @export
15597
+ */
15598
+ export declare const AISkillsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14417
15599
  /**
14418
- *
14419
- * @summary Delete a chat session
15600
+ * 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\'
15601
+ * @summary Create Inline Skill
14420
15602
  * @param {string} organisation The organisation ID
14421
- * @param {string} sessionId The session ID
15603
+ * @param {CreateSkillRequest} createSkillRequest
14422
15604
  * @param {*} [options] Override http request option.
14423
15605
  * @throws {RequiredError}
14424
15606
  */
14425
- deleteAISession: (organisation: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15607
+ createSkill(organisation: string, createSkillRequest: CreateSkillRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSkill201Response>;
14426
15608
  /**
14427
- * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
14428
- * @summary Extend Session Expiration
15609
+ * Permanently deletes a skill. This will also remove it from any agents that have it assigned.
15610
+ * @summary Delete Skill
14429
15611
  * @param {string} organisation The organisation ID
14430
- * @param {string} sessionId The session ID
14431
- * @param {ExtendAISessionRequest} [extendAISessionRequest]
15612
+ * @param {string} skillId The skill ID
14432
15613
  * @param {*} [options] Override http request option.
14433
15614
  * @throws {RequiredError}
14434
15615
  */
14435
- extendAISession: (organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15616
+ deleteSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSkill200Response>;
14436
15617
  /**
14437
- *
14438
- * @summary Get a specific chat session
15618
+ * Permanently deletes all skills in the specified namespace.
15619
+ * @summary Delete Skill Collection
14439
15620
  * @param {string} organisation The organisation ID
14440
- * @param {string} sessionId The session ID
15621
+ * @param {string} namespace Collection namespace
14441
15622
  * @param {*} [options] Override http request option.
14442
15623
  * @throws {RequiredError}
14443
15624
  */
14444
- getAISession: (organisation: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15625
+ deleteSkillCollection(organisation: string, namespace: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSkillCollection200Response>;
14445
15626
  /**
14446
- * 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
14447
- * @summary List chat sessions with multi-tenant filtering
15627
+ * Retrieves full details of a skill including its content, source information, and metadata.
15628
+ * @summary Get Skill Details
14448
15629
  * @param {string} organisation The organisation ID
14449
- * @param {string} [userId] Filter sessions by user ID
14450
- * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
14451
- * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
14452
- * @param {number} [offset] Offset for pagination
14453
- * @param {string} [model] Filter by model ID
15630
+ * @param {string} skillId The skill ID
14454
15631
  * @param {*} [options] Override http request option.
14455
15632
  * @throws {RequiredError}
14456
15633
  */
14457
- listAISessions: (organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15634
+ getSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetSkill200Response>;
14458
15635
  /**
14459
- * 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
14460
- * @summary Update Session
15636
+ * 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
15637
+ * @summary Import Skill from External Source
14461
15638
  * @param {string} organisation The organisation ID
14462
- * @param {string} sessionId The session ID
14463
- * @param {UpdateAISessionRequest} updateAISessionRequest
15639
+ * @param {ImportSkillRequest} importSkillRequest
14464
15640
  * @param {*} [options] Override http request option.
14465
15641
  * @throws {RequiredError}
14466
15642
  */
14467
- updateAISession: (organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14468
- };
14469
- /**
14470
- * AISessionsApi - functional programming interface
14471
- * @export
14472
- */
14473
- export declare const AISessionsApiFp: (configuration?: Configuration) => {
15643
+ importSkill(organisation: string, importSkillRequest: ImportSkillRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportSkill201Response>;
14474
15644
  /**
14475
- * 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.
14476
- * @summary Create a new chat session with multi-tenant isolation
15645
+ * 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.
15646
+ * @summary Import Skill Collection from GitHub
14477
15647
  * @param {string} organisation The organisation ID
14478
- * @param {CreateAISessionRequest} createAISessionRequest
15648
+ * @param {ImportSkillCollectionRequest} importSkillCollectionRequest
14479
15649
  * @param {*} [options] Override http request option.
14480
15650
  * @throws {RequiredError}
14481
15651
  */
14482
- createAISession(organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAISession201Response>>;
15652
+ importSkillCollection(organisation: string, importSkillCollectionRequest: ImportSkillCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImportSkillCollection201Response>;
14483
15653
  /**
14484
- *
14485
- * @summary Delete a chat session
15654
+ * Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
15655
+ * @summary List Skill Collections
14486
15656
  * @param {string} organisation The organisation ID
14487
- * @param {string} sessionId The session ID
14488
15657
  * @param {*} [options] Override http request option.
14489
15658
  * @throws {RequiredError}
14490
15659
  */
14491
- deleteAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteAISession200Response>>;
15660
+ listSkillCollections(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<ListSkillCollections200Response>;
14492
15661
  /**
14493
- * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
14494
- * @summary Extend Session Expiration
15662
+ * 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
15663
+ * @summary List Organization\'s Skills
14495
15664
  * @param {string} organisation The organisation ID
14496
- * @param {string} sessionId The session ID
14497
- * @param {ExtendAISessionRequest} [extendAISessionRequest]
15665
+ * @param {string} [tag] Filter skills by tag
15666
+ * @param {string} [namespace] Filter skills by collection namespace (e.g. \&#39;superpowers\&#39;)
15667
+ * @param {number} [limit] Maximum number of skills to return
14498
15668
  * @param {*} [options] Override http request option.
14499
15669
  * @throws {RequiredError}
14500
15670
  */
14501
- extendAISession(organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExtendAISession200Response>>;
15671
+ listSkills(organisation: string, tag?: string, namespace?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListSkills200Response>;
14502
15672
  /**
14503
- *
14504
- * @summary Get a specific chat session
15673
+ * 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
15674
+ * @summary Sync Skill from Source
14505
15675
  * @param {string} organisation The organisation ID
14506
- * @param {string} sessionId The session ID
15676
+ * @param {string} skillId The skill ID
14507
15677
  * @param {*} [options] Override http request option.
14508
15678
  * @throws {RequiredError}
14509
15679
  */
14510
- getAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAISession200Response>>;
15680
+ syncSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): AxiosPromise<ImportSkill201Response>;
14511
15681
  /**
14512
- * 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
14513
- * @summary List chat sessions with multi-tenant filtering
15682
+ * 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.
15683
+ * @summary Sync Skill Collection
14514
15684
  * @param {string} organisation The organisation ID
14515
- * @param {string} [userId] Filter sessions by user ID
14516
- * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
14517
- * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
14518
- * @param {number} [offset] Offset for pagination
14519
- * @param {string} [model] Filter by model ID
15685
+ * @param {string} namespace Collection namespace
14520
15686
  * @param {*} [options] Override http request option.
14521
15687
  * @throws {RequiredError}
14522
15688
  */
14523
- listAISessions(organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListAISessions200ResponseInner>>>;
15689
+ syncSkillCollection(organisation: string, namespace: string, options?: RawAxiosRequestConfig): AxiosPromise<SyncSkillCollection200Response>;
14524
15690
  /**
14525
- * 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
14526
- * @summary Update Session
15691
+ * 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.
15692
+ * @summary Update Skill
14527
15693
  * @param {string} organisation The organisation ID
14528
- * @param {string} sessionId The session ID
14529
- * @param {UpdateAISessionRequest} updateAISessionRequest
15694
+ * @param {string} skillId The skill ID
15695
+ * @param {UpdateSkillRequest} updateSkillRequest
14530
15696
  * @param {*} [options] Override http request option.
14531
15697
  * @throws {RequiredError}
14532
15698
  */
14533
- updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAISession200Response>>;
15699
+ updateSkill(organisation: string, skillId: string, updateSkillRequest: UpdateSkillRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateSkill200Response>;
14534
15700
  };
14535
15701
  /**
14536
- * AISessionsApi - factory interface
15702
+ * AISkillsApi - object-oriented interface
14537
15703
  * @export
15704
+ * @class AISkillsApi
15705
+ * @extends {BaseAPI}
14538
15706
  */
14539
- export declare const AISessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14540
- /**
14541
- * 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.
14542
- * @summary Create a new chat session with multi-tenant isolation
14543
- * @param {string} organisation The organisation ID
14544
- * @param {CreateAISessionRequest} createAISessionRequest
14545
- * @param {*} [options] Override http request option.
14546
- * @throws {RequiredError}
14547
- */
14548
- createAISession(organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAISession201Response>;
15707
+ export declare class AISkillsApi extends BaseAPI {
14549
15708
  /**
14550
- *
14551
- * @summary Delete a chat session
15709
+ * 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\'
15710
+ * @summary Create Inline Skill
14552
15711
  * @param {string} organisation The organisation ID
14553
- * @param {string} sessionId The session ID
15712
+ * @param {CreateSkillRequest} createSkillRequest
14554
15713
  * @param {*} [options] Override http request option.
14555
15714
  * @throws {RequiredError}
15715
+ * @memberof AISkillsApi
14556
15716
  */
14557
- deleteAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteAISession200Response>;
15717
+ createSkill(organisation: string, createSkillRequest: CreateSkillRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSkill201Response, any, {}>>;
14558
15718
  /**
14559
- * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
14560
- * @summary Extend Session Expiration
15719
+ * Permanently deletes a skill. This will also remove it from any agents that have it assigned.
15720
+ * @summary Delete Skill
14561
15721
  * @param {string} organisation The organisation ID
14562
- * @param {string} sessionId The session ID
14563
- * @param {ExtendAISessionRequest} [extendAISessionRequest]
15722
+ * @param {string} skillId The skill ID
14564
15723
  * @param {*} [options] Override http request option.
14565
15724
  * @throws {RequiredError}
15725
+ * @memberof AISkillsApi
14566
15726
  */
14567
- extendAISession(organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExtendAISession200Response>;
15727
+ deleteSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSkill200Response, any, {}>>;
14568
15728
  /**
14569
- *
14570
- * @summary Get a specific chat session
15729
+ * Permanently deletes all skills in the specified namespace.
15730
+ * @summary Delete Skill Collection
14571
15731
  * @param {string} organisation The organisation ID
14572
- * @param {string} sessionId The session ID
15732
+ * @param {string} namespace Collection namespace
14573
15733
  * @param {*} [options] Override http request option.
14574
15734
  * @throws {RequiredError}
15735
+ * @memberof AISkillsApi
14575
15736
  */
14576
- getAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAISession200Response>;
15737
+ deleteSkillCollection(organisation: string, namespace: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSkillCollection200Response, any, {}>>;
14577
15738
  /**
14578
- * 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
14579
- * @summary List chat sessions with multi-tenant filtering
15739
+ * Retrieves full details of a skill including its content, source information, and metadata.
15740
+ * @summary Get Skill Details
14580
15741
  * @param {string} organisation The organisation ID
14581
- * @param {string} [userId] Filter sessions by user ID
14582
- * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
14583
- * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
14584
- * @param {number} [offset] Offset for pagination
14585
- * @param {string} [model] Filter by model ID
15742
+ * @param {string} skillId The skill ID
14586
15743
  * @param {*} [options] Override http request option.
14587
15744
  * @throws {RequiredError}
15745
+ * @memberof AISkillsApi
14588
15746
  */
14589
- listAISessions(organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListAISessions200ResponseInner>>;
15747
+ getSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSkill200Response, any, {}>>;
14590
15748
  /**
14591
- * 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
14592
- * @summary Update Session
15749
+ * 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
15750
+ * @summary Import Skill from External Source
14593
15751
  * @param {string} organisation The organisation ID
14594
- * @param {string} sessionId The session ID
14595
- * @param {UpdateAISessionRequest} updateAISessionRequest
15752
+ * @param {ImportSkillRequest} importSkillRequest
14596
15753
  * @param {*} [options] Override http request option.
14597
15754
  * @throws {RequiredError}
15755
+ * @memberof AISkillsApi
14598
15756
  */
14599
- updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAISession200Response>;
14600
- };
14601
- /**
14602
- * AISessionsApi - object-oriented interface
14603
- * @export
14604
- * @class AISessionsApi
14605
- * @extends {BaseAPI}
14606
- */
14607
- export declare class AISessionsApi extends BaseAPI {
15757
+ importSkill(organisation: string, importSkillRequest: ImportSkillRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportSkill201Response, any, {}>>;
14608
15758
  /**
14609
- * 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.
14610
- * @summary Create a new chat session with multi-tenant isolation
15759
+ * 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.
15760
+ * @summary Import Skill Collection from GitHub
14611
15761
  * @param {string} organisation The organisation ID
14612
- * @param {CreateAISessionRequest} createAISessionRequest
15762
+ * @param {ImportSkillCollectionRequest} importSkillCollectionRequest
14613
15763
  * @param {*} [options] Override http request option.
14614
15764
  * @throws {RequiredError}
14615
- * @memberof AISessionsApi
15765
+ * @memberof AISkillsApi
14616
15766
  */
14617
- createAISession(organisation: string, createAISessionRequest: CreateAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAISession201Response, any, {}>>;
15767
+ importSkillCollection(organisation: string, importSkillCollectionRequest: ImportSkillCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportSkillCollection201Response, any, {}>>;
14618
15768
  /**
14619
- *
14620
- * @summary Delete a chat session
15769
+ * Lists distinct namespaces (collections) for the organization, with skill counts and skill names for each collection.
15770
+ * @summary List Skill Collections
14621
15771
  * @param {string} organisation The organisation ID
14622
- * @param {string} sessionId The session ID
14623
15772
  * @param {*} [options] Override http request option.
14624
15773
  * @throws {RequiredError}
14625
- * @memberof AISessionsApi
15774
+ * @memberof AISkillsApi
14626
15775
  */
14627
- deleteAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteAISession200Response, any, {}>>;
15776
+ listSkillCollections(organisation: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSkillCollections200Response, any, {}>>;
14628
15777
  /**
14629
- * Extends the expiration time of an active session. Useful for keeping long-running conversations alive.
14630
- * @summary Extend Session Expiration
15778
+ * 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
15779
+ * @summary List Organization\'s Skills
14631
15780
  * @param {string} organisation The organisation ID
14632
- * @param {string} sessionId The session ID
14633
- * @param {ExtendAISessionRequest} [extendAISessionRequest]
15781
+ * @param {string} [tag] Filter skills by tag
15782
+ * @param {string} [namespace] Filter skills by collection namespace (e.g. \&#39;superpowers\&#39;)
15783
+ * @param {number} [limit] Maximum number of skills to return
14634
15784
  * @param {*} [options] Override http request option.
14635
15785
  * @throws {RequiredError}
14636
- * @memberof AISessionsApi
15786
+ * @memberof AISkillsApi
14637
15787
  */
14638
- extendAISession(organisation: string, sessionId: string, extendAISessionRequest?: ExtendAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExtendAISession200Response, any, {}>>;
15788
+ listSkills(organisation: string, tag?: string, namespace?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSkills200Response, any, {}>>;
14639
15789
  /**
14640
- *
14641
- * @summary Get a specific chat session
15790
+ * 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
15791
+ * @summary Sync Skill from Source
14642
15792
  * @param {string} organisation The organisation ID
14643
- * @param {string} sessionId The session ID
15793
+ * @param {string} skillId The skill ID
14644
15794
  * @param {*} [options] Override http request option.
14645
15795
  * @throws {RequiredError}
14646
- * @memberof AISessionsApi
15796
+ * @memberof AISkillsApi
14647
15797
  */
14648
- getAISession(organisation: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAISession200Response, any, {}>>;
15798
+ syncSkill(organisation: string, skillId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportSkill201Response, any, {}>>;
14649
15799
  /**
14650
- * 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
14651
- * @summary List chat sessions with multi-tenant filtering
15800
+ * 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.
15801
+ * @summary Sync Skill Collection
14652
15802
  * @param {string} organisation The organisation ID
14653
- * @param {string} [userId] Filter sessions by user ID
14654
- * @param {string} [sessionGroup] Filter by session group. Returns only sessions matching the specified group.
14655
- * @param {number} [limit] Maximum number of sessions to return (default 50, max 100)
14656
- * @param {number} [offset] Offset for pagination
14657
- * @param {string} [model] Filter by model ID
15803
+ * @param {string} namespace Collection namespace
14658
15804
  * @param {*} [options] Override http request option.
14659
15805
  * @throws {RequiredError}
14660
- * @memberof AISessionsApi
15806
+ * @memberof AISkillsApi
14661
15807
  */
14662
- listAISessions(organisation: string, userId?: string, sessionGroup?: string, limit?: number, offset?: number, model?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAISessions200ResponseInner[], any, {}>>;
15808
+ syncSkillCollection(organisation: string, namespace: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncSkillCollection200Response, any, {}>>;
14663
15809
  /**
14664
- * 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
14665
- * @summary Update Session
15810
+ * 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.
15811
+ * @summary Update Skill
14666
15812
  * @param {string} organisation The organisation ID
14667
- * @param {string} sessionId The session ID
14668
- * @param {UpdateAISessionRequest} updateAISessionRequest
15813
+ * @param {string} skillId The skill ID
15814
+ * @param {UpdateSkillRequest} updateSkillRequest
14669
15815
  * @param {*} [options] Override http request option.
14670
15816
  * @throws {RequiredError}
14671
- * @memberof AISessionsApi
15817
+ * @memberof AISkillsApi
14672
15818
  */
14673
- updateAISession(organisation: string, sessionId: string, updateAISessionRequest: UpdateAISessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAISession200Response, any, {}>>;
15819
+ updateSkill(organisation: string, skillId: string, updateSkillRequest: UpdateSkillRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSkill200Response, any, {}>>;
14674
15820
  }
14675
15821
  /**
14676
15822
  * AITaskManagementApi - axios parameter creator
@@ -15270,7 +16416,7 @@ export declare const AIVectorDatabaseApiFp: (configuration?: Configuration) => {
15270
16416
  * @param {*} [options] Override http request option.
15271
16417
  * @throws {RequiredError}
15272
16418
  */
15273
- deleteVectorCollection(organisation: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteVectorCollection200Response>>;
16419
+ deleteVectorCollection(organisation: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSkillCollection200Response>>;
15274
16420
  /**
15275
16421
  * Delete documents from a collection. Supports three deletion modes: * * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection * * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs * * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values * * **Drupal Integration:** * When using with Drupal AI Search, use metadata deletion with: * - `field: \'drupal_entity_id\'` to delete all chunks for specific entities * - `field: \'drupal_long_id\'` to delete specific chunks
15276
16422
  * @summary Delete Documents from Collection
@@ -15341,7 +16487,7 @@ export declare const AIVectorDatabaseApiFactory: (configuration?: Configuration,
15341
16487
  * @param {*} [options] Override http request option.
15342
16488
  * @throws {RequiredError}
15343
16489
  */
15344
- deleteVectorCollection(organisation: string, collectionId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteVectorCollection200Response>;
16490
+ deleteVectorCollection(organisation: string, collectionId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSkillCollection200Response>;
15345
16491
  /**
15346
16492
  * Delete documents from a collection. Supports three deletion modes: * * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection * * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs * * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values * * **Drupal Integration:** * When using with Drupal AI Search, use metadata deletion with: * - `field: \'drupal_entity_id\'` to delete all chunks for specific entities * - `field: \'drupal_long_id\'` to delete specific chunks
15347
16493
  * @summary Delete Documents from Collection
@@ -15416,7 +16562,7 @@ export declare class AIVectorDatabaseApi extends BaseAPI {
15416
16562
  * @throws {RequiredError}
15417
16563
  * @memberof AIVectorDatabaseApi
15418
16564
  */
15419
- deleteVectorCollection(organisation: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteVectorCollection200Response, any, {}>>;
16565
+ deleteVectorCollection(organisation: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSkillCollection200Response, any, {}>>;
15420
16566
  /**
15421
16567
  * Delete documents from a collection. Supports three deletion modes: * * 1. **Purge All** - Set `purgeAll: true` to delete ALL documents in the collection * * 2. **By Document IDs** - Provide `documentIds` array with specific document UUIDs * * 3. **By Metadata** - Provide `metadata` object with `field` and `values` to delete documents where the metadata field matches any of the values * * **Drupal Integration:** * When using with Drupal AI Search, use metadata deletion with: * - `field: \'drupal_entity_id\'` to delete all chunks for specific entities * - `field: \'drupal_long_id\'` to delete specific chunks
15422
16568
  * @summary Delete Documents from Collection
@@ -15975,36 +17121,36 @@ export declare const CDNMetricsApiAxiosParamCreator: (configuration?: Configurat
15975
17121
  * @param {string} organization Organization identifier
15976
17122
  * @param {string} project Project identifier
15977
17123
  * @param {string} [domain] Filter by domain ID or domain name
15978
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17124
+ * @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
15979
17125
  * @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
15980
17126
  * @param {*} [options] Override http request option.
15981
17127
  * @throws {RequiredError}
15982
17128
  */
15983
- getDailyMetrics: (organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17129
+ getDailyMetrics: (organization: string, project: string, domain?: string, metrics?: Array<GetDailyMetricsMetricsEnum>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15984
17130
  /**
15985
17131
  * Returns the last hour of minute-by-minute metrics data
15986
17132
  * @summary Get hourly metrics
15987
17133
  * @param {string} organization Organization identifier
15988
17134
  * @param {string} project Project identifier
15989
17135
  * @param {string} [domain] Filter by domain ID or domain name
15990
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17136
+ * @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
15991
17137
  * @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
15992
17138
  * @param {*} [options] Override http request option.
15993
17139
  * @throws {RequiredError}
15994
17140
  */
15995
- getHourlyMetrics: (organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17141
+ getHourlyMetrics: (organization: string, project: string, domain?: string, metrics?: Array<GetHourlyMetricsMetricsEnum>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15996
17142
  /**
15997
17143
  * Returns the last 12 months of monthly metrics data
15998
17144
  * @summary Get monthly metrics
15999
17145
  * @param {string} organization Organization identifier
16000
17146
  * @param {string} project Project identifier
16001
17147
  * @param {string} [domain] Filter by domain ID or domain name
16002
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17148
+ * @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16003
17149
  * @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16004
17150
  * @param {*} [options] Override http request option.
16005
17151
  * @throws {RequiredError}
16006
17152
  */
16007
- getMonthlyMetrics: (organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17153
+ getMonthlyMetrics: (organization: string, project: string, domain?: string, metrics?: Array<GetMonthlyMetricsMetricsEnum>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16008
17154
  };
16009
17155
  /**
16010
17156
  * CDNMetricsApi - functional programming interface
@@ -16017,36 +17163,36 @@ export declare const CDNMetricsApiFp: (configuration?: Configuration) => {
16017
17163
  * @param {string} organization Organization identifier
16018
17164
  * @param {string} project Project identifier
16019
17165
  * @param {string} [domain] Filter by domain ID or domain name
16020
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17166
+ * @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16021
17167
  * @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16022
17168
  * @param {*} [options] Override http request option.
16023
17169
  * @throws {RequiredError}
16024
17170
  */
16025
- getDailyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2MetricsResponse>>;
17171
+ getDailyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetDailyMetricsMetricsEnum>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2MetricsResponse>>;
16026
17172
  /**
16027
17173
  * Returns the last hour of minute-by-minute metrics data
16028
17174
  * @summary Get hourly metrics
16029
17175
  * @param {string} organization Organization identifier
16030
17176
  * @param {string} project Project identifier
16031
17177
  * @param {string} [domain] Filter by domain ID or domain name
16032
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17178
+ * @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16033
17179
  * @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16034
17180
  * @param {*} [options] Override http request option.
16035
17181
  * @throws {RequiredError}
16036
17182
  */
16037
- getHourlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2MetricsResponse>>;
17183
+ getHourlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetHourlyMetricsMetricsEnum>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2MetricsResponse>>;
16038
17184
  /**
16039
17185
  * Returns the last 12 months of monthly metrics data
16040
17186
  * @summary Get monthly metrics
16041
17187
  * @param {string} organization Organization identifier
16042
17188
  * @param {string} project Project identifier
16043
17189
  * @param {string} [domain] Filter by domain ID or domain name
16044
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17190
+ * @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16045
17191
  * @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16046
17192
  * @param {*} [options] Override http request option.
16047
17193
  * @throws {RequiredError}
16048
17194
  */
16049
- getMonthlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2MetricsResponse>>;
17195
+ getMonthlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetMonthlyMetricsMetricsEnum>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2MetricsResponse>>;
16050
17196
  };
16051
17197
  /**
16052
17198
  * CDNMetricsApi - factory interface
@@ -16059,36 +17205,36 @@ export declare const CDNMetricsApiFactory: (configuration?: Configuration, baseP
16059
17205
  * @param {string} organization Organization identifier
16060
17206
  * @param {string} project Project identifier
16061
17207
  * @param {string} [domain] Filter by domain ID or domain name
16062
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17208
+ * @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16063
17209
  * @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16064
17210
  * @param {*} [options] Override http request option.
16065
17211
  * @throws {RequiredError}
16066
17212
  */
16067
- getDailyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<V2MetricsResponse>;
17213
+ getDailyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetDailyMetricsMetricsEnum>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<V2MetricsResponse>;
16068
17214
  /**
16069
17215
  * Returns the last hour of minute-by-minute metrics data
16070
17216
  * @summary Get hourly metrics
16071
17217
  * @param {string} organization Organization identifier
16072
17218
  * @param {string} project Project identifier
16073
17219
  * @param {string} [domain] Filter by domain ID or domain name
16074
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17220
+ * @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16075
17221
  * @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16076
17222
  * @param {*} [options] Override http request option.
16077
17223
  * @throws {RequiredError}
16078
17224
  */
16079
- getHourlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<V2MetricsResponse>;
17225
+ getHourlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetHourlyMetricsMetricsEnum>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<V2MetricsResponse>;
16080
17226
  /**
16081
17227
  * Returns the last 12 months of monthly metrics data
16082
17228
  * @summary Get monthly metrics
16083
17229
  * @param {string} organization Organization identifier
16084
17230
  * @param {string} project Project identifier
16085
17231
  * @param {string} [domain] Filter by domain ID or domain name
16086
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17232
+ * @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16087
17233
  * @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16088
17234
  * @param {*} [options] Override http request option.
16089
17235
  * @throws {RequiredError}
16090
17236
  */
16091
- getMonthlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<V2MetricsResponse>;
17237
+ getMonthlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetMonthlyMetricsMetricsEnum>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<V2MetricsResponse>;
16092
17238
  };
16093
17239
  /**
16094
17240
  * CDNMetricsApi - object-oriented interface
@@ -16103,40 +17249,69 @@ export declare class CDNMetricsApi extends BaseAPI {
16103
17249
  * @param {string} organization Organization identifier
16104
17250
  * @param {string} project Project identifier
16105
17251
  * @param {string} [domain] Filter by domain ID or domain name
16106
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17252
+ * @param {Array<GetDailyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16107
17253
  * @param {GetDailyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16108
17254
  * @param {*} [options] Override http request option.
16109
17255
  * @throws {RequiredError}
16110
17256
  * @memberof CDNMetricsApi
16111
17257
  */
16112
- getDailyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2MetricsResponse, any, {}>>;
17258
+ getDailyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetDailyMetricsMetricsEnum>, timestampFormat?: GetDailyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2MetricsResponse, any, {}>>;
16113
17259
  /**
16114
17260
  * Returns the last hour of minute-by-minute metrics data
16115
17261
  * @summary Get hourly metrics
16116
17262
  * @param {string} organization Organization identifier
16117
17263
  * @param {string} project Project identifier
16118
17264
  * @param {string} [domain] Filter by domain ID or domain name
16119
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17265
+ * @param {Array<GetHourlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16120
17266
  * @param {GetHourlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16121
17267
  * @param {*} [options] Override http request option.
16122
17268
  * @throws {RequiredError}
16123
17269
  * @memberof CDNMetricsApi
16124
17270
  */
16125
- getHourlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2MetricsResponse, any, {}>>;
17271
+ getHourlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetHourlyMetricsMetricsEnum>, timestampFormat?: GetHourlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2MetricsResponse, any, {}>>;
16126
17272
  /**
16127
17273
  * Returns the last 12 months of monthly metrics data
16128
17274
  * @summary Get monthly metrics
16129
17275
  * @param {string} organization Organization identifier
16130
17276
  * @param {string} project Project identifier
16131
17277
  * @param {string} [domain] Filter by domain ID or domain name
16132
- * @param {Array<string>} [metrics] Metrics to return (default: hits, bytes)
17278
+ * @param {Array<GetMonthlyMetricsMetricsEnum>} [metrics] Metrics to return (default: hits, bytes). Use the /metrics/available endpoint to list all metrics by category.
16133
17279
  * @param {GetMonthlyMetricsTimestampFormatEnum} [timestampFormat] Timestamp format in response
16134
17280
  * @param {*} [options] Override http request option.
16135
17281
  * @throws {RequiredError}
16136
17282
  * @memberof CDNMetricsApi
16137
17283
  */
16138
- getMonthlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<string>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2MetricsResponse, any, {}>>;
16139
- }
17284
+ getMonthlyMetrics(organization: string, project: string, domain?: string, metrics?: Array<GetMonthlyMetricsMetricsEnum>, timestampFormat?: GetMonthlyMetricsTimestampFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V2MetricsResponse, any, {}>>;
17285
+ }
17286
+ /**
17287
+ * @export
17288
+ */
17289
+ export declare const GetDailyMetricsMetricsEnum: {
17290
+ readonly Hits: "hits";
17291
+ readonly Bytes: "bytes";
17292
+ readonly EdgeRespHeaderBytes: "edge_resp_header_bytes";
17293
+ readonly BereqBodyBytes: "bereq_body_bytes";
17294
+ readonly BereqHeaderBytes: "bereq_header_bytes";
17295
+ readonly Bandwidth: "bandwidth";
17296
+ readonly EdgeHitRatio: "edge_hit_ratio";
17297
+ readonly EdgeHitRequests: "edge_hit_requests";
17298
+ readonly EdgeMissRequests: "edge_miss_requests";
17299
+ readonly OriginFetches: "origin_fetches";
17300
+ readonly OriginFetchRespBodyBytes: "origin_fetch_resp_body_bytes";
17301
+ readonly OriginFetchRespHeaderBytes: "origin_fetch_resp_header_bytes";
17302
+ readonly OriginOffload: "origin_offload";
17303
+ readonly Status1xx: "status_1xx";
17304
+ readonly Status2xx: "status_2xx";
17305
+ readonly Status3xx: "status_3xx";
17306
+ readonly Status4xx: "status_4xx";
17307
+ readonly Status5xx: "status_5xx";
17308
+ readonly OriginStatus1xx: "origin_status_1xx";
17309
+ readonly OriginStatus2xx: "origin_status_2xx";
17310
+ readonly OriginStatus3xx: "origin_status_3xx";
17311
+ readonly OriginStatus4xx: "origin_status_4xx";
17312
+ readonly OriginStatus5xx: "origin_status_5xx";
17313
+ };
17314
+ export type GetDailyMetricsMetricsEnum = typeof GetDailyMetricsMetricsEnum[keyof typeof GetDailyMetricsMetricsEnum];
16140
17315
  /**
16141
17316
  * @export
16142
17317
  */
@@ -16145,6 +17320,35 @@ export declare const GetDailyMetricsTimestampFormatEnum: {
16145
17320
  readonly Unix: "unix";
16146
17321
  };
16147
17322
  export type GetDailyMetricsTimestampFormatEnum = typeof GetDailyMetricsTimestampFormatEnum[keyof typeof GetDailyMetricsTimestampFormatEnum];
17323
+ /**
17324
+ * @export
17325
+ */
17326
+ export declare const GetHourlyMetricsMetricsEnum: {
17327
+ readonly Hits: "hits";
17328
+ readonly Bytes: "bytes";
17329
+ readonly EdgeRespHeaderBytes: "edge_resp_header_bytes";
17330
+ readonly BereqBodyBytes: "bereq_body_bytes";
17331
+ readonly BereqHeaderBytes: "bereq_header_bytes";
17332
+ readonly Bandwidth: "bandwidth";
17333
+ readonly EdgeHitRatio: "edge_hit_ratio";
17334
+ readonly EdgeHitRequests: "edge_hit_requests";
17335
+ readonly EdgeMissRequests: "edge_miss_requests";
17336
+ readonly OriginFetches: "origin_fetches";
17337
+ readonly OriginFetchRespBodyBytes: "origin_fetch_resp_body_bytes";
17338
+ readonly OriginFetchRespHeaderBytes: "origin_fetch_resp_header_bytes";
17339
+ readonly OriginOffload: "origin_offload";
17340
+ readonly Status1xx: "status_1xx";
17341
+ readonly Status2xx: "status_2xx";
17342
+ readonly Status3xx: "status_3xx";
17343
+ readonly Status4xx: "status_4xx";
17344
+ readonly Status5xx: "status_5xx";
17345
+ readonly OriginStatus1xx: "origin_status_1xx";
17346
+ readonly OriginStatus2xx: "origin_status_2xx";
17347
+ readonly OriginStatus3xx: "origin_status_3xx";
17348
+ readonly OriginStatus4xx: "origin_status_4xx";
17349
+ readonly OriginStatus5xx: "origin_status_5xx";
17350
+ };
17351
+ export type GetHourlyMetricsMetricsEnum = typeof GetHourlyMetricsMetricsEnum[keyof typeof GetHourlyMetricsMetricsEnum];
16148
17352
  /**
16149
17353
  * @export
16150
17354
  */
@@ -16153,6 +17357,35 @@ export declare const GetHourlyMetricsTimestampFormatEnum: {
16153
17357
  readonly Unix: "unix";
16154
17358
  };
16155
17359
  export type GetHourlyMetricsTimestampFormatEnum = typeof GetHourlyMetricsTimestampFormatEnum[keyof typeof GetHourlyMetricsTimestampFormatEnum];
17360
+ /**
17361
+ * @export
17362
+ */
17363
+ export declare const GetMonthlyMetricsMetricsEnum: {
17364
+ readonly Hits: "hits";
17365
+ readonly Bytes: "bytes";
17366
+ readonly EdgeRespHeaderBytes: "edge_resp_header_bytes";
17367
+ readonly BereqBodyBytes: "bereq_body_bytes";
17368
+ readonly BereqHeaderBytes: "bereq_header_bytes";
17369
+ readonly Bandwidth: "bandwidth";
17370
+ readonly EdgeHitRatio: "edge_hit_ratio";
17371
+ readonly EdgeHitRequests: "edge_hit_requests";
17372
+ readonly EdgeMissRequests: "edge_miss_requests";
17373
+ readonly OriginFetches: "origin_fetches";
17374
+ readonly OriginFetchRespBodyBytes: "origin_fetch_resp_body_bytes";
17375
+ readonly OriginFetchRespHeaderBytes: "origin_fetch_resp_header_bytes";
17376
+ readonly OriginOffload: "origin_offload";
17377
+ readonly Status1xx: "status_1xx";
17378
+ readonly Status2xx: "status_2xx";
17379
+ readonly Status3xx: "status_3xx";
17380
+ readonly Status4xx: "status_4xx";
17381
+ readonly Status5xx: "status_5xx";
17382
+ readonly OriginStatus1xx: "origin_status_1xx";
17383
+ readonly OriginStatus2xx: "origin_status_2xx";
17384
+ readonly OriginStatus3xx: "origin_status_3xx";
17385
+ readonly OriginStatus4xx: "origin_status_4xx";
17386
+ readonly OriginStatus5xx: "origin_status_5xx";
17387
+ };
17388
+ export type GetMonthlyMetricsMetricsEnum = typeof GetMonthlyMetricsMetricsEnum[keyof typeof GetMonthlyMetricsMetricsEnum];
16156
17389
  /**
16157
17390
  * @export
16158
17391
  */
@@ -18942,69 +20175,6 @@ export declare class KVApi extends BaseAPI {
18942
20175
  */
18943
20176
  kVUnlinkFromProject(organization: string, project: string, storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KVLinkToProject200Response, any, {}>>;
18944
20177
  }
18945
- /**
18946
- * OrchestrationApi - axios parameter creator
18947
- * @export
18948
- */
18949
- export declare const OrchestrationApiAxiosParamCreator: (configuration?: Configuration) => {
18950
- /**
18951
- * 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
18952
- * @summary Get Tool Orchestration Status (Async Tool Polling)
18953
- * @param {string} organisation The organisation ID
18954
- * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
18955
- * @param {*} [options] Override http request option.
18956
- * @throws {RequiredError}
18957
- */
18958
- getAIOrchestrationStatus: (organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18959
- };
18960
- /**
18961
- * OrchestrationApi - functional programming interface
18962
- * @export
18963
- */
18964
- export declare const OrchestrationApiFp: (configuration?: Configuration) => {
18965
- /**
18966
- * 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
18967
- * @summary Get Tool Orchestration Status (Async Tool Polling)
18968
- * @param {string} organisation The organisation ID
18969
- * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
18970
- * @param {*} [options] Override http request option.
18971
- * @throws {RequiredError}
18972
- */
18973
- getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAIOrchestrationStatus200Response>>;
18974
- };
18975
- /**
18976
- * OrchestrationApi - factory interface
18977
- * @export
18978
- */
18979
- export declare const OrchestrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18980
- /**
18981
- * 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
18982
- * @summary Get Tool Orchestration Status (Async Tool Polling)
18983
- * @param {string} organisation The organisation ID
18984
- * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
18985
- * @param {*} [options] Override http request option.
18986
- * @throws {RequiredError}
18987
- */
18988
- getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAIOrchestrationStatus200Response>;
18989
- };
18990
- /**
18991
- * OrchestrationApi - object-oriented interface
18992
- * @export
18993
- * @class OrchestrationApi
18994
- * @extends {BaseAPI}
18995
- */
18996
- export declare class OrchestrationApi extends BaseAPI {
18997
- /**
18998
- * 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
18999
- * @summary Get Tool Orchestration Status (Async Tool Polling)
19000
- * @param {string} organisation The organisation ID
19001
- * @param {string} orchestrationId Orchestration identifier for aggregated async tool executions
19002
- * @param {*} [options] Override http request option.
19003
- * @throws {RequiredError}
19004
- * @memberof OrchestrationApi
19005
- */
19006
- getAIOrchestrationStatus(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAIOrchestrationStatus200Response, any, {}>>;
19007
- }
19008
20178
  /**
19009
20179
  * OrganizationsApi - axios parameter creator
19010
20180
  * @export