@quantcdn/quant-client 4.30.0 → 4.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * QuantCDN API
5
5
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
6
6
  *
7
- * The version of the OpenAPI document: 4.30.0
7
+ * The version of the OpenAPI document: 4.34.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,6 +23,286 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface AIAutoModeConfig
30
+ */
31
+ export interface AIAutoModeConfig {
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof AIAutoModeConfig
36
+ */
37
+ 'enabled': boolean;
38
+ /**
39
+ * Empty when the setting was saved off without an orchestrator.
40
+ * @type {string}
41
+ * @memberof AIAutoModeConfig
42
+ */
43
+ 'orchestratorModel': string;
44
+ /**
45
+ *
46
+ * @type {AIAutoModeConfigGroup}
47
+ * @memberof AIAutoModeConfig
48
+ */
49
+ 'group': AIAutoModeConfigGroup;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof AIAutoModeConfig
54
+ */
55
+ 'watcherIntervalMinutes': number;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof AIAutoModeConfig
60
+ */
61
+ 'maxParallelTasks'?: number;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof AIAutoModeConfig
66
+ */
67
+ 'enforcement': AIAutoModeConfigEnforcementEnum;
68
+ /**
69
+ *
70
+ * @type {boolean}
71
+ * @memberof AIAutoModeConfig
72
+ */
73
+ 'autonomousDefault': boolean;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof AIAutoModeConfig
78
+ */
79
+ 'updatedAt': string;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof AIAutoModeConfig
84
+ */
85
+ 'updatedBy'?: string;
86
+ }
87
+
88
+ export const AIAutoModeConfigEnforcementEnum = {
89
+ Default: 'default',
90
+ Required: 'required'
91
+ } as const;
92
+
93
+ export type AIAutoModeConfigEnforcementEnum = typeof AIAutoModeConfigEnforcementEnum[keyof typeof AIAutoModeConfigEnforcementEnum];
94
+
95
+ /**
96
+ *
97
+ * @export
98
+ * @interface AIAutoModeConfigGroup
99
+ */
100
+ export interface AIAutoModeConfigGroup {
101
+ /**
102
+ *
103
+ * @type {number}
104
+ * @memberof AIAutoModeConfigGroup
105
+ */
106
+ 'revision': number;
107
+ /**
108
+ *
109
+ * @type {AIAutoModeConfigGroupRoles}
110
+ * @memberof AIAutoModeConfigGroup
111
+ */
112
+ 'roles': AIAutoModeConfigGroupRoles;
113
+ }
114
+ /**
115
+ *
116
+ * @export
117
+ * @interface AIAutoModeConfigGroupRoles
118
+ */
119
+ export interface AIAutoModeConfigGroupRoles {
120
+ /**
121
+ *
122
+ * @type {Array<string>}
123
+ * @memberof AIAutoModeConfigGroupRoles
124
+ */
125
+ 'fast': Array<string>;
126
+ /**
127
+ *
128
+ * @type {Array<string>}
129
+ * @memberof AIAutoModeConfigGroupRoles
130
+ */
131
+ 'standard': Array<string>;
132
+ /**
133
+ *
134
+ * @type {Array<string>}
135
+ * @memberof AIAutoModeConfigGroupRoles
136
+ */
137
+ 'deep': Array<string>;
138
+ }
139
+ /**
140
+ *
141
+ * @export
142
+ * @interface AIAutoModeEligibility
143
+ */
144
+ export interface AIAutoModeEligibility {
145
+ /**
146
+ *
147
+ * @type {AIModelEligibility}
148
+ * @memberof AIAutoModeEligibility
149
+ */
150
+ 'orchestrator': AIModelEligibility | null;
151
+ /**
152
+ *
153
+ * @type {AIAutoModeEligibilityRoles}
154
+ * @memberof AIAutoModeEligibility
155
+ */
156
+ 'roles': AIAutoModeEligibilityRoles;
157
+ /**
158
+ *
159
+ * @type {boolean}
160
+ * @memberof AIAutoModeEligibility
161
+ */
162
+ 'usable': boolean;
163
+ }
164
+ /**
165
+ *
166
+ * @export
167
+ * @interface AIAutoModeEligibilityRoles
168
+ */
169
+ export interface AIAutoModeEligibilityRoles {
170
+ /**
171
+ *
172
+ * @type {Array<AIModelEligibility>}
173
+ * @memberof AIAutoModeEligibilityRoles
174
+ */
175
+ 'fast': Array<AIModelEligibility>;
176
+ /**
177
+ *
178
+ * @type {Array<AIModelEligibility>}
179
+ * @memberof AIAutoModeEligibilityRoles
180
+ */
181
+ 'standard': Array<AIModelEligibility>;
182
+ /**
183
+ *
184
+ * @type {Array<AIModelEligibility>}
185
+ * @memberof AIAutoModeEligibilityRoles
186
+ */
187
+ 'deep': Array<AIModelEligibility>;
188
+ }
189
+ /**
190
+ *
191
+ * @export
192
+ * @interface AIAutoModeInput
193
+ */
194
+ export interface AIAutoModeInput {
195
+ /**
196
+ *
197
+ * @type {boolean}
198
+ * @memberof AIAutoModeInput
199
+ */
200
+ 'enabled': boolean;
201
+ /**
202
+ * Required when enabled is true. May be left out when enabled is false.
203
+ * @type {string}
204
+ * @memberof AIAutoModeInput
205
+ */
206
+ 'orchestratorModel'?: string;
207
+ /**
208
+ *
209
+ * @type {AIAutoModeInputGroup}
210
+ * @memberof AIAutoModeInput
211
+ */
212
+ 'group': AIAutoModeInputGroup;
213
+ /**
214
+ *
215
+ * @type {number}
216
+ * @memberof AIAutoModeInput
217
+ */
218
+ 'watcherIntervalMinutes': number;
219
+ /**
220
+ *
221
+ * @type {number}
222
+ * @memberof AIAutoModeInput
223
+ */
224
+ 'maxParallelTasks'?: number;
225
+ /**
226
+ *
227
+ * @type {string}
228
+ * @memberof AIAutoModeInput
229
+ */
230
+ 'enforcement': AIAutoModeInputEnforcementEnum;
231
+ /**
232
+ *
233
+ * @type {boolean}
234
+ * @memberof AIAutoModeInput
235
+ */
236
+ 'autonomousDefault': boolean;
237
+ }
238
+
239
+ export const AIAutoModeInputEnforcementEnum = {
240
+ Default: 'default',
241
+ Required: 'required'
242
+ } as const;
243
+
244
+ export type AIAutoModeInputEnforcementEnum = typeof AIAutoModeInputEnforcementEnum[keyof typeof AIAutoModeInputEnforcementEnum];
245
+
246
+ /**
247
+ *
248
+ * @export
249
+ * @interface AIAutoModeInputGroup
250
+ */
251
+ export interface AIAutoModeInputGroup {
252
+ /**
253
+ * Revision from the last read. A stale value returns 409.
254
+ * @type {number}
255
+ * @memberof AIAutoModeInputGroup
256
+ */
257
+ 'revision'?: number;
258
+ /**
259
+ *
260
+ * @type {AIAutoModeConfigGroupRoles}
261
+ * @memberof AIAutoModeInputGroup
262
+ */
263
+ 'roles': AIAutoModeConfigGroupRoles;
264
+ }
265
+ /**
266
+ *
267
+ * @export
268
+ * @interface AIModelEligibility
269
+ */
270
+ export interface AIModelEligibility {
271
+ /**
272
+ *
273
+ * @type {string}
274
+ * @memberof AIModelEligibility
275
+ */
276
+ 'modelId': string;
277
+ /**
278
+ *
279
+ * @type {string}
280
+ * @memberof AIModelEligibility
281
+ */
282
+ 'resolvedId': string;
283
+ /**
284
+ *
285
+ * @type {boolean}
286
+ * @memberof AIModelEligibility
287
+ */
288
+ 'eligible': boolean;
289
+ /**
290
+ *
291
+ * @type {string}
292
+ * @memberof AIModelEligibility
293
+ */
294
+ 'reason'?: AIModelEligibilityReasonEnum;
295
+ }
296
+
297
+ export const AIModelEligibilityReasonEnum = {
298
+ Unknown: 'unknown',
299
+ NoTools: 'no_tools',
300
+ Policy: 'policy',
301
+ Residency: 'residency'
302
+ } as const;
303
+
304
+ export type AIModelEligibilityReasonEnum = typeof AIModelEligibilityReasonEnum[keyof typeof AIModelEligibilityReasonEnum];
305
+
26
306
  /**
27
307
  *
28
308
  * @export
@@ -680,6 +960,71 @@ export interface AiSlackBotApiMessageAllOfFiles {
680
960
  */
681
961
  'size'?: number;
682
962
  }
963
+ /**
964
+ *
965
+ * @export
966
+ * @interface AlertChannelError
967
+ */
968
+ export interface AlertChannelError {
969
+ /**
970
+ *
971
+ * @type {string}
972
+ * @memberof AlertChannelError
973
+ */
974
+ 'error': string;
975
+ }
976
+ /**
977
+ *
978
+ * @export
979
+ * @interface AlertChannelList
980
+ */
981
+ export interface AlertChannelList {
982
+ /**
983
+ *
984
+ * @type {Array<AlertChannelSummary>}
985
+ * @memberof AlertChannelList
986
+ */
987
+ 'channels': Array<AlertChannelSummary>;
988
+ }
989
+ /**
990
+ * An alert channel as the public API returns it. The secret (webhook URL or address list) is never returned.
991
+ * @export
992
+ * @interface AlertChannelSummary
993
+ */
994
+ export interface AlertChannelSummary {
995
+ /**
996
+ * The channel ID
997
+ * @type {string}
998
+ * @memberof AlertChannelSummary
999
+ */
1000
+ 'id': string;
1001
+ /**
1002
+ *
1003
+ * @type {string}
1004
+ * @memberof AlertChannelSummary
1005
+ */
1006
+ 'name': string;
1007
+ /**
1008
+ *
1009
+ * @type {string}
1010
+ * @memberof AlertChannelSummary
1011
+ */
1012
+ 'type': AlertChannelSummaryTypeEnum;
1013
+ /**
1014
+ * A masked hint of the destination
1015
+ * @type {string}
1016
+ * @memberof AlertChannelSummary
1017
+ */
1018
+ 'hint': string;
1019
+ }
1020
+
1021
+ export const AlertChannelSummaryTypeEnum = {
1022
+ Slack: 'slack',
1023
+ Email: 'email'
1024
+ } as const;
1025
+
1026
+ export type AlertChannelSummaryTypeEnum = typeof AlertChannelSummaryTypeEnum[keyof typeof AlertChannelSummaryTypeEnum];
1027
+
683
1028
  /**
684
1029
  *
685
1030
  * @export
@@ -2134,6 +2479,145 @@ export interface ChatWithAIAgentRequest {
2134
2479
  */
2135
2480
  'maxToolIterations'?: number;
2136
2481
  }
2482
+ /**
2483
+ *
2484
+ * @export
2485
+ * @interface CiValue
2486
+ */
2487
+ export interface CiValue {
2488
+ /**
2489
+ *
2490
+ * @type {string}
2491
+ * @memberof CiValue
2492
+ */
2493
+ 'name'?: string;
2494
+ /**
2495
+ *
2496
+ * @type {string}
2497
+ * @memberof CiValue
2498
+ */
2499
+ 'kind'?: CiValueKindEnum;
2500
+ /**
2501
+ *
2502
+ * @type {string}
2503
+ * @memberof CiValue
2504
+ */
2505
+ 'scope'?: CiValueScopeEnum;
2506
+ /**
2507
+ * Lower-case owner/name. Present when scope is repo.
2508
+ * @type {string}
2509
+ * @memberof CiValue
2510
+ */
2511
+ 'repo'?: string;
2512
+ /**
2513
+ * The branch rule. Absent when the value applies to every branch.
2514
+ * @type {Array<string>}
2515
+ * @memberof CiValue
2516
+ */
2517
+ 'branches'?: Array<string>;
2518
+ /**
2519
+ *
2520
+ * @type {string}
2521
+ * @memberof CiValue
2522
+ */
2523
+ 'updatedAt'?: string;
2524
+ /**
2525
+ *
2526
+ * @type {string}
2527
+ * @memberof CiValue
2528
+ */
2529
+ 'updatedBy'?: string;
2530
+ /**
2531
+ * Variables only. A secret value is never returned.
2532
+ * @type {string}
2533
+ * @memberof CiValue
2534
+ */
2535
+ 'value'?: string;
2536
+ }
2537
+
2538
+ export const CiValueKindEnum = {
2539
+ Secret: 'secret',
2540
+ Var: 'var'
2541
+ } as const;
2542
+
2543
+ export type CiValueKindEnum = typeof CiValueKindEnum[keyof typeof CiValueKindEnum];
2544
+ export const CiValueScopeEnum = {
2545
+ Org: 'org',
2546
+ Repo: 'repo'
2547
+ } as const;
2548
+
2549
+ export type CiValueScopeEnum = typeof CiValueScopeEnum[keyof typeof CiValueScopeEnum];
2550
+
2551
+ /**
2552
+ *
2553
+ * @export
2554
+ * @interface CiValueError
2555
+ */
2556
+ export interface CiValueError {
2557
+ /**
2558
+ *
2559
+ * @type {string}
2560
+ * @memberof CiValueError
2561
+ */
2562
+ 'message'?: string;
2563
+ }
2564
+ /**
2565
+ *
2566
+ * @export
2567
+ * @interface CiValueWriteResult
2568
+ */
2569
+ export interface CiValueWriteResult {
2570
+ /**
2571
+ *
2572
+ * @type {string}
2573
+ * @memberof CiValueWriteResult
2574
+ */
2575
+ 'name'?: string;
2576
+ /**
2577
+ *
2578
+ * @type {string}
2579
+ * @memberof CiValueWriteResult
2580
+ */
2581
+ 'kind'?: CiValueWriteResultKindEnum;
2582
+ /**
2583
+ *
2584
+ * @type {string}
2585
+ * @memberof CiValueWriteResult
2586
+ */
2587
+ 'scope'?: CiValueWriteResultScopeEnum;
2588
+ /**
2589
+ *
2590
+ * @type {string}
2591
+ * @memberof CiValueWriteResult
2592
+ */
2593
+ 'repo'?: string;
2594
+ /**
2595
+ *
2596
+ * @type {Array<string>}
2597
+ * @memberof CiValueWriteResult
2598
+ */
2599
+ 'branches'?: Array<string>;
2600
+ /**
2601
+ *
2602
+ * @type {string}
2603
+ * @memberof CiValueWriteResult
2604
+ */
2605
+ 'updatedAt'?: string;
2606
+ }
2607
+
2608
+ export const CiValueWriteResultKindEnum = {
2609
+ Secret: 'secret',
2610
+ Var: 'var'
2611
+ } as const;
2612
+
2613
+ export type CiValueWriteResultKindEnum = typeof CiValueWriteResultKindEnum[keyof typeof CiValueWriteResultKindEnum];
2614
+ export const CiValueWriteResultScopeEnum = {
2615
+ Org: 'org',
2616
+ Repo: 'repo'
2617
+ } as const;
2618
+
2619
+ export type CiValueWriteResultScopeEnum = typeof CiValueWriteResultScopeEnum[keyof typeof CiValueWriteResultScopeEnum];
2620
+
2137
2621
  /**
2138
2622
  *
2139
2623
  * @export
@@ -2705,12 +3189,24 @@ export interface CreateAIAgentRequest {
2705
3189
  * @memberof CreateAIAgentRequest
2706
3190
  */
