@quantcdn/quant-client 4.31.0 → 4.34.1

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.31.0
7
+ * The version of the OpenAPI document: 4.34.1
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
@@ -2717,6 +3201,12 @@ export interface CreateAIAgentRequest {
2717
3201
  * @memberof CreateAIAgentRequest
2718
3202
  */
2719
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>;
2720
3210
  /**
2721
3211
  * Filter policy IDs to apply to this agent\'s inference requests
2722
3212
  * @type {Array<string>}
@@ -2742,6 +3232,25 @@ export const CreateAIAgentRequestGuardrailPresetEnum = {
2742
3232
 
2743
3233
  export type CreateAIAgentRequestGuardrailPresetEnum = typeof CreateAIAgentRequestGuardrailPresetEnum[keyof typeof CreateAIAgentRequestGuardrailPresetEnum];
2744
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
+ }
2745
3254
  /**
2746
3255
  *
2747
3256
  * @export
@@ -4569,6 +5078,19 @@ export interface DeleteAgentOverlay200Response {
4569
5078
  */
4570
5079
  'message'?: string;
4571
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
+ }
4572
5094
  /**
4573
5095
  *
4574
5096
  * @export
@@ -5351,6 +5873,18 @@ export interface GetAIAgent200ResponseAgent {
5351
5873
  * @memberof GetAIAgent200ResponseAgent
5352
5874
  */
5353
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>;
5354
5888
  /**
5355
5889
  * Whether this is a platform-managed global agent
5356
5890
  * @type {boolean}
@@ -5924,6 +6458,12 @@ export interface GetAgentOverlay200ResponseOverlay {
5924
6458
  * @memberof GetAgentOverlay200ResponseOverlay
5925
6459
  */
5926
6460
  'allowedCollections'?: Array<string>;
6461
+ /**
6462
+ *
6463
+ * @type {Array<GetAgentOverlay200ResponseOverlayMcpServersInner>}
6464
+ * @memberof GetAgentOverlay200ResponseOverlay
6465
+ */
6466
+ 'mcpServers'?: Array<GetAgentOverlay200ResponseOverlayMcpServersInner>;
5927
6467
  /**
5928
6468
  *
5929
6469
  * @type {string}
@@ -5936,6 +6476,18 @@ export interface GetAgentOverlay200ResponseOverlay {
5936
6476
  * @memberof GetAgentOverlay200ResponseOverlay
5937
6477
  */
5938
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>;
5939
6491
  /**
5940
6492
  *
5941
6493
  * @type {number}
@@ -5954,6 +6506,44 @@ export const GetAgentOverlay200ResponseOverlayReasoningEffortEnum = {
5954
6506
 
5955
6507
  export type GetAgentOverlay200ResponseOverlayReasoningEffortEnum = typeof GetAgentOverlay200ResponseOverlayReasoningEffortEnum[keyof typeof GetAgentOverlay200ResponseOverlayReasoningEffortEnum];
5956
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
+ }
5957
6547
  /**
5958
6548
  *
5959
6549
  * @export
@@ -6961,6 +7551,115 @@ export interface GetOrgResourceCredentials200Response {
6961
7551
  */
6962
7552
  'note'?: string;
6963
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
+
6964
7663
  /**
6965
7664
  *
6966
7665
  * @export
@@ -8453,6 +9152,18 @@ export interface ListAIAgents200ResponseAgentsInner {
8453
9152
  * @memberof ListAIAgents200ResponseAgentsInner
8454
9153
  */
8455
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>;
8456
9167
  /**
8457
9168
  *
8458
9169
  * @type {boolean}
@@ -8489,6 +9200,25 @@ export const ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = {
8489
9200
 
8490
9201
  export type ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = typeof ListAIAgents200ResponseAgentsInnerReasoningEffortEnum[keyof typeof ListAIAgents200ResponseAgentsInnerReasoningEffortEnum];
8491
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
+ }
8492
9222
  /**
8493
9223
  *
8494
9224
  * @export
@@ -8912,6 +9642,19 @@ export interface ListBackups422Response {
8912
9642
  */
8913
9643
  'error'?: string;
8914
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
+ }
8915
9658
  /**
8916
9659
  *
8917
9660
  * @export
@@ -10878,6 +11621,45 @@ export interface PutApplicationMetadata400Response {
10878
11621
  */
10879
11622
  'errors'?: Array<string>;
10880
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
+
10881
11663
  /**
10882
11664
  *
10883
11665
  * @export
@@ -11307,6 +12089,37 @@ export interface RulesIndexList200ResponseInner {
11307
12089
  * @memberof RulesIndexList200ResponseInner
11308
12090
  */
11309
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;
11310
12123
  }
11311
12124
  /**
11312
12125
  *
@@ -11941,6 +12754,12 @@ export interface UpdateAIAgentRequest {
11941
12754
  * @memberof UpdateAIAgentRequest
11942
12755
  */
11943
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>;
11944
12763
  /**
11945
12764
  * Filter policy IDs to apply to this agent\'s inference requests
11946
12765
  * @type {Array<string>}
@@ -12069,6 +12888,64 @@ export const UpdateAISessionRequestNewMessagesInnerRoleEnum = {
12069
12888
 
12070
12889
  export type UpdateAISessionRequestNewMessagesInnerRoleEnum = typeof UpdateAISessionRequestNewMessagesInnerRoleEnum[keyof typeof UpdateAISessionRequestNewMessagesInnerRoleEnum];
12071
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
+ }
12072
12949
  /**
12073
12950
  *
12074
12951
  * @export
@@ -12974,12 +13851,30 @@ export interface UpsertAgentOverlayRequest {
12974
13851
  * @memberof UpsertAgentOverlayRequest
12975
13852
  */
