@quantcdn/quant-client 4.15.4 → 4.19.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.15.4
5
+ * The version of the OpenAPI document: 4.19.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,212 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AiSearchChatRequest
20
+ */
21
+ export interface AiSearchChatRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AiSearchChatRequest
26
+ */
27
+ 'message': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof AiSearchChatRequest
32
+ */
33
+ 'sessionId'?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof AiSearchChatRequest
38
+ */
39
+ 'contextUrl'?: string;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof AiSearchChatRequest
44
+ */
45
+ 'maxContextChunks'?: number;
46
+ }
47
+ /**
48
+ *
49
+ * @export
50
+ * @interface AiSearchDeletePagesRequest
51
+ */
52
+ export interface AiSearchDeletePagesRequest {
53
+ /**
54
+ *
55
+ * @type {Array<string>}
56
+ * @memberof AiSearchDeletePagesRequest
57
+ */
58
+ 'urls'?: Array<string>;
59
+ /**
60
+ *
61
+ * @type {Array<string>}
62
+ * @memberof AiSearchDeletePagesRequest
63
+ */
64
+ 'patterns'?: Array<string>;
65
+ }
66
+ /**
67
+ *
68
+ * @export
69
+ * @interface AiSearchEnableRequest
70
+ */
71
+ export interface AiSearchEnableRequest {
72
+ /**
73
+ *
74
+ * @type {string}
75
+ * @memberof AiSearchEnableRequest
76
+ */
77
+ 'baseUrl'?: string;
78
+ /**
79
+ *
80
+ * @type {object}
81
+ * @memberof AiSearchEnableRequest
82
+ */
83
+ 'crawlerConfig'?: object;
84
+ }
85
+ /**
86
+ *
87
+ * @export
88
+ * @interface AiSearchIngestPagesRequest
89
+ */
90
+ export interface AiSearchIngestPagesRequest {
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof AiSearchIngestPagesRequest
95
+ */
96
+ 'jobId'?: string;
97
+ /**
98
+ *
99
+ * @type {Array<AiSearchIngestPagesRequestPagesInner>}
100
+ * @memberof AiSearchIngestPagesRequest
101
+ */
102
+ 'pages': Array<AiSearchIngestPagesRequestPagesInner>;
103
+ }
104
+ /**
105
+ *
106
+ * @export
107
+ * @interface AiSearchIngestPagesRequestPagesInner
108
+ */
109
+ export interface AiSearchIngestPagesRequestPagesInner {
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof AiSearchIngestPagesRequestPagesInner
114
+ */
115
+ 'url': string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof AiSearchIngestPagesRequestPagesInner
120
+ */
121
+ 'title': string;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof AiSearchIngestPagesRequestPagesInner
126
+ */
127
+ 'content': string;
128
+ /**
129
+ *
130
+ * @type {string}
131
+ * @memberof AiSearchIngestPagesRequestPagesInner
132
+ */
133
+ 'contentType'?: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof AiSearchIngestPagesRequestPagesInner
138
+ */
139
+ 'fetchedAt'?: string;
140
+ /**
141
+ *
142
+ * @type {boolean}
143
+ * @memberof AiSearchIngestPagesRequestPagesInner
144
+ */
145
+ 'preProcessed'?: boolean;
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof AiSearchIngestPagesRequestPagesInner
150
+ */
151
+ 'summary'?: string;
152
+ /**
153
+ *
154
+ * @type {Array<string>}
155
+ * @memberof AiSearchIngestPagesRequestPagesInner
156
+ */
157
+ 'tags'?: Array<string>;
158
+ /**
159
+ *
160
+ * @type {Array<string>}
161
+ * @memberof AiSearchIngestPagesRequestPagesInner
162
+ */
163
+ 'topics'?: Array<string>;
164
+ }
165
+ /**
166
+ *
167
+ * @export
168
+ * @interface AiSearchSearchRequest
169
+ */
170
+ export interface AiSearchSearchRequest {
171
+ /**
172
+ *
173
+ * @type {string}
174
+ * @memberof AiSearchSearchRequest
175
+ */
176
+ 'query': string;
177
+ /**
178
+ *
179
+ * @type {number}
180
+ * @memberof AiSearchSearchRequest
181
+ */
182
+ 'limit'?: number;
183
+ /**
184
+ *
185
+ * @type {number}
186
+ * @memberof AiSearchSearchRequest
187
+ */
188
+ 'minScore'?: number;
189
+ }
190
+ /**
191
+ *
192
+ * @export
193
+ * @interface AiSearchTriggerCrawlRequest
194
+ */
195
+ export interface AiSearchTriggerCrawlRequest {
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof AiSearchTriggerCrawlRequest
200
+ */
201
+ 'crawler_uuid': string;
202
+ }
203
+ /**
204
+ *
205
+ * @export
206
+ * @interface AiSearchUpdateSettingsRequest
207
+ */
208
+ export interface AiSearchUpdateSettingsRequest {
209
+ /**
210
+ *
211
+ * @type {object}
212
+ * @memberof AiSearchUpdateSettingsRequest
213
+ */
214
+ 'publicAccess'?: object;
215
+ /**
216
+ *
217
+ * @type {object}
218
+ * @memberof AiSearchUpdateSettingsRequest
219
+ */
220
+ 'rateLimits'?: object;
221
+ }
16
222
  /**
17
223
  *
18
224
  * @export
@@ -1658,6 +1864,12 @@ export interface ContainerOriginProtectionConfig {
1658
1864
  * @memberof ContainerOriginProtectionConfig
1659
1865
  */
1660
1866
  'ipAllow'?: Array<string> | null;
1867
+ /**
1868
+ * Optional bare host (e.g. www.example.com). When set, requests denied by origin protection are 302-redirected to https://<redirectHost> with path and query preserved, instead of receiving a 403. Allowed IPs and valid-header (CDN) traffic are unaffected.
1869
+ * @type {string}
1870
+ * @memberof ContainerOriginProtectionConfig
1871
+ */
1872
+ 'redirectHost'?: string | null;
1661
1873
  }
1662
1874
  /**
1663
1875
  *
@@ -1812,7 +2024,7 @@ export interface CreateAIAgentRequest {
1812
2024
  * @type {string}
1813
2025
  * @memberof CreateAIAgentRequest
1814
2026
  */
1815
- 'guardrailPreset'?: CreateAIAgentRequestGuardrailPresetEnum;
2027
+ 'guardrailPreset'?: CreateAIAgentRequestGuardrailPresetEnum | null;
1816
2028
  /**
1817
2029
  * Filter policy IDs to apply to this agent\'s inference requests
1818
2030
  * @type {Array<string>}
@@ -2179,6 +2391,24 @@ export interface CreateCustomTool201Response {
2179
2391
  * @memberof CreateCustomTool201Response
2180
2392
  */
2181
2393
  'tool'?: object;
2394
+ /**
2395
+ * Computed edge function URL (read-only)
2396
+ * @type {string}
2397
+ * @memberof CreateCustomTool201Response
2398
+ */
2399
+ 'edgeFunctionUrl'?: string;
2400
+ /**
2401
+ * The deployed edge function code
2402
+ * @type {string}
2403
+ * @memberof CreateCustomTool201Response
2404
+ */
2405
+ 'edgeFunctionCode'?: string;
2406
+ /**
2407
+ * Whether this was an update to an existing tool
2408
+ * @type {boolean}
2409
+ * @memberof CreateCustomTool201Response
2410
+ */
2411
+ 'isUpdate'?: boolean;
2182
2412
  /**
2183
2413
  *
2184
2414
  * @type {string}
@@ -2205,17 +2435,17 @@ export interface CreateCustomToolRequest {
2205
2435
  */
2206
2436
  'description': string;
2207
2437
  /**
2208
- * HTTPS URL of the edge function
2438
+ * JavaScript source code for the edge function
2209
2439
  * @type {string}
2210
2440
  * @memberof CreateCustomToolRequest
2211
2441
  */
2212
- 'edgeFunctionUrl': string;
2442
+ 'edgeFunctionCode': string;
2213
2443
  /**
2214
- * JSON Schema defining the tool\'s input parameters
2215
- * @type {object}
2444
+ * JSON-encoded JSON Schema object defining the tool\'s input parameters
2445
+ * @type {string}
2216
2446
  * @memberof CreateCustomToolRequest
2217
2447
  */
2218
- 'inputSchema': object;
2448
+ 'inputSchema': string;
2219
2449
  /**
2220
2450
  * Whether this tool runs asynchronously (>5 seconds)
2221
2451
  * @type {boolean}
@@ -2228,7 +2458,36 @@ export interface CreateCustomToolRequest {
2228
2458
  * @memberof CreateCustomToolRequest
2229
2459
  */
2230
2460
  'timeoutSeconds'?: number;
2461
+ /**
2462
+ * JSON-encoded JSON Schema object defining the tool\'s output structure
2463
+ * @type {string}
2464
+ * @memberof CreateCustomToolRequest
2465
+ */
2466
+ 'outputSchema'?: string | null;
2467
+ /**
2468
+ * Human-readable description of the tool\'s output
2469
+ * @type {string}
2470
+ * @memberof CreateCustomToolRequest
2471
+ */
2472
+ 'outputSchemaDescription'?: string | null;
2473
+ /**
2474
+ * Category to group related tools
2475
+ * @type {string}
2476
+ * @memberof CreateCustomToolRequest
2477
+ */
2478
+ 'category'?: string | null;
2479
+ /**
2480
+ * How the tool response is handled: llm (passed back to model) or direct (returned to user)
2481
+ * @type {string}
2482
+ * @memberof CreateCustomToolRequest
2483
+ */
2484
+ 'responseMode'?: CreateCustomToolRequestResponseModeEnum | null;
2231
2485
  }
2486
+ export declare const CreateCustomToolRequestResponseModeEnum: {
2487
+ readonly Llm: "llm";
2488
+ readonly Direct: "direct";
2489
+ };
2490
+ export type CreateCustomToolRequestResponseModeEnum = typeof CreateCustomToolRequestResponseModeEnum[keyof typeof CreateCustomToolRequestResponseModeEnum];
2232
2491
  /**
2233
2492
  *
2234
2493
  * @export
@@ -2697,11 +2956,11 @@ export interface CreateSlackBot201Response {
2697
2956
  */
2698
2957
  export interface CreateSlackBotRequest {
2699
2958
  /**
2700
- * The AI agent that powers this bot
2959
+ * Display name for the bot
2701
2960
  * @type {string}
2702
2961
  * @memberof CreateSlackBotRequest
2703
2962
  */
2704
- 'agentId': string;
2963
+ 'name': string;
2705
2964
  /**
2706
2965
  * Whether to use Quant-managed or customer-provided Slack app
2707
2966
  * @type {string}
@@ -2709,75 +2968,165 @@ export interface CreateSlackBotRequest {
2709
2968
  */
2710
2969
  'setupType': CreateSlackBotRequestSetupTypeEnum;
2711
2970
  /**
2712
- * Session TTL in days
2971
+ * System prompt for the backing AI agent
2972
+ * @type {string}
2973
+ * @memberof CreateSlackBotRequest
2974
+ */
2975
+ 'systemPrompt': string;
2976
+ /**
2977
+ * AI model identifier
2978
+ * @type {string}
2979
+ * @memberof CreateSlackBotRequest
2980
+ */
2981
+ 'modelId': string;
2982
+ /**
2983
+ * Sampling temperature
2713
2984
  * @type {number}
2714
2985
  * @memberof CreateSlackBotRequest
2715
2986
  */
2716
- 'sessionTtlDays'?: number;
2987
+ 'temperature'?: number;
2717
2988
  /**
2718
- * Slack channel IDs the bot may respond in
2719
- * @type {Array<string>}
2989
+ * Maximum response tokens
2990
+ * @type {number}
2720
2991
  * @memberof CreateSlackBotRequest
2721
2992
  */
2722
- 'allowedChannels'?: Array<string>;
2993
+ 'maxTokens'?: number;
2723
2994
  /**
2724
- * Whether keyword triggers are enabled
2725
- * @type {boolean}
2995
+ * Tools the agent may use
2996
+ * @type {Array<string>}
2726
2997
  * @memberof CreateSlackBotRequest
2727
2998
  */
2728
- 'keywordsEnabled'?: boolean;
2999
+ 'allowedTools'?: Array<string>;
2729
3000
  /**
2730
- * Keywords that trigger the bot
3001
+ * Skills assigned to the agent
2731
3002
  * @type {Array<string>}
2732
3003
  * @memberof CreateSlackBotRequest
2733
3004
  */
2734
- 'keywords'?: Array<string>;
3005
+ 'assignedSkills'?: Array<string>;
2735
3006
  /**
2736
- * Slash commands the bot responds to
3007
+ * Vector DB collections the agent may query
2737
3008
  * @type {Array<string>}
2738
3009
  * @memberof CreateSlackBotRequest
2739
3010
  */
2740
- 'slashCommands'?: Array<string>;
2741
- }
2742
- export declare const CreateSlackBotRequestSetupTypeEnum: {
2743
- readonly Quant: "quant";
2744
- readonly Byo: "byo";
2745
- };
2746
- export type CreateSlackBotRequestSetupTypeEnum = typeof CreateSlackBotRequestSetupTypeEnum[keyof typeof CreateSlackBotRequestSetupTypeEnum];
2747
- /**
2748
- *
2749
- * @export
2750
- * @interface CreateTask201Response
2751
- */
2752
- export interface CreateTask201Response {
3011
+ 'allowedCollections'?: Array<string>;
2753
3012
  /**
2754
- *
2755
- * @type {string}
2756
- * @memberof CreateTask201Response
3013
+ * Sub-agents the agent may call
3014
+ * @type {Array<string>}
3015
+ * @memberof CreateSlackBotRequest
2757
3016
  */
2758
- 'taskId'?: string;
3017
+ 'allowedSubAgents'?: Array<string>;
2759
3018
  /**
2760
- *
3019
+ * Guardrail preset name
2761
3020
  * @type {string}
2762
- * @memberof CreateTask201Response
3021
+ * @memberof CreateSlackBotRequest
2763
3022
  */
2764
- 'orgId'?: string;
3023
+ 'guardrailPreset'?: string;
2765
3024
  /**
2766
- *
2767
- * @type {string}
2768
- * @memberof CreateTask201Response
3025
+ * Content filter policies
3026
+ * @type {Array<string>}
3027
+ * @memberof CreateSlackBotRequest
2769
3028
  */
2770
- 'title'?: string;
3029
+ 'filterPolicies'?: Array<string>;
2771
3030
  /**
2772
- *
2773
- * @type {string}
2774
- * @memberof CreateTask201Response
3031
+ * Enable long context mode
3032
+ * @type {boolean}
3033
+ * @memberof CreateSlackBotRequest
2775
3034
  */
2776
- 'status'?: string;
3035
+ 'longContext'?: boolean;
2777
3036
  /**
2778
- *
3037
+ * Session TTL in days
2779
3038
  * @type {number}
2780
- * @memberof CreateTask201Response
3039
+ * @memberof CreateSlackBotRequest
3040
+ */
3041
+ 'sessionTtlDays'?: number;
3042
+ /**
3043
+ * Slack channel IDs the bot may respond in
3044
+ * @type {Array<string>}
3045
+ * @memberof CreateSlackBotRequest
3046
+ */
3047
+ 'allowedChannels'?: Array<string>;
3048
+ /**
3049
+ * Slack user IDs allowed to interact with the bot
3050
+ * @type {Array<string>}
3051
+ * @memberof CreateSlackBotRequest
3052
+ */
3053
+ 'allowedUsers'?: Array<string>;
3054
+ /**
3055
+ * Slack user IDs denied from interacting with the bot
3056
+ * @type {Array<string>}
3057
+ * @memberof CreateSlackBotRequest
3058
+ */
3059
+ 'deniedUsers'?: Array<string>;
3060
+ /**
3061
+ * Whether guest users may interact with the bot
3062
+ * @type {boolean}
3063
+ * @memberof CreateSlackBotRequest
3064
+ */
3065
+ 'allowGuests'?: boolean;
3066
+ /**
3067
+ * Content shown on the bot\'s Home tab in Slack
3068
+ * @type {string}
3069
+ * @memberof CreateSlackBotRequest
3070
+ */
3071
+ 'homeTabContent'?: string;
3072
+ /**
3073
+ * Agent-level access control settings
3074
+ * @type {object}
3075
+ * @memberof CreateSlackBotRequest
3076
+ */
3077
+ 'agentAccessControl'?: object;
3078
+ /**
3079
+ * Whether keyword triggers are enabled
3080
+ * @type {boolean}
3081
+ * @memberof CreateSlackBotRequest
3082
+ */
3083
+ 'keywordsEnabled'?: boolean;
3084
+ /**
3085
+ * Keywords that trigger the bot
3086
+ * @type {Array<string>}
3087
+ * @memberof CreateSlackBotRequest
3088
+ */
3089
+ 'keywords'?: Array<string>;
3090
+ }
3091
+ export declare const CreateSlackBotRequestSetupTypeEnum: {
3092
+ readonly Quant: "quant";
3093
+ readonly Byo: "byo";
3094
+ };
3095
+ export type CreateSlackBotRequestSetupTypeEnum = typeof CreateSlackBotRequestSetupTypeEnum[keyof typeof CreateSlackBotRequestSetupTypeEnum];
3096
+ /**
3097
+ *
3098
+ * @export
3099
+ * @interface CreateTask201Response
3100
+ */
3101
+ export interface CreateTask201Response {
3102
+ /**
3103
+ *
3104
+ * @type {string}
3105
+ * @memberof CreateTask201Response
3106
+ */
3107
+ 'taskId'?: string;
3108
+ /**
3109
+ *
3110
+ * @type {string}
3111
+ * @memberof CreateTask201Response
3112
+ */
3113
+ 'orgId'?: string;
3114
+ /**
3115
+ *
3116
+ * @type {string}
3117
+ * @memberof CreateTask201Response
3118
+ */
3119
+ 'title'?: string;
3120
+ /**
3121
+ *
3122
+ * @type {string}
3123
+ * @memberof CreateTask201Response
3124
+ */
3125
+ 'status'?: string;
3126
+ /**
3127
+ *
3128
+ * @type {number}
3129
+ * @memberof CreateTask201Response
2781
3130
  */
2782
3131
  'createdAt'?: number;
2783
3132
  }
@@ -4118,7 +4467,7 @@ export interface GetAIOrchestrationStatus200Response {
4118
4467
  * @type {string}
4119
4468
  * @memberof GetAIOrchestrationStatus200Response
4120
4469
  */
4121
- 'synthesizedResponse'?: string;
4470
+ 'result'?: string;
4122
4471
  /**
4123
4472
  * Status of individual tool executions
4124
4473
  * @type {Array<GetAIOrchestrationStatus200ResponseToolsInner>}
@@ -4143,10 +4492,16 @@ export interface GetAIOrchestrationStatus200Response {
4143
4492
  * @memberof GetAIOrchestrationStatus200Response
4144
4493
  */
4145
4494
  'completedAt'?: string;
4495
+ /**
4496
+ * Seconds from creation to completion (present only once completed)
4497
+ * @type {number}
4498
+ * @memberof GetAIOrchestrationStatus200Response
4499
+ */
4500
+ 'duration'?: number;
4146
4501
  }