2707
3191
  'longContext'?: boolean;
3192
+ /**
3193
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default.
3194
+ * @type {string}
3195
+ * @memberof CreateAIAgentRequest
3196
+ */
3197
+ 'reasoningEffort'?: CreateAIAgentRequestReasoningEffortEnum | null;
2708
3198
  /**
2709
3199
  * Guardrail preset name
2710
3200
  * @type {string}
2711
3201
  * @memberof CreateAIAgentRequest
2712
3202
  */
2713
3203
  'guardrailPreset'?: CreateAIAgentRequestGuardrailPresetEnum | null;
3204
+ /**
3205
+ * Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. On update, an empty array removes every attachment.
3206
+ * @type {Array<CreateAIAgentRequestMcpServersInner>}
3207
+ * @memberof CreateAIAgentRequest
3208
+ */
3209
+ 'mcpServers'?: Array<CreateAIAgentRequestMcpServersInner>;
2714
3210
  /**
2715
3211
  * Filter policy IDs to apply to this agent\'s inference requests
2716
3212
  * @type {Array<string>}
@@ -2719,6 +3215,15 @@ export interface CreateAIAgentRequest {
2719
3215
  'filterPolicies'?: Array<string>;
2720
3216
  }
2721
3217
 
3218
+ export const CreateAIAgentRequestReasoningEffortEnum = {
3219
+ Low: 'low',
3220
+ Medium: 'medium',
3221
+ High: 'high',
3222
+ Xhigh: 'xhigh',
3223
+ Max: 'max'
3224
+ } as const;
3225
+
3226
+ export type CreateAIAgentRequestReasoningEffortEnum = typeof CreateAIAgentRequestReasoningEffortEnum[keyof typeof CreateAIAgentRequestReasoningEffortEnum];
2722
3227
  export const CreateAIAgentRequestGuardrailPresetEnum = {
2723
3228
  Official: 'official',
2724
3229
  OfficialSensitive: 'official-sensitive',
@@ -2727,6 +3232,25 @@ export const CreateAIAgentRequestGuardrailPresetEnum = {
2727
3232
 
2728
3233
  export type CreateAIAgentRequestGuardrailPresetEnum = typeof CreateAIAgentRequestGuardrailPresetEnum[keyof typeof CreateAIAgentRequestGuardrailPresetEnum];
2729
3234
 
3235
+ /**
3236
+ *
3237
+ * @export
3238
+ * @interface CreateAIAgentRequestMcpServersInner
3239
+ */
3240
+ export interface CreateAIAgentRequestMcpServersInner {
3241
+ /**
3242
+ * The registered server name
3243
+ * @type {string}
3244
+ * @memberof CreateAIAgentRequestMcpServersInner
3245
+ */
3246
+ 'server': string;
3247
+ /**
3248
+ * Optional. Only these tools of the server. Omit for every tool the server allows; an empty array allows none.
3249
+ * @type {Array<string>}
3250
+ * @memberof CreateAIAgentRequestMcpServersInner
3251
+ */
3252
+ 'tools'?: Array<string>;
3253
+ }
2730
3254
  /**
2731
3255
  *
2732
3256
  * @export
@@ -3815,6 +4339,12 @@ export interface CreateSlackBotRequest {
3815
4339
  * @memberof CreateSlackBotRequest
3816
4340
  */
3817
4341
  'longContext'?: boolean;
4342
+ /**
4343
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default.
4344
+ * @type {string}
4345
+ * @memberof CreateSlackBotRequest
4346
+ */
4347
+ 'reasoningEffort'?: CreateSlackBotRequestReasoningEffortEnum | null;
3818
4348
  /**
3819
4349
  * Session TTL in days
3820
4350
  * @type {number}
@@ -3877,6 +4407,15 @@ export const CreateSlackBotRequestSetupTypeEnum = {
3877
4407
  } as const;
3878
4408
 
3879
4409
  export type CreateSlackBotRequestSetupTypeEnum = typeof CreateSlackBotRequestSetupTypeEnum[keyof typeof CreateSlackBotRequestSetupTypeEnum];
4410
+ export const CreateSlackBotRequestReasoningEffortEnum = {
4411
+ Low: 'low',
4412
+ Medium: 'medium',
4413
+ High: 'high',
4414
+ Xhigh: 'xhigh',
4415
+ Max: 'max'
4416
+ } as const;
4417
+
4418
+ export type CreateSlackBotRequestReasoningEffortEnum = typeof CreateSlackBotRequestReasoningEffortEnum[keyof typeof CreateSlackBotRequestReasoningEffortEnum];
3880
4419
 
3881
4420
  /**
3882
4421
  *
@@ -4539,6 +5078,19 @@ export interface DeleteAgentOverlay200Response {
4539
5078
  */
4540
5079
  'message'?: string;
4541
5080
  }
5081
+ /**
5082
+ *
5083
+ * @export
5084
+ * @interface DeleteAutoMode200Response
5085
+ */
5086
+ export interface DeleteAutoMode200Response {
5087
+ /**
5088
+ *
5089
+ * @type {object}
5090
+ * @memberof DeleteAutoMode200Response
5091
+ */
5092
+ 'autoMode'?: object | null;
5093
+ }
4542
5094
  /**
4543
5095
  *
4544
5096
  * @export
@@ -5309,12 +5861,30 @@ export interface GetAIAgent200ResponseAgent {
5309
5861
  * @memberof GetAIAgent200ResponseAgent
5310
5862
  */
5311
5863
  'longContext'?: boolean;
5864
+ /**
5865
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default.
5866
+ * @type {string}
5867
+ * @memberof GetAIAgent200ResponseAgent
5868
+ */
5869
+ 'reasoningEffort'?: GetAIAgent200ResponseAgentReasoningEffortEnum | null;
5312
5870
  /**
5313
5871
  * Guardrail preset name
5314
5872
  * @type {string}
5315
5873
  * @memberof GetAIAgent200ResponseAgent
5316
5874
  */
5317
5875
  'guardrailPreset'?: string;
5876
+ /**
5877
+ * Filter policy IDs applied to this agent\'s requests (organisation agents)
5878
+ * @type {Array<string>}
5879
+ * @memberof GetAIAgent200ResponseAgent
5880
+ */
5881
+ 'filterPolicies'?: Array<string>;
5882
+ /**
5883
+ * Attached MCP servers. A platform agent shows its organisation overlay\'s attachments.
5884
+ * @type {Array<ListAIAgents200ResponseAgentsInnerMcpServersInner>}
5885
+ * @memberof GetAIAgent200ResponseAgent
5886
+ */
5887
+ 'mcpServers'?: Array<ListAIAgents200ResponseAgentsInnerMcpServersInner>;
5318
5888
  /**
5319
5889
  * Whether this is a platform-managed global agent
5320
5890
  * @type {boolean}
@@ -5346,6 +5916,17 @@ export interface GetAIAgent200ResponseAgent {
5346
5916
  */
5347
5917
  'updatedAt'?: string;
5348
5918
  }
5919
+
5920
+ export const GetAIAgent200ResponseAgentReasoningEffortEnum = {
5921
+ Low: 'low',
5922
+ Medium: 'medium',
5923
+ High: 'high',
5924
+ Xhigh: 'xhigh',
5925
+ Max: 'max'
5926
+ } as const;
5927
+
5928
+ export type GetAIAgent200ResponseAgentReasoningEffortEnum = typeof GetAIAgent200ResponseAgentReasoningEffortEnum[keyof typeof GetAIAgent200ResponseAgentReasoningEffortEnum];
5929
+
5349
5930
  /**
5350
5931
  *
5351
5932
  * @export
@@ -5877,12 +6458,36 @@ export interface GetAgentOverlay200ResponseOverlay {
5877
6458
  * @memberof GetAgentOverlay200ResponseOverlay
5878
6459
  */
5879
6460
  'allowedCollections'?: Array<string>;
6461
+ /**
6462
+ *
6463
+ * @type {Array<GetAgentOverlay200ResponseOverlayMcpServersInner>}
6464
+ * @memberof GetAgentOverlay200ResponseOverlay
6465
+ */
6466
+ 'mcpServers'?: Array<GetAgentOverlay200ResponseOverlayMcpServersInner>;
5880
6467
  /**
5881
6468
  *
5882
6469
  * @type {string}
5883
6470
  * @memberof GetAgentOverlay200ResponseOverlay
5884
6471
  */
5885
6472
  'guardrailPreset'?: string;
6473
+ /**
6474
+ * Reasoning effort for this organisation. Overrides the global agent value.
6475
+ * @type {string}
6476
+ * @memberof GetAgentOverlay200ResponseOverlay
6477
+ */
6478
+ 'reasoningEffort'?: GetAgentOverlay200ResponseOverlayReasoningEffortEnum | null;
6479
+ /**
6480
+ *
6481
+ * @type {boolean}
6482
+ * @memberof GetAgentOverlay200ResponseOverlay
6483
+ */
6484
+ 'longContext'?: boolean;
6485
+ /**
6486
+ *
6487
+ * @type {Array<string>}
6488
+ * @memberof GetAgentOverlay200ResponseOverlay
6489
+ */
6490
+ 'filterPolicies'?: Array<string>;
5886
6491
  /**
5887
6492
  *
5888
6493
  * @type {number}
@@ -5890,6 +6495,55 @@ export interface GetAgentOverlay200ResponseOverlay {
5890
6495
  */
5891
6496
  'version'?: number;
5892
6497
  }
6498
+
6499
+ export const GetAgentOverlay200ResponseOverlayReasoningEffortEnum = {
6500
+ Low: 'low',
6501
+ Medium: 'medium',
6502
+ High: 'high',
6503
+ Xhigh: 'xhigh',
6504
+ Max: 'max'
6505
+ } as const;
6506
+
6507
+ export type GetAgentOverlay200ResponseOverlayReasoningEffortEnum = typeof GetAgentOverlay200ResponseOverlayReasoningEffortEnum[keyof typeof GetAgentOverlay200ResponseOverlayReasoningEffortEnum];
6508
+
6509
+ /**
6510
+ *
6511
+ * @export
6512
+ * @interface GetAgentOverlay200ResponseOverlayMcpServersInner
6513
+ */
6514
+ export interface GetAgentOverlay200ResponseOverlayMcpServersInner {
6515
+ /**
6516
+ *
6517
+ * @type {string}
6518
+ * @memberof GetAgentOverlay200ResponseOverlayMcpServersInner
6519
+ */
6520
+ 'server'?: string;
6521
+ /**
6522
+ *
6523
+ * @type {Array<string>}
6524
+ * @memberof GetAgentOverlay200ResponseOverlayMcpServersInner
6525
+ */
6526
+ 'tools'?: Array<string>;
6527
+ }
6528
+ /**
6529
+ *
6530
+ * @export
6531
+ * @interface GetAutoMode200Response
6532
+ */
6533
+ export interface GetAutoMode200Response {
6534
+ /**
6535
+ *
6536
+ * @type {AIAutoModeConfig}
6537
+ * @memberof GetAutoMode200Response
6538
+ */
6539
+ 'autoMode': AIAutoModeConfig | null;
6540
+ /**
6541
+ *
6542
+ * @type {AIAutoModeEligibility}
6543
+ * @memberof GetAutoMode200Response
6544
+ */
6545
+ 'eligible': AIAutoModeEligibility | null;
6546
+ }
5893
6547
  /**
5894
6548
  *
5895
6549
  * @export
@@ -6897,6 +7551,115 @@ export interface GetOrgResourceCredentials200Response {
6897
7551
  */
6898
7552
  'note'?: string;
6899
7553
  }
7554
+ /**
7555
+ *
7556
+ * @export
7557
+ * @interface GetProjectEdgeEvents200Response
7558
+ */
7559
+ export interface GetProjectEdgeEvents200Response {
7560
+ /**
7561
+ *
7562
+ * @type {Array<GetProjectEdgeEvents200ResponseEventsInner>}
7563
+ * @memberof GetProjectEdgeEvents200Response
7564
+ */
7565
+ 'events'?: Array<GetProjectEdgeEvents200ResponseEventsInner>;
7566
+ /**
7567
+ *
7568
+ * @type {number}
7569
+ * @memberof GetProjectEdgeEvents200Response
7570
+ */
7571
+ 'count'?: number;
7572
+ /**
7573
+ *
7574
+ * @type {string}
7575
+ * @memberof GetProjectEdgeEvents200Response
7576
+ */
7577
+ 'nextToken'?: string | null;
7578
+ }
7579
+ /**
7580
+ *
7581
+ * @export
7582
+ * @interface GetProjectEdgeEvents200ResponseEventsInner
7583
+ */
7584
+ export interface GetProjectEdgeEvents200ResponseEventsInner {
7585
+ /**
7586
+ *
7587
+ * @type {string}
7588
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7589
+ */
7590
+ 'timestamp'?: string;
7591
+ /**
7592
+ *
7593
+ * @type {string}
7594
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7595
+ */
7596
+ 'type'?: GetProjectEdgeEvents200ResponseEventsInnerTypeEnum;
7597
+ /**
7598
+ *
7599
+ * @type {string}
7600
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7601
+ */
7602
+ 'level'?: string | null;
7603
+ /**
7604
+ *
7605
+ * @type {string}
7606
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7607
+ */
7608
+ 'function_uuid'?: string | null;
7609
+ /**
7610
+ *
7611
+ * @type {string}
7612
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7613
+ */
7614
+ 'message'?: string;
7615
+ /**
7616
+ *
7617
+ * @type {boolean}
7618
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7619
+ */
7620
+ 'truncated'?: boolean;
7621
+ /**
7622
+ *
7623
+ * @type {string}
7624
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7625
+ */
7626
+ 'host'?: string | null;
7627
+ /**
7628
+ *
7629
+ * @type {string}
7630
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7631
+ */
7632
+ 'path'?: string | null;
7633
+ /**
7634
+ *
7635
+ * @type {string}
7636
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7637
+ */
7638
+ 'client_ip'?: string | null;
7639
+ /**
7640
+ *
7641
+ * @type {string}
7642
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7643
+ */
7644
+ 'rule_id'?: string | null;
7645
+ /**
7646
+ *
7647
+ * @type {string}
7648
+ * @memberof GetProjectEdgeEvents200ResponseEventsInner
7649
+ */
7650
+ 'waf_mode'?: string | null;
7651
+ }
7652
+
7653
+ export const GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = {
7654
+ Console: 'console',
7655
+ Function: 'function',
7656
+ WafHit: 'waf-hit',
7657
+ StaticFailover: 'static-failover',
7658
+ Other: 'other'
7659
+ } as const;
7660
+
7661
+ export type GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = typeof GetProjectEdgeEvents200ResponseEventsInnerTypeEnum[keyof typeof GetProjectEdgeEvents200ResponseEventsInnerTypeEnum];
7662
+
6900
7663
  /**
6901
7664
  *
6902
7665
  * @export
@@ -7368,6 +8131,12 @@ export interface GetSlackBot200ResponseBot {
7368
8131
  * @memberof GetSlackBot200ResponseBot
7369
8132
  */