12976
13853
  'allowedCollections'?: Array<string>;
13854
+ /**
13855
+ * 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.
13856
+ * @type {Array<CreateAIAgentRequestMcpServersInner>}
13857
+ * @memberof UpsertAgentOverlayRequest
13858
+ */
13859
+ 'mcpServers'?: Array<CreateAIAgentRequestMcpServersInner>;
12977
13860
  /**
12978
13861
  * Guardrail preset
12979
13862
  * @type {string}
12980
13863
  * @memberof UpsertAgentOverlayRequest
12981
13864
  */
12982
13865
  'guardrailPreset'?: UpsertAgentOverlayRequestGuardrailPresetEnum | null;
13866
+ /**
13867
+ * Force the 1M context window on (true) or off (false) for this organisation. Omit or null to use the platform default.
13868
+ * @type {boolean}
13869
+ * @memberof UpsertAgentOverlayRequest
13870
+ */
13871
+ 'longContext'?: boolean | null;
13872
+ /**
13873
+ * Filter policy IDs applied to this agent\'s requests for this organisation, with any organisation-wide mandatory policies
13874
+ * @type {Array<string>}
13875
+ * @memberof UpsertAgentOverlayRequest
13876
+ */
13877
+ 'filterPolicies'?: Array<string>;
12983
13878
  /**
12984
13879
  * 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.
12985
13880
  * @type {string}
@@ -15808,7 +16703,7 @@ export const V2KvEntryPutResponseStatusEnum = {
15808
16703
  export type V2KvEntryPutResponseStatusEnum = typeof V2KvEntryPutResponseStatusEnum[keyof typeof V2KvEntryPutResponseStatusEnum];
15809
16704
 
15810
16705
  /**
15811
- * 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. |
16706
+ * 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. |
15812
16707
  * @export
15813
16708
  * @interface V2KvError
15814
16709
  */