4147
4502
  export declare const GetAIOrchestrationStatus200ResponseStatusEnum: {
4148
4503
  readonly Pending: "pending";
4149
- readonly Polling: "polling";
4504
+ readonly WaitingTools: "waiting_tools";
4150
4505
  readonly Synthesizing: "synthesizing";
4151
4506
  readonly Complete: "complete";
4152
4507
  readonly Failed: "failed";
@@ -4351,52 +4706,6 @@ export interface GetAIToolExecutionStatus404Response {
4351
4706
  */
4352
4707
  'executionId'?: string;
4353
4708
  }
4354
- /**
4355
- *
4356
- * @export
4357
- * @interface GetAIUsageStats200Response
4358
- */
4359
- export interface GetAIUsageStats200Response {
4360
- /**
4361
- * Total number of API requests
4362
- * @type {number}
4363
- * @memberof GetAIUsageStats200Response
4364
- */
4365
- 'total_requests'?: number;
4366
- /**
4367
- * Total tokens consumed across all requests
4368
- * @type {number}
4369
- * @memberof GetAIUsageStats200Response
4370
- */
4371
- 'total_tokens'?: number;
4372
- /**
4373
- * Usage breakdown by model ID
4374
- * @type {{ [key: string]: GetAIUsageStats200ResponseByModelValue; }}
4375
- * @memberof GetAIUsageStats200Response
4376
- */
4377
- 'by_model'?: {
4378
- [key: string]: GetAIUsageStats200ResponseByModelValue;
4379
- };
4380
- }
4381
- /**
4382
- *
4383
- * @export
4384
- * @interface GetAIUsageStats200ResponseByModelValue
4385
- */
4386
- export interface GetAIUsageStats200ResponseByModelValue {
4387
- /**
4388
- * Number of requests for this model
4389
- * @type {number}
4390
- * @memberof GetAIUsageStats200ResponseByModelValue
4391
- */
4392
- 'requests'?: number;
4393
- /**
4394
- * Total tokens for this model
4395
- * @type {number}
4396
- * @memberof GetAIUsageStats200ResponseByModelValue
4397
- */
4398
- 'tokens'?: number;
4399
- }
4400
4709
  /**
4401
4710
  *
4402
4711
  * @export
@@ -4526,6 +4835,97 @@ export interface GetAgentOverlay200ResponseOverlay {
4526
4835
  */
4527
4836
  'version'?: number;
4528
4837
  }
4838
+ /**
4839
+ *
4840
+ * @export
4841
+ * @interface GetCustomTool200Response
4842
+ */
4843
+ export interface GetCustomTool200Response {
4844
+ /**
4845
+ *
4846
+ * @type {GetCustomTool200ResponseTool}
4847
+ * @memberof GetCustomTool200Response
4848
+ */
4849
+ 'tool'?: GetCustomTool200ResponseTool;
4850
+ }
4851
+ /**
4852
+ *
4853
+ * @export
4854
+ * @interface GetCustomTool200ResponseTool
4855
+ */
4856
+ export interface GetCustomTool200ResponseTool {
4857
+ /**
4858
+ *
4859
+ * @type {string}
4860
+ * @memberof GetCustomTool200ResponseTool
4861
+ */
4862
+ 'name'?: string;
4863
+ /**
4864
+ *
4865
+ * @type {string}
4866
+ * @memberof GetCustomTool200ResponseTool
4867
+ */
4868
+ 'description'?: string;
4869
+ /**
4870
+ *
4871
+ * @type {string}
4872
+ * @memberof GetCustomTool200ResponseTool
4873
+ */
4874
+ 'edgeFunctionUrl'?: string;
4875
+ /**
4876
+ * The deployed edge function source code
4877
+ * @type {string}
4878
+ * @memberof GetCustomTool200ResponseTool
4879
+ */
4880
+ 'edgeFunctionCode'?: string;
4881
+ /**
4882
+ *
4883
+ * @type {boolean}
4884
+ * @memberof GetCustomTool200ResponseTool
4885
+ */
4886
+ 'isAsync'?: boolean;
4887
+ /**
4888
+ *
4889
+ * @type {string}
4890
+ * @memberof GetCustomTool200ResponseTool
4891
+ */
4892
+ 'inputSchema'?: string;
4893
+ /**
4894
+ *
4895
+ * @type {string}
4896
+ * @memberof GetCustomTool200ResponseTool
4897
+ */
4898
+ 'outputSchema'?: string | null;
4899
+ /**
4900
+ *
4901
+ * @type {string}
4902
+ * @memberof GetCustomTool200ResponseTool
4903
+ */
4904
+ 'outputSchemaDescription'?: string | null;
4905
+ /**
4906
+ *
4907
+ * @type {string}
4908
+ * @memberof GetCustomTool200ResponseTool
4909
+ */
4910
+ 'category'?: string | null;
4911
+ /**
4912
+ *
4913
+ * @type {string}
4914
+ * @memberof GetCustomTool200ResponseTool
4915
+ */
4916
+ 'responseMode'?: GetCustomTool200ResponseToolResponseModeEnum | null;
4917
+ /**
4918
+ *
4919
+ * @type {string}
4920
+ * @memberof GetCustomTool200ResponseTool
4921
+ */
4922
+ 'createdAt'?: string;
4923
+ }
4924
+ export declare const GetCustomTool200ResponseToolResponseModeEnum: {
4925
+ readonly Llm: "llm";
4926
+ readonly Direct: "direct";
4927
+ };
4928
+ export type GetCustomTool200ResponseToolResponseModeEnum = typeof GetCustomTool200ResponseToolResponseModeEnum[keyof typeof GetCustomTool200ResponseToolResponseModeEnum];
4529
4929
  /**
4530
4930
  *
4531
4931
  * @export
@@ -4966,6 +5366,66 @@ export interface GetGovernanceConfig200ResponseSpendLimits {
4966
5366
  * @memberof GetGovernanceConfig200ResponseSpendLimits
4967
5367
  */
4968
5368
  'warningThresholdPercent'?: number | null;
5369
+ /**
5370
+ * Aggregate spend caps per interface label (slack, autonomous, api-gateway, streaming, websocket). Keys are interface labels.
5371
+ * @type {{ [key: string]: GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue; }}
5372
+ * @memberof GetGovernanceConfig200ResponseSpendLimits
5373
+ */
5374
+ 'interfaceLimits'?: {
5375
+ [key: string]: GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue;
5376
+ };
5377
+ /**
5378
+ * Per-user budget overrides keyed by userId (numeric portal id, slack-<id>, or system:code-agent). Replaces the flat per-user budget for that user; unlimited=true exempts them.
5379
+ * @type {{ [key: string]: GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue; }}
5380
+ * @memberof GetGovernanceConfig200ResponseSpendLimits
5381
+ */
5382
+ 'userOverrides'?: {
5383
+ [key: string]: GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue;
5384
+ };
5385
+ }
5386
+ /**
5387
+ *
5388
+ * @export
5389
+ * @interface GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue
5390
+ */
5391
+ export interface GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue {
5392
+ /**
5393
+ *
5394
+ * @type {number}
5395
+ * @memberof GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue
5396
+ */
5397
+ 'dailyCents'?: number | null;
5398
+ /**
5399
+ *
5400
+ * @type {number}
5401
+ * @memberof GetGovernanceConfig200ResponseSpendLimitsInterfaceLimitsValue
5402
+ */
5403
+ 'monthlyCents'?: number | null;
5404
+ }
5405
+ /**
5406
+ *
5407
+ * @export
5408
+ * @interface GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue
5409
+ */
5410
+ export interface GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue {
5411
+ /**
5412
+ *
5413
+ * @type {number}
5414
+ * @memberof GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue
5415
+ */
5416
+ 'dailyCents'?: number | null;
5417
+ /**
5418
+ *
5419
+ * @type {number}
5420
+ * @memberof GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue
5421
+ */
5422
+ 'monthlyCents'?: number | null;
5423
+ /**
5424
+ *
5425
+ * @type {boolean}
5426
+ * @memberof GetGovernanceConfig200ResponseSpendLimitsUserOverridesValue
5427
+ */
5428
+ 'unlimited'?: boolean | null;
4969
5429
  }
4970
5430
  /**
4971
5431
  *
@@ -5187,55 +5647,240 @@ export interface GetMyUsage200ResponseMonthly {
5187
5647
  */
5188
5648
  export interface GetMyUsage200ResponseQuota {
5189
5649
  /**
5190
- * Per-user monthly budget in US cents
5191
- * @type {number}
5650
+ *
5651
+ * @type {GetMyUsage200ResponseQuotaMonthlyLimit}
5192
5652
  * @memberof GetMyUsage200ResponseQuota
5193
5653
  */
5194
- 'monthlyLimit'?: number | null;
5654
+ 'monthlyLimit'?: GetMyUsage200ResponseQuotaMonthlyLimit | null;
5195
5655
  /**
5196
- * Per-user daily budget in US cents
5197
- * @type {number}
5656
+ *
5657
+ * @type {GetMyUsage200ResponseQuotaDailyLimit}
5198
5658
  * @memberof GetMyUsage200ResponseQuota
5199
5659
  */
5200
- 'dailyLimit'?: number | null;
5660
+ 'dailyLimit'?: GetMyUsage200ResponseQuotaDailyLimit | null;
5201
5661
  }
5202
5662
  /**
5203
- *
5663
+ * Per-user daily spend cap (object form, present when an org-level perUserDailyBudget is configured)
5204
5664
  * @export
5205
- * @interface GetSkill200Response
5665
+ * @interface GetMyUsage200ResponseQuotaDailyLimit
5206
5666
  */