7370
8133
  'longContext'?: boolean;
8134
+ /**
8135
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default.
8136
+ * @type {string}
8137
+ * @memberof GetSlackBot200ResponseBot
8138
+ */
8139
+ 'reasoningEffort'?: GetSlackBot200ResponseBotReasoningEffortEnum | null;
7371
8140
  /**
7372
8141
  *
7373
8142
  * @type {number}
@@ -7448,6 +8217,15 @@ export const GetSlackBot200ResponseBotStatusEnum = {
7448
8217
  } as const;
7449
8218
 
7450
8219
  export type GetSlackBot200ResponseBotStatusEnum = typeof GetSlackBot200ResponseBotStatusEnum[keyof typeof GetSlackBot200ResponseBotStatusEnum];
8220
+ export const GetSlackBot200ResponseBotReasoningEffortEnum = {
8221
+ Low: 'low',
8222
+ Medium: 'medium',
8223
+ High: 'high',
8224
+ Xhigh: 'xhigh',
8225
+ Max: 'max'
8226
+ } as const;
8227
+
8228
+ export type GetSlackBot200ResponseBotReasoningEffortEnum = typeof GetSlackBot200ResponseBotReasoningEffortEnum[keyof typeof GetSlackBot200ResponseBotReasoningEffortEnum];
7451
8229
 
7452
8230
  /**
7453
8231
  *
@@ -8362,12 +9140,30 @@ export interface ListAIAgents200ResponseAgentsInner {
8362
9140
  * @memberof ListAIAgents200ResponseAgentsInner
8363
9141
  */
8364
9142
  'longContext'?: boolean;
9143
+ /**
9144
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default.
9145
+ * @type {string}
9146
+ * @memberof ListAIAgents200ResponseAgentsInner
9147
+ */
9148
+ 'reasoningEffort'?: ListAIAgents200ResponseAgentsInnerReasoningEffortEnum | null;
8365
9149
  /**
8366
9150
  *
8367
9151
  * @type {string}
8368
9152
  * @memberof ListAIAgents200ResponseAgentsInner
8369
9153
  */
8370
9154
  'guardrailPreset'?: string;
9155
+ /**
9156
+ * Filter policy IDs applied to this agent\'s requests (organisation agents)
9157
+ * @type {Array<string>}
9158
+ * @memberof ListAIAgents200ResponseAgentsInner
9159
+ */
9160
+ 'filterPolicies'?: Array<string>;
9161
+ /**
9162
+ * Attached MCP servers. A platform agent shows its organisation overlay\'s attachments.
9163
+ * @type {Array<ListAIAgents200ResponseAgentsInnerMcpServersInner>}
9164
+ * @memberof ListAIAgents200ResponseAgentsInner
9165
+ */
9166
+ 'mcpServers'?: Array<ListAIAgents200ResponseAgentsInnerMcpServersInner>;
8371
9167
  /**
8372
9168
  *
8373
9169
  * @type {boolean}
@@ -8393,6 +9189,36 @@ export interface ListAIAgents200ResponseAgentsInner {
8393
9189
  */
8394
9190
  'updatedAt'?: string;
8395
9191
  }
9192
+
9193
+ export const ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = {
9194
+ Low: 'low',
9195
+ Medium: 'medium',
9196
+ High: 'high',
9197
+ Xhigh: 'xhigh',
9198
+ Max: 'max'
9199
+ } as const;
9200
+
9201
+ export type ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = typeof ListAIAgents200ResponseAgentsInnerReasoningEffortEnum[keyof typeof ListAIAgents200ResponseAgentsInnerReasoningEffortEnum];
9202
+
9203
+ /**
9204
+ *
9205
+ * @export
9206
+ * @interface ListAIAgents200ResponseAgentsInnerMcpServersInner
9207
+ */
9208
+ export interface ListAIAgents200ResponseAgentsInnerMcpServersInner {
9209
+ /**
9210
+ *
9211
+ * @type {string}
9212
+ * @memberof ListAIAgents200ResponseAgentsInnerMcpServersInner
9213
+ */
9214
+ 'server'?: string;
9215
+ /**
9216
+ * Absent: every tool the server allows. Empty: none.
9217
+ * @type {Array<string>}
9218
+ * @memberof ListAIAgents200ResponseAgentsInnerMcpServersInner
9219
+ */
9220
+ 'tools'?: Array<string>;
9221
+ }
8396
9222
  /**
8397
9223
  *
8398
9224
  * @export
@@ -8816,6 +9642,19 @@ export interface ListBackups422Response {
8816
9642
  */
8817
9643
  'error'?: string;
8818
9644
  }
9645
+ /**
9646
+ *
9647
+ * @export
9648
+ * @interface ListCiValues200Response
9649
+ */
9650
+ export interface ListCiValues200Response {
9651
+ /**
9652
+ *
9653
+ * @type {Array<CiValue>}
9654
+ * @memberof ListCiValues200Response
9655
+ */
9656
+ 'values'?: Array<CiValue>;
9657
+ }
8819
9658
  /**
8820
9659
  *
8821
9660
  * @export
@@ -9388,6 +10227,12 @@ export interface ListSlackBots200ResponseBotsInner {
9388
10227
  * @memberof ListSlackBots200ResponseBotsInner
9389
10228
  */
9390
10229
  'longContext'?: boolean;
10230
+ /**
10231
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default.
10232
+ * @type {string}
10233
+ * @memberof ListSlackBots200ResponseBotsInner
10234
+ */
10235
+ 'reasoningEffort'?: ListSlackBots200ResponseBotsInnerReasoningEffortEnum | null;
9391
10236
  /**
9392
10237
  *
9393
10238
  * @type {number}
@@ -9420,6 +10265,15 @@ export const ListSlackBots200ResponseBotsInnerStatusEnum = {
9420
10265
  } as const;
9421
10266
 
9422
10267
  export type ListSlackBots200ResponseBotsInnerStatusEnum = typeof ListSlackBots200ResponseBotsInnerStatusEnum[keyof typeof ListSlackBots200ResponseBotsInnerStatusEnum];
10268
+ export const ListSlackBots200ResponseBotsInnerReasoningEffortEnum = {
10269
+ Low: 'low',
10270
+ Medium: 'medium',
10271
+ High: 'high',
10272
+ Xhigh: 'xhigh',
10273
+ Max: 'max'
10274
+ } as const;
10275
+
10276
+ export type ListSlackBots200ResponseBotsInnerReasoningEffortEnum = typeof ListSlackBots200ResponseBotsInnerReasoningEffortEnum[keyof typeof ListSlackBots200ResponseBotsInnerReasoningEffortEnum];
9423
10277
 
9424
10278
  /**
9425
10279
  *
@@ -10767,6 +11621,45 @@ export interface PutApplicationMetadata400Response {
10767
11621
  */
10768
11622
  'errors'?: Array<string>;
10769
11623
  }
11624
+ /**
11625
+ *
11626
+ * @export
11627
+ * @interface PutCiValueRequest
11628
+ */
11629
+ export interface PutCiValueRequest {
11630
+ /**
11631
+ *
11632
+ * @type {string}
11633
+ * @memberof PutCiValueRequest
11634
+ */
11635
+ 'kind': PutCiValueRequestKindEnum;
11636
+ /**
11637
+ *
11638
+ * @type {string}
11639
+ * @memberof PutCiValueRequest
11640
+ */
11641
+ 'value': string;
11642
+ /**
11643
+ * Owner/name. Lower-cased by the server. Leave out for an organisation value.
11644
+ * @type {string}
11645
+ * @memberof PutCiValueRequest
11646
+ */
11647
+ 'repo'?: string;
11648
+ /**
11649
+ * Only jobs on these branches get the value. Leave out for every branch.
11650
+ * @type {Array<string>}
11651
+ * @memberof PutCiValueRequest
11652
+ */
11653
+ 'branches'?: Array<string>;
11654
+ }
11655
+
11656
+ export const PutCiValueRequestKindEnum = {
11657
+ Secret: 'secret',
11658
+ Var: 'var'
11659
+ } as const;
11660
+
11661
+ export type PutCiValueRequestKindEnum = typeof PutCiValueRequestKindEnum[keyof typeof PutCiValueRequestKindEnum];
11662
+
10770
11663
  /**
10771
11664
  *
10772
11665
  * @export
@@ -11196,6 +12089,37 @@ export interface RulesIndexList200ResponseInner {
11196
12089
  * @memberof RulesIndexList200ResponseInner
11197
12090
  */
11198
12091
  'managed'?: boolean;
12092
+ /**
12093
+ *
12094
+ * @type {RulesIndexList200ResponseInnerDeployment}
12095
+ * @memberof RulesIndexList200ResponseInner
12096
+ */
12097
+ 'deployment'?: RulesIndexList200ResponseInnerDeployment;
12098
+ }
12099
+ /**
12100
+ * Present only on a rule that a deploy of `quant/edge-rules.json` wrote, or a copy of one. `namespace` is the file\'s top-level namespace and `id` is the rule\'s id in that file; a later deploy matches its rules to stored rules by this pair. A copy in another project (an environment or a clone) can keep the marker but has `managed` false.
12101
+ * @export
12102
+ * @interface RulesIndexList200ResponseInnerDeployment
12103
+ */
12104
+ export interface RulesIndexList200ResponseInnerDeployment {
12105
+ /**
12106
+ * The `namespace` of the edge-rules file that wrote the rule.
12107
+ * @type {string}
12108
+ * @memberof RulesIndexList200ResponseInnerDeployment
12109
+ */
12110
+ 'namespace': string;
12111
+ /**
12112
+ * The `id` of the rule in that file.
12113
+ * @type {string}
12114
+ * @memberof RulesIndexList200ResponseInnerDeployment
12115
+ */
12116
+ 'id': string;
12117
+ /**
12118
+ * Hash of the rule as the deploy last wrote it, used to detect changes by other paths.
12119
+ * @type {string}
12120
+ * @memberof RulesIndexList200ResponseInnerDeployment
12121
+ */
12122
+ 'hash'?: string | null;
11199
12123
  }
11200
12124
  /**
11201
12125
  *
@@ -11818,12 +12742,24 @@ export interface UpdateAIAgentRequest {
11818
12742
  * @memberof UpdateAIAgentRequest
11819
12743
  */
11820
12744
  'longContext'?: boolean;
12745
+ /**
12746
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default. null clears it.
12747
+ * @type {string}
12748
+ * @memberof UpdateAIAgentRequest
12749
+ */
12750
+ 'reasoningEffort'?: UpdateAIAgentRequestReasoningEffortEnum | null;
11821
12751
  /**
11822
12752
  * Guardrail preset name
11823
12753
  * @type {string}
11824
12754
  * @memberof UpdateAIAgentRequest
11825
12755
  */
11826
12756
  'guardrailPreset'?: UpdateAIAgentRequestGuardrailPresetEnum | null;
12757
+ /**
12758
+ * Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. On update, an empty array removes every attachment.
12759
+ * @type {Array<CreateAIAgentRequestMcpServersInner>}
12760
+ * @memberof UpdateAIAgentRequest
12761
+ */
12762
+ 'mcpServers'?: Array<CreateAIAgentRequestMcpServersInner>;
11827
12763
  /**
11828
12764
  * Filter policy IDs to apply to this agent\'s inference requests
11829
12765
  * @type {Array<string>}
@@ -11832,6 +12768,15 @@ export interface UpdateAIAgentRequest {
11832
12768
  'filterPolicies'?: Array<string>;
11833
12769
  }
11834
12770
 
12771
+ export const UpdateAIAgentRequestReasoningEffortEnum = {
12772
+ Low: 'low',
12773
+ Medium: 'medium',
12774
+ High: 'high',
12775
+ Xhigh: 'xhigh',
12776
+ Max: 'max'
12777
+ } as const;
12778
+
12779
+ export type UpdateAIAgentRequestReasoningEffortEnum = typeof UpdateAIAgentRequestReasoningEffortEnum[keyof typeof UpdateAIAgentRequestReasoningEffortEnum];
11835
12780
  export const UpdateAIAgentRequestGuardrailPresetEnum = {
11836
12781
  Official: 'official',
11837
12782
  OfficialSensitive: 'official-sensitive',
@@ -11943,6 +12888,64 @@ export const UpdateAISessionRequestNewMessagesInnerRoleEnum = {
11943
12888
 
11944
12889
  export type UpdateAISessionRequestNewMessagesInnerRoleEnum = typeof UpdateAISessionRequestNewMessagesInnerRoleEnum[keyof typeof UpdateAISessionRequestNewMessagesInnerRoleEnum];
11945
12890
 
12891
+ /**
12892
+ *
12893
+ * @export
12894
+ * @interface UpdateAutoMode200Response
12895
+ */
12896
+ export interface UpdateAutoMode200Response {
12897
+ /**
12898
+ *
12899
+ * @type {AIAutoModeConfig}
12900
+ * @memberof UpdateAutoMode200Response
12901
+ */
12902
+ 'autoMode'?: AIAutoModeConfig;
12903
+ }
12904
+ /**
12905
+ *
12906
+ * @export
12907
+ * @interface UpdateAutoMode400Response
12908
+ */
12909
+ export interface UpdateAutoMode400Response {
12910
+ /**
12911
+ *
12912
+ * @type {string}
12913
+ * @memberof UpdateAutoMode400Response
12914
+ */
12915
+ 'error': string;
12916
+ /**
12917
+ *
12918
+ * @type {AIAutoModeEligibility}
12919
+ * @memberof UpdateAutoMode400Response
12920
+ */
12921
+ 'eligible'?: AIAutoModeEligibility | null;
12922
+ }
12923
+ /**
12924
+ *
12925
+ * @export
12926
+ * @interface UpdateAutoMode409Response
12927
+ */
12928
+ export interface UpdateAutoMode409Response {
12929
+ /**
12930
+ *
12931
+ * @type {string}
12932
+ * @memberof UpdateAutoMode409Response
12933
+ */
12934
+ 'error': string;
12935
+ }
12936
+ /**
12937
+ *
12938
+ * @export
12939
+ * @interface UpdateContainer400Response
12940
+ */
12941
+ export interface UpdateContainer400Response {
12942
+ /**
12943
+ *
12944
+ * @type {string}
12945
+ * @memberof UpdateContainer400Response
12946
+ */
12947
+ 'error'?: string;
12948
+ }
11946
12949
  /**
11947
12950
  *
11948
12951
  * @export
@@ -11980,31 +12983,6 @@ export interface UpdateCronJobRequest {
11980
12983
  */
11981
12984
  'isEnabled'?: boolean | null;
11982
12985
  }
11983
- /**
11984
- *
11985
- * @export
11986
- * @interface UpdateEnvironmentRequest
11987
- */
11988
- export interface UpdateEnvironmentRequest {
11989
- /**
11990
- *
11991
- * @type {Compose}
11992
- * @memberof UpdateEnvironmentRequest
11993
- */
11994
- 'composeDefinition': Compose;
11995
- /**
11996
- * Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
11997
- * @type {number}
11998
- * @memberof UpdateEnvironmentRequest
11999
- */
12000
- 'minCapacity'?: number | null;
12001
- /**
12002
- * Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
12003
- * @type {number}
12004
- * @memberof UpdateEnvironmentRequest
12005
- */
12006
- 'maxCapacity'?: number | null;
12007
- }
12008
12986
  /**
12009
12987
  *
12010
12988
  * @export
@@ -12347,6 +13325,12 @@ export interface UpdateSlackBotRequest {
12347
13325
  * @memberof UpdateSlackBotRequest
12348
13326
  */