@@ -23855,7 +24750,7 @@ export interface V2RuleProxyAction {
23855
24750
  */
23856
24751
  'failover_origin_ttfb'?: string;
23857
24752
  /**
23858
- * Status codes for failover (default: 200,404,301,302,304)
24753
+ * 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.
23859
24754
  * @type {Array<string>}
23860
24755
  * @memberof V2RuleProxyAction
23861
24756
  */
@@ -24238,7 +25133,7 @@ export interface V2RuleProxyRequest {
24238
25133
  */
24239
25134
  'failover_origin_ttfb'?: string;
24240
25135
  /**
24241
- * Origin status codes that trigger failover
25136
+ * 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.
24242
25137
  * @type {Array<string>}
24243
25138
  * @memberof V2RuleProxyRequest
24244
25139
  */
@@ -27752,6 +28647,273 @@ export class AIAuditApi extends BaseAPI {
27752
28647
 
27753
28648
 
27754
28649
 
28650
+ /**
28651
+ * AIAutoModeApi - axios parameter creator
28652
+ * @export
28653
+ */
28654
+ export const AIAutoModeApiAxiosParamCreator = function (configuration?: Configuration) {
28655
+ return {
28656
+ /**
28657
+ *
28658
+ * @summary Remove the auto mode setting for an organisation
28659
+ * @param {string} organisation The organisation ID
28660
+ * @param {*} [options] Override http request option.
28661
+ * @throws {RequiredError}
28662
+ */
28663
+ deleteAutoMode: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28664
+ // verify required parameter 'organisation' is not null or undefined
28665
+ assertParamExists('deleteAutoMode', 'organisation', organisation)
28666
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
28667
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
28668
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28669
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28670
+ let baseOptions;
28671
+ if (configuration) {
28672
+ baseOptions = configuration.baseOptions;
28673
+ }
28674
+
28675
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
28676
+ const localVarHeaderParameter = {} as any;
28677
+ const localVarQueryParameter = {} as any;
28678
+
28679
+ // authentication BearerAuth required
28680
+ // http bearer authentication required
28681
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28682
+
28683
+
28684
+
28685
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28686
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28687
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28688
+
28689
+ return {
28690
+ url: toPathString(localVarUrlObj),
28691
+ options: localVarRequestOptions,
28692
+ };
28693
+ },
28694
+ /**
28695
+ *
28696
+ * @summary Get the auto mode setting for an organisation
28697
+ * @param {string} organisation The organisation ID
28698
+ * @param {*} [options] Override http request option.
28699
+ * @throws {RequiredError}
28700
+ */
28701
+ getAutoMode: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28702
+ // verify required parameter 'organisation' is not null or undefined
28703
+ assertParamExists('getAutoMode', 'organisation', organisation)
28704
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
28705
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
28706
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28707
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28708
+ let baseOptions;
28709
+ if (configuration) {
28710
+ baseOptions = configuration.baseOptions;
28711
+ }
28712
+
28713
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28714
+ const localVarHeaderParameter = {} as any;
28715
+ const localVarQueryParameter = {} as any;
28716
+
28717
+ // authentication BearerAuth required
28718
+ // http bearer authentication required
28719
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28720
+
28721
+
28722
+
28723
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28724
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28725
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28726
+
28727
+ return {
28728
+ url: toPathString(localVarUrlObj),
28729
+ options: localVarRequestOptions,
28730
+ };
28731
+ },
28732
+ /**
28733
+ *
28734
+ * @summary Save the auto mode setting for an organisation
28735
+ * @param {string} organisation The organisation ID
28736
+ * @param {AIAutoModeInput} aIAutoModeInput
28737
+ * @param {*} [options] Override http request option.
28738
+ * @throws {RequiredError}
28739
+ */
28740
+ updateAutoMode: async (organisation: string, aIAutoModeInput: AIAutoModeInput, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28741
+ // verify required parameter 'organisation' is not null or undefined
28742
+ assertParamExists('updateAutoMode', 'organisation', organisation)
28743
+ // verify required parameter 'aIAutoModeInput' is not null or undefined
28744
+ assertParamExists('updateAutoMode', 'aIAutoModeInput', aIAutoModeInput)
28745
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
28746
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
28747
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28748
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28749
+ let baseOptions;
28750
+ if (configuration) {
28751
+ baseOptions = configuration.baseOptions;
28752
+ }
28753
+
28754
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
28755
+ const localVarHeaderParameter = {} as any;
28756
+ const localVarQueryParameter = {} as any;
28757
+
28758
+ // authentication BearerAuth required
28759
+ // http bearer authentication required
28760
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28761
+
28762
+
28763
+
28764
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28765
+
28766
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28767
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28768
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28769
+ localVarRequestOptions.data = serializeDataIfNeeded(aIAutoModeInput, localVarRequestOptions, configuration)
28770
+
28771
+ return {
28772
+ url: toPathString(localVarUrlObj),
28773
+ options: localVarRequestOptions,
28774
+ };
28775
+ },
28776
+ }
28777
+ };
28778
+
28779
+ /**
28780
+ * AIAutoModeApi - functional programming interface
28781
+ * @export
28782
+ */
28783
+ export const AIAutoModeApiFp = function(configuration?: Configuration) {
28784
+ const localVarAxiosParamCreator = AIAutoModeApiAxiosParamCreator(configuration)
28785
+ return {
28786
+ /**
28787
+ *
28788
+ * @summary Remove the auto mode setting for an organisation
28789
+ * @param {string} organisation The organisation ID
28790
+ * @param {*} [options] Override http request option.
28791
+ * @throws {RequiredError}
28792
+ */
28793
+ async deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteAutoMode200Response>> {
28794
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAutoMode(organisation, options);
28795
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28796
+ const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.deleteAutoMode']?.[localVarOperationServerIndex]?.url;
28797
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28798
+ },
28799
+ /**
28800
+ *
28801
+ * @summary Get the auto mode setting for an organisation
28802
+ * @param {string} organisation The organisation ID
28803
+ * @param {*} [options] Override http request option.
28804
+ * @throws {RequiredError}
28805
+ */
28806
+ async getAutoMode(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAutoMode200Response>> {
28807
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAutoMode(organisation, options);
28808
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28809
+ const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.getAutoMode']?.[localVarOperationServerIndex]?.url;
28810
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28811
+ },
28812
+ /**
28813
+ *
28814
+ * @summary Save the auto mode setting for an organisation
28815
+ * @param {string} organisation The organisation ID
28816
+ * @param {AIAutoModeInput} aIAutoModeInput
28817
+ * @param {*} [options] Override http request option.
28818
+ * @throws {RequiredError}
28819
+ */
28820
+ async updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAutoMode200Response>> {
28821
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateAutoMode(organisation, aIAutoModeInput, options);
28822
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28823
+ const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.updateAutoMode']?.[localVarOperationServerIndex]?.url;
28824
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28825
+ },
28826
+ }
28827
+ };
28828
+
28829
+ /**
28830
+ * AIAutoModeApi - factory interface
28831
+ * @export
28832
+ */
28833
+ export const AIAutoModeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
28834
+ const localVarFp = AIAutoModeApiFp(configuration)
28835
+ return {
28836
+ /**
28837
+ *
28838
+ * @summary Remove the auto mode setting for an organisation
28839
+ * @param {string} organisation The organisation ID
28840
+ * @param {*} [options] Override http request option.
28841
+ * @throws {RequiredError}
28842
+ */
28843
+ deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteAutoMode200Response> {
28844
+ return localVarFp.deleteAutoMode(organisation, options).then((request) => request(axios, basePath));
28845
+ },
28846
+ /**
28847
+ *
28848
+ * @summary Get the auto mode setting for an organisation
28849
+ * @param {string} organisation The organisation ID
28850
+ * @param {*} [options] Override http request option.
28851
+ * @throws {RequiredError}
28852
+ */
28853
+ getAutoMode(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAutoMode200Response> {
28854
+ return localVarFp.getAutoMode(organisation, options).then((request) => request(axios, basePath));
28855
+ },
28856
+ /**
28857
+ *
28858
+ * @summary Save the auto mode setting for an organisation
28859
+ * @param {string} organisation The organisation ID
28860
+ * @param {AIAutoModeInput} aIAutoModeInput
28861
+ * @param {*} [options] Override http request option.
28862
+ * @throws {RequiredError}
28863
+ */
28864
+ updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAutoMode200Response> {
28865
+ return localVarFp.updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(axios, basePath));
28866
+ },
28867
+ };
28868
+ };
28869
+
28870
+ /**
28871
+ * AIAutoModeApi - object-oriented interface
28872
+ * @export
28873
+ * @class AIAutoModeApi
28874
+ * @extends {BaseAPI}
28875
+ */
28876
+ export class AIAutoModeApi extends BaseAPI {
28877
+ /**
28878
+ *
28879
+ * @summary Remove the auto mode setting for an organisation
28880
+ * @param {string} organisation The organisation ID
28881
+ * @param {*} [options] Override http request option.
28882
+ * @throws {RequiredError}
28883
+ * @memberof AIAutoModeApi
28884
+ */
28885
+ public deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig) {
28886
+ return AIAutoModeApiFp(this.configuration).deleteAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
28887
+ }
28888
+
28889
+ /**
28890
+ *
28891
+ * @summary Get the auto mode setting for an organisation
28892
+ * @param {string} organisation The organisation ID
28893
+ * @param {*} [options] Override http request option.
28894
+ * @throws {RequiredError}
28895
+ * @memberof AIAutoModeApi
28896
+ */
28897
+ public getAutoMode(organisation: string, options?: RawAxiosRequestConfig) {
28898
+ return AIAutoModeApiFp(this.configuration).getAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
28899
+ }
28900
+
28901
+ /**
28902
+ *
28903
+ * @summary Save the auto mode setting for an organisation
28904
+ * @param {string} organisation The organisation ID
28905
+ * @param {AIAutoModeInput} aIAutoModeInput
28906
+ * @param {*} [options] Override http request option.
28907
+ * @throws {RequiredError}
28908
+ * @memberof AIAutoModeApi
28909
+ */
28910
+ public updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig) {
28911
+ return AIAutoModeApiFp(this.configuration).updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(this.axios, this.basePath));
28912
+ }
28913
+ }
28914
+
28915
+
28916
+
27755
28917
  /**
27756
28918
  * AICustomToolsApi - axios parameter creator
27757
28919
  * @export
@@ -37431,6 +38593,125 @@ export class AIVectorDatabaseApi extends BaseAPI {
37431
38593
 
37432
38594
 
37433
38595
 
38596
+ /**
38597
+ * AlertChannelsApi - axios parameter creator
38598
+ * @export
38599
+ */
38600
+ export const AlertChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
38601
+ return {
38602
+ /**
38603
+ * 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.
38604
+ * @summary List the organisation\'s alert channels
38605
+ * @param {string} organisation The organisation machine name
38606
+ * @param {string} project The project machine name
38607
+ * @param {*} [options] Override http request option.
38608
+ * @throws {RequiredError}
38609
+ */
38610
+ alertChannelsList: async (organisation: string, project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38611
+ // verify required parameter 'organisation' is not null or undefined
38612
+ assertParamExists('alertChannelsList', 'organisation', organisation)
38613
+ // verify required parameter 'project' is not null or undefined
38614
+ assertParamExists('alertChannelsList', 'project', project)
38615
+ const localVarPath = `/api/v3/organizations/{organisation}/projects/{project}/alert-channels`
38616
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
38617
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
38618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38620
+ let baseOptions;
38621
+ if (configuration) {
38622
+ baseOptions = configuration.baseOptions;
38623
+ }
38624
+
38625
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38626
+ const localVarHeaderParameter = {} as any;
38627
+ const localVarQueryParameter = {} as any;
38628
+
38629
+ // authentication BearerAuth required
38630
+ // http bearer authentication required
38631
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38632
+
38633
+
38634
+
38635
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38636
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38637
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38638
+
38639
+ return {
38640
+ url: toPathString(localVarUrlObj),
38641
+ options: localVarRequestOptions,
38642
+ };
38643
+ },
38644
+ }
38645
+ };
38646
+
38647
+ /**
38648
+ * AlertChannelsApi - functional programming interface
38649
+ * @export
38650
+ */
38651
+ export const AlertChannelsApiFp = function(configuration?: Configuration) {
38652
+ const localVarAxiosParamCreator = AlertChannelsApiAxiosParamCreator(configuration)
38653
+ return {
38654
+ /**
38655
+ * 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.
38656
+ * @summary List the organisation\'s alert channels
38657
+ * @param {string} organisation The organisation machine name
38658
+ * @param {string} project The project machine name
38659
+ * @param {*} [options] Override http request option.
38660
+ * @throws {RequiredError}
38661
+ */
38662
+ async alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertChannelList>> {
38663
+ const localVarAxiosArgs = await localVarAxiosParamCreator.alertChannelsList(organisation, project, options);
38664
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38665
+ const localVarOperationServerBasePath = operationServerMap['AlertChannelsApi.alertChannelsList']?.[localVarOperationServerIndex]?.url;
38666
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38667
+ },
38668
+ }
38669
+ };
38670
+
38671
+ /**
38672
+ * AlertChannelsApi - factory interface
38673
+ * @export
38674
+ */
38675
+ export const AlertChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
38676
+ const localVarFp = AlertChannelsApiFp(configuration)
38677
+ return {
38678
+ /**
38679
+ * 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.
38680
+ * @summary List the organisation\'s alert channels
38681
+ * @param {string} organisation The organisation machine name
38682
+ * @param {string} project The project machine name
38683
+ * @param {*} [options] Override http request option.
38684
+ * @throws {RequiredError}
38685
+ */
38686
+ alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertChannelList> {
38687
+ return localVarFp.alertChannelsList(organisation, project, options).then((request) => request(axios, basePath));
38688
+ },
38689
+ };
38690
+ };
38691
+
38692
+ /**
38693
+ * AlertChannelsApi - object-oriented interface
38694
+ * @export
38695
+ * @class AlertChannelsApi
38696
+ * @extends {BaseAPI}
38697
+ */
38698
+ export class AlertChannelsApi extends BaseAPI {
38699
+ /**
38700
+ * 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.
38701
+ * @summary List the organisation\'s alert channels
38702
+ * @param {string} organisation The organisation machine name
38703
+ * @param {string} project The project machine name
38704
+ * @param {*} [options] Override http request option.
38705
+ * @throws {RequiredError}
38706
+ * @memberof AlertChannelsApi
38707
+ */
38708
+ public alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig) {
38709
+ return AlertChannelsApiFp(this.configuration).alertChannelsList(organisation, project, options).then((request) => request(this.axios, this.basePath));
38710
+ }
38711
+ }
38712
+
38713
+
38714
+
37434
38715
  /**
37435
38716
  * ApplicationsApi - axios parameter creator
37436
38717
  * @export
@@ -39045,6 +40326,303 @@ export const GetMonthlyMetricsTimestampFormatEnum = {
39045
40326
  export type GetMonthlyMetricsTimestampFormatEnum = typeof GetMonthlyMetricsTimestampFormatEnum[keyof typeof GetMonthlyMetricsTimestampFormatEnum];
39046
40327
 
39047
40328
 
40329
+ /**
40330
+ * CIValuesApi - axios parameter creator
40331
+ * @export
40332
+ */
40333
+ export const CIValuesApiAxiosParamCreator = function (configuration?: Configuration) {
40334
+ return {
40335
+ /**
40336
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40337
+ * @summary Delete a CI secret or variable
40338
+ * @param {string} organisation The organisation ID
40339
+ * @param {string} name The name, such as DEPLOY_KEY
40340
+ * @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.
40341
+ * @param {*} [options] Override http request option.
40342
+ * @throws {RequiredError}
40343
+ */
40344
+ deleteCiValue: async (organisation: string, name: string, repo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40345
+ // verify required parameter 'organisation' is not null or undefined
40346
+ assertParamExists('deleteCiValue', 'organisation', organisation)
40347
+ // verify required parameter 'name' is not null or undefined
40348
+ assertParamExists('deleteCiValue', 'name', name)
40349
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
40350
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
40351
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
40352
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40353
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40354
+ let baseOptions;
40355
+ if (configuration) {
40356
+ baseOptions = configuration.baseOptions;
40357
+ }
40358
+
40359
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
40360
+ const localVarHeaderParameter = {} as any;
40361
+ const localVarQueryParameter = {} as any;
40362
+
40363
+ // authentication BearerAuth required
40364
+ // http bearer authentication required
40365
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40366
+
40367
+ if (repo !== undefined) {
40368
+ localVarQueryParameter['repo'] = repo;
40369
+ }
40370
+
40371
+
40372
+
40373
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40374
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40375
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40376
+
40377
+ return {
40378
+ url: toPathString(localVarUrlObj),
40379
+ options: localVarRequestOptions,
40380
+ };
40381
+ },
40382
+ /**
40383
+ * 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.
40384
+ * @summary List the CI secrets and variables
40385
+ * @param {string} organisation The organisation ID
40386
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40387
+ * @param {*} [options] Override http request option.
40388
+ * @throws {RequiredError}
40389
+ */
40390
+ listCiValues: async (organisation: string, repo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40391
+ // verify required parameter 'organisation' is not null or undefined
40392
+ assertParamExists('listCiValues', 'organisation', organisation)
40393
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values`
40394
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
40395
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40396
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40397
+ let baseOptions;
40398
+ if (configuration) {
40399
+ baseOptions = configuration.baseOptions;
40400
+ }
40401
+
40402
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40403
+ const localVarHeaderParameter = {} as any;
40404
+ const localVarQueryParameter = {} as any;
40405
+
40406
+ // authentication BearerAuth required
40407
+ // http bearer authentication required
40408
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40409
+
40410
+ if (repo !== undefined) {
40411
+ localVarQueryParameter['repo'] = repo;
40412
+ }
40413
+
40414
+
40415
+
40416
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40417
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40418
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40419
+
40420
+ return {
40421
+ url: toPathString(localVarUrlObj),
40422
+ options: localVarRequestOptions,
40423
+ };
40424
+ },
40425
+ /**
40426
+ * 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.
40427
+ * @summary Create or replace a CI secret or variable
40428
+ * @param {string} organisation The organisation ID
40429
+ * @param {string} name The name, such as DEPLOY_KEY
40430
+ * @param {PutCiValueRequest} putCiValueRequest
40431
+ * @param {*} [options] Override http request option.
40432
+ * @throws {RequiredError}
40433
+ */
40434
+ putCiValue: async (organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40435
+ // verify required parameter 'organisation' is not null or undefined
40436
+ assertParamExists('putCiValue', 'organisation', organisation)
40437
+ // verify required parameter 'name' is not null or undefined
40438
+ assertParamExists('putCiValue', 'name', name)
40439
+ // verify required parameter 'putCiValueRequest' is not null or undefined
40440
+ assertParamExists('putCiValue', 'putCiValueRequest', putCiValueRequest)
40441
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
40442
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
40443
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
40444
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40445
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40446
+ let baseOptions;
40447
+ if (configuration) {
40448
+ baseOptions = configuration.baseOptions;
40449
+ }
40450
+
40451
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
40452
+ const localVarHeaderParameter = {} as any;
40453
+ const localVarQueryParameter = {} as any;
40454
+
40455
+ // authentication BearerAuth required
40456
+ // http bearer authentication required
40457
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40458
+
40459
+
40460
+
40461
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40462
+
40463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40465
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40466
+ localVarRequestOptions.data = serializeDataIfNeeded(putCiValueRequest, localVarRequestOptions, configuration)
40467
+
40468
+ return {
40469
+ url: toPathString(localVarUrlObj),
40470
+ options: localVarRequestOptions,
40471
+ };
40472
+ },
40473
+ }
40474
+ };
40475
+
40476
+ /**
40477
+ * CIValuesApi - functional programming interface
40478
+ * @export
40479
+ */
40480
+ export const CIValuesApiFp = function(configuration?: Configuration) {
40481
+ const localVarAxiosParamCreator = CIValuesApiAxiosParamCreator(configuration)
40482
+ return {
40483
+ /**
40484
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40485
+ * @summary Delete a CI secret or variable
40486
+ * @param {string} organisation The organisation ID
40487
+ * @param {string} name The name, such as DEPLOY_KEY
40488
+ * @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.
40489
+ * @param {*} [options] Override http request option.
40490
+ * @throws {RequiredError}
40491
+ */
40492
+ async deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
40493
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCiValue(organisation, name, repo, options);
40494
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40495
+ const localVarOperationServerBasePath = operationServerMap['CIValuesApi.deleteCiValue']?.[localVarOperationServerIndex]?.url;
40496
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40497
+ },
40498
+ /**
40499
+ * 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.
40500
+ * @summary List the CI secrets and variables
40501
+ * @param {string} organisation The organisation ID
40502
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40503
+ * @param {*} [options] Override http request option.
40504
+ * @throws {RequiredError}
40505
+ */
40506
+ async listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCiValues200Response>> {
40507
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCiValues(organisation, repo, options);
40508
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40509
+ const localVarOperationServerBasePath = operationServerMap['CIValuesApi.listCiValues']?.[localVarOperationServerIndex]?.url;
40510
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40511
+ },
40512
+ /**
40513
+ * 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.
40514
+ * @summary Create or replace a CI secret or variable
40515
+ * @param {string} organisation The organisation ID
40516
+ * @param {string} name The name, such as DEPLOY_KEY
40517
+ * @param {PutCiValueRequest} putCiValueRequest
40518
+ * @param {*} [options] Override http request option.
40519
+ * @throws {RequiredError}
40520
+ */
40521
+ async putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CiValueWriteResult>> {
40522
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putCiValue(organisation, name, putCiValueRequest, options);
40523
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40524
+ const localVarOperationServerBasePath = operationServerMap['CIValuesApi.putCiValue']?.[localVarOperationServerIndex]?.url;
40525
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40526
+ },
40527
+ }
40528
+ };
40529
+
40530
+ /**
40531
+ * CIValuesApi - factory interface
40532
+ * @export
40533
+ */
40534
+ export const CIValuesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
40535
+ const localVarFp = CIValuesApiFp(configuration)
40536
+ return {
40537
+ /**
40538
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40539
+ * @summary Delete a CI secret or variable
40540
+ * @param {string} organisation The organisation ID
40541
+ * @param {string} name The name, such as DEPLOY_KEY
40542
+ * @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.
40543
+ * @param {*} [options] Override http request option.
40544
+ * @throws {RequiredError}
40545
+ */
40546
+ deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
40547
+ return localVarFp.deleteCiValue(organisation, name, repo, options).then((request) => request(axios, basePath));
40548
+ },
40549
+ /**
40550
+ * 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.
40551
+ * @summary List the CI secrets and variables
40552
+ * @param {string} organisation The organisation ID
40553
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40554
+ * @param {*} [options] Override http request option.
40555
+ * @throws {RequiredError}
40556
+ */
40557
+ listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListCiValues200Response> {
40558
+ return localVarFp.listCiValues(organisation, repo, options).then((request) => request(axios, basePath));
40559
+ },
40560
+ /**
40561
+ * 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.
40562
+ * @summary Create or replace a CI secret or variable
40563
+ * @param {string} organisation The organisation ID
40564
+ * @param {string} name The name, such as DEPLOY_KEY
40565
+ * @param {PutCiValueRequest} putCiValueRequest
40566
+ * @param {*} [options] Override http request option.
40567
+ * @throws {RequiredError}
40568
+ */
40569
+ putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig): AxiosPromise<CiValueWriteResult> {
40570
+ return localVarFp.putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(axios, basePath));
40571
+ },
40572
+ };
40573
+ };
40574
+
40575
+ /**
40576
+ * CIValuesApi - object-oriented interface
40577
+ * @export
40578
+ * @class CIValuesApi
40579
+ * @extends {BaseAPI}
40580
+ */
40581
+ export class CIValuesApi extends BaseAPI {
40582
+ /**
40583
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
40584
+ * @summary Delete a CI secret or variable
40585
+ * @param {string} organisation The organisation ID
40586
+ * @param {string} name The name, such as DEPLOY_KEY
40587
+ * @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.
40588
+ * @param {*} [options] Override http request option.
40589
+ * @throws {RequiredError}
40590
+ * @memberof CIValuesApi
40591
+ */
40592
+ public deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig) {
40593
+ return CIValuesApiFp(this.configuration).deleteCiValue(organisation, name, repo, options).then((request) => request(this.axios, this.basePath));
40594
+ }
40595
+
40596
+ /**
40597
+ * 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.
40598
+ * @summary List the CI secrets and variables
40599
+ * @param {string} organisation The organisation ID
40600
+ * @param {string} [repo] Only the organisation\&#39;s values and this repository\&#39;s values. Lower-cased by the server.
40601
+ * @param {*} [options] Override http request option.
40602
+ * @throws {RequiredError}
40603
+ * @memberof CIValuesApi
40604
+ */
40605
+ public listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig) {
40606
+ return CIValuesApiFp(this.configuration).listCiValues(organisation, repo, options).then((request) => request(this.axios, this.basePath));
40607
+ }
40608
+
40609
+ /**
40610
+ * 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.
40611
+ * @summary Create or replace a CI secret or variable
40612
+ * @param {string} organisation The organisation ID
40613
+ * @param {string} name The name, such as DEPLOY_KEY
40614
+ * @param {PutCiValueRequest} putCiValueRequest
40615
+ * @param {*} [options] Override http request option.
40616
+ * @throws {RequiredError}
40617
+ * @memberof CIValuesApi
40618
+ */
40619
+ public putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig) {
40620
+ return CIValuesApiFp(this.configuration).putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(this.axios, this.basePath));
40621
+ }
40622
+ }
40623
+
40624
+
40625
+
39048
40626
  /**
39049
40627
  * CommandsApi - axios parameter creator
39050
40628
  * @export
@@ -39726,12 +41304,12 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
39726
41304
  };
39727
41305
  },
39728
41306
  /**
39729
- *
41307
+ * 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.
39730
41308
  * @summary Update a container in an environment
39731
41309
  * @param {string} organisation The organisation ID
39732
41310
  * @param {string} application The application ID
39733
41311
  * @param {string} environment The environment ID
39734
- * @param {string} container The container ID
41312
+ * @param {string} container The container name
39735
41313
  * @param {Container} container2
39736
41314
  * @param {*} [options] Override http request option.
39737
41315
  * @throws {RequiredError}
@@ -39807,17 +41385,17 @@ export const ContainersApiFp = function(configuration?: Configuration) {
39807
41385
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39808
41386
  },
39809
41387
  /**
39810
- *
41388
+ * 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.
39811
41389
  * @summary Update a container in an environment
39812
41390
  * @param {string} organisation The organisation ID
39813
41391
  * @param {string} application The application ID
39814
41392
  * @param {string} environment The environment ID
39815
- * @param {string} container The container ID
41393
+ * @param {string} container The container name
39816
41394
  * @param {Container} container2
39817
41395
  * @param {*} [options] Override http request option.
39818
41396
  * @throws {RequiredError}
39819
41397
  */
39820
- async updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
41398
+ async updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Container>> {
39821
41399
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateContainer(organisation, application, environment, container, container2, options);
39822
41400
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39823
41401
  const localVarOperationServerBasePath = operationServerMap['ContainersApi.updateContainer']?.[localVarOperationServerIndex]?.url;
@@ -39846,17 +41424,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
39846
41424
  return localVarFp.listContainers(organisation, application, environment, options).then((request) => request(axios, basePath));
39847
41425
  },
39848
41426
  /**
39849
- *
41427
+ * 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.
39850
41428
  * @summary Update a container in an environment
39851
41429
  * @param {string} organisation The organisation ID
39852
41430
  * @param {string} application The application ID
39853
41431
  * @param {string} environment The environment ID
39854
- * @param {string} container The container ID
41432
+ * @param {string} container The container name
39855
41433
  * @param {Container} container2
39856
41434
  * @param {*} [options] Override http request option.
39857
41435
  * @throws {RequiredError}
39858
41436
  */
39859
- updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): AxiosPromise<void> {
41437
+ updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): AxiosPromise<Container> {
39860
41438
  return localVarFp.updateContainer(organisation, application, environment, container, container2, options).then((request) => request(axios, basePath));
39861
41439
  },
39862
41440
  };
@@ -39884,12 +41462,12 @@ export class ContainersApi extends BaseAPI {
39884
41462
  }
39885
41463
 
39886
41464
  /**
39887
- *
41465
+ * 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.
39888
41466
  * @summary Update a container in an environment
39889
41467
  * @param {string} organisation The organisation ID
39890
41468
  * @param {string} application The application ID
39891
41469
  * @param {string} environment The environment ID
39892
- * @param {string} container The container ID
41470
+ * @param {string} container The container name
39893
41471
  * @param {Container} container2
39894
41472
  * @param {*} [options] Override http request option.
39895
41473
  * @throws {RequiredError}
@@ -50642,6 +52220,88 @@ export class OrganizationsApi extends BaseAPI {
50642
52220
  */
50643
52221
  export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
50644
52222
  return {
52223
+ /**
52224
+ * 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.
52225
+ * @summary Get edge events for a project
52226
+ * @param {string} organization The organization machine name
52227
+ * @param {string} project The project machine name
52228
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52229
+ * @param {string} [_function] Only events from this edge function (UUID)
52230
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52231
+ * @param {string} [search] Case-insensitive substring of the message
52232
+ * @param {number} [limit] Maximum number of events per page (default 100)
52233
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52234
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52235
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52236
+ * @param {*} [options] Override http request option.
52237
+ * @throws {RequiredError}
52238
+ */
52239
+ 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> => {
52240
+ // verify required parameter 'organization' is not null or undefined
52241
+ assertParamExists('getProjectEdgeEvents', 'organization', organization)
52242
+ // verify required parameter 'project' is not null or undefined
52243
+ assertParamExists('getProjectEdgeEvents', 'project', project)
52244
+ const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/edge-events`
52245
+ .replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
52246
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
52247
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52248
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52249
+ let baseOptions;
52250
+ if (configuration) {
52251
+ baseOptions = configuration.baseOptions;
52252
+ }
52253
+
52254
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
52255
+ const localVarHeaderParameter = {} as any;
52256
+ const localVarQueryParameter = {} as any;
52257
+
52258
+ // authentication BearerAuth required
52259
+ // http bearer authentication required
52260
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
52261
+
52262
+ if (type !== undefined) {
52263
+ localVarQueryParameter['type'] = type;
52264
+ }
52265
+
52266
+ if (_function !== undefined) {
52267
+ localVarQueryParameter['function'] = _function;
52268
+ }
52269
+
52270
+ if (level !== undefined) {
52271
+ localVarQueryParameter['level'] = level;
52272
+ }
52273
+
52274
+ if (search !== undefined) {
52275
+ localVarQueryParameter['search'] = search;
52276
+ }
52277
+
52278
+ if (limit !== undefined) {
52279
+ localVarQueryParameter['limit'] = limit;
52280
+ }
52281
+
52282
+ if (startTime !== undefined) {
52283
+ localVarQueryParameter['startTime'] = startTime;
52284
+ }
52285
+
52286
+ if (endTime !== undefined) {
52287
+ localVarQueryParameter['endTime'] = endTime;
52288
+ }
52289
+
52290
+ if (nextToken !== undefined) {
52291
+ localVarQueryParameter['nextToken'] = nextToken;
52292
+ }
52293
+
52294
+
52295
+
52296
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
52297
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
52298
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
52299
+
52300
+ return {
52301
+ url: toPathString(localVarUrlObj),
52302
+ options: localVarRequestOptions,
52303
+ };
52304
+ },
50645
52305
  /**
50646
52306
  * 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.
50647
52307
  * @summary Get CDN access logs for a project
@@ -50945,6 +52605,28 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
50945
52605
  export const ProjectsApiFp = function(configuration?: Configuration) {
50946
52606
  const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
50947
52607
  return {
52608
+ /**
52609
+ * 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.
52610
+ * @summary Get edge events for a project
52611
+ * @param {string} organization The organization machine name
52612
+ * @param {string} project The project machine name
52613
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52614
+ * @param {string} [_function] Only events from this edge function (UUID)
52615
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52616
+ * @param {string} [search] Case-insensitive substring of the message
52617
+ * @param {number} [limit] Maximum number of events per page (default 100)
52618
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52619
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52620
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52621
+ * @param {*} [options] Override http request option.
52622
+ * @throws {RequiredError}
52623
+ */
52624
+ 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>> {
52625
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options);
52626
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
52627
+ const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjectEdgeEvents']?.[localVarOperationServerIndex]?.url;
52628
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52629
+ },
50948
52630
  /**
50949
52631
  * 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.
50950
52632
  * @summary Get CDN access logs for a project
@@ -51046,6 +52728,25 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
51046
52728
  export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
51047
52729
  const localVarFp = ProjectsApiFp(configuration)
51048
52730
  return {
52731
+ /**
52732
+ * 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.
52733
+ * @summary Get edge events for a project
52734
+ * @param {string} organization The organization machine name
52735
+ * @param {string} project The project machine name
52736
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52737
+ * @param {string} [_function] Only events from this edge function (UUID)
52738
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52739
+ * @param {string} [search] Case-insensitive substring of the message
52740
+ * @param {number} [limit] Maximum number of events per page (default 100)
52741
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52742
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52743
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52744
+ * @param {*} [options] Override http request option.
52745
+ * @throws {RequiredError}
52746
+ */
52747
+ 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> {
52748
+ return localVarFp.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(axios, basePath));
52749
+ },
51049
52750
  /**
51050
52751
  * 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.
51051
52752
  * @summary Get CDN access logs for a project
@@ -51129,6 +52830,27 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
51129
52830
  * @extends {BaseAPI}
51130
52831
  */