5207
- export interface GetSkill200Response {
5667
+ export interface GetMyUsage200ResponseQuotaDailyLimit {
5208
5668
  /**
5209
- *
5210
- * @type {GetSkill200ResponseSkill}
5211
- * @memberof GetSkill200Response
5669
+ * The configured daily cap in US cents
5670
+ * @type {number}
5671
+ * @memberof GetMyUsage200ResponseQuotaDailyLimit
5212
5672
  */
5213
- 'skill'?: GetSkill200ResponseSkill;
5673
+ 'limitCents'?: number;
5674
+ /**
5675
+ * Percentage of the cap consumed today (0–100+)
5676
+ * @type {number}
5677
+ * @memberof GetMyUsage200ResponseQuotaDailyLimit
5678
+ */
5679
+ 'usedPercent'?: number;
5680
+ /**
5681
+ * Cents remaining before the cap is hit; can be negative if overspent
5682
+ * @type {number}
5683
+ * @memberof GetMyUsage200ResponseQuotaDailyLimit
5684
+ */
5685
+ 'remainingCents'?: number;
5686
+ /**
5687
+ * UTC timestamp when the daily counter resets (always next UTC midnight)
5688
+ * @type {string}
5689
+ * @memberof GetMyUsage200ResponseQuotaDailyLimit
5690
+ */
5691
+ 'resetsAt'?: string;
5692
+ }
5693
+ /**
5694
+ * Per-user monthly spend cap (object form, present when an org-level perUserMonthlyBudget is configured)
5695
+ * @export
5696
+ * @interface GetMyUsage200ResponseQuotaMonthlyLimit
5697
+ */
5698
+ export interface GetMyUsage200ResponseQuotaMonthlyLimit {
5699
+ /**
5700
+ * The configured monthly cap in US cents
5701
+ * @type {number}
5702
+ * @memberof GetMyUsage200ResponseQuotaMonthlyLimit
5703
+ */
5704
+ 'limitCents'?: number;
5705
+ /**
5706
+ * Percentage of the cap consumed this month (0–100+)
5707
+ * @type {number}
5708
+ * @memberof GetMyUsage200ResponseQuotaMonthlyLimit
5709
+ */
5710
+ 'usedPercent'?: number;
5711
+ /**
5712
+ * Cents remaining before the cap is hit; can be negative if overspent
5713
+ * @type {number}
5714
+ * @memberof GetMyUsage200ResponseQuotaMonthlyLimit
5715
+ */
5716
+ 'remainingCents'?: number;
5214
5717
  }
5215
5718
  /**
5216
5719
  *
5217
5720
  * @export
5218
- * @interface GetSkill200ResponseSkill
5721
+ * @interface GetRestoreStatus200Response
5219
5722
  */
5220
- export interface GetSkill200ResponseSkill {
5723
+ export interface GetRestoreStatus200Response {
5221
5724
  /**
5222
5725
  *
5223
5726
  * @type {string}
5224
- * @memberof GetSkill200ResponseSkill
5727
+ * @memberof GetRestoreStatus200Response
5225
5728
  */
5226
- 'skillId'?: string;
5729
+ 'restoreId'?: string;
5227
5730
  /**
5228
5731
  *
5229
5732
  * @type {string}
5230
- * @memberof GetSkill200ResponseSkill
5733
+ * @memberof GetRestoreStatus200Response
5231
5734
  */
5232
- 'name'?: string;
5735
+ 'orgName'?: string;
5233
5736
  /**
5234
5737
  *
5235
5738
  * @type {string}
5236
- * @memberof GetSkill200ResponseSkill
5739
+ * @memberof GetRestoreStatus200Response
5237
5740
  */
5238
- 'description'?: string;
5741
+ 'appName'?: string;
5742
+ /**
5743
+ *
5744
+ * @type {string}
5745
+ * @memberof GetRestoreStatus200Response
5746
+ */
5747
+ 'envName'?: string;
5748
+ /**
5749
+ *
5750
+ * @type {string}
5751
+ * @memberof GetRestoreStatus200Response
5752
+ */
5753
+ 'backupId'?: string;
5754
+ /**
5755
+ *
5756
+ * @type {string}
5757
+ * @memberof GetRestoreStatus200Response
5758
+ */
5759
+ 'status'?: GetRestoreStatus200ResponseStatusEnum;
5760
+ /**
5761
+ *
5762
+ * @type {string}
5763
+ * @memberof GetRestoreStatus200Response
5764
+ */
5765
+ 'startedAt'?: string;
5766
+ /**
5767
+ *
5768
+ * @type {string}
5769
+ * @memberof GetRestoreStatus200Response
5770
+ */
5771
+ 'completedAt'?: string | null;
5772
+ /**
5773
+ *
5774
+ * @type {string}
5775
+ * @memberof GetRestoreStatus200Response
5776
+ */
5777
+ 'errorMessage'?: string | null;
5778
+ /**
5779
+ *
5780
+ * @type {string}
5781
+ * @memberof GetRestoreStatus200Response
5782
+ */
5783
+ 'taskArn'?: string | null;
5784
+ /**
5785
+ *
5786
+ * @type {number}
5787
+ * @memberof GetRestoreStatus200Response
5788
+ */
5789
+ 'ttl'?: number | null;
5790
+ }
5791
+ export declare const GetRestoreStatus200ResponseStatusEnum: {
5792
+ readonly Pending: "pending";
5793
+ readonly InProgress: "in_progress";
5794
+ readonly Completed: "completed";
5795
+ readonly Failed: "failed";
5796
+ };
5797
+ export type GetRestoreStatus200ResponseStatusEnum = typeof GetRestoreStatus200ResponseStatusEnum[keyof typeof GetRestoreStatus200ResponseStatusEnum];
5798
+ /**
5799
+ *
5800
+ * @export
5801
+ * @interface GetScalingPolicyResponse
5802
+ */
5803
+ export interface GetScalingPolicyResponse {
5804
+ /**
5805
+ *
5806
+ * @type {string}
5807
+ * @memberof GetScalingPolicyResponse
5808
+ */
5809
+ 'metric'?: GetScalingPolicyResponseMetricEnum;
5810
+ /**
5811
+ *
5812
+ * @type {number}
5813
+ * @memberof GetScalingPolicyResponse
5814
+ */
5815
+ 'targetValue'?: number;
5816
+ /**
5817
+ *
5818
+ * @type {number}
5819
+ * @memberof GetScalingPolicyResponse
5820
+ */
5821
+ 'scaleInCooldownSeconds'?: number;
5822
+ /**
5823
+ *
5824
+ * @type {number}
5825
+ * @memberof GetScalingPolicyResponse
5826
+ */
5827
+ 'scaleOutCooldownSeconds'?: number;
5828
+ /**
5829
+ * Name of the underlying Application Auto Scaling policy.
5830
+ * @type {string}
5831
+ * @memberof GetScalingPolicyResponse
5832
+ */
5833
+ 'policyName'?: string;
5834
+ /**
5835
+ * ALB ResourceLabel for RPS policies (target group identifier).
5836
+ * @type {string}
5837
+ * @memberof GetScalingPolicyResponse
5838
+ */
5839
+ 'resourceLabel'?: string | null;
5840
+ }
5841
+ export declare const GetScalingPolicyResponseMetricEnum: {
5842
+ readonly CpuUtilization: "CPUUtilization";
5843
+ readonly MemoryUtilization: "MemoryUtilization";
5844
+ readonly Rps: "RPS";
5845
+ };
5846
+ export type GetScalingPolicyResponseMetricEnum = typeof GetScalingPolicyResponseMetricEnum[keyof typeof GetScalingPolicyResponseMetricEnum];
5847
+ /**
5848
+ *
5849
+ * @export
5850
+ * @interface GetSkill200Response
5851
+ */
5852
+ export interface GetSkill200Response {
5853
+ /**
5854
+ *
5855
+ * @type {GetSkill200ResponseSkill}
5856
+ * @memberof GetSkill200Response
5857
+ */
5858
+ 'skill'?: GetSkill200ResponseSkill;
5859
+ }
5860
+ /**
5861
+ *
5862
+ * @export
5863
+ * @interface GetSkill200ResponseSkill
5864
+ */
5865
+ export interface GetSkill200ResponseSkill {
5866
+ /**
5867
+ *
5868
+ * @type {string}
5869
+ * @memberof GetSkill200ResponseSkill
5870
+ */
5871
+ 'skillId'?: string;
5872
+ /**
5873
+ *
5874
+ * @type {string}
5875
+ * @memberof GetSkill200ResponseSkill
5876
+ */
5877
+ 'name'?: string;
5878
+ /**
5879
+ *
5880
+ * @type {string}
5881
+ * @memberof GetSkill200ResponseSkill
5882
+ */
5883
+ 'description'?: string;
5239
5884
  /**
5240
5885
  *
5241
5886
  * @type {string}
@@ -5333,7 +5978,7 @@ export interface GetSlackBot200ResponseBot {
5333
5978
  * @type {string}
5334
5979
  * @memberof GetSlackBot200ResponseBot
5335
5980
  */
5336
- 'agentId'?: string;
5981
+ 'name'?: string;
5337
5982
  /**
5338
5983
  *
5339
5984
  * @type {string}
@@ -5352,6 +5997,72 @@ export interface GetSlackBot200ResponseBot {
5352
5997
  * @memberof GetSlackBot200ResponseBot
5353
5998
  */
5354
5999
  'connected'?: boolean;
6000
+ /**
6001
+ *
6002
+ * @type {string}
6003
+ * @memberof GetSlackBot200ResponseBot
6004
+ */
6005
+ 'systemPrompt'?: string;
6006
+ /**
6007
+ *
6008
+ * @type {string}
6009
+ * @memberof GetSlackBot200ResponseBot
6010
+ */
6011
+ 'modelId'?: string;
6012
+ /**
6013
+ *
6014
+ * @type {number}
6015
+ * @memberof GetSlackBot200ResponseBot
6016
+ */
6017
+ 'temperature'?: number;
6018
+ /**
6019
+ *
6020
+ * @type {number}
6021
+ * @memberof GetSlackBot200ResponseBot
6022
+ */
6023
+ 'maxTokens'?: number;
6024
+ /**
6025
+ *
6026
+ * @type {Array<string>}
6027
+ * @memberof GetSlackBot200ResponseBot
6028
+ */
6029
+ 'allowedTools'?: Array<string>;
6030
+ /**
6031
+ *
6032
+ * @type {Array<string>}
6033
+ * @memberof GetSlackBot200ResponseBot
6034
+ */
6035
+ 'assignedSkills'?: Array<string>;
6036
+ /**
6037
+ *
6038
+ * @type {Array<string>}
6039
+ * @memberof GetSlackBot200ResponseBot
6040
+ */
6041
+ 'allowedCollections'?: Array<string>;
6042
+ /**
6043
+ *
6044
+ * @type {Array<string>}
6045
+ * @memberof GetSlackBot200ResponseBot
6046
+ */
6047
+ 'allowedSubAgents'?: Array<string>;
6048
+ /**
6049
+ *
6050
+ * @type {string}
6051
+ * @memberof GetSlackBot200ResponseBot
6052
+ */
6053
+ 'guardrailPreset'?: string;
6054
+ /**
6055
+ *
6056
+ * @type {Array<string>}
6057
+ * @memberof GetSlackBot200ResponseBot
6058
+ */
6059
+ 'filterPolicies'?: Array<string>;
6060
+ /**
6061
+ *
6062
+ * @type {boolean}
6063
+ * @memberof GetSlackBot200ResponseBot
6064
+ */
6065
+ 'longContext'?: boolean;
5355
6066
  /**
5356
6067
  *
5357
6068
  * @type {number}
@@ -5366,22 +6077,46 @@ export interface GetSlackBot200ResponseBot {
5366
6077
  'allowedChannels'?: Array<string>;
5367
6078
  /**
5368
6079
  *
5369
- * @type {boolean}
6080
+ * @type {Array<string>}
5370
6081
  * @memberof GetSlackBot200ResponseBot
5371
6082
  */
5372
- 'keywordsEnabled'?: boolean;
6083
+ 'allowedUsers'?: Array<string>;
5373
6084
  /**
5374
6085
  *
5375
6086
  * @type {Array<string>}
5376
6087
  * @memberof GetSlackBot200ResponseBot
5377
6088
  */
5378
- 'keywords'?: Array<string>;
6089
+ 'deniedUsers'?: Array<string>;
6090
+ /**
6091
+ *
6092
+ * @type {boolean}
6093
+ * @memberof GetSlackBot200ResponseBot
6094
+ */
6095
+ 'allowGuests'?: boolean;
6096
+ /**
6097
+ *
6098
+ * @type {string}
6099
+ * @memberof GetSlackBot200ResponseBot
6100
+ */
6101
+ 'homeTabContent'?: string;
6102
+ /**
6103
+ *
6104
+ * @type {object}
6105
+ * @memberof GetSlackBot200ResponseBot
6106
+ */
6107
+ 'agentAccessControl'?: object;
6108
+ /**
6109
+ *
6110
+ * @type {boolean}
6111
+ * @memberof GetSlackBot200ResponseBot
6112
+ */
6113
+ 'keywordsEnabled'?: boolean;
5379
6114
  /**
5380
6115
  *
5381
6116
  * @type {Array<string>}
5382
6117
  * @memberof GetSlackBot200ResponseBot
5383
6118
  */
5384
- 'slashCommands'?: Array<string>;
6119
+ 'keywords'?: Array<string>;
5385
6120
  /**
5386
6121
  *
5387
6122
  * @type {string}
@@ -7003,10 +7738,10 @@ export interface ListCustomTools200ResponseToolsInner {
7003
7738
  'isAsync'?: boolean;
7004
7739
  /**
7005
7740
  *
7006
- * @type {object}
7741
+ * @type {string}
7007
7742
  * @memberof ListCustomTools200ResponseToolsInner
7008
7743
  */
7009
- 'inputSchema'?: object;
7744
+ 'inputSchema'?: string;
7010
7745
  /**
7011
7746
  *
7012
7747
  * @type {string}
@@ -7342,7 +8077,7 @@ export interface ListSlackBots200ResponseBotsInner {
7342
8077
  * @type {string}
7343
8078
  * @memberof ListSlackBots200ResponseBotsInner
7344
8079
  */
7345
- 'agentId'?: string;
8080
+ 'name'?: string;
7346
8081
  /**
7347
8082
  *
7348
8083
  * @type {string}
@@ -7363,57 +8098,123 @@ export interface ListSlackBots200ResponseBotsInner {
7363
8098
  'connected'?: boolean;
7364
8099
  /**
7365
8100
  *
7366
- * @type {number}
8101
+ * @type {string}
7367
8102
  * @memberof ListSlackBots200ResponseBotsInner
7368
8103
  */
7369
- 'sessionTtlDays'?: number;
8104
+ 'systemPrompt'?: string;
7370
8105
  /**
7371
8106
  *
7372
- * @type {boolean}
8107
+ * @type {string}
7373
8108
  * @memberof ListSlackBots200ResponseBotsInner
7374
8109
  */
7375
- 'keywordsEnabled'?: boolean;
8110
+ 'modelId'?: string;
7376
8111
  /**
7377
8112
  *
7378
- * @type {string}
8113
+ * @type {number}
7379
8114
  * @memberof ListSlackBots200ResponseBotsInner
7380
8115
  */
7381
- 'createdAt'?: string;
7382
- }
7383
- export declare const ListSlackBots200ResponseBotsInnerSetupTypeEnum: {
7384
- readonly Quant: "quant";
7385
- readonly Byo: "byo";
7386
- };
7387
- export type ListSlackBots200ResponseBotsInnerSetupTypeEnum = typeof ListSlackBots200ResponseBotsInnerSetupTypeEnum[keyof typeof ListSlackBots200ResponseBotsInnerSetupTypeEnum];
7388
- export declare const ListSlackBots200ResponseBotsInnerStatusEnum: {
7389
- readonly Active: "active";
7390
- readonly Inactive: "inactive";
7391
- };
7392
- export type ListSlackBots200ResponseBotsInnerStatusEnum = typeof ListSlackBots200ResponseBotsInnerStatusEnum[keyof typeof ListSlackBots200ResponseBotsInnerStatusEnum];
7393
- /**
7394
- *
7395
- * @export
7396
- * @interface ListTasks200Response
7397
- */
7398
- export interface ListTasks200Response {
8116
+ 'temperature'?: number;
7399
8117
  /**
7400
8118
  *
7401
- * @type {Array<ListTasks200ResponseTasksInner>}
7402
- * @memberof ListTasks200Response
8119
+ * @type {number}
8120
+ * @memberof ListSlackBots200ResponseBotsInner
7403
8121
  */
7404
- 'tasks'?: Array<ListTasks200ResponseTasksInner>;
8122
+ 'maxTokens'?: number;
7405
8123
  /**
7406
- * Task IDs (only with dependsOn filter)
8124
+ *
7407
8125
  * @type {Array<string>}
7408
- * @memberof ListTasks200Response
8126
+ * @memberof ListSlackBots200ResponseBotsInner
7409
8127
  */
7410
- 'taskIds'?: Array<string>;
8128
+ 'allowedTools'?: Array<string>;
7411
8129
  /**
7412
8130
  *
7413
- * @type {number}
7414
- * @memberof ListTasks200Response
8131
+ * @type {Array<string>}
8132
+ * @memberof ListSlackBots200ResponseBotsInner
7415
8133
  */
7416
- 'count'?: number;
8134
+ 'assignedSkills'?: Array<string>;
8135
+ /**
8136
+ *
8137
+ * @type {Array<string>}
8138
+ * @memberof ListSlackBots200ResponseBotsInner
8139
+ */
8140
+ 'allowedCollections'?: Array<string>;
8141
+ /**
8142
+ *
8143
+ * @type {Array<string>}
8144
+ * @memberof ListSlackBots200ResponseBotsInner
8145
+ */
8146
+ 'allowedSubAgents'?: Array<string>;
8147
+ /**
8148
+ *
8149
+ * @type {string}
8150
+ * @memberof ListSlackBots200ResponseBotsInner
8151
+ */
8152
+ 'guardrailPreset'?: string;
8153
+ /**
8154
+ *
8155
+ * @type {Array<string>}
8156
+ * @memberof ListSlackBots200ResponseBotsInner
8157
+ */
8158
+ 'filterPolicies'?: Array<string>;
8159
+ /**
8160
+ *
8161
+ * @type {boolean}
8162
+ * @memberof ListSlackBots200ResponseBotsInner
8163
+ */
8164
+ 'longContext'?: boolean;
8165
+ /**
8166
+ *
8167
+ * @type {number}
8168
+ * @memberof ListSlackBots200ResponseBotsInner
8169
+ */
8170
+ 'sessionTtlDays'?: number;
8171
+ /**
8172
+ *
8173
+ * @type {boolean}
8174
+ * @memberof ListSlackBots200ResponseBotsInner
8175
+ */
8176
+ 'keywordsEnabled'?: boolean;
8177
+ /**
8178
+ *
8179
+ * @type {string}
8180
+ * @memberof ListSlackBots200ResponseBotsInner
8181
+ */
8182
+ 'createdAt'?: string;
8183
+ }
8184
+ export declare const ListSlackBots200ResponseBotsInnerSetupTypeEnum: {
8185
+ readonly Quant: "quant";
8186
+ readonly Byo: "byo";
8187
+ };
8188
+ export type ListSlackBots200ResponseBotsInnerSetupTypeEnum = typeof ListSlackBots200ResponseBotsInnerSetupTypeEnum[keyof typeof ListSlackBots200ResponseBotsInnerSetupTypeEnum];
8189
+ export declare const ListSlackBots200ResponseBotsInnerStatusEnum: {
8190
+ readonly Active: "active";
8191
+ readonly Inactive: "inactive";
8192
+ };
8193
+ export type ListSlackBots200ResponseBotsInnerStatusEnum = typeof ListSlackBots200ResponseBotsInnerStatusEnum[keyof typeof ListSlackBots200ResponseBotsInnerStatusEnum];
8194
+ /**
8195
+ *
8196
+ * @export
8197
+ * @interface ListTasks200Response
8198
+ */
8199
+ export interface ListTasks200Response {
8200
+ /**
8201
+ *
8202
+ * @type {Array<ListTasks200ResponseTasksInner>}
8203
+ * @memberof ListTasks200Response
8204
+ */
8205
+ 'tasks'?: Array<ListTasks200ResponseTasksInner>;
8206
+ /**
8207
+ * Task IDs (only with dependsOn filter)
8208
+ * @type {Array<string>}
8209
+ * @memberof ListTasks200Response
8210
+ */
8211
+ 'taskIds'?: Array<string>;
8212
+ /**
8213
+ *
8214
+ * @type {number}
8215
+ * @memberof ListTasks200Response
8216
+ */
8217
+ 'count'?: number;
7417
8218
  /**
7418
8219
  * The queried task ID (only with dependsOn filter)
7419
8220
  * @type {string}
@@ -8051,40 +8852,104 @@ export interface QueryVectorCollectionRequestFilter {
8051
8852
  /**
8052
8853
  *
8053
8854
  * @export
8054
- * @interface ScalingPolicy
8855
+ * @interface RestoreDatabase202Response
8055
8856
  */
8056
- export interface ScalingPolicy {
8857
+ export interface RestoreDatabase202Response {
8057
8858
  /**
8058
8859
  *
8059
8860
  * @type {string}
8060
- * @memberof ScalingPolicy
8861
+ * @memberof RestoreDatabase202Response
8061
8862
  */
8062
- 'metric'?: ScalingPolicyMetricEnum;
8863
+ 'restoreId'?: string;
8063
8864
  /**
8064
8865
  *
8065
- * @type {number}
8066
- * @memberof ScalingPolicy
8866
+ * @type {string}
8867
+ * @memberof RestoreDatabase202Response
8067
8868
  */
8068
- 'targetValue'?: number;
8869
+ 'status'?: string;
8069
8870
  /**
8070
8871
  *
8071
- * @type {number}
8072
- * @memberof ScalingPolicy
8872
+ * @type {string}
8873
+ * @memberof RestoreDatabase202Response
8073
8874
  */
8074
- 'scaleInCooldownSeconds'?: number;
8875
+ 'message'?: string;
8876
+ }
8877
+ /**
8878
+ *
8879
+ * @export
8880
+ * @interface RestoreDatabaseRequest
8881
+ */
8882
+ export interface RestoreDatabaseRequest {
8883
+ /**
8884
+ * The backup ID to restore (must match path param)
8885
+ * @type {string}
8886
+ * @memberof RestoreDatabaseRequest
8887
+ */
8888
+ 'backupId': string;
8889
+ /**
8890
+ * Must be true to confirm existing data will be overwritten
8891
+ * @type {boolean}
8892
+ * @memberof RestoreDatabaseRequest
8893
+ */
8894
+ 'acknowledgeDataloss': boolean;
8895
+ }
8896
+ /**
8897
+ *
8898
+ * @export
8899
+ * @interface RestoreFilesystem202Response
8900
+ */
8901
+ export interface RestoreFilesystem202Response {
8075
8902
  /**
8076
8903
  *
8077
- * @type {number}
8078
- * @memberof ScalingPolicy
8904
+ * @type {string}
8905
+ * @memberof RestoreFilesystem202Response
8079
8906
  */
8080
- 'scaleOutCooldownSeconds'?: number;
8907
+ 'restoreId'?: string;
8908
+ /**
8909
+ *
8910
+ * @type {string}
8911
+ * @memberof RestoreFilesystem202Response
8912
+ */
8913
+ 'status'?: string;
8914
+ /**
8915
+ *
8916
+ * @type {string}
8917
+ * @memberof RestoreFilesystem202Response
8918
+ */
8919
+ 'message'?: string;
8920
+ }
8921
+ /**
8922
+ *
8923
+ * @export
8924
+ * @interface RestoreFilesystemRequest
8925
+ */
8926
+ export interface RestoreFilesystemRequest {
8927
+ /**
8928
+ * The backup ID to restore (must match path param)
8929
+ * @type {string}
8930
+ * @memberof RestoreFilesystemRequest
8931
+ */
8932
+ 'backupId': string;
8933
+ /**
8934
+ * Must be true. tar extraction overwrites same-named files in the target EFS in place; pre-existing files not in the archive are preserved.
8935
+ * @type {boolean}
8936
+ * @memberof RestoreFilesystemRequest
8937
+ */
8938
+ 'acknowledgeDataloss': boolean;
8939
+ }
8940
+ /**
8941
+ *
8942
+ * @export
8943
+ * @interface ScalingPolicyListResponse
8944
+ */
8945
+ export interface ScalingPolicyListResponse {
8946
+ /**
8947
+ *
8948
+ * @type {Array<GetScalingPolicyResponse>}
8949
+ * @memberof ScalingPolicyListResponse
8950
+ */
8951
+ 'policies'?: Array<GetScalingPolicyResponse>;
8081
8952
  }
8082
- export declare const ScalingPolicyMetricEnum: {
8083
- readonly CpuUtilization: "CPUUtilization";
8084
- readonly MemoryUtilization: "MemoryUtilization";
8085
- readonly Rps: "RPS";
8086
- };
8087
- export type ScalingPolicyMetricEnum = typeof ScalingPolicyMetricEnum[keyof typeof ScalingPolicyMetricEnum];
8088
8953
  /**
8089
8954
  *
8090
8955
  * @export
@@ -8155,6 +9020,43 @@ export interface SearchSlackWorkspaceUsers200ResponseResultsInner {
8155
9020
  */
8156
9021
  'real_name'?: string;
8157
9022
  }
9023
+ /**
9024
+ *
9025
+ * @export
9026
+ * @interface SetScalingPolicyRequest
9027
+ */
9028
+ export interface SetScalingPolicyRequest {
9029
+ /**
9030
+ * Metric to track for scaling.
9031
+ * @type {string}
9032
+ * @memberof SetScalingPolicyRequest
9033
+ */
9034
+ 'metric': SetScalingPolicyRequestMetricEnum;
9035
+ /**
9036
+ * Target value. Percentage for CPU/Memory; req/sec per task for RPS.
9037
+ * @type {number}
9038
+ * @memberof SetScalingPolicyRequest
9039
+ */
9040
+ 'targetValue': number;
9041
+ /**
9042
+ * Cooldown (seconds) before another scale-in can start.
9043
+ * @type {number}
9044
+ * @memberof SetScalingPolicyRequest
9045
+ */
9046
+ 'scaleInCooldownSeconds'?: number;
9047
+ /**
9048
+ * Cooldown (seconds) before another scale-out can start.
9049
+ * @type {number}
9050
+ * @memberof SetScalingPolicyRequest
9051
+ */
9052
+ 'scaleOutCooldownSeconds'?: number;
9053
+ }
9054
+ export declare const SetScalingPolicyRequestMetricEnum: {
9055
+ readonly CpuUtilization: "CPUUtilization";
9056
+ readonly MemoryUtilization: "MemoryUtilization";
9057
+ readonly Rps: "RPS";
9058
+ };
9059
+ export type SetScalingPolicyRequestMetricEnum = typeof SetScalingPolicyRequestMetricEnum[keyof typeof SetScalingPolicyRequestMetricEnum];
8158
9060
  /**
8159
9061
  * Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
8160
9062
  * @export
@@ -8588,7 +9490,7 @@ export interface UpdateAIAgentRequest {
8588
9490
  * @type {string}
8589
9491
  * @memberof UpdateAIAgentRequest
8590
9492
  */
8591
- 'guardrailPreset'?: UpdateAIAgentRequestGuardrailPresetEnum;
9493
+ 'guardrailPreset'?: UpdateAIAgentRequestGuardrailPresetEnum | null;
8592
9494
  /**
8593
9495
  * Filter policy IDs to apply to this agent\'s inference requests
8594
9496
  * @type {Array<string>}
@@ -8881,10 +9783,10 @@ export interface UpdateGovernanceConfigRequest {
8881
9783
  'mandatoryFilterPolicies'?: Array<string>;
8882
9784
  /**
8883
9785
  *
8884
- * @type {object}
9786
+ * @type {GetGovernanceConfig200ResponseSpendLimits}
8885
9787
  * @memberof UpdateGovernanceConfigRequest
8886
9788
  */
8887
- 'spendLimits'?: object;
9789
+ 'spendLimits'?: GetGovernanceConfig200ResponseSpendLimits;
8888
9790
  /**
8889
9791
  *
8890
9792
  * @type {number}
@@ -9009,17 +9911,83 @@ export interface UpdateSkillRequest {
9009
9911
  */
9010
9912
  export interface UpdateSlackBotRequest {
9011
9913
  /**
9012
- * Change the backing AI agent
9914
+ * Display name for the bot
9013
9915
  * @type {string}
9014
9916
  * @memberof UpdateSlackBotRequest
9015
9917
  */
9016
- 'agentId'?: string;
9918
+ 'name'?: string;
9017
9919
  /**
9018
9920
  * Enable or disable the bot
9019
9921
  * @type {string}
9020
9922
  * @memberof UpdateSlackBotRequest
9021
9923
  */
9022
9924
  'status'?: UpdateSlackBotRequestStatusEnum;
9925
+ /**
9926
+ * System prompt for the backing AI agent
9927
+ * @type {string}
9928
+ * @memberof UpdateSlackBotRequest
9929
+ */
9930
+ 'systemPrompt'?: string;
9931
+ /**
9932
+ * AI model identifier
9933
+ * @type {string}
9934
+ * @memberof UpdateSlackBotRequest
9935
+ */
9936
+ 'modelId'?: string;
9937
+ /**
9938
+ * Sampling temperature
9939
+ * @type {number}
9940
+ * @memberof UpdateSlackBotRequest
9941
+ */
9942
+ 'temperature'?: number;
9943
+ /**
9944
+ * Maximum response tokens
9945
+ * @type {number}
9946
+ * @memberof UpdateSlackBotRequest
9947
+ */
9948
+ 'maxTokens'?: number;
9949
+ /**
9950
+ * Tools the agent may use
9951
+ * @type {Array<string>}
9952
+ * @memberof UpdateSlackBotRequest
9953
+ */
9954
+ 'allowedTools'?: Array<string>;
9955
+ /**
9956
+ * Skills assigned to the agent
9957
+ * @type {Array<string>}
9958
+ * @memberof UpdateSlackBotRequest
9959
+ */
9960
+ 'assignedSkills'?: Array<string>;
9961
+ /**
9962
+ * Vector DB collections the agent may query
9963
+ * @type {Array<string>}
9964
+ * @memberof UpdateSlackBotRequest
9965
+ */
9966
+ 'allowedCollections'?: Array<string>;
9967
+ /**
9968
+ * Sub-agents the agent may call
9969
+ * @type {Array<string>}
9970
+ * @memberof UpdateSlackBotRequest
9971
+ */
9972
+ 'allowedSubAgents'?: Array<string>;
9973
+ /**
9974
+ * Guardrail preset name
9975
+ * @type {string}
9976
+ * @memberof UpdateSlackBotRequest
9977
+ */
9978
+ 'guardrailPreset'?: string;
9979
+ /**
9980
+ * Content filter policies
9981
+ * @type {Array<string>}
9982
+ * @memberof UpdateSlackBotRequest
9983
+ */
9984
+ 'filterPolicies'?: Array<string>;
9985
+ /**
9986
+ * Enable long context mode
9987
+ * @type {boolean}
9988
+ * @memberof UpdateSlackBotRequest
9989
+ */
9990
+ 'longContext'?: boolean;
9023
9991
  /**
9024
9992
  * Session TTL in days
9025
9993
  * @type {number}
@@ -9032,6 +10000,36 @@ export interface UpdateSlackBotRequest {
9032
10000
  * @memberof UpdateSlackBotRequest
9033
10001
  */
9034
10002
  'allowedChannels'?: Array<string>;
10003
+ /**
10004
+ * Slack user IDs allowed to interact with the bot
10005
+ * @type {Array<string>}
10006
+ * @memberof UpdateSlackBotRequest
10007
+ */
10008
+ 'allowedUsers'?: Array<string>;
10009
+ /**
10010
+ * Slack user IDs denied from interacting with the bot
10011
+ * @type {Array<string>}
10012
+ * @memberof UpdateSlackBotRequest
10013
+ */
10014
+ 'deniedUsers'?: Array<string>;
10015
+ /**
10016
+ * Whether guest users may interact with the bot
10017
+ * @type {boolean}
10018
+ * @memberof UpdateSlackBotRequest
10019
+ */
10020
+ 'allowGuests'?: boolean;
10021
+ /**
10022
+ * Content shown on the bot\'s Home tab in Slack
10023
+ * @type {string}
10024
+ * @memberof UpdateSlackBotRequest
10025
+ */
10026
+ 'homeTabContent'?: string;
10027
+ /**
10028
+ * Agent-level access control settings
10029
+ * @type {object}
10030
+ * @memberof UpdateSlackBotRequest
10031
+ */
10032
+ 'agentAccessControl'?: object;
9035
10033
  /**
9036
10034
  * Whether keyword triggers are enabled
9037
10035
  * @type {boolean}
@@ -9044,12 +10042,6 @@ export interface UpdateSlackBotRequest {
9044
10042
  * @memberof UpdateSlackBotRequest
9045
10043
  */
9046
10044
  'keywords'?: Array<string>;
9047
- /**
9048
- * Slash commands the bot responds to
9049
- * @type {Array<string>}
9050
- * @memberof UpdateSlackBotRequest
9051
- */
9052
- 'slashCommands'?: Array<string>;
9053
10045
  }
9054
10046
  export declare const UpdateSlackBotRequestStatusEnum: {
9055
10047
  readonly Active: "active";
@@ -9483,7 +10475,7 @@ export interface UpsertAgentOverlayRequest {
9483
10475
  * @type {string}
9484
10476
  * @memberof UpsertAgentOverlayRequest
9485
10477
  */
9486
- 'guardrailPreset'?: UpsertAgentOverlayRequestGuardrailPresetEnum;
10478
+ 'guardrailPreset'?: UpsertAgentOverlayRequestGuardrailPresetEnum | null;
9487
10479
  /**
9488
10480
  * Current version for optimistic concurrency
9489
10481
  * @type {number}
@@ -15482,16 +16474,111 @@ export declare const WafConfigThresholdsInnerModeEnum: {
15482
16474
  };
15483
16475
  export type WafConfigThresholdsInnerModeEnum = typeof WafConfigThresholdsInnerModeEnum[keyof typeof WafConfigThresholdsInnerModeEnum];
15484
16476
  /**
15485
- * AIAgentsApi - axios parameter creator
16477
+ * AIApi - axios parameter creator
15486
16478
  * @export
15487
16479
  */
15488
- export declare const AIAgentsApiAxiosParamCreator: (configuration?: Configuration) => {
16480
+ export declare const AIApiAxiosParamCreator: (configuration?: Configuration) => {
15489
16481
  /**
15490
- * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed on cloud (no client confirmation needed) * - Temperature and model from agent config * - Supports sync, streaming, and async modes * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion * - **Streaming Mode**: Set `stream: true` for SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running agent tasks * - All tools are auto-executed on cloud (no `waiting_callback` state) * - Poll `/ai/chat/executions/{requestId}` for status * - Ideal for agents with slow tools (image generation, web search, etc.) * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Sessions work in all modes (sync, streaming, async) * - Use `/sessions/{sessionId}` to retrieve full conversation history
15491
- * @summary Chat with AI Agent
15492
- * @param {string} organisation The organisation ID
15493
- * @param {string} agentId The agent ID
15494
- * @param {ChatWithAIAgentRequest} chatWithAIAgentRequest
16482
+ * AI usage from the subscription page\'s source (cloud-api monthly-usage). Parameterized by month, groupBy (model|user|token) and optional daily series. NOTE: as of API 4.19.0 this endpoint requires the update_subscription permission + subscription:read scope (previously use_ai_services + ai:use). For per-caller spend use /ai/usage/me.
16483
+ * @summary Organisation AI usage breakdown (subscription page parity)
16484
+ * @param {string} organisation
16485
+ * @param {string} [month] YYYY-MM, defaults to current month
16486
+ * @param {GetAIUsageStatsGroupByEnum} [groupBy]
16487
+ * @param {GetAIUsageStatsIncludeEnum} [include] Set to \&#39;daily\&#39; to append a 30-day series
16488
+ * @param {string} [userId] Scope the daily series to a user
16489
+ * @param {string} [tokenId] Scope the daily series to a token
16490
+ * @param {*} [options] Override http request option.
16491
+ * @throws {RequiredError}
16492
+ */
16493
+ getAIUsageStats: (organisation: string, month?: string, groupBy?: GetAIUsageStatsGroupByEnum, include?: GetAIUsageStatsIncludeEnum, userId?: string, tokenId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16494
+ };
16495
+ /**
16496
+ * AIApi - functional programming interface
16497
+ * @export
16498
+ */
16499
+ export declare const AIApiFp: (configuration?: Configuration) => {
16500
+ /**
16501
+ * AI usage from the subscription page\'s source (cloud-api monthly-usage). Parameterized by month, groupBy (model|user|token) and optional daily series. NOTE: as of API 4.19.0 this endpoint requires the update_subscription permission + subscription:read scope (previously use_ai_services + ai:use). For per-caller spend use /ai/usage/me.
16502
+ * @summary Organisation AI usage breakdown (subscription page parity)
16503
+ * @param {string} organisation
16504
+ * @param {string} [month] YYYY-MM, defaults to current month
16505
+ * @param {GetAIUsageStatsGroupByEnum} [groupBy]
16506
+ * @param {GetAIUsageStatsIncludeEnum} [include] Set to \&#39;daily\&#39; to append a 30-day series
16507
+ * @param {string} [userId] Scope the daily series to a user
16508
+ * @param {string} [tokenId] Scope the daily series to a token
16509
+ * @param {*} [options] Override http request option.
16510
+ * @throws {RequiredError}
16511
+ */
16512
+ getAIUsageStats(organisation: string, month?: string, groupBy?: GetAIUsageStatsGroupByEnum, include?: GetAIUsageStatsIncludeEnum, userId?: string, tokenId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
16513
+ };
16514
+ /**
16515
+ * AIApi - factory interface
16516
+ * @export
16517
+ */
16518
+ export declare const AIApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16519
+ /**
16520
+ * AI usage from the subscription page\'s source (cloud-api monthly-usage). Parameterized by month, groupBy (model|user|token) and optional daily series. NOTE: as of API 4.19.0 this endpoint requires the update_subscription permission + subscription:read scope (previously use_ai_services + ai:use). For per-caller spend use /ai/usage/me.
16521
+ * @summary Organisation AI usage breakdown (subscription page parity)
16522
+ * @param {string} organisation
16523
+ * @param {string} [month] YYYY-MM, defaults to current month
16524
+ * @param {GetAIUsageStatsGroupByEnum} [groupBy]
16525
+ * @param {GetAIUsageStatsIncludeEnum} [include] Set to \&#39;daily\&#39; to append a 30-day series
16526
+ * @param {string} [userId] Scope the daily series to a user
16527
+ * @param {string} [tokenId] Scope the daily series to a token
16528
+ * @param {*} [options] Override http request option.
16529
+ * @throws {RequiredError}
16530
+ */
16531
+ getAIUsageStats(organisation: string, month?: string, groupBy?: GetAIUsageStatsGroupByEnum, include?: GetAIUsageStatsIncludeEnum, userId?: string, tokenId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
16532
+ };
16533
+ /**
16534
+ * AIApi - object-oriented interface
16535
+ * @export
16536
+ * @class AIApi
16537
+ * @extends {BaseAPI}
16538
+ */
16539
+ export declare class AIApi extends BaseAPI {
16540
+ /**
16541
+ * AI usage from the subscription page\'s source (cloud-api monthly-usage). Parameterized by month, groupBy (model|user|token) and optional daily series. NOTE: as of API 4.19.0 this endpoint requires the update_subscription permission + subscription:read scope (previously use_ai_services + ai:use). For per-caller spend use /ai/usage/me.
16542
+ * @summary Organisation AI usage breakdown (subscription page parity)
16543
+ * @param {string} organisation
16544
+ * @param {string} [month] YYYY-MM, defaults to current month
16545
+ * @param {GetAIUsageStatsGroupByEnum} [groupBy]
16546
+ * @param {GetAIUsageStatsIncludeEnum} [include] Set to \&#39;daily\&#39; to append a 30-day series
16547
+ * @param {string} [userId] Scope the daily series to a user
16548
+ * @param {string} [tokenId] Scope the daily series to a token
16549
+ * @param {*} [options] Override http request option.
16550
+ * @throws {RequiredError}
16551
+ * @memberof AIApi
16552
+ */
16553
+ getAIUsageStats(organisation: string, month?: string, groupBy?: GetAIUsageStatsGroupByEnum, include?: GetAIUsageStatsIncludeEnum, userId?: string, tokenId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
16554
+ }
16555
+ /**
16556
+ * @export
16557
+ */
16558
+ export declare const GetAIUsageStatsGroupByEnum: {
16559
+ readonly Model: "model";
16560
+ readonly User: "user";
16561
+ readonly Token: "token";
16562
+ };
16563
+ export type GetAIUsageStatsGroupByEnum = typeof GetAIUsageStatsGroupByEnum[keyof typeof GetAIUsageStatsGroupByEnum];
16564
+ /**
16565
+ * @export
16566
+ */
16567
+ export declare const GetAIUsageStatsIncludeEnum: {
16568
+ readonly Daily: "daily";
16569
+ };
16570
+ export type GetAIUsageStatsIncludeEnum = typeof GetAIUsageStatsIncludeEnum[keyof typeof GetAIUsageStatsIncludeEnum];
16571
+ /**
16572
+ * AIAgentsApi - axios parameter creator
16573
+ * @export
16574
+ */
16575
+ export declare const AIAgentsApiAxiosParamCreator: (configuration?: Configuration) => {
16576
+ /**
16577
+ * Initiates a chat session with a specific AI agent. The agent\'s configuration (system prompt, temperature, model, allowed tools) is automatically applied. * * **Key Features:** * - **Session Management**: Automatic session creation and state tracking * - **Multi-turn Conversations**: Full conversation history maintained server-side * - Agent\'s system prompt is prepended to conversation * - Only agent\'s allowed tools are available * - All tools are auto-executed on cloud (no client confirmation needed) * - Temperature and model from agent config * - Supports sync, streaming, and async modes * * **Execution Modes:** * - **Sync Mode** (default): Standard JSON response, waits for completion * - **Streaming Mode**: Set `stream: true` for SSE token-by-token responses * - **Async Mode**: Set `async: true` for long-running tasks with polling * * **Async/Durable Mode (`async: true`):** * - Returns immediately with `requestId` and `pollUrl` (HTTP 202) * - Uses AWS Lambda Durable Functions for long-running agent tasks * - All tools are auto-executed on cloud (no `waiting_callback` state) * - Poll `/ai/chat/executions/{requestId}` for status * - Ideal for agents with slow tools (image generation, web search, etc.) * * **Session Support:** * - Omit `sessionId` to create a new session automatically * - Include `sessionId` to continue an existing conversation * - Sessions expire after 60 minutes of inactivity * - Sessions work in all modes (sync, streaming, async) * - Use `/sessions/{sessionId}` to retrieve full conversation history
16578
+ * @summary Chat with AI Agent
16579
+ * @param {string} organisation The organisation ID
16580
+ * @param {string} agentId The agent ID
16581
+ * @param {ChatWithAIAgentRequest} chatWithAIAgentRequest
15495
16582
  * @param {*} [options] Override http request option.
15496
16583
  * @throws {RequiredError}
15497
16584
  */
@@ -15858,7 +16945,7 @@ export declare class AIAgentsApi extends BaseAPI {
15858
16945
  */
15859
16946
  export declare const AICustomToolsApiAxiosParamCreator: (configuration?: Configuration) => {
15860
16947
  /**
15861
- * Registers a custom edge function as a tool that AI models can invoke. This enables customers to create their own tools backed by edge functions. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
16948
+ * Registers a custom edge function as a tool that AI models can invoke. Provide `edgeFunctionCode` (JavaScript) and the API will deploy it to the CDN, compute the edge function URL, and register the tool. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Idempotent Updates:** * POSTing with the same `name` will update the existing tool — the edge function code is redeployed to the same UUID and the tool registration is updated. * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
15862
16949
  * @summary Register Custom Edge Function Tool
15863
16950
  * @param {string} organisation The organisation ID
15864
16951
  * @param {CreateCustomToolRequest} createCustomToolRequest
@@ -15867,7 +16954,7 @@ export declare const AICustomToolsApiAxiosParamCreator: (configuration?: Configu
15867
16954
  */
15868
16955
  createCustomTool: (organisation: string, createCustomToolRequest: CreateCustomToolRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15869
16956
  /**
15870
- * Deletes a custom tool registration. The underlying edge function is not affected.
16957
+ * Deletes a custom tool registration and its deployed edge function.
15871
16958
  * @summary Delete Custom Tool
15872
16959
  * @param {string} organisation The organisation ID
15873
16960
  * @param {string} toolName The tool name to delete
@@ -15875,6 +16962,15 @@ export declare const AICustomToolsApiAxiosParamCreator: (configuration?: Configu
15875
16962
  * @throws {RequiredError}
15876
16963
  */
15877
16964
  deleteCustomTool: (organisation: string, toolName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16965
+ /**
16966
+ * Retrieves a single registered custom tool by name.
16967
+ * @summary Get Custom Tool
16968
+ * @param {string} organisation The organisation ID
16969
+ * @param {string} toolName The tool name to retrieve
16970
+ * @param {*} [options] Override http request option.
16971
+ * @throws {RequiredError}
16972
+ */
16973
+ getCustomTool: (organisation: string, toolName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15878
16974
  /**
15879
16975
  * Lists all registered custom edge function tools for an organization.
15880
16976
  * @summary List Custom Tools
@@ -15890,7 +16986,7 @@ export declare const AICustomToolsApiAxiosParamCreator: (configuration?: Configu
15890
16986
  */
15891
16987
  export declare const AICustomToolsApiFp: (configuration?: Configuration) => {
15892
16988
  /**
15893
- * Registers a custom edge function as a tool that AI models can invoke. This enables customers to create their own tools backed by edge functions. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
16989
+ * Registers a custom edge function as a tool that AI models can invoke. Provide `edgeFunctionCode` (JavaScript) and the API will deploy it to the CDN, compute the edge function URL, and register the tool. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Idempotent Updates:** * POSTing with the same `name` will update the existing tool — the edge function code is redeployed to the same UUID and the tool registration is updated. * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
15894
16990
  * @summary Register Custom Edge Function Tool
15895
16991
  * @param {string} organisation The organisation ID
15896
16992
  * @param {CreateCustomToolRequest} createCustomToolRequest
@@ -15899,7 +16995,7 @@ export declare const AICustomToolsApiFp: (configuration?: Configuration) => {
15899
16995
  */
15900
16996
  createCustomTool(organisation: string, createCustomToolRequest: CreateCustomToolRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomTool201Response>>;
15901
16997
  /**
15902
- * Deletes a custom tool registration. The underlying edge function is not affected.
16998
+ * Deletes a custom tool registration and its deployed edge function.
15903
16999
  * @summary Delete Custom Tool
15904
17000
  * @param {string} organisation The organisation ID
15905
17001
  * @param {string} toolName The tool name to delete
@@ -15907,6 +17003,15 @@ export declare const AICustomToolsApiFp: (configuration?: Configuration) => {
15907
17003
  * @throws {RequiredError}
15908
17004
  */
15909
17005
  deleteCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteCustomTool200Response>>;
17006
+ /**
17007
+ * Retrieves a single registered custom tool by name.
17008
+ * @summary Get Custom Tool
17009
+ * @param {string} organisation The organisation ID
17010
+ * @param {string} toolName The tool name to retrieve
17011
+ * @param {*} [options] Override http request option.
17012
+ * @throws {RequiredError}
17013
+ */
17014
+ getCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomTool200Response>>;
15910
17015
  /**
15911
17016
  * Lists all registered custom edge function tools for an organization.
15912
17017
  * @summary List Custom Tools
@@ -15922,7 +17027,7 @@ export declare const AICustomToolsApiFp: (configuration?: Configuration) => {
15922
17027
  */
15923
17028
  export declare const AICustomToolsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15924
17029
  /**
15925
- * Registers a custom edge function as a tool that AI models can invoke. This enables customers to create their own tools backed by edge functions. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
17030
+ * Registers a custom edge function as a tool that AI models can invoke. Provide `edgeFunctionCode` (JavaScript) and the API will deploy it to the CDN, compute the edge function URL, and register the tool. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Idempotent Updates:** * POSTing with the same `name` will update the existing tool — the edge function code is redeployed to the same UUID and the tool registration is updated. * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
15926
17031
  * @summary Register Custom Edge Function Tool
15927
17032
  * @param {string} organisation The organisation ID
15928
17033
  * @param {CreateCustomToolRequest} createCustomToolRequest
@@ -15931,7 +17036,7 @@ export declare const AICustomToolsApiFactory: (configuration?: Configuration, ba
15931
17036
  */
15932
17037
  createCustomTool(organisation: string, createCustomToolRequest: CreateCustomToolRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateCustomTool201Response>;
15933
17038
  /**
15934
- * Deletes a custom tool registration. The underlying edge function is not affected.
17039
+ * Deletes a custom tool registration and its deployed edge function.
15935
17040
  * @summary Delete Custom Tool
15936
17041
  * @param {string} organisation The organisation ID
15937
17042
  * @param {string} toolName The tool name to delete
@@ -15939,6 +17044,15 @@ export declare const AICustomToolsApiFactory: (configuration?: Configuration, ba
15939
17044
  * @throws {RequiredError}
15940
17045
  */
15941
17046
  deleteCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteCustomTool200Response>;
17047
+ /**
17048
+ * Retrieves a single registered custom tool by name.
17049
+ * @summary Get Custom Tool
17050
+ * @param {string} organisation The organisation ID
17051
+ * @param {string} toolName The tool name to retrieve
17052
+ * @param {*} [options] Override http request option.
17053
+ * @throws {RequiredError}
17054
+ */
17055
+ getCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomTool200Response>;
15942
17056
  /**
15943
17057
  * Lists all registered custom edge function tools for an organization.
15944
17058
  * @summary List Custom Tools
@@ -15956,7 +17070,7 @@ export declare const AICustomToolsApiFactory: (configuration?: Configuration, ba
15956
17070
  */
15957
17071
  export declare class AICustomToolsApi extends BaseAPI {
15958
17072
  /**
15959
- * Registers a custom edge function as a tool that AI models can invoke. This enables customers to create their own tools backed by edge functions. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
17073
+ * Registers a custom edge function as a tool that AI models can invoke. Provide `edgeFunctionCode` (JavaScript) and the API will deploy it to the CDN, compute the edge function URL, and register the tool. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Idempotent Updates:** * POSTing with the same `name` will update the existing tool — the edge function code is redeployed to the same UUID and the tool registration is updated. * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
15960
17074
  * @summary Register Custom Edge Function Tool
15961
17075
  * @param {string} organisation The organisation ID
15962
17076
  * @param {CreateCustomToolRequest} createCustomToolRequest
@@ -15966,7 +17080,7 @@ export declare class AICustomToolsApi extends BaseAPI {
15966
17080
  */
15967
17081
  createCustomTool(organisation: string, createCustomToolRequest: CreateCustomToolRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomTool201Response, any, {}>>;
15968
17082
  /**
15969
- * Deletes a custom tool registration. The underlying edge function is not affected.
17083
+ * Deletes a custom tool registration and its deployed edge function.
15970
17084
  * @summary Delete Custom Tool
15971
17085
  * @param {string} organisation The organisation ID
15972
17086
  * @param {string} toolName The tool name to delete
@@ -15975,6 +17089,16 @@ export declare class AICustomToolsApi extends BaseAPI {
15975
17089
  * @memberof AICustomToolsApi
15976
17090
  */
15977
17091
  deleteCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteCustomTool200Response, any, {}>>;
17092
+ /**
17093
+ * Retrieves a single registered custom tool by name.
17094
+ * @summary Get Custom Tool
17095
+ * @param {string} organisation The organisation ID
17096
+ * @param {string} toolName The tool name to retrieve
17097
+ * @param {*} [options] Override http request option.
17098
+ * @throws {RequiredError}
17099
+ * @memberof AICustomToolsApi
17100
+ */
17101
+ getCustomTool(organisation: string, toolName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomTool200Response, any, {}>>;
15978
17102
  /**
15979
17103
  * Lists all registered custom edge function tools for an organization.
15980
17104
  * @summary List Custom Tools
@@ -16940,69 +18064,6 @@ export declare const ListAIModelsFeatureEnum: {
16940
18064
  readonly All: "all";
16941
18065
  };
16942
18066
  export type ListAIModelsFeatureEnum = typeof ListAIModelsFeatureEnum[keyof typeof ListAIModelsFeatureEnum];
16943
- /**
16944
- * AIMonitoringApi - axios parameter creator
16945
- * @export
16946
- */
16947
- export declare const AIMonitoringApiAxiosParamCreator: (configuration?: Configuration) => {
16948
- /**
16949
- *
16950
- * @summary Get AI usage statistics
16951
- * @param {string} organisation The organisation ID
16952
- * @param {string} [month] Month to retrieve statistics for (YYYY-MM format)
16953
- * @param {*} [options] Override http request option.
16954
- * @throws {RequiredError}
16955
- */
16956
- getAIUsageStats: (organisation: string, month?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
16957
- };
16958
- /**
16959
- * AIMonitoringApi - functional programming interface
16960
- * @export
16961
- */
16962
- export declare const AIMonitoringApiFp: (configuration?: Configuration) => {
16963
- /**
16964
- *
16965
- * @summary Get AI usage statistics
16966
- * @param {string} organisation The organisation ID
16967
- * @param {string} [month] Month to retrieve statistics for (YYYY-MM format)
16968
- * @param {*} [options] Override http request option.
16969
- * @throws {RequiredError}
16970
- */
16971
- getAIUsageStats(organisation: string, month?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAIUsageStats200Response>>;
16972
- };
16973
- /**
16974
- * AIMonitoringApi - factory interface
16975
- * @export
16976
- */
16977
- export declare const AIMonitoringApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
16978
- /**
16979
- *
16980
- * @summary Get AI usage statistics
16981
- * @param {string} organisation The organisation ID
16982
- * @param {string} [month] Month to retrieve statistics for (YYYY-MM format)
16983
- * @param {*} [options] Override http request option.
16984
- * @throws {RequiredError}
16985
- */
16986
- getAIUsageStats(organisation: string, month?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAIUsageStats200Response>;
16987
- };
16988
- /**
16989
- * AIMonitoringApi - object-oriented interface
16990
- * @export
16991
- * @class AIMonitoringApi
16992
- * @extends {BaseAPI}
16993
- */
16994
- export declare class AIMonitoringApi extends BaseAPI {
16995
- /**
16996
- *
16997
- * @summary Get AI usage statistics
16998
- * @param {string} organisation The organisation ID
16999
- * @param {string} [month] Month to retrieve statistics for (YYYY-MM format)
17000
- * @param {*} [options] Override http request option.
17001
- * @throws {RequiredError}
17002
- * @memberof AIMonitoringApi
17003
- */
17004
- getAIUsageStats(organisation: string, month?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAIUsageStats200Response, any, {}>>;
17005
- }
17006
18067
  /**
17007
18068
  * AIOrchestrationsApi - axios parameter creator
17008
18069
  * @export
@@ -17334,62 +18395,793 @@ export declare class AIOrchestrationsApi extends BaseAPI {
17334
18395
  * @throws {RequiredError}
17335
18396
  * @memberof AIOrchestrationsApi
17336
18397
  */
17337
- listOrchestrationBatches(organisation: string, orchestrationId: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrchestrationBatches200Response, any, {}>>;
18398
+ listOrchestrationBatches(organisation: string, orchestrationId: string, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrchestrationBatches200Response, any, {}>>;
18399
+ /**
18400
+ * List durable orchestrations for an organization with optional filtering. * * **Note:** This is different from `/tools/orchestrations` which handles async tool execution * polling. These durable orchestrations are for long-running batch processing loops. * * **Filter Options:** * - `status`: Filter by orchestration status * - `limit`: Max results (default 20, max 100) * - `cursor`: Pagination cursor
18401
+ * @summary List Durable Orchestrations
18402
+ * @param {string} organisation The organisation machine name
18403
+ * @param {ListOrchestrationsStatusEnum} [status] Filter by orchestration status
18404
+ * @param {number} [limit] Maximum number of results
18405
+ * @param {string} [cursor] Pagination cursor from previous response
18406
+ * @param {*} [options] Override http request option.
18407
+ * @throws {RequiredError}
18408
+ * @memberof AIOrchestrationsApi
18409
+ */
18410
+ listOrchestrations(organisation: string, status?: ListOrchestrationsStatusEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrchestrations200Response, any, {}>>;
18411
+ /**
18412
+ * Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later.
18413
+ * @summary Pause Durable Orchestration
18414
+ * @param {string} organisation The organisation machine name
18415
+ * @param {string} orchestrationId Orchestration identifier
18416
+ * @param {*} [options] Override http request option.
18417
+ * @throws {RequiredError}
18418
+ * @memberof AIOrchestrationsApi
18419
+ */
18420
+ pauseOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
18421
+ /**
18422
+ * Resume a paused orchestration. Processing continues from where it left off.
18423
+ * @summary Resume Durable Orchestration
18424
+ * @param {string} organisation The organisation machine name
18425
+ * @param {string} orchestrationId Orchestration identifier
18426
+ * @param {*} [options] Override http request option.
18427
+ * @throws {RequiredError}
18428
+ * @memberof AIOrchestrationsApi
18429
+ */
18430
+ resumeOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
18431
+ /**
18432
+ * Start a pending orchestration. Only works on orchestrations created with `autoStart: false`.
18433
+ * @summary Start Durable Orchestration
18434
+ * @param {string} organisation The organisation machine name
18435
+ * @param {string} orchestrationId Orchestration identifier
18436
+ * @param {*} [options] Override http request option.
18437
+ * @throws {RequiredError}
18438
+ * @memberof AIOrchestrationsApi
18439
+ */
18440
+ startOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
18441
+ }
18442
+ /**
18443
+ * @export
18444
+ */
18445
+ export declare const ListOrchestrationsStatusEnum: {
18446
+ readonly Pending: "pending";
18447
+ readonly Running: "running";
18448
+ readonly Paused: "paused";
18449
+ readonly Completed: "completed";
18450
+ readonly Failed: "failed";
18451
+ readonly Cancelled: "cancelled";
18452
+ };
18453
+ export type ListOrchestrationsStatusEnum = typeof ListOrchestrationsStatusEnum[keyof typeof ListOrchestrationsStatusEnum];
18454
+ /**
18455
+ * AISearchApi - axios parameter creator
18456
+ * @export
18457
+ */
18458
+ export declare const AISearchApiAxiosParamCreator: (configuration?: Configuration) => {
18459
+ /**
18460
+ *
18461
+ * @summary RAG chat with AI Search content
18462
+ * @param {string} organisation
18463
+ * @param {string} project
18464
+ * @param {AiSearchChatRequest} aiSearchChatRequest
18465
+ * @param {*} [options] Override http request option.
18466
+ * @throws {RequiredError}
18467
+ */
18468
+ aiSearchChat: (organisation: string, project: string, aiSearchChatRequest: AiSearchChatRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18469
+ /**
18470
+ *
18471
+ * @summary Delete pages by URLs or patterns
18472
+ * @param {string} organisation
18473
+ * @param {string} project
18474
+ * @param {AiSearchDeletePagesRequest} aiSearchDeletePagesRequest
18475
+ * @param {*} [options] Override http request option.
18476
+ * @throws {RequiredError}
18477
+ */
18478
+ aiSearchDeletePages: (organisation: string, project: string, aiSearchDeletePagesRequest: AiSearchDeletePagesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18479
+ /**
18480
+ *
18481
+ * @summary Disable AI Search for a project
18482
+ * @param {string} organisation
18483
+ * @param {string} project
18484
+ * @param {*} [options] Override http request option.
18485
+ * @throws {RequiredError}
18486
+ */
18487
+ aiSearchDisable: (organisation: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18488
+ /**
18489
+ *
18490
+ * @summary Enable AI Search for a project
18491
+ * @param {string} organisation
18492
+ * @param {string} project
18493
+ * @param {AiSearchEnableRequest} [aiSearchEnableRequest]
18494
+ * @param {*} [options] Override http request option.
18495
+ * @throws {RequiredError}
18496
+ */
18497
+ aiSearchEnable: (organisation: string, project: string, aiSearchEnableRequest?: AiSearchEnableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18498
+ /**
18499
+ *
18500
+ * @summary Get AI Search ingest job status
18501
+ * @param {string} organisation
18502
+ * @param {string} project
18503
+ * @param {string} jobId
18504
+ * @param {*} [options] Override http request option.
18505
+ * @throws {RequiredError}
18506
+ */
18507
+ aiSearchGetCrawl: (organisation: string, project: string, jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18508
+ /**
18509
+ *
18510
+ * @summary Get per-page ingest results for a crawl job
18511
+ * @param {string} organisation
18512
+ * @param {string} project
18513
+ * @param {string} jobId
18514
+ * @param {number} [limit]
18515
+ * @param {number} [statusCode]
18516
+ * @param {string} [processingStatus]
18517
+ * @param {*} [options] Override http request option.
18518
+ * @throws {RequiredError}
18519
+ */
18520
+ aiSearchGetCrawlPages: (organisation: string, project: string, jobId: string, limit?: number, statusCode?: number, processingStatus?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18521
+ /**
18522
+ *
18523
+ * @summary Get AI Search public access and rate limit settings
18524
+ * @param {string} organisation
18525
+ * @param {string} project
18526
+ * @param {*} [options] Override http request option.
18527
+ * @throws {RequiredError}
18528
+ */
18529
+ aiSearchGetSettings: (organisation: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18530
+ /**
18531
+ *
18532
+ * @summary Ingest pages into the AI Search index
18533
+ * @param {string} organisation
18534
+ * @param {string} project
18535
+ * @param {AiSearchIngestPagesRequest} aiSearchIngestPagesRequest
18536
+ * @param {*} [options] Override http request option.
18537
+ * @throws {RequiredError}
18538
+ */
18539
+ aiSearchIngestPages: (organisation: string, project: string, aiSearchIngestPagesRequest: AiSearchIngestPagesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18540
+ /**
18541
+ *
18542
+ * @summary List AI Search ingest jobs
18543
+ * @param {string} organisation
18544
+ * @param {string} project
18545
+ * @param {number} [limit]
18546
+ * @param {*} [options] Override http request option.
18547
+ * @throws {RequiredError}
18548
+ */
18549
+ aiSearchListCrawls: (organisation: string, project: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18550
+ /**
18551
+ *
18552
+ * @summary List indexed pages with cursor pagination
18553
+ * @param {string} organisation
18554
+ * @param {string} project
18555
+ * @param {number} [limit]
18556
+ * @param {string} [cursor]
18557
+ * @param {string} [search]
18558
+ * @param {*} [options] Override http request option.
18559
+ * @throws {RequiredError}
18560
+ */
18561
+ aiSearchListPages: (organisation: string, project: string, limit?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18562
+ /**
18563
+ *
18564
+ * @summary Purge the entire AI Search index
18565
+ * @param {string} organisation
18566
+ * @param {string} project
18567
+ * @param {*} [options] Override http request option.
18568
+ * @throws {RequiredError}
18569
+ */
18570
+ aiSearchPurgeIndex: (organisation: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18571
+ /**
18572
+ *
18573
+ * @summary Semantic search across the AI Search index
18574
+ * @param {string} organisation
18575
+ * @param {string} project
18576
+ * @param {AiSearchSearchRequest} aiSearchSearchRequest
18577
+ * @param {*} [options] Override http request option.
18578
+ * @throws {RequiredError}
18579
+ */
18580
+ aiSearchSearch: (organisation: string, project: string, aiSearchSearchRequest: AiSearchSearchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18581
+ /**
18582
+ *
18583
+ * @summary Get AI Search status for a project
18584
+ * @param {string} organisation
18585
+ * @param {string} project
18586
+ * @param {*} [options] Override http request option.
18587
+ * @throws {RequiredError}
18588
+ */
18589
+ aiSearchStatus: (organisation: string, project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18590
+ /**
18591
+ *
18592
+ * @summary Get the most popular AI Search queries
18593
+ * @param {string} organisation
18594
+ * @param {string} project
18595
+ * @param {string} [range]
18596
+ * @param {number} [limit]
18597
+ * @param {*} [options] Override http request option.
18598
+ * @throws {RequiredError}
18599
+ */
18600
+ aiSearchTopQueries: (organisation: string, project: string, range?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18601
+ /**
18602
+ *
18603
+ * @summary Trigger a crawler run that ingests into AI Search
18604
+ * @param {string} organisation
18605
+ * @param {string} project
18606
+ * @param {AiSearchTriggerCrawlRequest} aiSearchTriggerCrawlRequest
18607
+ * @param {*} [options] Override http request option.
18608
+ * @throws {RequiredError}
18609
+ */
18610
+ aiSearchTriggerCrawl: (organisation: string, project: string, aiSearchTriggerCrawlRequest: AiSearchTriggerCrawlRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18611
+ /**
18612
+ *
18613
+ * @summary Update AI Search public access and rate limit settings
18614
+ * @param {string} organisation
18615
+ * @param {string} project
18616
+ * @param {AiSearchUpdateSettingsRequest} aiSearchUpdateSettingsRequest
18617
+ * @param {*} [options] Override http request option.
18618
+ * @throws {RequiredError}
18619
+ */
18620
+ aiSearchUpdateSettings: (organisation: string, project: string, aiSearchUpdateSettingsRequest: AiSearchUpdateSettingsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18621
+ /**
18622
+ *
18623
+ * @summary Get usage statistics for the AI Search site
18624
+ * @param {string} organisation
18625
+ * @param {string} project
18626
+ * @param {string} [range]
18627
+ * @param {*} [options] Override http request option.
18628
+ * @throws {RequiredError}
18629
+ */
18630
+ aiSearchUsage: (organisation: string, project: string, range?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18631
+ };
18632
+ /**
18633
+ * AISearchApi - functional programming interface
18634
+ * @export
18635
+ */
18636
+ export declare const AISearchApiFp: (configuration?: Configuration) => {
18637
+ /**
18638
+ *
18639
+ * @summary RAG chat with AI Search content
18640
+ * @param {string} organisation
18641
+ * @param {string} project
18642
+ * @param {AiSearchChatRequest} aiSearchChatRequest
18643
+ * @param {*} [options] Override http request option.
18644
+ * @throws {RequiredError}
18645
+ */
18646
+ aiSearchChat(organisation: string, project: string, aiSearchChatRequest: AiSearchChatRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18647
+ /**
18648
+ *
18649
+ * @summary Delete pages by URLs or patterns
18650
+ * @param {string} organisation
18651
+ * @param {string} project
18652
+ * @param {AiSearchDeletePagesRequest} aiSearchDeletePagesRequest
18653
+ * @param {*} [options] Override http request option.
18654
+ * @throws {RequiredError}
18655
+ */
18656
+ aiSearchDeletePages(organisation: string, project: string, aiSearchDeletePagesRequest: AiSearchDeletePagesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18657
+ /**
18658
+ *
18659
+ * @summary Disable AI Search for a project
18660
+ * @param {string} organisation
18661
+ * @param {string} project
18662
+ * @param {*} [options] Override http request option.
18663
+ * @throws {RequiredError}
18664
+ */
18665
+ aiSearchDisable(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18666
+ /**
18667
+ *
18668
+ * @summary Enable AI Search for a project
18669
+ * @param {string} organisation
18670
+ * @param {string} project
18671
+ * @param {AiSearchEnableRequest} [aiSearchEnableRequest]
18672
+ * @param {*} [options] Override http request option.
18673
+ * @throws {RequiredError}
18674
+ */
18675
+ aiSearchEnable(organisation: string, project: string, aiSearchEnableRequest?: AiSearchEnableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18676
+ /**
18677
+ *
18678
+ * @summary Get AI Search ingest job status
18679
+ * @param {string} organisation
18680
+ * @param {string} project
18681
+ * @param {string} jobId
18682
+ * @param {*} [options] Override http request option.
18683
+ * @throws {RequiredError}
18684
+ */
18685
+ aiSearchGetCrawl(organisation: string, project: string, jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18686
+ /**
18687
+ *
18688
+ * @summary Get per-page ingest results for a crawl job
18689
+ * @param {string} organisation
18690
+ * @param {string} project
18691
+ * @param {string} jobId
18692
+ * @param {number} [limit]
18693
+ * @param {number} [statusCode]
18694
+ * @param {string} [processingStatus]
18695
+ * @param {*} [options] Override http request option.
18696
+ * @throws {RequiredError}
18697
+ */
18698
+ aiSearchGetCrawlPages(organisation: string, project: string, jobId: string, limit?: number, statusCode?: number, processingStatus?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18699
+ /**
18700
+ *
18701
+ * @summary Get AI Search public access and rate limit settings
18702
+ * @param {string} organisation
18703
+ * @param {string} project
18704
+ * @param {*} [options] Override http request option.
18705
+ * @throws {RequiredError}
18706
+ */
18707
+ aiSearchGetSettings(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18708
+ /**
18709
+ *
18710
+ * @summary Ingest pages into the AI Search index
18711
+ * @param {string} organisation
18712
+ * @param {string} project
18713
+ * @param {AiSearchIngestPagesRequest} aiSearchIngestPagesRequest
18714
+ * @param {*} [options] Override http request option.
18715
+ * @throws {RequiredError}
18716
+ */
18717
+ aiSearchIngestPages(organisation: string, project: string, aiSearchIngestPagesRequest: AiSearchIngestPagesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18718
+ /**
18719
+ *
18720
+ * @summary List AI Search ingest jobs
18721
+ * @param {string} organisation
18722
+ * @param {string} project
18723
+ * @param {number} [limit]
18724
+ * @param {*} [options] Override http request option.
18725
+ * @throws {RequiredError}
18726
+ */
18727
+ aiSearchListCrawls(organisation: string, project: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18728
+ /**
18729
+ *
18730
+ * @summary List indexed pages with cursor pagination
18731
+ * @param {string} organisation
18732
+ * @param {string} project
18733
+ * @param {number} [limit]
18734
+ * @param {string} [cursor]
18735
+ * @param {string} [search]
18736
+ * @param {*} [options] Override http request option.
18737
+ * @throws {RequiredError}
18738
+ */
18739
+ aiSearchListPages(organisation: string, project: string, limit?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18740
+ /**
18741
+ *
18742
+ * @summary Purge the entire AI Search index
18743
+ * @param {string} organisation
18744
+ * @param {string} project
18745
+ * @param {*} [options] Override http request option.
18746
+ * @throws {RequiredError}
18747
+ */
18748
+ aiSearchPurgeIndex(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18749
+ /**
18750
+ *
18751
+ * @summary Semantic search across the AI Search index
18752
+ * @param {string} organisation
18753
+ * @param {string} project
18754
+ * @param {AiSearchSearchRequest} aiSearchSearchRequest
18755
+ * @param {*} [options] Override http request option.
18756
+ * @throws {RequiredError}
18757
+ */
18758
+ aiSearchSearch(organisation: string, project: string, aiSearchSearchRequest: AiSearchSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18759
+ /**
18760
+ *
18761
+ * @summary Get AI Search status for a project
18762
+ * @param {string} organisation
18763
+ * @param {string} project
18764
+ * @param {*} [options] Override http request option.
18765
+ * @throws {RequiredError}
18766
+ */
18767
+ aiSearchStatus(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18768
+ /**
18769
+ *
18770
+ * @summary Get the most popular AI Search queries
18771
+ * @param {string} organisation
18772
+ * @param {string} project
18773
+ * @param {string} [range]
18774
+ * @param {number} [limit]
18775
+ * @param {*} [options] Override http request option.
18776
+ * @throws {RequiredError}
18777
+ */
18778
+ aiSearchTopQueries(organisation: string, project: string, range?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18779
+ /**
18780
+ *
18781
+ * @summary Trigger a crawler run that ingests into AI Search
18782
+ * @param {string} organisation
18783
+ * @param {string} project
18784
+ * @param {AiSearchTriggerCrawlRequest} aiSearchTriggerCrawlRequest
18785
+ * @param {*} [options] Override http request option.
18786
+ * @throws {RequiredError}
18787
+ */
18788
+ aiSearchTriggerCrawl(organisation: string, project: string, aiSearchTriggerCrawlRequest: AiSearchTriggerCrawlRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18789
+ /**
18790
+ *
18791
+ * @summary Update AI Search public access and rate limit settings
18792
+ * @param {string} organisation
18793
+ * @param {string} project
18794
+ * @param {AiSearchUpdateSettingsRequest} aiSearchUpdateSettingsRequest
18795
+ * @param {*} [options] Override http request option.
18796
+ * @throws {RequiredError}
18797
+ */
18798
+ aiSearchUpdateSettings(organisation: string, project: string, aiSearchUpdateSettingsRequest: AiSearchUpdateSettingsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18799
+ /**
18800
+ *
18801
+ * @summary Get usage statistics for the AI Search site
18802
+ * @param {string} organisation
18803
+ * @param {string} project
18804
+ * @param {string} [range]
18805
+ * @param {*} [options] Override http request option.
18806
+ * @throws {RequiredError}
18807
+ */
18808
+ aiSearchUsage(organisation: string, project: string, range?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
18809
+ };
18810
+ /**
18811
+ * AISearchApi - factory interface
18812
+ * @export
18813
+ */
18814
+ export declare const AISearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18815
+ /**
18816
+ *
18817
+ * @summary RAG chat with AI Search content
18818
+ * @param {string} organisation
18819
+ * @param {string} project
18820
+ * @param {AiSearchChatRequest} aiSearchChatRequest
18821
+ * @param {*} [options] Override http request option.
18822
+ * @throws {RequiredError}
18823
+ */
18824
+ aiSearchChat(organisation: string, project: string, aiSearchChatRequest: AiSearchChatRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18825
+ /**
18826
+ *
18827
+ * @summary Delete pages by URLs or patterns
18828
+ * @param {string} organisation
18829
+ * @param {string} project
18830
+ * @param {AiSearchDeletePagesRequest} aiSearchDeletePagesRequest
18831
+ * @param {*} [options] Override http request option.
18832
+ * @throws {RequiredError}
18833
+ */
18834
+ aiSearchDeletePages(organisation: string, project: string, aiSearchDeletePagesRequest: AiSearchDeletePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18835
+ /**
18836
+ *
18837
+ * @summary Disable AI Search for a project
18838
+ * @param {string} organisation
18839
+ * @param {string} project
18840
+ * @param {*} [options] Override http request option.
18841
+ * @throws {RequiredError}
18842
+ */
18843
+ aiSearchDisable(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18844
+ /**
18845
+ *
18846
+ * @summary Enable AI Search for a project
18847
+ * @param {string} organisation
18848
+ * @param {string} project
18849
+ * @param {AiSearchEnableRequest} [aiSearchEnableRequest]
18850
+ * @param {*} [options] Override http request option.
18851
+ * @throws {RequiredError}
18852
+ */
18853
+ aiSearchEnable(organisation: string, project: string, aiSearchEnableRequest?: AiSearchEnableRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18854
+ /**
18855
+ *
18856
+ * @summary Get AI Search ingest job status
18857
+ * @param {string} organisation
18858
+ * @param {string} project
18859
+ * @param {string} jobId
18860
+ * @param {*} [options] Override http request option.
18861
+ * @throws {RequiredError}
18862
+ */
18863
+ aiSearchGetCrawl(organisation: string, project: string, jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18864
+ /**
18865
+ *
18866
+ * @summary Get per-page ingest results for a crawl job
18867
+ * @param {string} organisation
18868
+ * @param {string} project
18869
+ * @param {string} jobId
18870
+ * @param {number} [limit]
18871
+ * @param {number} [statusCode]
18872
+ * @param {string} [processingStatus]
18873
+ * @param {*} [options] Override http request option.
18874
+ * @throws {RequiredError}
18875
+ */
18876
+ aiSearchGetCrawlPages(organisation: string, project: string, jobId: string, limit?: number, statusCode?: number, processingStatus?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18877
+ /**
18878
+ *
18879
+ * @summary Get AI Search public access and rate limit settings
18880
+ * @param {string} organisation
18881
+ * @param {string} project
18882
+ * @param {*} [options] Override http request option.
18883
+ * @throws {RequiredError}
18884
+ */
18885
+ aiSearchGetSettings(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18886
+ /**
18887
+ *
18888
+ * @summary Ingest pages into the AI Search index
18889
+ * @param {string} organisation
18890
+ * @param {string} project
18891
+ * @param {AiSearchIngestPagesRequest} aiSearchIngestPagesRequest
18892
+ * @param {*} [options] Override http request option.
18893
+ * @throws {RequiredError}
18894
+ */
18895
+ aiSearchIngestPages(organisation: string, project: string, aiSearchIngestPagesRequest: AiSearchIngestPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18896
+ /**
18897
+ *
18898
+ * @summary List AI Search ingest jobs
18899
+ * @param {string} organisation
18900
+ * @param {string} project
18901
+ * @param {number} [limit]
18902
+ * @param {*} [options] Override http request option.
18903
+ * @throws {RequiredError}
18904
+ */
18905
+ aiSearchListCrawls(organisation: string, project: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18906
+ /**
18907
+ *
18908
+ * @summary List indexed pages with cursor pagination
18909
+ * @param {string} organisation
18910
+ * @param {string} project
18911
+ * @param {number} [limit]
18912
+ * @param {string} [cursor]
18913
+ * @param {string} [search]
18914
+ * @param {*} [options] Override http request option.
18915
+ * @throws {RequiredError}
18916
+ */
18917
+ aiSearchListPages(organisation: string, project: string, limit?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18918
+ /**
18919
+ *
18920
+ * @summary Purge the entire AI Search index
18921
+ * @param {string} organisation
18922
+ * @param {string} project
18923
+ * @param {*} [options] Override http request option.
18924
+ * @throws {RequiredError}
18925
+ */
18926
+ aiSearchPurgeIndex(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18927
+ /**
18928
+ *
18929
+ * @summary Semantic search across the AI Search index
18930
+ * @param {string} organisation
18931
+ * @param {string} project
18932
+ * @param {AiSearchSearchRequest} aiSearchSearchRequest
18933
+ * @param {*} [options] Override http request option.
18934
+ * @throws {RequiredError}
18935
+ */
18936
+ aiSearchSearch(organisation: string, project: string, aiSearchSearchRequest: AiSearchSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18937
+ /**
18938
+ *
18939
+ * @summary Get AI Search status for a project
18940
+ * @param {string} organisation
18941
+ * @param {string} project
18942
+ * @param {*} [options] Override http request option.
18943
+ * @throws {RequiredError}
18944
+ */
18945
+ aiSearchStatus(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18946
+ /**
18947
+ *
18948
+ * @summary Get the most popular AI Search queries
18949
+ * @param {string} organisation
18950
+ * @param {string} project
18951
+ * @param {string} [range]
18952
+ * @param {number} [limit]
18953
+ * @param {*} [options] Override http request option.
18954
+ * @throws {RequiredError}
18955
+ */
18956
+ aiSearchTopQueries(organisation: string, project: string, range?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18957
+ /**
18958
+ *
18959
+ * @summary Trigger a crawler run that ingests into AI Search
18960
+ * @param {string} organisation
18961
+ * @param {string} project
18962
+ * @param {AiSearchTriggerCrawlRequest} aiSearchTriggerCrawlRequest
18963
+ * @param {*} [options] Override http request option.
18964
+ * @throws {RequiredError}
18965
+ */
18966
+ aiSearchTriggerCrawl(organisation: string, project: string, aiSearchTriggerCrawlRequest: AiSearchTriggerCrawlRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18967
+ /**
18968
+ *
18969
+ * @summary Update AI Search public access and rate limit settings
18970
+ * @param {string} organisation
18971
+ * @param {string} project
18972
+ * @param {AiSearchUpdateSettingsRequest} aiSearchUpdateSettingsRequest
18973
+ * @param {*} [options] Override http request option.
18974
+ * @throws {RequiredError}
18975
+ */
18976
+ aiSearchUpdateSettings(organisation: string, project: string, aiSearchUpdateSettingsRequest: AiSearchUpdateSettingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18977
+ /**
18978
+ *
18979
+ * @summary Get usage statistics for the AI Search site
18980
+ * @param {string} organisation
18981
+ * @param {string} project
18982
+ * @param {string} [range]
18983
+ * @param {*} [options] Override http request option.
18984
+ * @throws {RequiredError}
18985
+ */
18986
+ aiSearchUsage(organisation: string, project: string, range?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
18987
+ };
18988
+ /**
18989
+ * AISearchApi - object-oriented interface
18990
+ * @export
18991
+ * @class AISearchApi
18992
+ * @extends {BaseAPI}
18993
+ */
18994
+ export declare class AISearchApi extends BaseAPI {
18995
+ /**
18996
+ *
18997
+ * @summary RAG chat with AI Search content
18998
+ * @param {string} organisation
18999
+ * @param {string} project
19000
+ * @param {AiSearchChatRequest} aiSearchChatRequest
19001
+ * @param {*} [options] Override http request option.
19002
+ * @throws {RequiredError}
19003
+ * @memberof AISearchApi
19004
+ */
19005
+ aiSearchChat(organisation: string, project: string, aiSearchChatRequest: AiSearchChatRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19006
+ /**
19007
+ *
19008
+ * @summary Delete pages by URLs or patterns
19009
+ * @param {string} organisation
19010
+ * @param {string} project
19011
+ * @param {AiSearchDeletePagesRequest} aiSearchDeletePagesRequest
19012
+ * @param {*} [options] Override http request option.
19013
+ * @throws {RequiredError}
19014
+ * @memberof AISearchApi
19015
+ */
19016
+ aiSearchDeletePages(organisation: string, project: string, aiSearchDeletePagesRequest: AiSearchDeletePagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19017
+ /**
19018
+ *
19019
+ * @summary Disable AI Search for a project
19020
+ * @param {string} organisation
19021
+ * @param {string} project
19022
+ * @param {*} [options] Override http request option.
19023
+ * @throws {RequiredError}
19024
+ * @memberof AISearchApi
19025
+ */
19026
+ aiSearchDisable(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19027
+ /**
19028
+ *
19029
+ * @summary Enable AI Search for a project
19030
+ * @param {string} organisation
19031
+ * @param {string} project
19032
+ * @param {AiSearchEnableRequest} [aiSearchEnableRequest]
19033
+ * @param {*} [options] Override http request option.
19034
+ * @throws {RequiredError}
19035
+ * @memberof AISearchApi
19036
+ */
19037
+ aiSearchEnable(organisation: string, project: string, aiSearchEnableRequest?: AiSearchEnableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19038
+ /**
19039
+ *
19040
+ * @summary Get AI Search ingest job status
19041
+ * @param {string} organisation
19042
+ * @param {string} project
19043
+ * @param {string} jobId
19044
+ * @param {*} [options] Override http request option.
19045
+ * @throws {RequiredError}
19046
+ * @memberof AISearchApi
19047
+ */
19048
+ aiSearchGetCrawl(organisation: string, project: string, jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19049
+ /**
19050
+ *
19051
+ * @summary Get per-page ingest results for a crawl job
19052
+ * @param {string} organisation
19053
+ * @param {string} project
19054
+ * @param {string} jobId
19055
+ * @param {number} [limit]
19056
+ * @param {number} [statusCode]
19057
+ * @param {string} [processingStatus]
19058
+ * @param {*} [options] Override http request option.
19059
+ * @throws {RequiredError}
19060
+ * @memberof AISearchApi
19061
+ */
19062
+ aiSearchGetCrawlPages(organisation: string, project: string, jobId: string, limit?: number, statusCode?: number, processingStatus?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19063
+ /**
19064
+ *
19065
+ * @summary Get AI Search public access and rate limit settings
19066
+ * @param {string} organisation
19067
+ * @param {string} project
19068
+ * @param {*} [options] Override http request option.
19069
+ * @throws {RequiredError}
19070
+ * @memberof AISearchApi
19071
+ */
19072
+ aiSearchGetSettings(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19073
+ /**
19074
+ *
19075
+ * @summary Ingest pages into the AI Search index
19076
+ * @param {string} organisation
19077
+ * @param {string} project
19078
+ * @param {AiSearchIngestPagesRequest} aiSearchIngestPagesRequest
19079
+ * @param {*} [options] Override http request option.
19080
+ * @throws {RequiredError}
19081
+ * @memberof AISearchApi
19082
+ */
19083
+ aiSearchIngestPages(organisation: string, project: string, aiSearchIngestPagesRequest: AiSearchIngestPagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19084
+ /**
19085
+ *
19086
+ * @summary List AI Search ingest jobs
19087
+ * @param {string} organisation
19088
+ * @param {string} project
19089
+ * @param {number} [limit]
19090
+ * @param {*} [options] Override http request option.
19091
+ * @throws {RequiredError}
19092
+ * @memberof AISearchApi
19093
+ */
19094
+ aiSearchListCrawls(organisation: string, project: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19095
+ /**
19096
+ *
19097
+ * @summary List indexed pages with cursor pagination
19098
+ * @param {string} organisation
19099
+ * @param {string} project
19100
+ * @param {number} [limit]
19101
+ * @param {string} [cursor]
19102
+ * @param {string} [search]
19103
+ * @param {*} [options] Override http request option.
19104
+ * @throws {RequiredError}
19105
+ * @memberof AISearchApi
19106
+ */
19107
+ aiSearchListPages(organisation: string, project: string, limit?: number, cursor?: string, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19108
+ /**
19109
+ *
19110
+ * @summary Purge the entire AI Search index
19111
+ * @param {string} organisation
19112
+ * @param {string} project
19113
+ * @param {*} [options] Override http request option.
19114
+ * @throws {RequiredError}
19115
+ * @memberof AISearchApi
19116
+ */
19117
+ aiSearchPurgeIndex(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19118
+ /**
19119
+ *
19120
+ * @summary Semantic search across the AI Search index
19121
+ * @param {string} organisation
19122
+ * @param {string} project
19123
+ * @param {AiSearchSearchRequest} aiSearchSearchRequest
19124
+ * @param {*} [options] Override http request option.
19125
+ * @throws {RequiredError}
19126
+ * @memberof AISearchApi
19127
+ */
19128
+ aiSearchSearch(organisation: string, project: string, aiSearchSearchRequest: AiSearchSearchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
19129
+ /**
19130
+ *
19131
+ * @summary Get AI Search status for a project
19132
+ * @param {string} organisation
19133
+ * @param {string} project
19134
+ * @param {*} [options] Override http request option.
19135
+ * @throws {RequiredError}
19136
+ * @memberof AISearchApi
19137
+ */
19138
+ aiSearchStatus(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
17338
19139
  /**
17339
- * List durable orchestrations for an organization with optional filtering. * * **Note:** This is different from `/tools/orchestrations` which handles async tool execution * polling. These durable orchestrations are for long-running batch processing loops. * * **Filter Options:** * - `status`: Filter by orchestration status * - `limit`: Max results (default 20, max 100) * - `cursor`: Pagination cursor
17340
- * @summary List Durable Orchestrations
17341
- * @param {string} organisation The organisation machine name
17342
- * @param {ListOrchestrationsStatusEnum} [status] Filter by orchestration status
17343
- * @param {number} [limit] Maximum number of results
17344
- * @param {string} [cursor] Pagination cursor from previous response
19140
+ *
19141
+ * @summary Get the most popular AI Search queries
19142
+ * @param {string} organisation
19143
+ * @param {string} project
19144
+ * @param {string} [range]
19145
+ * @param {number} [limit]
17345
19146
  * @param {*} [options] Override http request option.
17346
19147
  * @throws {RequiredError}
17347
- * @memberof AIOrchestrationsApi
19148
+ * @memberof AISearchApi
17348
19149
  */
17349
- listOrchestrations(organisation: string, status?: ListOrchestrationsStatusEnum, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrchestrations200Response, any, {}>>;
19150
+ aiSearchTopQueries(organisation: string, project: string, range?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
17350
19151
  /**
17351
- * Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later.
17352
- * @summary Pause Durable Orchestration
17353
- * @param {string} organisation The organisation machine name
17354
- * @param {string} orchestrationId Orchestration identifier
19152
+ *
19153
+ * @summary Trigger a crawler run that ingests into AI Search
19154
+ * @param {string} organisation
19155
+ * @param {string} project
19156
+ * @param {AiSearchTriggerCrawlRequest} aiSearchTriggerCrawlRequest
17355
19157
  * @param {*} [options] Override http request option.
17356
19158
  * @throws {RequiredError}
17357
- * @memberof AIOrchestrationsApi
19159
+ * @memberof AISearchApi
17358
19160
  */
17359
- pauseOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
19161
+ aiSearchTriggerCrawl(organisation: string, project: string, aiSearchTriggerCrawlRequest: AiSearchTriggerCrawlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
17360
19162
  /**
17361
- * Resume a paused orchestration. Processing continues from where it left off.
17362
- * @summary Resume Durable Orchestration
17363
- * @param {string} organisation The organisation machine name
17364
- * @param {string} orchestrationId Orchestration identifier
19163
+ *
19164
+ * @summary Update AI Search public access and rate limit settings
19165
+ * @param {string} organisation
19166
+ * @param {string} project
19167
+ * @param {AiSearchUpdateSettingsRequest} aiSearchUpdateSettingsRequest
17365
19168
  * @param {*} [options] Override http request option.
17366
19169
  * @throws {RequiredError}
17367
- * @memberof AIOrchestrationsApi
19170
+ * @memberof AISearchApi
17368
19171
  */
17369
- resumeOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
19172
+ aiSearchUpdateSettings(organisation: string, project: string, aiSearchUpdateSettingsRequest: AiSearchUpdateSettingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
17370
19173
  /**
17371
- * Start a pending orchestration. Only works on orchestrations created with `autoStart: false`.
17372
- * @summary Start Durable Orchestration
17373
- * @param {string} organisation The organisation machine name
17374
- * @param {string} orchestrationId Orchestration identifier
19174
+ *
19175
+ * @summary Get usage statistics for the AI Search site
19176
+ * @param {string} organisation
19177
+ * @param {string} project
19178
+ * @param {string} [range]
17375
19179
  * @param {*} [options] Override http request option.
17376
19180
  * @throws {RequiredError}
17377
- * @memberof AIOrchestrationsApi
19181
+ * @memberof AISearchApi
17378
19182
  */
17379
- startOrchestration(organisation: string, orchestrationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
19183
+ aiSearchUsage(organisation: string, project: string, range?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
17380
19184
  }
17381
- /**
17382
- * @export
17383
- */
17384
- export declare const ListOrchestrationsStatusEnum: {
17385
- readonly Pending: "pending";
17386
- readonly Running: "running";
17387
- readonly Paused: "paused";
17388
- readonly Completed: "completed";
17389
- readonly Failed: "failed";
17390
- readonly Cancelled: "cancelled";
17391
- };
17392
- export type ListOrchestrationsStatusEnum = typeof ListOrchestrationsStatusEnum[keyof typeof ListOrchestrationsStatusEnum];
17393
19185
  /**
17394
19186
  * AISessionsApi - axios parameter creator
17395
19187
  * @export
@@ -18109,7 +19901,7 @@ export declare class AISkillsApi extends BaseAPI {
18109
19901
  */
18110
19902
  export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configuration) => {
18111
19903
  /**
18112
- * Creates a new Slack bot backed by an AI agent. The bot must be connected to a Slack workspace via OAuth before it can receive events. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
19904
+ * Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
18113
19905
  * @summary Create Slack Bot
18114
19906
  * @param {string} organisation The organisation ID
18115
19907
  * @param {CreateSlackBotRequest} createSlackBotRequest
@@ -18118,7 +19910,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
18118
19910
  */
18119
19911
  createSlackBot: (organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18120
19912
  /**
18121
- * Permanently deletes a Slack bot and disconnects it from the workspace.
19913
+ * Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
18122
19914
  * @summary Delete Slack Bot
18123
19915
  * @param {string} organisation The organisation ID
18124
19916
  * @param {string} botId The Slack bot ID
@@ -18127,7 +19919,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
18127
19919
  */
18128
19920
  deleteSlackBot: (organisation: string, botId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18129
19921
  /**
18130
- * Retrieves details for a specific Slack bot including its configuration and connection status.
19922
+ * Retrieves details for a specific Slack bot including its configuration, connection status, and flattened agent configuration.
18131
19923
  * @summary Get Slack Bot
18132
19924
  * @param {string} organisation The organisation ID
18133
19925
  * @param {string} botId The Slack bot ID
@@ -18136,7 +19928,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
18136
19928
  */
18137
19929
  getSlackBot: (organisation: string, botId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18138
19930
  /**
18139
- * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace.
19931
+ * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace. Agent configuration fields are flattened onto each bot object.
18140
19932
  * @summary List Slack Bots
18141
19933
  * @param {string} organisation The organisation ID
18142
19934
  * @param {*} [options] Override http request option.
@@ -18164,7 +19956,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
18164
19956
  */
18165
19957
  searchSlackWorkspaceUsers: (organisation: string, botId: string, q?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18166
19958
  /**
18167
- * Updates a Slack bot\'s configuration. Only provided fields are updated.
19959
+ * Updates a Slack bot\'s configuration and/or its backing agent. Only provided fields are updated.
18168
19960
  * @summary Update Slack Bot
18169
19961
  * @param {string} organisation The organisation ID
18170
19962
  * @param {string} botId The Slack bot ID
@@ -18180,7 +19972,7 @@ export declare const AISlackBotsApiAxiosParamCreator: (configuration?: Configura
18180
19972
  */
18181
19973
  export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
18182
19974
  /**
18183
- * Creates a new Slack bot backed by an AI agent. The bot must be connected to a Slack workspace via OAuth before it can receive events. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
19975
+ * Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
18184
19976
  * @summary Create Slack Bot
18185
19977
  * @param {string} organisation The organisation ID
18186
19978
  * @param {CreateSlackBotRequest} createSlackBotRequest
@@ -18189,7 +19981,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
18189
19981
  */
18190
19982
  createSlackBot(organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSlackBot201Response>>;
18191
19983
  /**
18192
- * Permanently deletes a Slack bot and disconnects it from the workspace.
19984
+ * Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
18193
19985
  * @summary Delete Slack Bot
18194
19986
  * @param {string} organisation The organisation ID
18195
19987
  * @param {string} botId The Slack bot ID
@@ -18198,7 +19990,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
18198
19990
  */
18199
19991
  deleteSlackBot(organisation: string, botId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteSlackBot200Response>>;
18200
19992
  /**
18201
- * Retrieves details for a specific Slack bot including its configuration and connection status.
19993
+ * Retrieves details for a specific Slack bot including its configuration, connection status, and flattened agent configuration.
18202
19994
  * @summary Get Slack Bot
18203
19995
  * @param {string} organisation The organisation ID
18204
19996
  * @param {string} botId The Slack bot ID
@@ -18207,7 +19999,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
18207
19999
  */
18208
20000
  getSlackBot(organisation: string, botId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSlackBot200Response>>;
18209
20001
  /**
18210
- * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace.
20002
+ * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace. Agent configuration fields are flattened onto each bot object.
18211
20003
  * @summary List Slack Bots
18212
20004
  * @param {string} organisation The organisation ID
18213
20005
  * @param {*} [options] Override http request option.
@@ -18235,7 +20027,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
18235
20027
  */
18236
20028
  searchSlackWorkspaceUsers(organisation: string, botId: string, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchSlackWorkspaceUsers200Response>>;
18237
20029
  /**
18238
- * Updates a Slack bot\'s configuration. Only provided fields are updated.
20030
+ * Updates a Slack bot\'s configuration and/or its backing agent. Only provided fields are updated.
18239
20031
  * @summary Update Slack Bot
18240
20032
  * @param {string} organisation The organisation ID
18241
20033
  * @param {string} botId The Slack bot ID
@@ -18251,7 +20043,7 @@ export declare const AISlackBotsApiFp: (configuration?: Configuration) => {
18251
20043
  */
18252
20044
  export declare const AISlackBotsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18253
20045
  /**
18254
- * Creates a new Slack bot backed by an AI agent. The bot must be connected to a Slack workspace via OAuth before it can receive events. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
20046
+ * Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
18255
20047
  * @summary Create Slack Bot
18256
20048
  * @param {string} organisation The organisation ID
18257
20049
  * @param {CreateSlackBotRequest} createSlackBotRequest
@@ -18260,7 +20052,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
18260
20052
  */
18261
20053
  createSlackBot(organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSlackBot201Response>;
18262
20054
  /**
18263
- * Permanently deletes a Slack bot and disconnects it from the workspace.
20055
+ * Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
18264
20056
  * @summary Delete Slack Bot
18265
20057
  * @param {string} organisation The organisation ID
18266
20058
  * @param {string} botId The Slack bot ID
@@ -18269,7 +20061,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
18269
20061
  */
18270
20062
  deleteSlackBot(organisation: string, botId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteSlackBot200Response>;
18271
20063
  /**
18272
- * Retrieves details for a specific Slack bot including its configuration and connection status.
20064
+ * Retrieves details for a specific Slack bot including its configuration, connection status, and flattened agent configuration.
18273
20065
  * @summary Get Slack Bot
18274
20066
  * @param {string} organisation The organisation ID
18275
20067
  * @param {string} botId The Slack bot ID
@@ -18278,7 +20070,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
18278
20070
  */
18279
20071
  getSlackBot(organisation: string, botId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetSlackBot200Response>;
18280
20072
  /**
18281
- * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace.
20073
+ * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace. Agent configuration fields are flattened onto each bot object.
18282
20074
  * @summary List Slack Bots
18283
20075
  * @param {string} organisation The organisation ID
18284
20076
  * @param {*} [options] Override http request option.
@@ -18306,7 +20098,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
18306
20098
  */
18307
20099
  searchSlackWorkspaceUsers(organisation: string, botId: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<SearchSlackWorkspaceUsers200Response>;
18308
20100
  /**
18309
- * Updates a Slack bot\'s configuration. Only provided fields are updated.
20101
+ * Updates a Slack bot\'s configuration and/or its backing agent. Only provided fields are updated.
18310
20102
  * @summary Update Slack Bot
18311
20103
  * @param {string} organisation The organisation ID
18312
20104
  * @param {string} botId The Slack bot ID
@@ -18324,7 +20116,7 @@ export declare const AISlackBotsApiFactory: (configuration?: Configuration, base
18324
20116
  */
18325
20117
  export declare class AISlackBotsApi extends BaseAPI {
18326
20118
  /**
18327
- * Creates a new Slack bot backed by an AI agent. The bot must be connected to a Slack workspace via OAuth before it can receive events. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
20119
+ * Creates a new Slack bot with inline AI agent configuration. A backing agent is created automatically — callers do not need to manage agents separately. * * **Setup Types:** * - `quant`: Quant-managed Slack app — uses shared OAuth credentials * - `byo`: Bring Your Own — customer provides their own Slack app credentials
18328
20120
  * @summary Create Slack Bot
18329
20121
  * @param {string} organisation The organisation ID
18330
20122
  * @param {CreateSlackBotRequest} createSlackBotRequest
@@ -18334,7 +20126,7 @@ export declare class AISlackBotsApi extends BaseAPI {
18334
20126
  */
18335
20127
  createSlackBot(organisation: string, createSlackBotRequest: CreateSlackBotRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSlackBot201Response, any, {}>>;
18336
20128
  /**
18337
- * Permanently deletes a Slack bot and disconnects it from the workspace.
20129
+ * Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
18338
20130
  * @summary Delete Slack Bot
18339
20131
  * @param {string} organisation The organisation ID
18340
20132
  * @param {string} botId The Slack bot ID
@@ -18344,7 +20136,7 @@ export declare class AISlackBotsApi extends BaseAPI {
18344
20136
  */
18345
20137
  deleteSlackBot(organisation: string, botId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteSlackBot200Response, any, {}>>;
18346
20138
  /**
18347
- * Retrieves details for a specific Slack bot including its configuration and connection status.
20139
+ * Retrieves details for a specific Slack bot including its configuration, connection status, and flattened agent configuration.
18348
20140
  * @summary Get Slack Bot
18349
20141
  * @param {string} organisation The organisation ID
18350
20142
  * @param {string} botId The Slack bot ID
@@ -18354,7 +20146,7 @@ export declare class AISlackBotsApi extends BaseAPI {
18354
20146
  */
18355
20147
  getSlackBot(organisation: string, botId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSlackBot200Response, any, {}>>;
18356
20148
  /**
18357
- * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace.
20149
+ * Lists all Slack bots configured for the organization. Each bot is backed by an AI agent and can be connected to a Slack workspace. Agent configuration fields are flattened onto each bot object.
18358
20150
  * @summary List Slack Bots
18359
20151
  * @param {string} organisation The organisation ID
18360
20152
  * @param {*} [options] Override http request option.
@@ -18385,7 +20177,7 @@ export declare class AISlackBotsApi extends BaseAPI {
18385
20177
  */
18386
20178
  searchSlackWorkspaceUsers(organisation: string, botId: string, q?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchSlackWorkspaceUsers200Response, any, {}>>;
18387
20179
  /**
18388
- * Updates a Slack bot\'s configuration. Only provided fields are updated.
20180
+ * Updates a Slack bot\'s configuration and/or its backing agent. Only provided fields are updated.
18389
20181
  * @summary Update Slack Bot
18390
20182
  * @param {string} organisation The organisation ID
18391
20183
  * @param {string} botId The Slack bot ID
@@ -23231,6 +25023,175 @@ export declare class PurgeApi extends BaseAPI {
23231
25023
  */
23232
25024
  purgeCreate(organization: string, project: string, purgeCreateRequest: PurgeCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
23233
25025
  }
25026
+ /**
25027
+ * RestoreManagementApi - axios parameter creator
25028
+ * @export
25029
+ */
25030
+ export declare const RestoreManagementApiAxiosParamCreator: (configuration?: Configuration) => {
25031
+ /**
25032
+ * Returns the current status and metadata for a restore operation. Poll this endpoint to track progress.
25033
+ * @summary Get the status of a restore operation
25034
+ * @param {string} organisation The organisation ID
25035
+ * @param {string} application The application ID
25036
+ * @param {string} environment The environment ID
25037
+ * @param {string} restoreId The restore operation ID
25038
+ * @param {*} [options] Override http request option.
25039
+ * @throws {RequiredError}
25040
+ */
25041
+ getRestoreStatus: (organisation: string, application: string, environment: string, restoreId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25042
+ /**
25043
+ * Initiates an async restore of a database backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25044
+ * @summary Restore a database backup to a target environment
25045
+ * @param {string} organisation The organisation ID
25046
+ * @param {string} application The application ID
25047
+ * @param {string} environment The TARGET environment ID to restore INTO
25048
+ * @param {string} backupId The backup ID to restore from
25049
+ * @param {RestoreDatabaseRequest} restoreDatabaseRequest
25050
+ * @param {*} [options] Override http request option.
25051
+ * @throws {RequiredError}
25052
+ */
25053
+ restoreDatabase: (organisation: string, application: string, environment: string, backupId: string, restoreDatabaseRequest: RestoreDatabaseRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25054
+ /**
25055
+ * Initiates an async restore of a filesystem backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25056
+ * @summary Restore a filesystem backup to a target environment
25057
+ * @param {string} organisation The organisation ID
25058
+ * @param {string} application The application ID
25059
+ * @param {string} environment The TARGET environment ID to restore INTO
25060
+ * @param {string} backupId The backup ID to restore from
25061
+ * @param {RestoreFilesystemRequest} restoreFilesystemRequest
25062
+ * @param {*} [options] Override http request option.
25063
+ * @throws {RequiredError}
25064
+ */
25065
+ restoreFilesystem: (organisation: string, application: string, environment: string, backupId: string, restoreFilesystemRequest: RestoreFilesystemRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25066
+ };
25067
+ /**
25068
+ * RestoreManagementApi - functional programming interface
25069
+ * @export
25070
+ */
25071
+ export declare const RestoreManagementApiFp: (configuration?: Configuration) => {
25072
+ /**
25073
+ * Returns the current status and metadata for a restore operation. Poll this endpoint to track progress.
25074
+ * @summary Get the status of a restore operation
25075
+ * @param {string} organisation The organisation ID
25076
+ * @param {string} application The application ID
25077
+ * @param {string} environment The environment ID
25078
+ * @param {string} restoreId The restore operation ID
25079
+ * @param {*} [options] Override http request option.
25080
+ * @throws {RequiredError}
25081
+ */
25082
+ getRestoreStatus(organisation: string, application: string, environment: string, restoreId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRestoreStatus200Response>>;
25083
+ /**
25084
+ * Initiates an async restore of a database backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25085
+ * @summary Restore a database backup to a target environment
25086
+ * @param {string} organisation The organisation ID
25087
+ * @param {string} application The application ID
25088
+ * @param {string} environment The TARGET environment ID to restore INTO
25089
+ * @param {string} backupId The backup ID to restore from
25090
+ * @param {RestoreDatabaseRequest} restoreDatabaseRequest
25091
+ * @param {*} [options] Override http request option.
25092
+ * @throws {RequiredError}
25093
+ */
25094
+ restoreDatabase(organisation: string, application: string, environment: string, backupId: string, restoreDatabaseRequest: RestoreDatabaseRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreDatabase202Response>>;
25095
+ /**
25096
+ * Initiates an async restore of a filesystem backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25097
+ * @summary Restore a filesystem backup to a target environment
25098
+ * @param {string} organisation The organisation ID
25099
+ * @param {string} application The application ID
25100
+ * @param {string} environment The TARGET environment ID to restore INTO
25101
+ * @param {string} backupId The backup ID to restore from
25102
+ * @param {RestoreFilesystemRequest} restoreFilesystemRequest
25103
+ * @param {*} [options] Override http request option.
25104
+ * @throws {RequiredError}
25105
+ */
25106
+ restoreFilesystem(organisation: string, application: string, environment: string, backupId: string, restoreFilesystemRequest: RestoreFilesystemRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreFilesystem202Response>>;
25107
+ };
25108
+ /**
25109
+ * RestoreManagementApi - factory interface
25110
+ * @export
25111
+ */
25112
+ export declare const RestoreManagementApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25113
+ /**
25114
+ * Returns the current status and metadata for a restore operation. Poll this endpoint to track progress.
25115
+ * @summary Get the status of a restore operation
25116
+ * @param {string} organisation The organisation ID
25117
+ * @param {string} application The application ID
25118
+ * @param {string} environment The environment ID
25119
+ * @param {string} restoreId The restore operation ID
25120
+ * @param {*} [options] Override http request option.
25121
+ * @throws {RequiredError}
25122
+ */
25123
+ getRestoreStatus(organisation: string, application: string, environment: string, restoreId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetRestoreStatus200Response>;
25124
+ /**
25125
+ * Initiates an async restore of a database backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25126
+ * @summary Restore a database backup to a target environment
25127
+ * @param {string} organisation The organisation ID
25128
+ * @param {string} application The application ID
25129
+ * @param {string} environment The TARGET environment ID to restore INTO
25130
+ * @param {string} backupId The backup ID to restore from
25131
+ * @param {RestoreDatabaseRequest} restoreDatabaseRequest
25132
+ * @param {*} [options] Override http request option.
25133
+ * @throws {RequiredError}
25134
+ */
25135
+ restoreDatabase(organisation: string, application: string, environment: string, backupId: string, restoreDatabaseRequest: RestoreDatabaseRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreDatabase202Response>;
25136
+ /**
25137
+ * Initiates an async restore of a filesystem backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25138
+ * @summary Restore a filesystem backup to a target environment
25139
+ * @param {string} organisation The organisation ID
25140
+ * @param {string} application The application ID
25141
+ * @param {string} environment The TARGET environment ID to restore INTO
25142
+ * @param {string} backupId The backup ID to restore from
25143
+ * @param {RestoreFilesystemRequest} restoreFilesystemRequest
25144
+ * @param {*} [options] Override http request option.
25145
+ * @throws {RequiredError}
25146
+ */
25147
+ restoreFilesystem(organisation: string, application: string, environment: string, backupId: string, restoreFilesystemRequest: RestoreFilesystemRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreFilesystem202Response>;
25148
+ };
25149
+ /**
25150
+ * RestoreManagementApi - object-oriented interface
25151
+ * @export
25152
+ * @class RestoreManagementApi
25153
+ * @extends {BaseAPI}
25154
+ */
25155
+ export declare class RestoreManagementApi extends BaseAPI {
25156
+ /**
25157
+ * Returns the current status and metadata for a restore operation. Poll this endpoint to track progress.
25158
+ * @summary Get the status of a restore operation
25159
+ * @param {string} organisation The organisation ID
25160
+ * @param {string} application The application ID
25161
+ * @param {string} environment The environment ID
25162
+ * @param {string} restoreId The restore operation ID
25163
+ * @param {*} [options] Override http request option.
25164
+ * @throws {RequiredError}
25165
+ * @memberof RestoreManagementApi
25166
+ */
25167
+ getRestoreStatus(organisation: string, application: string, environment: string, restoreId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRestoreStatus200Response, any, {}>>;
25168
+ /**
25169
+ * Initiates an async restore of a database backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25170
+ * @summary Restore a database backup to a target environment
25171
+ * @param {string} organisation The organisation ID
25172
+ * @param {string} application The application ID
25173
+ * @param {string} environment The TARGET environment ID to restore INTO
25174
+ * @param {string} backupId The backup ID to restore from
25175
+ * @param {RestoreDatabaseRequest} restoreDatabaseRequest
25176
+ * @param {*} [options] Override http request option.
25177
+ * @throws {RequiredError}
25178
+ * @memberof RestoreManagementApi
25179
+ */
25180
+ restoreDatabase(organisation: string, application: string, environment: string, backupId: string, restoreDatabaseRequest: RestoreDatabaseRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RestoreDatabase202Response, any, {}>>;
25181
+ /**
25182
+ * Initiates an async restore of a filesystem backup into the specified target environment. The backup may originate from a different environment of the same application (cross-env restore). Returns 202 with a restoreId for status polling.
25183
+ * @summary Restore a filesystem backup to a target environment
25184
+ * @param {string} organisation The organisation ID
25185
+ * @param {string} application The application ID
25186
+ * @param {string} environment The TARGET environment ID to restore INTO
25187
+ * @param {string} backupId The backup ID to restore from
25188
+ * @param {RestoreFilesystemRequest} restoreFilesystemRequest
25189
+ * @param {*} [options] Override http request option.
25190
+ * @throws {RequiredError}
25191
+ * @memberof RestoreManagementApi
25192
+ */
25193
+ restoreFilesystem(organisation: string, application: string, environment: string, backupId: string, restoreFilesystemRequest: RestoreFilesystemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RestoreFilesystem202Response, any, {}>>;
25194
+ }
23234
25195
  /**
23235
25196
  * RulesApi - axios parameter creator
23236
25197
  * @export
@@ -25175,37 +27136,41 @@ export declare class SSHAccessApi extends BaseAPI {
25175
27136
  */
25176
27137
  export declare const ScalingPolicyApiAxiosParamCreator: (configuration?: Configuration) => {
25177
27138
  /**
25178
- *
25179
- * @summary Delete the scaling policy for an environment
25180
- * @param {string} organisation The organisation ID
25181
- * @param {string} application The application ID
25182
- * @param {string} environment The environment ID
25183
- * @param {string} policyName The policy name
27139
+ * Deletes a specific scaling policy for the environment. Specify the metric type or policy name to delete a single policy. If neither is provided, all policies will be deleted.
27140
+ * @summary Delete Scaling Policy
27141
+ * @param {string} organisation
27142
+ * @param {string} application
27143
+ * @param {string} environment
27144
+ * @param {DeleteScalingPolicyMetricEnum} [metric] Optional. Delete by metric type.
27145
+ * @param {string} [policyName] Optional. Delete by exact policy name.
25184
27146
  * @param {*} [options] Override http request option.
25185
27147
  * @throws {RequiredError}
25186
27148
  */
25187
- deleteScalingPolicy: (organisation: string, application: string, environment: string, policyName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27149
+ deleteScalingPolicy: (organisation: string, application: string, environment: string, metric?: DeleteScalingPolicyMetricEnum, policyName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25188
27150
  /**
25189
- *
25190
- * @summary Get the scaling policies for an environment
25191
- * @param {string} organisation The organisation ID
25192
- * @param {string} application The application ID
25193
- * @param {string} environment The environment ID
27151
+ * Retrieves all active target tracking scaling policies for the environment. Returns an array of policies, each with its metric, target value, cooldowns, and resource label (if applicable).
27152
+ * @summary List Scaling Policies
27153
+ * @param {string} organisation
27154
+ * @param {string} application
27155
+ * @param {string} environment
27156
+ * @param {ListScalingPoliciesMetricEnum} [metric] Optional. Filter policies by metric type.
27157
+ * @param {string} [policyName] Optional. Filter policies by exact policy name.
25194
27158
  * @param {*} [options] Override http request option.
25195
27159
  * @throws {RequiredError}
25196
27160
  */
25197
- getScalingPolicies: (organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27161
+ listScalingPolicies: (organisation: string, application: string, environment: string, metric?: ListScalingPoliciesMetricEnum, policyName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25198
27162
  /**
25199
- *
25200
- * @summary Update the scaling policy for an environment
25201
- * @param {string} organisation The organisation ID
25202
- * @param {string} application The application ID
25203
- * @param {string} environment The environment ID
25204
- * @param {ScalingPolicy} scalingPolicy
27163
+ * Creates or updates a target tracking scaling policy for the environment. Specify the metric type and target value. If a policy with the same metric or name exists, it will be updated. Optionally, provide a custom policy name via query.
27164
+ * @summary Upsert Scaling Policy
27165
+ * @param {string} organisation
27166
+ * @param {string} application
27167
+ * @param {string} environment
27168
+ * @param {SetScalingPolicyRequest} setScalingPolicyRequest
27169
+ * @param {string} [policyName] Optional. Specify a custom policy name to upsert.
25205
27170
  * @param {*} [options] Override http request option.
25206
27171
  * @throws {RequiredError}
25207
27172
  */
25208
- updateScalingPolicy: (organisation: string, application: string, environment: string, scalingPolicy: ScalingPolicy, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27173
+ upsertScalingPolicy: (organisation: string, application: string, environment: string, setScalingPolicyRequest: SetScalingPolicyRequest, policyName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25209
27174
  };
25210
27175
  /**
25211
27176
  * ScalingPolicyApi - functional programming interface
@@ -25213,37 +27178,41 @@ export declare const ScalingPolicyApiAxiosParamCreator: (configuration?: Configu
25213
27178
  */
25214
27179
  export declare const ScalingPolicyApiFp: (configuration?: Configuration) => {
25215
27180
  /**
25216
- *
25217
- * @summary Delete the scaling policy for an environment
25218
- * @param {string} organisation The organisation ID
25219
- * @param {string} application The application ID
25220
- * @param {string} environment The environment ID
25221
- * @param {string} policyName The policy name
27181
+ * Deletes a specific scaling policy for the environment. Specify the metric type or policy name to delete a single policy. If neither is provided, all policies will be deleted.
27182
+ * @summary Delete Scaling Policy
27183
+ * @param {string} organisation
27184
+ * @param {string} application
27185
+ * @param {string} environment
27186
+ * @param {DeleteScalingPolicyMetricEnum} [metric] Optional. Delete by metric type.
27187
+ * @param {string} [policyName] Optional. Delete by exact policy name.
25222
27188
  * @param {*} [options] Override http request option.
25223
27189
  * @throws {RequiredError}
25224
27190
  */
25225
- deleteScalingPolicy(organisation: string, application: string, environment: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
27191
+ deleteScalingPolicy(organisation: string, application: string, environment: string, metric?: DeleteScalingPolicyMetricEnum, policyName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
25226
27192
  /**
25227
- *
25228
- * @summary Get the scaling policies for an environment
25229
- * @param {string} organisation The organisation ID
25230
- * @param {string} application The application ID
25231
- * @param {string} environment The environment ID
27193
+ * Retrieves all active target tracking scaling policies for the environment. Returns an array of policies, each with its metric, target value, cooldowns, and resource label (if applicable).
27194
+ * @summary List Scaling Policies
27195
+ * @param {string} organisation
27196
+ * @param {string} application
27197
+ * @param {string} environment
27198
+ * @param {ListScalingPoliciesMetricEnum} [metric] Optional. Filter policies by metric type.
27199
+ * @param {string} [policyName] Optional. Filter policies by exact policy name.
25232
27200
  * @param {*} [options] Override http request option.
25233
27201
  * @throws {RequiredError}
25234
27202
  */
25235
- getScalingPolicies(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
27203
+ listScalingPolicies(organisation: string, application: string, environment: string, metric?: ListScalingPoliciesMetricEnum, policyName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScalingPolicyListResponse>>;
25236
27204
  /**
25237
- *
25238
- * @summary Update the scaling policy for an environment
25239
- * @param {string} organisation The organisation ID
25240
- * @param {string} application The application ID
25241
- * @param {string} environment The environment ID
25242
- * @param {ScalingPolicy} scalingPolicy
27205
+ * Creates or updates a target tracking scaling policy for the environment. Specify the metric type and target value. If a policy with the same metric or name exists, it will be updated. Optionally, provide a custom policy name via query.
27206
+ * @summary Upsert Scaling Policy
27207
+ * @param {string} organisation
27208
+ * @param {string} application
27209
+ * @param {string} environment
27210
+ * @param {SetScalingPolicyRequest} setScalingPolicyRequest
27211
+ * @param {string} [policyName] Optional. Specify a custom policy name to upsert.
25243
27212
  * @param {*} [options] Override http request option.
25244
27213
  * @throws {RequiredError}
25245
27214
  */
25246
- updateScalingPolicy(organisation: string, application: string, environment: string, scalingPolicy: ScalingPolicy, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
27215
+ upsertScalingPolicy(organisation: string, application: string, environment: string, setScalingPolicyRequest: SetScalingPolicyRequest, policyName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetScalingPolicyResponse>>;
25247
27216
  };
25248
27217
  /**
25249
27218
  * ScalingPolicyApi - factory interface
@@ -25251,37 +27220,41 @@ export declare const ScalingPolicyApiFp: (configuration?: Configuration) => {
25251
27220
  */
25252
27221
  export declare const ScalingPolicyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
25253
27222
  /**
25254
- *
25255
- * @summary Delete the scaling policy for an environment
25256
- * @param {string} organisation The organisation ID
25257
- * @param {string} application The application ID
25258
- * @param {string} environment The environment ID
25259
- * @param {string} policyName The policy name
27223
+ * Deletes a specific scaling policy for the environment. Specify the metric type or policy name to delete a single policy. If neither is provided, all policies will be deleted.
27224
+ * @summary Delete Scaling Policy
27225
+ * @param {string} organisation
27226
+ * @param {string} application
27227
+ * @param {string} environment
27228
+ * @param {DeleteScalingPolicyMetricEnum} [metric] Optional. Delete by metric type.
27229
+ * @param {string} [policyName] Optional. Delete by exact policy name.
25260
27230
  * @param {*} [options] Override http request option.
25261
27231
  * @throws {RequiredError}
25262
27232
  */
25263
- deleteScalingPolicy(organisation: string, application: string, environment: string, policyName: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
27233
+ deleteScalingPolicy(organisation: string, application: string, environment: string, metric?: DeleteScalingPolicyMetricEnum, policyName?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
25264
27234
  /**
25265
- *
25266
- * @summary Get the scaling policies for an environment
25267
- * @param {string} organisation The organisation ID
25268
- * @param {string} application The application ID
25269
- * @param {string} environment The environment ID
27235
+ * Retrieves all active target tracking scaling policies for the environment. Returns an array of policies, each with its metric, target value, cooldowns, and resource label (if applicable).
27236
+ * @summary List Scaling Policies
27237
+ * @param {string} organisation
27238
+ * @param {string} application
27239
+ * @param {string} environment
27240
+ * @param {ListScalingPoliciesMetricEnum} [metric] Optional. Filter policies by metric type.
27241
+ * @param {string} [policyName] Optional. Filter policies by exact policy name.
25270
27242
  * @param {*} [options] Override http request option.
25271
27243
  * @throws {RequiredError}
25272
27244
  */
25273
- getScalingPolicies(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
27245
+ listScalingPolicies(organisation: string, application: string, environment: string, metric?: ListScalingPoliciesMetricEnum, policyName?: string, options?: RawAxiosRequestConfig): AxiosPromise<ScalingPolicyListResponse>;
25274
27246
  /**
25275
- *
25276
- * @summary Update the scaling policy for an environment
25277
- * @param {string} organisation The organisation ID
25278
- * @param {string} application The application ID
25279
- * @param {string} environment The environment ID
25280
- * @param {ScalingPolicy} scalingPolicy
27247
+ * Creates or updates a target tracking scaling policy for the environment. Specify the metric type and target value. If a policy with the same metric or name exists, it will be updated. Optionally, provide a custom policy name via query.
27248
+ * @summary Upsert Scaling Policy
27249
+ * @param {string} organisation
27250
+ * @param {string} application
27251
+ * @param {string} environment
27252
+ * @param {SetScalingPolicyRequest} setScalingPolicyRequest
27253
+ * @param {string} [policyName] Optional. Specify a custom policy name to upsert.
25281
27254
  * @param {*} [options] Override http request option.
25282
27255
  * @throws {RequiredError}
25283
27256
  */
25284
- updateScalingPolicy(organisation: string, application: string, environment: string, scalingPolicy: ScalingPolicy, options?: RawAxiosRequestConfig): AxiosPromise<void>;
27257
+ upsertScalingPolicy(organisation: string, application: string, environment: string, setScalingPolicyRequest: SetScalingPolicyRequest, policyName?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetScalingPolicyResponse>;
25285
27258
  };
25286
27259
  /**
25287
27260
  * ScalingPolicyApi - object-oriented interface
@@ -25291,40 +27264,125 @@ export declare const ScalingPolicyApiFactory: (configuration?: Configuration, ba
25291
27264
  */
25292
27265
  export declare class ScalingPolicyApi extends BaseAPI {
25293
27266
  /**
25294
- *
25295
- * @summary Delete the scaling policy for an environment
25296
- * @param {string} organisation The organisation ID
25297
- * @param {string} application The application ID
25298
- * @param {string} environment The environment ID
25299
- * @param {string} policyName The policy name
27267
+ * Deletes a specific scaling policy for the environment. Specify the metric type or policy name to delete a single policy. If neither is provided, all policies will be deleted.
27268
+ * @summary Delete Scaling Policy
27269
+ * @param {string} organisation
27270
+ * @param {string} application
27271
+ * @param {string} environment
27272
+ * @param {DeleteScalingPolicyMetricEnum} [metric] Optional. Delete by metric type.
27273
+ * @param {string} [policyName] Optional. Delete by exact policy name.
25300
27274
  * @param {*} [options] Override http request option.
25301
27275
  * @throws {RequiredError}
25302
27276
  * @memberof ScalingPolicyApi
25303
27277
  */
25304
- deleteScalingPolicy(organisation: string, application: string, environment: string, policyName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
27278
+ deleteScalingPolicy(organisation: string, application: string, environment: string, metric?: DeleteScalingPolicyMetricEnum, policyName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25305
27279
  /**
25306
- *
25307
- * @summary Get the scaling policies for an environment
25308
- * @param {string} organisation The organisation ID
25309
- * @param {string} application The application ID
25310
- * @param {string} environment The environment ID
27280
+ * Retrieves all active target tracking scaling policies for the environment. Returns an array of policies, each with its metric, target value, cooldowns, and resource label (if applicable).
27281
+ * @summary List Scaling Policies
27282
+ * @param {string} organisation
27283
+ * @param {string} application
27284
+ * @param {string} environment
27285
+ * @param {ListScalingPoliciesMetricEnum} [metric] Optional. Filter policies by metric type.
27286
+ * @param {string} [policyName] Optional. Filter policies by exact policy name.
25311
27287
  * @param {*} [options] Override http request option.
25312
27288
  * @throws {RequiredError}
25313
27289
  * @memberof ScalingPolicyApi
25314
27290
  */
25315
- getScalingPolicies(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
27291
+ listScalingPolicies(organisation: string, application: string, environment: string, metric?: ListScalingPoliciesMetricEnum, policyName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ScalingPolicyListResponse, any, {}>>;
25316
27292
  /**
25317
- *
25318
- * @summary Update the scaling policy for an environment
25319
- * @param {string} organisation The organisation ID
25320
- * @param {string} application The application ID
25321
- * @param {string} environment The environment ID
25322
- * @param {ScalingPolicy} scalingPolicy
27293
+ * Creates or updates a target tracking scaling policy for the environment. Specify the metric type and target value. If a policy with the same metric or name exists, it will be updated. Optionally, provide a custom policy name via query.
27294
+ * @summary Upsert Scaling Policy
27295
+ * @param {string} organisation
27296
+ * @param {string} application
27297
+ * @param {string} environment
27298
+ * @param {SetScalingPolicyRequest} setScalingPolicyRequest
27299
+ * @param {string} [policyName] Optional. Specify a custom policy name to upsert.
25323
27300
  * @param {*} [options] Override http request option.
25324
27301
  * @throws {RequiredError}
25325
27302
  * @memberof ScalingPolicyApi
25326
27303
  */
25327
- updateScalingPolicy(organisation: string, application: string, environment: string, scalingPolicy: ScalingPolicy, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
27304
+ upsertScalingPolicy(organisation: string, application: string, environment: string, setScalingPolicyRequest: SetScalingPolicyRequest, policyName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetScalingPolicyResponse, any, {}>>;
27305
+ }
27306
+ /**
27307
+ * @export
27308
+ */
27309
+ export declare const DeleteScalingPolicyMetricEnum: {
27310
+ readonly CpuUtilization: "CPUUtilization";
27311
+ readonly MemoryUtilization: "MemoryUtilization";
27312
+ readonly Rps: "RPS";
27313
+ };
27314
+ export type DeleteScalingPolicyMetricEnum = typeof DeleteScalingPolicyMetricEnum[keyof typeof DeleteScalingPolicyMetricEnum];
27315
+ /**
27316
+ * @export
27317
+ */
27318
+ export declare const ListScalingPoliciesMetricEnum: {
27319
+ readonly CpuUtilization: "CPUUtilization";
27320
+ readonly MemoryUtilization: "MemoryUtilization";
27321
+ readonly Rps: "RPS";
27322
+ };
27323
+ export type ListScalingPoliciesMetricEnum = typeof ListScalingPoliciesMetricEnum[keyof typeof ListScalingPoliciesMetricEnum];
27324
+ /**
27325
+ * SubscriptionApi - axios parameter creator
27326
+ * @export
27327
+ */
27328
+ export declare const SubscriptionApiAxiosParamCreator: (configuration?: Configuration) => {
27329
+ /**
27330
+ * Per-project compute/database/storage cost breakdown with spot discount, for the requested month and the month before it. Mirrors the subscription page\'s Cloud Apps card.
27331
+ * @summary Cloud-app cost breakdown for the subscription page
27332
+ * @param {string} organisation
27333
+ * @param {string} [month] YYYY-MM, defaults to current month
27334
+ * @param {*} [options] Override http request option.
27335
+ * @throws {RequiredError}
27336
+ */
27337
+ getSubscriptionCloudUsage: (organisation: string, month?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27338
+ };
27339
+ /**
27340
+ * SubscriptionApi - functional programming interface
27341
+ * @export
27342
+ */
27343
+ export declare const SubscriptionApiFp: (configuration?: Configuration) => {
27344
+ /**
27345
+ * Per-project compute/database/storage cost breakdown with spot discount, for the requested month and the month before it. Mirrors the subscription page\'s Cloud Apps card.
27346
+ * @summary Cloud-app cost breakdown for the subscription page
27347
+ * @param {string} organisation
27348
+ * @param {string} [month] YYYY-MM, defaults to current month
27349
+ * @param {*} [options] Override http request option.
27350
+ * @throws {RequiredError}
27351
+ */
27352
+ getSubscriptionCloudUsage(organisation: string, month?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
27353
+ };
27354
+ /**
27355
+ * SubscriptionApi - factory interface
27356
+ * @export
27357
+ */
27358
+ export declare const SubscriptionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
27359
+ /**
27360
+ * Per-project compute/database/storage cost breakdown with spot discount, for the requested month and the month before it. Mirrors the subscription page\'s Cloud Apps card.
27361
+ * @summary Cloud-app cost breakdown for the subscription page
27362
+ * @param {string} organisation
27363
+ * @param {string} [month] YYYY-MM, defaults to current month
27364
+ * @param {*} [options] Override http request option.
27365
+ * @throws {RequiredError}
27366
+ */
27367
+ getSubscriptionCloudUsage(organisation: string, month?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
27368
+ };
27369
+ /**
27370
+ * SubscriptionApi - object-oriented interface
27371
+ * @export
27372
+ * @class SubscriptionApi
27373
+ * @extends {BaseAPI}
27374
+ */
27375
+ export declare class SubscriptionApi extends BaseAPI {
27376
+ /**
27377
+ * Per-project compute/database/storage cost breakdown with spot discount, for the requested month and the month before it. Mirrors the subscription page\'s Cloud Apps card.
27378
+ * @summary Cloud-app cost breakdown for the subscription page
27379
+ * @param {string} organisation
27380
+ * @param {string} [month] YYYY-MM, defaults to current month
27381
+ * @param {*} [options] Override http request option.
27382
+ * @throws {RequiredError}
27383
+ * @memberof SubscriptionApi
27384
+ */
27385
+ getSubscriptionCloudUsage(organisation: string, month?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25328
27386
  }
25329
27387
  /**
25330
27388
  * TokensApi - axios parameter creator