12349
13327
  'longContext'?: boolean;
13328
+ /**
13329
+ * Reasoning effort (Anthropic effort). Must be one of the levels the model lists in capabilities.effortLevels. Unset uses the caller or model default. null clears it.
13330
+ * @type {string}
13331
+ * @memberof UpdateSlackBotRequest
13332
+ */
13333
+ 'reasoningEffort'?: UpdateSlackBotRequestReasoningEffortEnum | null;
12350
13334
  /**
12351
13335
  * Session TTL in days
12352
13336
  * @type {number}
@@ -12409,6 +13393,15 @@ export const UpdateSlackBotRequestStatusEnum = {
12409
13393
  } as const;
12410
13394
 
12411
13395
  export type UpdateSlackBotRequestStatusEnum = typeof UpdateSlackBotRequestStatusEnum[keyof typeof UpdateSlackBotRequestStatusEnum];
13396
+ export const UpdateSlackBotRequestReasoningEffortEnum = {
13397
+ Low: 'low',
13398
+ Medium: 'medium',
13399
+ High: 'high',
13400
+ Xhigh: 'xhigh',
13401
+ Max: 'max'
13402
+ } as const;
13403
+
13404
+ export type UpdateSlackBotRequestReasoningEffortEnum = typeof UpdateSlackBotRequestReasoningEffortEnum[keyof typeof UpdateSlackBotRequestReasoningEffortEnum];
12412
13405
 
12413
13406
  /**
12414
13407
  *
@@ -12833,12 +13826,36 @@ export interface UpsertAgentOverlayRequest {
12833
13826
  * @memberof UpsertAgentOverlayRequest
12834
13827
  */
12835
13828
  'allowedCollections'?: Array<string>;
13829
+ /**
13830
+ * Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. The overlay PUT replaces the whole overlay: omit the field or send an empty array to remove every attachment.
13831
+ * @type {Array<CreateAIAgentRequestMcpServersInner>}
13832
+ * @memberof UpsertAgentOverlayRequest
13833
+ */
13834
+ 'mcpServers'?: Array<CreateAIAgentRequestMcpServersInner>;
12836
13835
  /**
12837
13836
  * Guardrail preset
12838
13837
  * @type {string}
12839
13838
  * @memberof UpsertAgentOverlayRequest
12840
13839
  */
12841
13840
  'guardrailPreset'?: UpsertAgentOverlayRequestGuardrailPresetEnum | null;
13841
+ /**
13842
+ * Force the 1M context window on (true) or off (false) for this organisation. Omit or null to use the platform default.
13843
+ * @type {boolean}
13844
+ * @memberof UpsertAgentOverlayRequest
13845
+ */
13846
+ 'longContext'?: boolean | null;
13847
+ /**
13848
+ * Filter policy IDs applied to this agent\'s requests for this organisation, with any organisation-wide mandatory policies
13849
+ * @type {Array<string>}
13850
+ * @memberof UpsertAgentOverlayRequest
13851
+ */
13852
+ 'filterPolicies'?: Array<string>;
13853
+ /**
13854
+ * Override the reasoning effort. Must be one of the levels the effective model lists in capabilities.effortLevels. Omit or null to use the global agent value.
13855
+ * @type {string}
13856
+ * @memberof UpsertAgentOverlayRequest
13857
+ */
13858
+ 'reasoningEffort'?: UpsertAgentOverlayRequestReasoningEffortEnum | null;
12842
13859
  /**
12843
13860
  * Current version for optimistic concurrency
12844
13861
  * @type {number}
@@ -12854,6 +13871,15 @@ export const UpsertAgentOverlayRequestGuardrailPresetEnum = {
12854
13871
  } as const;
12855
13872
 
12856
13873
  export type UpsertAgentOverlayRequestGuardrailPresetEnum = typeof UpsertAgentOverlayRequestGuardrailPresetEnum[keyof typeof UpsertAgentOverlayRequestGuardrailPresetEnum];
13874
+ export const UpsertAgentOverlayRequestReasoningEffortEnum = {
13875
+ Low: 'low',
13876
+ Medium: 'medium',
13877
+ High: 'high',
13878
+ Xhigh: 'xhigh',
13879
+ Max: 'max'
13880
+ } as const;
13881
+
13882
+ export type UpsertAgentOverlayRequestReasoningEffortEnum = typeof UpsertAgentOverlayRequestReasoningEffortEnum[keyof typeof UpsertAgentOverlayRequestReasoningEffortEnum];
12857
13883
 
12858
13884
  /**
12859
13885
  *
@@ -15652,7 +16678,7 @@ export const V2KvEntryPutResponseStatusEnum = {
15652
16678
  export type V2KvEntryPutResponseStatusEnum = typeof V2KvEntryPutResponseStatusEnum[keyof typeof V2KvEntryPutResponseStatusEnum];
15653
16679
 
15654
16680
  /**
15655
- * Error body of every KV v2 route. A superset of V2Error. HTTP 400, 404, 409, 429 and 503 keep the KV service status, code and retryable. A KV service failure that the caller cannot act on is 500 INTERNAL. When retryable is true, the same request can be sent again (after Retry-After when present). | code | status | retryable | meaning | |---|---|---|---| | VALIDATION | 400 | false | The request is not valid (body, parameter, key or value). | | LIMIT_EXCEEDED | 400 | false | A size or count limit is exceeded (item over 400 KB, batch, transact, value). | | CURSOR_INVALID | 400 | false | The cursor is not valid for this request. Start the list again. | | REQUIRES_FORMAT_2 | 400 | false | The operation needs a format 2 store. Upgrade the store first. | | INDEX_FIELD_ENCRYPTED | 400 | false | An indexed field is in a secret (encrypted) value. | | COUNT_WITH_TTL | 400 | false | A count index cannot include items that have a ttl. | | LEDGER_IMMUTABLE | 400 | false | A ledger entry cannot be changed or deleted. Use append. | | LEDGER_INDEX_KIND | 400 | false | This index kind is not allowed on a ledger collection. | | LEDGER_SUBJECT_REQUIRED | 400 | false | The ledger needs a subject field in each entry. | | LEDGER_DIRECTION | 400 | false | A ledger setting can only be raised, not lowered. | | CONFIRMATION_REQUIRED | 400 | false | confirm is missing or does not equal the store name. | | SCOPE_REQUIRED | 403 | false | The token does not list the scope that the route needs. | | PERMISSION_DENIED | 403 | false | The role of the token user does not have the permission. | | FORBIDDEN | 403 | false | The store is a system store and cannot be purged. | | KEY_NOT_FOUND | 404 | false | The key does not exist or has expired. | | STORE_NOT_FOUND | 404 | false | The store does not exist or is not in this project. | | EXPORT_NOT_FOUND | 404 | false | The store has no export. | | LEDGER_NOT_FOUND | 404 | false | The ledger does not exist. | | SUBJECT_NOT_FOUND | 404 | false | The ledger has no entries for the subject. | | VERIFICATION_NOT_FOUND | 404 | false | The verification run does not exist. | | SHRED_NOT_FOUND | 404 | false | The erasure record does not exist. | | INDEX_NOT_FOUND | 404 | false | The index does not exist. | | NOT_FOUND | 404 | false | No archive, tombstone or purge exists for the store or purge id. | | UPGRADE_CONFLICT | 409 | false | The upgrade action is not valid in the current upgrade state. | | CONFLICT | 409 | false | A condition (ifAbsent, ifVersion, check) failed. See reason, key and currentVersion. | | UNIQUE_VIOLATION | 409 | false | A unique index already has the value. See index and existingKey. | | EXPORT_IN_PROGRESS | 409 | false | An export of the store is already running. | | LEDGER_COLLECTION_NOT_EMPTY | 409 | false | The collection already has items, so it cannot become a ledger. | | LEDGER_RETAINED | 409 | false | The ledger is in its retention period. See retainUntil. | | LEDGER_PRESENT | 409 | false | A ledger blocks the action. See ledgers. | | STORE_NAME_RETAINED | 409 | false | The store name is held by a retained ledger archive. | | LEDGER_FORKED | 409 | false | The ledger chain does not agree with its archive or digest. See reason. | | LEDGER_DROPPED | 409 | false | The ledger was dropped. | | LEDGER_FORMAT_RETIRED | 409 | false | The ledger uses a retired subject format. Declare a new ledger. | | STORE_NOT_DELETED | 409 | false | The store still exists. Delete the store first. | | ARCHIVE_RETAINED | 409 | false | The archive is still locked or in its 24-hour quiet period. See retainedUntil. | | PURGE_IN_PROGRESS | 409 | false | Another purge of the store is running. See purgeId. | | PURGE_BLOCKED | 409 | false | The last purge is blocked and needs Quant support. See purgeId. | | PURGE_NOT_COMPLETE | 409 | false | The purge is not complete, so there is no receipt yet. See state. | | DIGEST_OWED | 409 | true | The last ledger entries are not in a signed digest yet. Send the delete again in a few minutes. | | CONTENTION | 409 | true | Another write changed the same data at the same time. Send again. | | INDEX_NOT_READY | 409 | true | The index is still building. Send again later. | | LEDGER_NOT_READY | 409 | true | The ledger is PENDING. Send again after activeAfter. | | RATE_LIMITED | 429 | true | Too many requests. Wait for Retry-After seconds. Also retryAfter (seconds) on a purge start. | | INTERNAL | 500 | false | The KV service failed. No detail is given. | | STORE_MIGRATING | 503 | true | The store is being upgraded. Wait for Retry-After seconds. | | UNAVAILABLE | 503 | true (false when the outcome of a write is unknown) | The KV service did not answer. With retryable false, read the data before you send the write again. |
16681
+ * Error body of every KV v2 route. A superset of V2Error. HTTP 400, 404, 409, 429 and 503 keep the KV service status, code and retryable. A KV service failure that the caller cannot act on is 500 INTERNAL. When retryable is true, the same request can be sent again (after Retry-After when present). | code | status | retryable | meaning | |---|---|---|---| | VALIDATION | 400 | false | The request is not valid (body, parameter, key or value). | | LIMIT_EXCEEDED | 400 | false | A size or count limit is exceeded (item over 400 KB, batch, transact, value). | | CURSOR_INVALID | 400 | false | The cursor is not valid for this request. Start the list again. | | REQUIRES_FORMAT_2 | 400 | false | The operation needs a format 2 store. Upgrade the store first. | | INDEX_FIELD_ENCRYPTED | 400 | false | An indexed field is in a secret (encrypted) value. | | COUNT_WITH_TTL | 400 | false | A count index cannot include items that have a ttl. | | LEDGER_IMMUTABLE | 400 | false | A ledger entry cannot be changed or deleted. Use append. | | LEDGER_INDEX_KIND | 400 | false | This index kind is not allowed on a ledger collection. | | LEDGER_SUBJECT_REQUIRED | 400 | false | The ledger needs a subject field in each entry. | | LEDGER_DIRECTION | 400 | false | A ledger setting can only be raised, not lowered. | | CONFIRMATION_REQUIRED | 400 | false | confirm is missing or does not equal the store name. | | SCOPE_REQUIRED | 403 | false | The token does not list the scope that the route needs. | | PERMISSION_DENIED | 403 | false | The role of the token user does not have the permission. | | FORBIDDEN | 403 | false | The store is a system store and cannot be purged, or it is linked from another project and only that project can delete or purge it. | | KEY_NOT_FOUND | 404 | false | The key does not exist or has expired. | | STORE_NOT_FOUND | 404 | false | The store does not exist or is not in this project. | | EXPORT_NOT_FOUND | 404 | false | The store has no export. | | LEDGER_NOT_FOUND | 404 | false | The ledger does not exist. | | SUBJECT_NOT_FOUND | 404 | false | The ledger has no entries for the subject. | | VERIFICATION_NOT_FOUND | 404 | false | The verification run does not exist. | | SHRED_NOT_FOUND | 404 | false | The erasure record does not exist. | | INDEX_NOT_FOUND | 404 | false | The index does not exist. | | NOT_FOUND | 404 | false | No archive, tombstone or purge exists for the store or purge id. | | UPGRADE_CONFLICT | 409 | false | The upgrade action is not valid in the current upgrade state. | | CONFLICT | 409 | false | A condition (ifAbsent, ifVersion, check) failed. See reason, key and currentVersion. | | UNIQUE_VIOLATION | 409 | false | A unique index already has the value. See index and existingKey. | | EXPORT_IN_PROGRESS | 409 | false | An export of the store is already running. | | LEDGER_COLLECTION_NOT_EMPTY | 409 | false | The collection already has items, so it cannot become a ledger. | | LEDGER_RETAINED | 409 | false | The ledger is in its retention period. See retainUntil. | | LEDGER_PRESENT | 409 | false | A ledger blocks the action. See ledgers. | | STORE_NAME_RETAINED | 409 | false | The store name is held by a retained ledger archive. | | LEDGER_FORKED | 409 | false | The ledger chain does not agree with its archive or digest. See reason. | | LEDGER_DROPPED | 409 | false | The ledger was dropped. | | LEDGER_FORMAT_RETIRED | 409 | false | The ledger uses a retired subject format. Declare a new ledger. | | STORE_NOT_DELETED | 409 | false | The store still exists. Delete the store first. | | ARCHIVE_RETAINED | 409 | false | The archive is still locked or in its 24-hour quiet period. See retainedUntil. | | PURGE_IN_PROGRESS | 409 | false | Another purge of the store is running. See purgeId. | | PURGE_BLOCKED | 409 | false | The last purge is blocked and needs Quant support. See purgeId. | | PURGE_NOT_COMPLETE | 409 | false | The purge is not complete, so there is no receipt yet. See state. | | DIGEST_OWED | 409 | true | The last ledger entries are not in a signed digest yet. Send the delete again in a few minutes. | | CONTENTION | 409 | true | Another write changed the same data at the same time. Send again. | | INDEX_NOT_READY | 409 | true | The index is still building. Send again later. | | LEDGER_NOT_READY | 409 | true | The ledger is PENDING. Send again after activeAfter. | | RATE_LIMITED | 429 | true | Too many requests. Wait for Retry-After seconds. Also retryAfter (seconds) on a purge start. | | INTERNAL | 500 | false | The KV service failed. No detail is given. | | STORE_MIGRATING | 503 | true | The store is being upgraded. Wait for Retry-After seconds. | | UNAVAILABLE | 503 | true (false when the outcome of a write is unknown) | The KV service did not answer. With retryable false, read the data before you send the write again. |
15656
16682
  * @export
15657
16683
  * @interface V2KvError
15658
16684
  */