51131
52832
  export class ProjectsApi extends BaseAPI {
52833
+ /**
52834
+ * 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.
52835
+ * @summary Get edge events for a project
52836
+ * @param {string} organization The organization machine name
52837
+ * @param {string} project The project machine name
52838
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
52839
+ * @param {string} [_function] Only events from this edge function (UUID)
52840
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
52841
+ * @param {string} [search] Case-insensitive substring of the message
52842
+ * @param {number} [limit] Maximum number of events per page (default 100)
52843
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
52844
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
52845
+ * @param {string} [nextToken] Opaque pagination token from the previous response
52846
+ * @param {*} [options] Override http request option.
52847
+ * @throws {RequiredError}
52848
+ * @memberof ProjectsApi
52849
+ */
52850
+ public getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig) {
52851
+ return ProjectsApiFp(this.configuration).getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(this.axios, this.basePath));
52852
+ }
52853
+
51132
52854
  /**
51133
52855
  * 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.
51134
52856
  * @summary Get CDN access logs for a project
@@ -51215,6 +52937,17 @@ export class ProjectsApi extends BaseAPI {
51215
52937
  }
51216
52938
  }
51217
52939
 
52940
+ /**
52941
+ * @export
52942
+ */
52943
+ export const GetProjectEdgeEventsLevelEnum = {
52944
+ Log: 'log',
52945
+ Info: 'info',
52946
+ Warn: 'warn',
52947
+ Error: 'error',
52948
+ Debug: 'debug'
52949
+ } as const;
52950
+ export type GetProjectEdgeEventsLevelEnum = typeof GetProjectEdgeEventsLevelEnum[keyof typeof GetProjectEdgeEventsLevelEnum];
51218
52951
 
51219
52952
 
51220
52953
  /**
@@ -54277,7 +56010,7 @@ export const RulesApiAxiosParamCreator = function (configuration?: Configuration
54277
56010
  };
54278
56011
  },
54279
56012
  /**
54280
- * 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.
56013
+ * 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.
54281
56014
  * @summary List all rules in edge order
54282
56015
  * @param {string} organization
54283
56016
  * @param {string} project
@@ -55631,7 +57364,7 @@ export const RulesApiFp = function(configuration?: Configuration) {
55631
57364
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55632
57365
  },
55633
57366
  /**
55634
- * 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.
57367
+ * 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.
55635
57368
  * @summary List all rules in edge order
55636
57369
  * @param {string} organization
55637
57370
  * @param {string} project
@@ -56360,7 +58093,7 @@ export const RulesApiFactory = function (configuration?: Configuration, basePath
56360
58093
  return localVarFp.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(axios, basePath));
56361
58094
  },
56362
58095
  /**
56363
- * 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.
58096
+ * 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.
56364
58097
  * @summary List all rules in edge order
56365
58098
  * @param {string} organization
56366
58099
  * @param {string} project
@@ -57121,7 +58854,7 @@ export class RulesApi extends BaseAPI {
57121
58854
  }
57122
58855
 
57123
58856
  /**
57124
- * 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.
58857
+ * 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.
57125
58858
  * @summary List all rules in edge order
57126
58859
  * @param {string} organization
57127
58860
  * @param {string} project