@@ -23699,7 +24725,7 @@ export interface V2RuleProxyAction {
23699
24725
  */
23700
24726
  'failover_origin_ttfb'?: string;
23701
24727
  /**
23702
- * Status codes for failover (default: 200,404,301,302,304)
24728
+ * Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422 (it would fail over on every response). A PATCH replaces the list.
23703
24729
  * @type {Array<string>}
23704
24730
  * @memberof V2RuleProxyAction
23705
24731
  */
@@ -24082,7 +25108,7 @@ export interface V2RuleProxyRequest {
24082
25108
  */
24083
25109
  'failover_origin_ttfb'?: string;
24084
25110
  /**
24085
- * Origin status codes that trigger failover
25111
+ * Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422. A PATCH replaces the list.
24086
25112
  * @type {Array<string>}
24087
25113
  * @memberof V2RuleProxyRequest
24088
25114
  */
@@ -27596,6 +28622,273 @@ export class AIAuditApi extends BaseAPI {
27596
28622
 
27597
28623
 
27598
28624
 
28625
+ /**
28626
+ * AIAutoModeApi - axios parameter creator
28627
+ * @export
28628
+ */
28629
+ export const AIAutoModeApiAxiosParamCreator = function (configuration?: Configuration) {
28630
+ return {
28631
+ /**
28632
+ *
28633
+ * @summary Remove the auto mode setting for an organisation
28634
+ * @param {string} organisation The organisation ID
28635
+ * @param {*} [options] Override http request option.
28636
+ * @throws {RequiredError}
28637
+ */
28638
+ deleteAutoMode: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28639
+ // verify required parameter 'organisation' is not null or undefined
28640
+ assertParamExists('deleteAutoMode', 'organisation', organisation)
28641
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
28642
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
28643
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28644
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28645
+ let baseOptions;
28646
+ if (configuration) {
28647
+ baseOptions = configuration.baseOptions;
28648
+ }
28649
+
28650
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
28651
+ const localVarHeaderParameter = {} as any;
28652
+ const localVarQueryParameter = {} as any;
28653
+
28654
+ // authentication BearerAuth required
28655
+ // http bearer authentication required
28656
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28657
+
28658
+
28659
+
28660
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28661
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28662
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28663
+
28664
+ return {
28665
+ url: toPathString(localVarUrlObj),
28666
+ options: localVarRequestOptions,
28667
+ };
28668
+ },
28669
+ /**
28670
+ *
28671
+ * @summary Get the auto mode setting for an organisation
28672
+ * @param {string} organisation The organisation ID
28673
+ * @param {*} [options] Override http request option.
28674
+ * @throws {RequiredError}
28675
+ */
28676
+ getAutoMode: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28677
+ // verify required parameter 'organisation' is not null or undefined
28678
+ assertParamExists('getAutoMode', 'organisation', organisation)
28679
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
28680
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
28681
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28682
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28683
+ let baseOptions;
28684
+ if (configuration) {
28685
+ baseOptions = configuration.baseOptions;
28686
+ }
28687
+
28688
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28689
+ const localVarHeaderParameter = {} as any;
28690
+ const localVarQueryParameter = {} as any;
28691
+
28692
+ // authentication BearerAuth required
28693
+ // http bearer authentication required
28694
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28695
+
28696
+
28697
+
28698
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28699
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28700
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28701
+
28702
+ return {
28703
+ url: toPathString(localVarUrlObj),
28704
+ options: localVarRequestOptions,
28705
+ };
28706
+ },
28707
+ /**
28708
+ *
28709
+ * @summary Save the auto mode setting for an organisation
28710
+ * @param {string} organisation The organisation ID
28711
+ * @param {AIAutoModeInput} aIAutoModeInput
28712
+ * @param {*} [options] Override http request option.
28713
+ * @throws {RequiredError}
28714
+ */
28715
+ updateAutoMode: async (organisation: string, aIAutoModeInput: AIAutoModeInput, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28716
+ // verify required parameter 'organisation' is not null or undefined
28717
+ assertParamExists('updateAutoMode', 'organisation', organisation)
28718
+ // verify required parameter 'aIAutoModeInput' is not null or undefined
28719
+ assertParamExists('updateAutoMode', 'aIAutoModeInput', aIAutoModeInput)
28720
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
28721
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
28722
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28723
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28724
+ let baseOptions;
28725
+ if (configuration) {
28726
+ baseOptions = configuration.baseOptions;
28727
+ }
28728
+
28729
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
28730
+ const localVarHeaderParameter = {} as any;
28731
+ const localVarQueryParameter = {} as any;
28732
+
28733
+ // authentication BearerAuth required
28734
+ // http bearer authentication required
28735
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28736
+
28737
+
28738
+
28739
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28740
+
28741
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28743
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28744
+ localVarRequestOptions.data = serializeDataIfNeeded(aIAutoModeInput, localVarRequestOptions, configuration)
28745
+
28746
+ return {
28747
+ url: toPathString(localVarUrlObj),
28748
+ options: localVarRequestOptions,
28749
+ };
28750
+ },
28751
+ }
28752
+ };
28753
+
28754
+ /**
28755
+ * AIAutoModeApi - functional programming interface
28756
+ * @export
28757
+ */
28758
+ export const AIAutoModeApiFp = function(configuration?: Configuration) {
28759
+ const localVarAxiosParamCreator = AIAutoModeApiAxiosParamCreator(configuration)
28760
+ return {
28761
+ /**
28762
+ *
28763
+ * @summary Remove the auto mode setting for an organisation
28764
+ * @param {string} organisation The organisation ID
28765
+ * @param {*} [options] Override http request option.
28766
+ * @throws {RequiredError}
28767
+ */
28768
+ async deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteAutoMode200Response>> {
28769
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAutoMode(organisation, options);
28770
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28771
+ const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.deleteAutoMode']?.[localVarOperationServerIndex]?.url;
28772
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28773
+ },
28774
+ /**
28775
+ *
28776
+ * @summary Get the auto mode setting for an organisation
28777
+ * @param {string} organisation The organisation ID
28778
+ * @param {*} [options] Override http request option.
28779
+ * @throws {RequiredError}
28780
+ */
28781
+ async getAutoMode(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAutoMode200Response>> {
28782
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAutoMode(organisation, options);
28783
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28784
+ const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.getAutoMode']?.[localVarOperationServerIndex]?.url;
28785
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28786
+ },
28787
+ /**
28788
+ *
28789
+ * @summary Save the auto mode setting for an organisation
28790
+ * @param {string} organisation The organisation ID
28791
+ * @param {AIAutoModeInput} aIAutoModeInput
28792
+ * @param {*} [options] Override http request option.
28793
+ * @throws {RequiredError}
28794
+ */
28795
+ async updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAutoMode200Response>> {
28796
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateAutoMode(organisation, aIAutoModeInput, options);
28797
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28798
+ const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.updateAutoMode']?.[localVarOperationServerIndex]?.url;
28799
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28800
+ },
28801
+ }
28802
+ };
28803
+
28804
+ /**
28805
+ * AIAutoModeApi - factory interface
28806
+ * @export
28807
+ */
28808
+ export const AIAutoModeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
28809
+ const localVarFp = AIAutoModeApiFp(configuration)
28810
+ return {
28811
+ /**
28812
+ *
28813
+ * @summary Remove the auto mode setting for an organisation
28814
+ * @param {string} organisation The organisation ID
28815
+ * @param {*} [options] Override http request option.
28816
+ * @throws {RequiredError}
28817
+ */
28818
+ deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteAutoMode200Response> {
28819
+ return localVarFp.deleteAutoMode(organisation, options).then((request) => request(axios, basePath));
28820
+ },
28821
+ /**
28822
+ *
28823
+ * @summary Get the auto mode setting for an organisation
28824
+ * @param {string} organisation The organisation ID
28825
+ * @param {*} [options] Override http request option.
28826
+ * @throws {RequiredError}
28827
+ */
28828
+ getAutoMode(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAutoMode200Response> {
28829
+ return localVarFp.getAutoMode(organisation, options).then((request) => request(axios, basePath));
28830
+ },
28831
+ /**
28832
+ *
28833
+ * @summary Save the auto mode setting for an organisation
28834
+ * @param {string} organisation The organisation ID
28835
+ * @param {AIAutoModeInput} aIAutoModeInput
28836
+ * @param {*} [options] Override http request option.
28837
+ * @throws {RequiredError}
28838
+ */
28839
+ updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAutoMode200Response> {
28840
+ return localVarFp.updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(axios, basePath));
28841
+ },
28842
+ };
28843
+ };
28844
+
28845
+ /**
28846
+ * AIAutoModeApi - object-oriented interface
28847
+ * @export
28848
+ * @class AIAutoModeApi
28849
+ * @extends {BaseAPI}
28850
+ */
28851
+ export class AIAutoModeApi extends BaseAPI {
28852
+ /**
28853
+ *
28854
+ * @summary Remove the auto mode setting for an organisation
28855
+ * @param {string} organisation The organisation ID
28856
+ * @param {*} [options] Override http request option.
28857
+ * @throws {RequiredError}
28858
+ * @memberof AIAutoModeApi
28859
+ */
28860
+ public deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig) {
28861
+ return AIAutoModeApiFp(this.configuration).deleteAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
28862
+ }
28863
+
28864
+ /**
28865
+ *
28866
+ * @summary Get the auto mode setting for an organisation
28867
+ * @param {string} organisation The organisation ID
28868
+ * @param {*} [options] Override http request option.
28869
+ * @throws {RequiredError}
28870
+ * @memberof AIAutoModeApi
28871
+ */
28872
+ public getAutoMode(organisation: string, options?: RawAxiosRequestConfig) {
28873
+ return AIAutoModeApiFp(this.configuration).getAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
28874
+ }
28875
+
28876
+ /**
28877
+ *
28878
+ * @summary Save the auto mode setting for an organisation
28879
+ * @param {string} organisation The organisation ID
28880
+ * @param {AIAutoModeInput} aIAutoModeInput
28881
+ * @param {*} [options] Override http request option.
28882
+ * @throws {RequiredError}
28883
+ * @memberof AIAutoModeApi
28884
+ */
28885
+ public updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig) {
28886
+ return AIAutoModeApiFp(this.configuration).updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(this.axios, this.basePath));
28887
+ }
28888
+ }
28889
+
28890
+
28891
+
27599
28892
  /**
27600
28893
  * AICustomToolsApi - axios parameter creator
27601
28894
  * @export
@@ -37275,6 +38568,125 @@ export class AIVectorDatabaseApi extends BaseAPI {
37275
38568
 
37276
38569
 
37277
38570
 
38571
+ /**
38572
+ * AlertChannelsApi - axios parameter creator
38573
+ * @export
38574
+ */
38575
+ export const AlertChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
38576
+ return {
38577
+ /**
38578
+ * Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
38579
+ * @summary List the organisation\'s alert channels
38580
+ * @param {string} organisation The organisation machine name
38581
+ * @param {string} project The project machine name
38582
+ * @param {*} [options] Override http request option.
38583
+ * @throws {RequiredError}
38584
+ */
38585
+ alertChannelsList: async (organisation: string, project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38586
+ // verify required parameter 'organisation' is not null or undefined
38587
+ assertParamExists('alertChannelsList', 'organisation', organisation)
38588
+ // verify required parameter 'project' is not null or undefined
38589
+ assertParamExists('alertChannelsList', 'project', project)
38590
+ const localVarPath = `/api/v3/organizations/{organisation}/projects/{project}/alert-channels`
38591
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
38592
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
38593
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38594
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38595
+ let baseOptions;
38596
+ if (configuration) {
38597
+ baseOptions = configuration.baseOptions;
38598
+ }
38599
+
38600
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38601
+ const localVarHeaderParameter = {} as any;
38602
+ const localVarQueryParameter = {} as any;
38603
+
38604
+ // authentication BearerAuth required
38605
+ // http bearer authentication required
38606
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38607
+
38608
+
38609
+
38610
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38611
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38612
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38613
+
38614
+ return {
38615
+ url: toPathString(localVarUrlObj),
38616
+ options: localVarRequestOptions,
38617
+ };
38618
+ },
38619
+ }
38620
+ };
38621
+
38622
+ /**
38623
+ * AlertChannelsApi - functional programming interface
38624
+ * @export
38625
+ */
38626
+ export const AlertChannelsApiFp = function(configuration?: Configuration) {
38627
+ const localVarAxiosParamCreator = AlertChannelsApiAxiosParamCreator(configuration)
38628
+ return {
38629
+ /**
38630
+ * Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
38631
+ * @summary List the organisation\'s alert channels
38632
+ * @param {string} organisation The organisation machine name
38633
+ * @param {string} project The project machine name
38634
+ * @param {*} [options] Override http request option.
38635
+ * @throws {RequiredError}
38636
+ */
38637
+ async alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertChannelList>> {
38638
+ const localVarAxiosArgs = await localVarAxiosParamCreator.alertChannelsList(organisation, project, options);
38639
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38640
+ const localVarOperationServerBasePath = operationServerMap['AlertChannelsApi.alertChannelsList']?.[localVarOperationServerIndex]?.url;
38641
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38642
+ },
38643
+ }
38644
+ };
38645
+
38646
+ /**
38647
+ * AlertChannelsApi - factory interface
38648
+ * @export
38649
+ */
38650
+ export const AlertChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
38651
+ const localVarFp = AlertChannelsApiFp(configuration)
38652
+ return {
38653
+ /**
38654
+ * Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
38655
+ * @summary List the organisation\'s alert channels
38656
+ * @param {string} organisation The organisation machine name
38657
+ * @param {string} project The project machine name
38658
+ * @param {*} [options] Override http request option.
38659
+ * @throws {RequiredError}
38660
+ */
38661
+ alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertChannelList> {
38662
+ return localVarFp.alertChannelsList(organisation, project, options).then((request) => request(axios, basePath));
38663
+ },
38664
+ };
38665
+ };
38666
+
38667
+ /**
38668
+ * AlertChannelsApi - object-oriented interface
38669
+ * @export
38670
+ * @class AlertChannelsApi
38671
+ * @extends {BaseAPI}
38672
+ */
38673
+ export class AlertChannelsApi extends BaseAPI {
38674
+ /**
38675
+ * Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
38676
+ * @summary List the organisation\'s alert channels
38677
+ * @param {string} organisation The organisation machine name
38678
+ * @param {string} project The project machine name
38679
+ * @param {*} [options] Override http request option.
38680
+ * @throws {RequiredError}
38681
+ * @memberof AlertChannelsApi
38682
+ */
38683
+ public alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig) {
38684
+ return AlertChannelsApiFp(this.configuration).alertChannelsList(organisation, project, options).then((request) => request(this.axios, this.basePath));
38685
+ }
38686
+ }
38687
+
38688
+
38689
+
37278
38690
  /**
37279
38691
  * ApplicationsApi - axios parameter creator
37280
38692
  * @export
@@ -38889,6 +40301,303 @@ export const GetMonthlyMetricsTimestampFormatEnum = {
38889
40301
  export type GetMonthlyMetricsTimestampFormatEnum = typeof GetMonthlyMetricsTimestampFormatEnum[keyof typeof GetMonthlyMetricsTimestampFormatEnum];
38890
40302
 
38891
40303
 
40304
+ /**
40305
+ * CIValuesApi - axios parameter creator
40306
+ * @export
40307
+ */
40308
+ export const CIValuesApiAxiosParamCreator = function (configuration?: Configuration) {
40309
+ return {
40310
+ /**
40311
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40312
+ * @summary Delete a CI secret or variable
40313
+ * @param {string} organisation The organisation ID
40314
+ * @param {string} name The name, such as DEPLOY_KEY
40315
+ * @param {string} [repo] Delete the repository\&#39;s value of this name. Leave out for the organisation\&#39;s value. Lower-cased by the server.
40316
+ * @param {*} [options] Override http request option.
40317
+ * @throws {RequiredError}
40318
+ */
40319
+ deleteCiValue: async (organisation: string, name: string, repo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40320
+ // verify required parameter 'organisation' is not null or undefined
40321
+ assertParamExists('deleteCiValue', 'organisation', organisation)
40322
+ // verify required parameter 'name' is not null or undefined
40323
+ assertParamExists('deleteCiValue', 'name', name)
40324
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
40325
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
40326
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
40327
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40329
+ let baseOptions;
40330
+ if (configuration) {
40331
+ baseOptions = configuration.baseOptions;
40332
+ }
40333
+
40334
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
40335
+ const localVarHeaderParameter = {} as any;
40336
+ const localVarQueryParameter = {} as any;
40337
+
40338
+ // authentication BearerAuth required
40339
+ // http bearer authentication required
40340
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40341
+
40342
+ if (repo !== undefined) {
40343
+ localVarQueryParameter['repo'] = repo;
40344
+ }
40345
+
40346
+
40347
+
40348
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40349
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40350
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40351
+
40352
+ return {
40353
+ url: toPathString(localVarUrlObj),
40354
+ options: localVarRequestOptions,
40355
+ };
40356
+ },
40357
+ /**
40358
+ * Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
40359
+ * @summary List the CI secrets and variables
40360
+ * @param {string} organisation The organisation ID
40361
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40362
+ * @param {*} [options] Override http request option.
40363
+ * @throws {RequiredError}
40364
+ */
40365
+ listCiValues: async (organisation: string, repo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40366
+ // verify required parameter 'organisation' is not null or undefined
40367
+ assertParamExists('listCiValues', 'organisation', organisation)
40368
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values`
40369
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
40370
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40371
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40372
+ let baseOptions;
40373
+ if (configuration) {
40374
+ baseOptions = configuration.baseOptions;
40375
+ }
40376
+
40377
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40378
+ const localVarHeaderParameter = {} as any;
40379
+ const localVarQueryParameter = {} as any;
40380
+
40381
+ // authentication BearerAuth required
40382
+ // http bearer authentication required
40383
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40384
+
40385
+ if (repo !== undefined) {
40386
+ localVarQueryParameter['repo'] = repo;
40387
+ }
40388
+
40389
+
40390
+
40391
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40392
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40393
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40394
+
40395
+ return {
40396
+ url: toPathString(localVarUrlObj),
40397
+ options: localVarRequestOptions,
40398
+ };
40399
+ },
40400
+ /**
40401
+ * Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
40402
+ * @summary Create or replace a CI secret or variable
40403
+ * @param {string} organisation The organisation ID
40404
+ * @param {string} name The name, such as DEPLOY_KEY
40405
+ * @param {PutCiValueRequest} putCiValueRequest
40406
+ * @param {*} [options] Override http request option.
40407
+ * @throws {RequiredError}
40408
+ */
40409
+ putCiValue: async (organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40410
+ // verify required parameter 'organisation' is not null or undefined
40411
+ assertParamExists('putCiValue', 'organisation', organisation)
40412
+ // verify required parameter 'name' is not null or undefined
40413
+ assertParamExists('putCiValue', 'name', name)
40414
+ // verify required parameter 'putCiValueRequest' is not null or undefined
40415
+ assertParamExists('putCiValue', 'putCiValueRequest', putCiValueRequest)
40416
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
40417
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
40418
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
40419
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40420
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40421
+ let baseOptions;
40422
+ if (configuration) {
40423
+ baseOptions = configuration.baseOptions;
40424
+ }
40425
+
40426
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
40427
+ const localVarHeaderParameter = {} as any;
40428
+ const localVarQueryParameter = {} as any;
40429
+
40430
+ // authentication BearerAuth required
40431
+ // http bearer authentication required
40432
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40433
+
40434
+
40435
+
40436
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40437
+
40438
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40439
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40440
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40441
+ localVarRequestOptions.data = serializeDataIfNeeded(putCiValueRequest, localVarRequestOptions, configuration)
40442
+
40443
+ return {
40444
+ url: toPathString(localVarUrlObj),
40445
+ options: localVarRequestOptions,
40446
+ };
40447
+ },
40448
+ }
40449
+ };
40450
+
40451
+ /**
40452
+ * CIValuesApi - functional programming interface
40453
+ * @export
40454
+ */
40455
+ export const CIValuesApiFp = function(configuration?: Configuration) {
40456
+ const localVarAxiosParamCreator = CIValuesApiAxiosParamCreator(configuration)
40457
+ return {
40458
+ /**
40459
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40460
+ * @summary Delete a CI secret or variable
40461
+ * @param {string} organisation The organisation ID
40462
+ * @param {string} name The name, such as DEPLOY_KEY
40463
+ * @param {string} [repo] Delete the repository\&#39;s value of this name. Leave out for the organisation\&#39;s value. Lower-cased by the server.
40464
+ * @param {*} [options] Override http request option.
40465
+ * @throws {RequiredError}
40466
+ */
40467
+ async deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
40468
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCiValue(organisation, name, repo, options);
40469
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40470
+ const localVarOperationServerBasePath = operationServerMap['CIValuesApi.deleteCiValue']?.[localVarOperationServerIndex]?.url;
40471
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40472
+ },
40473
+ /**
40474
+ * Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
40475
+ * @summary List the CI secrets and variables
40476
+ * @param {string} organisation The organisation ID
40477
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40478
+ * @param {*} [options] Override http request option.
40479
+ * @throws {RequiredError}
40480
+ */
40481
+ async listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCiValues200Response>> {
40482
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCiValues(organisation, repo, options);
40483
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40484
+ const localVarOperationServerBasePath = operationServerMap['CIValuesApi.listCiValues']?.[localVarOperationServerIndex]?.url;
40485
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40486
+ },
40487
+ /**
40488
+ * Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
40489
+ * @summary Create or replace a CI secret or variable
40490
+ * @param {string} organisation The organisation ID
40491
+ * @param {string} name The name, such as DEPLOY_KEY
40492
+ * @param {PutCiValueRequest} putCiValueRequest
40493
+ * @param {*} [options] Override http request option.
40494
+ * @throws {RequiredError}
40495
+ */
40496
+ async putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CiValueWriteResult>> {
40497
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putCiValue(organisation, name, putCiValueRequest, options);
40498
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40499
+ const localVarOperationServerBasePath = operationServerMap['CIValuesApi.putCiValue']?.[localVarOperationServerIndex]?.url;
40500
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40501
+ },
40502
+ }
40503
+ };
40504
+
40505
+ /**
40506
+ * CIValuesApi - factory interface
40507
+ * @export
40508
+ */
40509
+ export const CIValuesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
40510
+ const localVarFp = CIValuesApiFp(configuration)
40511
+ return {
40512
+ /**
40513
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40514
+ * @summary Delete a CI secret or variable
40515
+ * @param {string} organisation The organisation ID
40516
+ * @param {string} name The name, such as DEPLOY_KEY
40517
+ * @param {string} [repo] Delete the repository\&#39;s value of this name. Leave out for the organisation\&#39;s value. Lower-cased by the server.
40518
+ * @param {*} [options] Override http request option.
40519
+ * @throws {RequiredError}
40520
+ */
40521
+ deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
40522
+ return localVarFp.deleteCiValue(organisation, name, repo, options).then((request) => request(axios, basePath));
40523
+ },
40524
+ /**
40525
+ * Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
40526
+ * @summary List the CI secrets and variables
40527
+ * @param {string} organisation The organisation ID
40528
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40529
+ * @param {*} [options] Override http request option.
40530
+ * @throws {RequiredError}
40531
+ */
40532
+ listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListCiValues200Response> {
40533
+ return localVarFp.listCiValues(organisation, repo, options).then((request) => request(axios, basePath));
40534
+ },
40535
+ /**
40536
+ * Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
40537
+ * @summary Create or replace a CI secret or variable
40538
+ * @param {string} organisation The organisation ID
40539
+ * @param {string} name The name, such as DEPLOY_KEY
40540
+ * @param {PutCiValueRequest} putCiValueRequest
40541
+ * @param {*} [options] Override http request option.
40542
+ * @throws {RequiredError}
40543
+ */
40544
+ putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig): AxiosPromise<CiValueWriteResult> {
40545
+ return localVarFp.putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(axios, basePath));
40546
+ },
40547
+ };
40548
+ };
40549
+
40550
+ /**
40551
+ * CIValuesApi - object-oriented interface
40552
+ * @export
40553
+ * @class CIValuesApi
40554
+ * @extends {BaseAPI}
40555
+ */
40556
+ export class CIValuesApi extends BaseAPI {
40557
+ /**
40558
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40559
+ * @summary Delete a CI secret or variable
40560
+ * @param {string} organisation The organisation ID
40561
+ * @param {string} name The name, such as DEPLOY_KEY
40562
+ * @param {string} [repo] Delete the repository\&#39;s value of this name. Leave out for the organisation\&#39;s value. Lower-cased by the server.
40563
+ * @param {*} [options] Override http request option.
40564
+ * @throws {RequiredError}
40565
+ * @memberof CIValuesApi
40566
+ */
40567
+ public deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig) {
40568
+ return CIValuesApiFp(this.configuration).deleteCiValue(organisation, name, repo, options).then((request) => request(this.axios, this.basePath));
40569
+ }
40570
+
40571
+ /**
40572
+ * Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
40573
+ * @summary List the CI secrets and variables
40574
+ * @param {string} organisation The organisation ID
40575
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40576
+ * @param {*} [options] Override http request option.
40577
+ * @throws {RequiredError}
40578
+ * @memberof CIValuesApi
40579
+ */
40580
+ public listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig) {
40581
+ return CIValuesApiFp(this.configuration).listCiValues(organisation, repo, options).then((request) => request(this.axios, this.basePath));
40582
+ }
40583
+
40584
+ /**
40585
+ * Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
40586
+ * @summary Create or replace a CI secret or variable
40587
+ * @param {string} organisation The organisation ID
40588
+ * @param {string} name The name, such as DEPLOY_KEY
40589
+ * @param {PutCiValueRequest} putCiValueRequest
40590
+ * @param {*} [options] Override http request option.
40591
+ * @throws {RequiredError}
40592
+ * @memberof CIValuesApi
40593
+ */
40594
+ public putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig) {
40595
+ return CIValuesApiFp(this.configuration).putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(this.axios, this.basePath));
40596
+ }
40597
+ }
40598
+
40599
+
40600
+
38892
40601
  /**
38893
40602
  * CommandsApi - axios parameter creator
38894
40603
  * @export
@@ -39570,12 +41279,12 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
39570
41279
  };
39571
41280
  },
39572
41281
  /**
39573
- *
41282
+ * Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
39574
41283
  * @summary Update a container in an environment
39575
41284
  * @param {string} organisation The organisation ID
39576
41285
  * @param {string} application The application ID
39577
41286
  * @param {string} environment The environment ID
39578
- * @param {string} container The container ID
41287
+ * @param {string} container The container name
39579
41288
  * @param {Container} container2
39580
41289
  * @param {*} [options] Override http request option.
39581
41290
  * @throws {RequiredError}
@@ -39651,17 +41360,17 @@ export const ContainersApiFp = function(configuration?: Configuration) {
39651
41360
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39652
41361
  },
39653
41362
  /**
39654
- *
41363
+ * Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
39655
41364
  * @summary Update a container in an environment
39656
41365
  * @param {string} organisation The organisation ID
39657
41366
  * @param {string} application The application ID
39658
41367
  * @param {string} environment The environment ID
39659
- * @param {string} container The container ID
41368
+ * @param {string} container The container name
39660
41369
  * @param {Container} container2
39661
41370
  * @param {*} [options] Override http request option.
39662
41371
  * @throws {RequiredError}
39663
41372
  */
39664
- async updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
41373
+ async updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Container>> {
39665
41374
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateContainer(organisation, application, environment, container, container2, options);
39666
41375
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39667
41376
  const localVarOperationServerBasePath = operationServerMap['ContainersApi.updateContainer']?.[localVarOperationServerIndex]?.url;
@@ -39690,17 +41399,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
39690
41399
  return localVarFp.listContainers(organisation, application, environment, options).then((request) => request(axios, basePath));
39691
41400
  },
39692
41401
  /**
39693
- *
41402
+ * Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
39694
41403
  * @summary Update a container in an environment
39695
41404
  * @param {string} organisation The organisation ID
39696
41405
  * @param {string} application The application ID
39697
41406
  * @param {string} environment The environment ID
39698
- * @param {string} container The container ID
41407
+ * @param {string} container The container name
39699
41408
  * @param {Container} container2
39700
41409
  * @param {*} [options] Override http request option.
39701
41410
  * @throws {RequiredError}
39702
41411
  */
39703
- updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): AxiosPromise<void> {
41412
+ updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): AxiosPromise<Container> {
39704
41413
  return localVarFp.updateContainer(organisation, application, environment, container, container2, options).then((request) => request(axios, basePath));
39705
41414
  },
39706
41415
  };
@@ -39728,12 +41437,12 @@ export class ContainersApi extends BaseAPI {
39728
41437
  }
39729
41438
 
39730
41439
  /**
39731
- *
41440
+ * Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
39732
41441
  * @summary Update a container in an environment
39733
41442
  * @param {string} organisation The organisation ID
39734
41443
  * @param {string} application The application ID
39735
41444
  * @param {string} environment The environment ID
39736
- * @param {string} container The container ID
41445
+ * @param {string} container The container name
39737
41446
  * @param {Container} container2
39738
41447
  * @param {*} [options] Override http request option.
39739
41448
  * @throws {RequiredError}
@@ -41476,7 +43185,7 @@ export const CronApiFp = function(configuration?: Configuration) {
41476
43185
  * @param {*} [options] Override http request option.
41477
43186
  * @throws {RequiredError}
41478
43187
  */
41479
- async listCronJobs(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Cron>> {
43188
+ async listCronJobs(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Cron>>> {
41480
43189
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCronJobs(organisation, application, environment, options);
41481
43190
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41482
43191
  const localVarOperationServerBasePath = operationServerMap['CronApi.listCronJobs']?.[localVarOperationServerIndex]?.url;
@@ -41584,7 +43293,7 @@ export const CronApiFactory = function (configuration?: Configuration, basePath?
41584
43293
  * @param {*} [options] Override http request option.
41585
43294
  * @throws {RequiredError}
41586
43295
  */
41587
- listCronJobs(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<Cron> {
43296
+ listCronJobs(organisation: string, application: string, environment: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Cron>> {
41588
43297
  return localVarFp.listCronJobs(organisation, application, environment, options).then((request) => request(axios, basePath));
41589
43298
  },
41590
43299
  /**
@@ -42764,167 +44473,30 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
42764
44473
  localVarQueryParameter['endTime'] = endTime;
42765
44474
  }
42766
44475
 
42767
- if (containerName !== undefined) {
42768
- localVarQueryParameter['containerName'] = containerName;
42769
- }
42770
-
42771
- if (filterPattern !== undefined) {
42772
- localVarQueryParameter['filterPattern'] = filterPattern;
42773
- }
42774
-
42775
- if (limit !== undefined) {
42776
- localVarQueryParameter['limit'] = limit;
42777
- }
42778
-
42779
- if (nextToken !== undefined) {
42780
- localVarQueryParameter['nextToken'] = nextToken;
42781
- }
42782
-
42783
- if (order !== undefined) {
42784
- localVarQueryParameter['order'] = order;
42785
- }
42786
-
42787
- if (includeTotal !== undefined) {
42788
- localVarQueryParameter['includeTotal'] = includeTotal;
42789
- }
42790
-
42791
-
42792
-
42793
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42794
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42795
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
42796
-
42797
- return {
42798
- url: toPathString(localVarUrlObj),
42799
- options: localVarRequestOptions,
42800
- };
42801
- },
42802
- /**
42803
- * Retrieves platform metrics for the specified environment with optional filtering by time range, container, and metric configuration.
42804
- * @summary Get the metrics for an environment
42805
- * @param {string} organisation The organisation ID
42806
- * @param {string} application The application ID
42807
- * @param {string} environment The environment ID
42808
- * @param {number} [startTime] Start time for metrics retrieval (Unix timestamp in milliseconds)
42809
- * @param {number} [endTime] End time for metrics retrieval (Unix timestamp in milliseconds)
42810
- * @param {number} [period] Period in seconds for metric aggregation (e.g., 60 for 1 minute, 300 for 5 minutes)
42811
- * @param {string} [statistics] Comma-separated list of metric statistics (e.g., Average, Maximum, Minimum, Sum, SampleCount)
42812
- * @param {string} [containerName] Filter metrics by specific container name
42813
- * @param {*} [options] Override http request option.
42814
- * @throws {RequiredError}
42815
- */
42816
- getEnvironmentMetrics: async (organisation: string, application: string, environment: string, startTime?: number, endTime?: number, period?: number, statistics?: string, containerName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42817
- // verify required parameter 'organisation' is not null or undefined
42818
- assertParamExists('getEnvironmentMetrics', 'organisation', organisation)
42819
- // verify required parameter 'application' is not null or undefined
42820
- assertParamExists('getEnvironmentMetrics', 'application', application)
42821
- // verify required parameter 'environment' is not null or undefined
42822
- assertParamExists('getEnvironmentMetrics', 'environment', environment)
42823
- const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/metrics`
42824
- .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
42825
- .replace(`{${"application"}}`, encodeURIComponent(String(application)))
42826
- .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
42827
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
42828
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42829
- let baseOptions;
42830
- if (configuration) {
42831
- baseOptions = configuration.baseOptions;
42832
- }
42833
-
42834
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
42835
- const localVarHeaderParameter = {} as any;
42836
- const localVarQueryParameter = {} as any;
42837
-
42838
- // authentication BearerAuth required
42839
- // http bearer authentication required
42840
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
42841
-
42842
- if (startTime !== undefined) {
42843
- localVarQueryParameter['startTime'] = startTime;
42844
- }
42845
-
42846
- if (endTime !== undefined) {
42847
- localVarQueryParameter['endTime'] = endTime;
42848
- }
42849
-
42850
- if (period !== undefined) {
42851
- localVarQueryParameter['period'] = period;
42852
- }
42853
-
42854
- if (statistics !== undefined) {
42855
- localVarQueryParameter['statistics'] = statistics;
42856
- }
42857
-
42858
- if (containerName !== undefined) {
42859
- localVarQueryParameter['containerName'] = containerName;
42860
- }
42861
-
42862
-
42863
-
42864
- setSearchParams(localVarUrlObj, localVarQueryParameter);
42865
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42866
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
42867
-
42868
- return {
42869
- url: toPathString(localVarUrlObj),
42870
- options: localVarRequestOptions,
42871
- };
42872
- },
42873
- /**
42874
- * Queries over 1 second from the environment\'s own database user. summary groups by query shape with literals replaced by ?. enabled=false means the slow query export is not turned on for this database.
42875
- * @summary Get MySQL slow queries for an environment
42876
- * @param {string} organisation
42877
- * @param {string} application
42878
- * @param {string} environment
42879
- * @param {string} [startTime] ISO 8601 or Unix epoch ms. Default: 24 hours before endTime.
42880
- * @param {string} [endTime] ISO 8601 or Unix epoch ms. Default: now. Window max 30 days.
42881
- * @param {GetEnvironmentSlowQueriesViewEnum} [view]
42882
- * @param {number} [limit] entries: 1-500; summary: 1-100 shapes
42883
- * @param {*} [options] Override http request option.
42884
- * @throws {RequiredError}
42885
- */
42886
- getEnvironmentSlowQueries: async (organisation: string, application: string, environment: string, startTime?: string, endTime?: string, view?: GetEnvironmentSlowQueriesViewEnum, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42887
- // verify required parameter 'organisation' is not null or undefined
42888
- assertParamExists('getEnvironmentSlowQueries', 'organisation', organisation)
42889
- // verify required parameter 'application' is not null or undefined
42890
- assertParamExists('getEnvironmentSlowQueries', 'application', application)
42891
- // verify required parameter 'environment' is not null or undefined
42892
- assertParamExists('getEnvironmentSlowQueries', 'environment', environment)
42893
- const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/slow-queries`
42894
- .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
42895
- .replace(`{${"application"}}`, encodeURIComponent(String(application)))
42896
- .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
42897
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
42898
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42899
- let baseOptions;
42900
- if (configuration) {
42901
- baseOptions = configuration.baseOptions;
42902
- }
42903
-
42904
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
42905
- const localVarHeaderParameter = {} as any;
42906
- const localVarQueryParameter = {} as any;
42907
-
42908
- // authentication BearerAuth required
42909
- // http bearer authentication required
42910
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
42911
-
42912
- if (startTime !== undefined) {
42913
- localVarQueryParameter['startTime'] = startTime;
42914
- }
42915
-
42916
- if (endTime !== undefined) {
42917
- localVarQueryParameter['endTime'] = endTime;
42918
- }
42919
-
42920
- if (view !== undefined) {
42921
- localVarQueryParameter['view'] = view;
44476
+ if (containerName !== undefined) {
44477
+ localVarQueryParameter['containerName'] = containerName;
44478
+ }
44479
+
44480
+ if (filterPattern !== undefined) {
44481
+ localVarQueryParameter['filterPattern'] = filterPattern;
42922
44482
  }
42923
44483
 
42924
44484
  if (limit !== undefined) {
42925
44485
  localVarQueryParameter['limit'] = limit;
42926
44486
  }
42927
44487
 
44488
+ if (nextToken !== undefined) {
44489
+ localVarQueryParameter['nextToken'] = nextToken;
44490
+ }
44491
+
44492
+ if (order !== undefined) {
44493
+ localVarQueryParameter['order'] = order;
44494
+ }
44495
+
44496
+ if (includeTotal !== undefined) {
44497
+ localVarQueryParameter['includeTotal'] = includeTotal;
44498
+ }
44499
+
42928
44500
 
42929
44501
 
42930
44502
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -42937,21 +44509,100 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
42937
44509
  };
42938
44510
  },
42939
44511
  /**
42940
- *
42941
- * @summary Get all environments for an application
44512
+ * Retrieves platform metrics for the specified environment with optional filtering by time range, container, and metric configuration.
44513
+ * @summary Get the metrics for an environment
42942
44514
  * @param {string} organisation The organisation ID
42943
44515
  * @param {string} application The application ID
44516
+ * @param {string} environment The environment ID
44517
+ * @param {number} [startTime] Start time for metrics retrieval (Unix timestamp in milliseconds)
44518
+ * @param {number} [endTime] End time for metrics retrieval (Unix timestamp in milliseconds)
44519
+ * @param {number} [period] Period in seconds for metric aggregation (e.g., 60 for 1 minute, 300 for 5 minutes)
44520
+ * @param {string} [statistics] Comma-separated list of metric statistics (e.g., Average, Maximum, Minimum, Sum, SampleCount)
44521
+ * @param {string} [containerName] Filter metrics by specific container name
42944
44522
  * @param {*} [options] Override http request option.
42945
44523
  * @throws {RequiredError}
42946
44524
  */
42947
- listEnvironments: async (organisation: string, application: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44525
+ getEnvironmentMetrics: async (organisation: string, application: string, environment: string, startTime?: number, endTime?: number, period?: number, statistics?: string, containerName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42948
44526
  // verify required parameter 'organisation' is not null or undefined
42949
- assertParamExists('listEnvironments', 'organisation', organisation)
44527
+ assertParamExists('getEnvironmentMetrics', 'organisation', organisation)
42950
44528
  // verify required parameter 'application' is not null or undefined
42951
- assertParamExists('listEnvironments', 'application', application)
42952
- const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments`
44529
+ assertParamExists('getEnvironmentMetrics', 'application', application)
44530
+ // verify required parameter 'environment' is not null or undefined
44531
+ assertParamExists('getEnvironmentMetrics', 'environment', environment)
44532
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/metrics`
42953
44533
  .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
42954
- .replace(`{${"application"}}`, encodeURIComponent(String(application)));
44534
+ .replace(`{${"application"}}`, encodeURIComponent(String(application)))
44535
+ .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
44536
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
44537
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
44538
+ let baseOptions;
44539
+ if (configuration) {
44540
+ baseOptions = configuration.baseOptions;
44541
+ }
44542
+
44543
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
44544
+ const localVarHeaderParameter = {} as any;
44545
+ const localVarQueryParameter = {} as any;
44546
+
44547
+ // authentication BearerAuth required
44548
+ // http bearer authentication required
44549
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
44550
+
44551
+ if (startTime !== undefined) {
44552
+ localVarQueryParameter['startTime'] = startTime;
44553
+ }
44554
+
44555
+ if (endTime !== undefined) {
44556
+ localVarQueryParameter['endTime'] = endTime;
44557
+ }
44558
+
44559
+ if (period !== undefined) {
44560
+ localVarQueryParameter['period'] = period;
44561
+ }
44562
+
44563
+ if (statistics !== undefined) {
44564
+ localVarQueryParameter['statistics'] = statistics;
44565
+ }
44566
+
44567
+ if (containerName !== undefined) {
44568
+ localVarQueryParameter['containerName'] = containerName;
44569
+ }
44570
+
44571
+
44572
+
44573
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
44574
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
44575
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
44576
+
44577
+ return {
44578
+ url: toPathString(localVarUrlObj),
44579
+ options: localVarRequestOptions,
44580
+ };
44581
+ },
44582
+ /**
44583
+ * Queries over 1 second from the environment\'s own database user. summary groups by query shape with literals replaced by ?. enabled=false means the slow query export is not turned on for this database.
44584
+ * @summary Get MySQL slow queries for an environment
44585
+ * @param {string} organisation
44586
+ * @param {string} application
44587
+ * @param {string} environment
44588
+ * @param {string} [startTime] ISO 8601 or Unix epoch ms. Default: 24 hours before endTime.
44589
+ * @param {string} [endTime] ISO 8601 or Unix epoch ms. Default: now. Window max 30 days.
44590
+ * @param {GetEnvironmentSlowQueriesViewEnum} [view]
44591
+ * @param {number} [limit] entries: 1-500; summary: 1-100 shapes
44592
+ * @param {*} [options] Override http request option.
44593
+ * @throws {RequiredError}
44594
+ */
44595
+ getEnvironmentSlowQueries: async (organisation: string, application: string, environment: string, startTime?: string, endTime?: string, view?: GetEnvironmentSlowQueriesViewEnum, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44596
+ // verify required parameter 'organisation' is not null or undefined
44597
+ assertParamExists('getEnvironmentSlowQueries', 'organisation', organisation)
44598
+ // verify required parameter 'application' is not null or undefined
44599
+ assertParamExists('getEnvironmentSlowQueries', 'application', application)
44600
+ // verify required parameter 'environment' is not null or undefined
44601
+ assertParamExists('getEnvironmentSlowQueries', 'environment', environment)
44602
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/slow-queries`
44603
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
44604
+ .replace(`{${"application"}}`, encodeURIComponent(String(application)))
44605
+ .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
42955
44606
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42956
44607
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42957
44608
  let baseOptions;
@@ -42967,6 +44618,22 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
42967
44618
  // http bearer authentication required
42968
44619
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
42969
44620
 
44621
+ if (startTime !== undefined) {
44622
+ localVarQueryParameter['startTime'] = startTime;
44623
+ }
44624
+
44625
+ if (endTime !== undefined) {
44626
+ localVarQueryParameter['endTime'] = endTime;
44627
+ }
44628
+
44629
+ if (view !== undefined) {
44630
+ localVarQueryParameter['view'] = view;
44631
+ }
44632
+
44633
+ if (limit !== undefined) {
44634
+ localVarQueryParameter['limit'] = limit;
44635
+ }
44636
+
42970
44637
 
42971
44638
 
42972
44639
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -42980,28 +44647,20 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
42980
44647
  },
42981
44648
  /**
42982
44649
  *
42983
- * @summary List the sync operations for an environment
44650
+ * @summary Get all environments for an application
42984
44651
  * @param {string} organisation The organisation ID
42985
44652
  * @param {string} application The application ID
42986
- * @param {string} environment The environment ID
42987
- * @param {ListSyncOperationsTypeEnum} type The sync type
42988
44653
  * @param {*} [options] Override http request option.
42989
44654
  * @throws {RequiredError}
42990
44655
  */
42991
- listSyncOperations: async (organisation: string, application: string, environment: string, type: ListSyncOperationsTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44656
+ listEnvironments: async (organisation: string, application: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42992
44657
  // verify required parameter 'organisation' is not null or undefined
42993
- assertParamExists('listSyncOperations', 'organisation', organisation)
44658
+ assertParamExists('listEnvironments', 'organisation', organisation)
42994
44659
  // verify required parameter 'application' is not null or undefined
42995
- assertParamExists('listSyncOperations', 'application', application)
42996
- // verify required parameter 'environment' is not null or undefined
42997
- assertParamExists('listSyncOperations', 'environment', environment)
42998
- // verify required parameter 'type' is not null or undefined
42999
- assertParamExists('listSyncOperations', 'type', type)
43000
- const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type}`
44660
+ assertParamExists('listEnvironments', 'application', application)
44661
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments`
43001
44662
  .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
43002
- .replace(`{${"application"}}`, encodeURIComponent(String(application)))
43003
- .replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
43004
- .replace(`{${"type"}}`, encodeURIComponent(String(type)));
44663
+ .replace(`{${"application"}}`, encodeURIComponent(String(application)));
43005
44664
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
43006
44665
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43007
44666
  let baseOptions;
@@ -43030,26 +44689,23 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
43030
44689
  },
43031
44690
  /**
43032
44691
  *
43033
- * @summary Perform a sync operation from a source environment to the current environment
44692
+ * @summary List the sync operations for an environment
43034
44693
  * @param {string} organisation The organisation ID
43035
44694
  * @param {string} application The application ID
43036
44695
  * @param {string} environment The environment ID
43037
- * @param {SyncToEnvironmentTypeEnum} type The sync type
43038
- * @param {SyncToEnvironmentRequest} syncToEnvironmentRequest
44696
+ * @param {ListSyncOperationsTypeEnum} type The sync type
43039
44697
  * @param {*} [options] Override http request option.
43040
44698
  * @throws {RequiredError}
43041
44699
  */
43042
- syncToEnvironment: async (organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44700
+ listSyncOperations: async (organisation: string, application: string, environment: string, type: ListSyncOperationsTypeEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
43043
44701
  // verify required parameter 'organisation' is not null or undefined
43044
- assertParamExists('syncToEnvironment', 'organisation', organisation)
44702
+ assertParamExists('listSyncOperations', 'organisation', organisation)
43045
44703
  // verify required parameter 'application' is not null or undefined
43046
- assertParamExists('syncToEnvironment', 'application', application)
44704
+ assertParamExists('listSyncOperations', 'application', application)
43047
44705
  // verify required parameter 'environment' is not null or undefined
43048
- assertParamExists('syncToEnvironment', 'environment', environment)
44706
+ assertParamExists('listSyncOperations', 'environment', environment)
43049
44707
  // verify required parameter 'type' is not null or undefined
43050
- assertParamExists('syncToEnvironment', 'type', type)
43051
- // verify required parameter 'syncToEnvironmentRequest' is not null or undefined
43052
- assertParamExists('syncToEnvironment', 'syncToEnvironmentRequest', syncToEnvironmentRequest)
44708
+ assertParamExists('listSyncOperations', 'type', type)
43053
44709
  const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type}`
43054
44710
  .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
43055
44711
  .replace(`{${"application"}}`, encodeURIComponent(String(application)))
@@ -43062,7 +44718,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
43062
44718
  baseOptions = configuration.baseOptions;
43063
44719
  }
43064
44720
 
43065
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
44721
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
43066
44722
  const localVarHeaderParameter = {} as any;
43067
44723
  const localVarQueryParameter = {} as any;
43068
44724
 
@@ -43072,12 +44728,9 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
43072
44728
 
43073
44729
 
43074
44730
 
43075
- localVarHeaderParameter['Content-Type'] = 'application/json';
43076
-
43077
44731
  setSearchParams(localVarUrlObj, localVarQueryParameter);
43078
44732
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43079
44733
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
43080
- localVarRequestOptions.data = serializeDataIfNeeded(syncToEnvironmentRequest, localVarRequestOptions, configuration)
43081
44734
 
43082
44735
  return {
43083
44736
  url: toPathString(localVarUrlObj),
@@ -43085,28 +44738,32 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
43085
44738
  };
43086
44739
  },
43087
44740
  /**
43088
- * Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
43089
- * @summary Update Environment Compose Definition
44741
+ *
44742
+ * @summary Perform a sync operation from a source environment to the current environment
43090
44743
  * @param {string} organisation The organisation ID
43091
44744
  * @param {string} application The application ID
43092
44745
  * @param {string} environment The environment ID
43093
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
44746
+ * @param {SyncToEnvironmentTypeEnum} type The sync type
44747
+ * @param {SyncToEnvironmentRequest} syncToEnvironmentRequest
43094
44748
  * @param {*} [options] Override http request option.
43095
44749
  * @throws {RequiredError}
43096
44750
  */
43097
- updateEnvironment: async (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
44751
+ syncToEnvironment: async (organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
43098
44752
  // verify required parameter 'organisation' is not null or undefined
43099
- assertParamExists('updateEnvironment', 'organisation', organisation)
44753
+ assertParamExists('syncToEnvironment', 'organisation', organisation)
43100
44754
  // verify required parameter 'application' is not null or undefined
43101
- assertParamExists('updateEnvironment', 'application', application)
44755
+ assertParamExists('syncToEnvironment', 'application', application)
43102
44756
  // verify required parameter 'environment' is not null or undefined
43103
- assertParamExists('updateEnvironment', 'environment', environment)
43104
- // verify required parameter 'updateEnvironmentRequest' is not null or undefined
43105
- assertParamExists('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest)
43106
- const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
44757
+ assertParamExists('syncToEnvironment', 'environment', environment)
44758
+ // verify required parameter 'type' is not null or undefined
44759
+ assertParamExists('syncToEnvironment', 'type', type)
44760
+ // verify required parameter 'syncToEnvironmentRequest' is not null or undefined
44761
+ assertParamExists('syncToEnvironment', 'syncToEnvironmentRequest', syncToEnvironmentRequest)
44762
+ const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/sync/{type}`
43107
44763
  .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
43108
44764
  .replace(`{${"application"}}`, encodeURIComponent(String(application)))
43109
- .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
44765
+ .replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
44766
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)));
43110
44767
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
43111
44768
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43112
44769
  let baseOptions;
@@ -43114,7 +44771,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
43114
44771
  baseOptions = configuration.baseOptions;
43115
44772
  }
43116
44773
 
43117
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
44774
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
43118
44775
  const localVarHeaderParameter = {} as any;
43119
44776
  const localVarQueryParameter = {} as any;
43120
44777
 
@@ -43129,7 +44786,7 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
43129
44786
  setSearchParams(localVarUrlObj, localVarQueryParameter);
43130
44787
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43131
44788
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
43132
- localVarRequestOptions.data = serializeDataIfNeeded(updateEnvironmentRequest, localVarRequestOptions, configuration)
44789
+ localVarRequestOptions.data = serializeDataIfNeeded(syncToEnvironmentRequest, localVarRequestOptions, configuration)
43133
44790
 
43134
44791
  return {
43135
44792
  url: toPathString(localVarUrlObj),
@@ -43352,22 +45009,6 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
43352
45009
  const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.syncToEnvironment']?.[localVarOperationServerIndex]?.url;
43353
45010
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43354
45011
  },
43355
- /**
43356
- * Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
43357
- * @summary Update Environment Compose Definition
43358
- * @param {string} organisation The organisation ID
43359
- * @param {string} application The application ID
43360
- * @param {string} environment The environment ID
43361
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
43362
- * @param {*} [options] Override http request option.
43363
- * @throws {RequiredError}
43364
- */
43365
- async updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
43366
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
43367
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
43368
- const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.updateEnvironment']?.[localVarOperationServerIndex]?.url;
43369
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43370
- },
43371
45012
  /**
43372
45013
  *
43373
45014
  * @summary Update the state of an environment
@@ -43521,19 +45162,6 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
43521
45162
  syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation> {
43522
45163
  return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
43523
45164
  },
43524
- /**
43525
- * Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
43526
- * @summary Update Environment Compose Definition
43527
- * @param {string} organisation The organisation ID
43528
- * @param {string} application The application ID
43529
- * @param {string} environment The environment ID
43530
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
43531
- * @param {*} [options] Override http request option.
43532
- * @throws {RequiredError}
43533
- */
43534
- updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
43535
- return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
43536
- },
43537
45165
  /**
43538
45166
  *
43539
45167
  * @summary Update the state of an environment
@@ -43702,21 +45330,6 @@ export class EnvironmentsApi extends BaseAPI {
43702
45330
  return EnvironmentsApiFp(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
43703
45331
  }
43704
45332
 
43705
- /**
43706
- * Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
43707
- * @summary Update Environment Compose Definition
43708
- * @param {string} organisation The organisation ID
43709
- * @param {string} application The application ID
43710
- * @param {string} environment The environment ID
43711
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
43712
- * @param {*} [options] Override http request option.
43713
- * @throws {RequiredError}
43714
- * @memberof EnvironmentsApi
43715
- */
43716
- public updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) {
43717
- return EnvironmentsApiFp(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
43718
- }
43719
-
43720
45333
  /**
43721
45334
  *
43722
45335
  * @summary Update the state of an environment
@@ -50486,6 +52099,88 @@ export class OrganizationsApi extends BaseAPI {
50486
52099
  */
50487
52100
  export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
50488
52101
  return {
52102
+ /**
52103
+ * Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
52104
+ * @summary Get edge events for a project
52105
+ * @param {string} organization The organization machine name
52106
+ * @param {string} project The project machine name
52107
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52108
+ * @param {string} [_function] Only events from this edge function (UUID)
52109
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52110
+ * @param {string} [search] Case-insensitive substring of the message
52111
+ * @param {number} [limit] Maximum number of events per page (default 100)
52112
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52113
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52114
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52115
+ * @param {*} [options] Override http request option.
52116
+ * @throws {RequiredError}
52117
+ */
52118
+ getProjectEdgeEvents: async (organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
52119
+ // verify required parameter 'organization' is not null or undefined
52120
+ assertParamExists('getProjectEdgeEvents', 'organization', organization)
52121
+ // verify required parameter 'project' is not null or undefined
52122
+ assertParamExists('getProjectEdgeEvents', 'project', project)
52123
+ const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/edge-events`
52124
+ .replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
52125
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
52126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52127
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52128
+ let baseOptions;
52129
+ if (configuration) {
52130
+ baseOptions = configuration.baseOptions;
52131
+ }
52132
+
52133
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
52134
+ const localVarHeaderParameter = {} as any;
52135
+ const localVarQueryParameter = {} as any;
52136
+
52137
+ // authentication BearerAuth required
52138
+ // http bearer authentication required
52139
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
52140
+
52141
+ if (type !== undefined) {
52142
+ localVarQueryParameter['type'] = type;
52143
+ }
52144
+
52145
+ if (_function !== undefined) {
52146
+ localVarQueryParameter['function'] = _function;
52147
+ }
52148
+
52149
+ if (level !== undefined) {
52150
+ localVarQueryParameter['level'] = level;
52151
+ }
52152
+
52153
+ if (search !== undefined) {
52154
+ localVarQueryParameter['search'] = search;
52155
+ }
52156
+
52157
+ if (limit !== undefined) {
52158
+ localVarQueryParameter['limit'] = limit;
52159
+ }
52160
+
52161
+ if (startTime !== undefined) {
52162
+ localVarQueryParameter['startTime'] = startTime;
52163
+ }
52164
+
52165
+ if (endTime !== undefined) {
52166
+ localVarQueryParameter['endTime'] = endTime;
52167
+ }
52168
+
52169
+ if (nextToken !== undefined) {
52170
+ localVarQueryParameter['nextToken'] = nextToken;
52171
+ }
52172
+
52173
+
52174
+
52175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52177
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
52178
+
52179
+ return {
52180
+ url: toPathString(localVarUrlObj),
52181
+ options: localVarRequestOptions,
52182
+ };
52183
+ },
50489
52184
  /**
50490
52185
  * Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
50491
52186
  * @summary Get CDN access logs for a project
@@ -50789,6 +52484,28 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
50789
52484
  export const ProjectsApiFp = function(configuration?: Configuration) {
50790
52485
  const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
50791
52486
  return {
52487
+ /**
52488
+ * Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
52489
+ * @summary Get edge events for a project
52490
+ * @param {string} organization The organization machine name
52491
+ * @param {string} project The project machine name
52492
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52493
+ * @param {string} [_function] Only events from this edge function (UUID)
52494
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52495
+ * @param {string} [search] Case-insensitive substring of the message
52496
+ * @param {number} [limit] Maximum number of events per page (default 100)
52497
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52498
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52499
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52500
+ * @param {*} [options] Override http request option.
52501
+ * @throws {RequiredError}
52502
+ */
52503
+ async getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProjectEdgeEvents200Response>> {
52504
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options);
52505
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
52506
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjectEdgeEvents']?.[localVarOperationServerIndex]?.url;
52507
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52508
+ },
50792
52509
  /**
50793
52510
  * Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
50794
52511
  * @summary Get CDN access logs for a project
@@ -50890,6 +52607,25 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
50890
52607
  export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
50891
52608
  const localVarFp = ProjectsApiFp(configuration)
50892
52609
  return {
52610
+ /**
52611
+ * Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
52612
+ * @summary Get edge events for a project
52613
+ * @param {string} organization The organization machine name
52614
+ * @param {string} project The project machine name
52615
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52616
+ * @param {string} [_function] Only events from this edge function (UUID)
52617
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52618
+ * @param {string} [search] Case-insensitive substring of the message
52619
+ * @param {number} [limit] Maximum number of events per page (default 100)
52620
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52621
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52622
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52623
+ * @param {*} [options] Override http request option.
52624
+ * @throws {RequiredError}
52625
+ */
52626
+ getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetProjectEdgeEvents200Response> {
52627
+ return localVarFp.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(axios, basePath));
52628
+ },
50893
52629
  /**
50894
52630
  * Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
50895
52631
  * @summary Get CDN access logs for a project
@@ -50973,6 +52709,27 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
50973
52709
  * @extends {BaseAPI}
50974
52710
  */
50975
52711
  export class ProjectsApi extends BaseAPI {
52712
+ /**
52713
+ * Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
52714
+ * @summary Get edge events for a project
52715
+ * @param {string} organization The organization machine name
52716
+ * @param {string} project The project machine name
52717
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52718
+ * @param {string} [_function] Only events from this edge function (UUID)
52719
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52720
+ * @param {string} [search] Case-insensitive substring of the message
52721
+ * @param {number} [limit] Maximum number of events per page (default 100)
52722
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52723
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52724
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52725
+ * @param {*} [options] Override http request option.
52726
+ * @throws {RequiredError}
52727
+ * @memberof ProjectsApi
52728
+ */
52729
+ public getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig) {
52730
+ return ProjectsApiFp(this.configuration).getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(this.axios, this.basePath));
52731
+ }
52732
+
50976
52733
  /**
50977
52734
  * Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
50978
52735
  * @summary Get CDN access logs for a project
@@ -51059,6 +52816,17 @@ export class ProjectsApi extends BaseAPI {
51059
52816
  }
51060
52817
  }
51061
52818
 
52819
+ /**
52820
+ * @export
52821
+ */
52822
+ export const GetProjectEdgeEventsLevelEnum = {
52823
+ Log: 'log',
52824
+ Info: 'info',
52825
+ Warn: 'warn',
52826
+ Error: 'error',
52827
+ Debug: 'debug'
52828
+ } as const;
52829
+ export type GetProjectEdgeEventsLevelEnum = typeof GetProjectEdgeEventsLevelEnum[keyof typeof GetProjectEdgeEventsLevelEnum];
51062
52830
 
51063
52831
 
51064
52832
  /**
@@ -54121,7 +55889,7 @@ export const RulesApiAxiosParamCreator = function (configuration?: Configuration
54121
55889
  };
54122
55890
  },
54123
55891
  /**
54124
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
55892
+ * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
54125
55893
  * @summary List all rules in edge order
54126
55894
  * @param {string} organization
54127
55895
  * @param {string} project
@@ -55475,7 +57243,7 @@ export const RulesApiFp = function(configuration?: Configuration) {
55475
57243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55476
57244
  },
55477
57245
  /**
55478
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
57246
+ * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
55479
57247
  * @summary List all rules in edge order
55480
57248
  * @param {string} organization
55481
57249
  * @param {string} project
@@ -56204,7 +57972,7 @@ export const RulesApiFactory = function (configuration?: Configuration, basePath
56204
57972
  return localVarFp.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(axios, basePath));
56205
57973
  },
56206
57974
  /**
56207
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
57975
+ * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
56208
57976
  * @summary List all rules in edge order
56209
57977
  * @param {string} organization
56210
57978
  * @param {string} project
@@ -56965,7 +58733,7 @@ export class RulesApi extends BaseAPI {
56965
58733
  }
56966
58734
 
56967
58735
  /**
56968
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
58736
+ * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
56969
58737
  * @summary List all rules in edge order
56970
58738
  * @param {string} organization
56971
58739
  * @param {string} project