@quantcdn/quant-client 4.31.0 → 4.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +1787 -175
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1305 -89
- package/dist/api.js +900 -155
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1305 -89
- package/dist/esm/api.js +878 -146
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/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.
|
|
7
|
+
* The version of the OpenAPI document: 4.34.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,6 +23,286 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AIAutoModeConfig
|
|
30
|
+
*/
|
|
31
|
+
export interface AIAutoModeConfig {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof AIAutoModeConfig
|
|
36
|
+
*/
|
|
37
|
+
'enabled': boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Empty when the setting was saved off without an orchestrator.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AIAutoModeConfig
|
|
42
|
+
*/
|
|
43
|
+
'orchestratorModel': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {AIAutoModeConfigGroup}
|
|
47
|
+
* @memberof AIAutoModeConfig
|
|
48
|
+
*/
|
|
49
|
+
'group': AIAutoModeConfigGroup;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof AIAutoModeConfig
|
|
54
|
+
*/
|
|
55
|
+
'watcherIntervalMinutes': number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof AIAutoModeConfig
|
|
60
|
+
*/
|
|
61
|
+
'maxParallelTasks'?: number;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AIAutoModeConfig
|
|
66
|
+
*/
|
|
67
|
+
'enforcement': AIAutoModeConfigEnforcementEnum;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof AIAutoModeConfig
|
|
72
|
+
*/
|
|
73
|
+
'autonomousDefault': boolean;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof AIAutoModeConfig
|
|
78
|
+
*/
|
|
79
|
+
'updatedAt': string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof AIAutoModeConfig
|
|
84
|
+
*/
|
|
85
|
+
'updatedBy'?: string;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export const AIAutoModeConfigEnforcementEnum = {
|
|
89
|
+
Default: 'default',
|
|
90
|
+
Required: 'required'
|
|
91
|
+
} as const;
|
|
92
|
+
|
|
93
|
+
export type AIAutoModeConfigEnforcementEnum = typeof AIAutoModeConfigEnforcementEnum[keyof typeof AIAutoModeConfigEnforcementEnum];
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @export
|
|
98
|
+
* @interface AIAutoModeConfigGroup
|
|
99
|
+
*/
|
|
100
|
+
export interface AIAutoModeConfigGroup {
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof AIAutoModeConfigGroup
|
|
105
|
+
*/
|
|
106
|
+
'revision': number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {AIAutoModeConfigGroupRoles}
|
|
110
|
+
* @memberof AIAutoModeConfigGroup
|
|
111
|
+
*/
|
|
112
|
+
'roles': AIAutoModeConfigGroupRoles;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @export
|
|
117
|
+
* @interface AIAutoModeConfigGroupRoles
|
|
118
|
+
*/
|
|
119
|
+
export interface AIAutoModeConfigGroupRoles {
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {Array<string>}
|
|
123
|
+
* @memberof AIAutoModeConfigGroupRoles
|
|
124
|
+
*/
|
|
125
|
+
'fast': Array<string>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<string>}
|
|
129
|
+
* @memberof AIAutoModeConfigGroupRoles
|
|
130
|
+
*/
|
|
131
|
+
'standard': Array<string>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {Array<string>}
|
|
135
|
+
* @memberof AIAutoModeConfigGroupRoles
|
|
136
|
+
*/
|
|
137
|
+
'deep': Array<string>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @export
|
|
142
|
+
* @interface AIAutoModeEligibility
|
|
143
|
+
*/
|
|
144
|
+
export interface AIAutoModeEligibility {
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {AIModelEligibility}
|
|
148
|
+
* @memberof AIAutoModeEligibility
|
|
149
|
+
*/
|
|
150
|
+
'orchestrator': AIModelEligibility | null;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {AIAutoModeEligibilityRoles}
|
|
154
|
+
* @memberof AIAutoModeEligibility
|
|
155
|
+
*/
|
|
156
|
+
'roles': AIAutoModeEligibilityRoles;
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @type {boolean}
|
|
160
|
+
* @memberof AIAutoModeEligibility
|
|
161
|
+
*/
|
|
162
|
+
'usable': boolean;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @export
|
|
167
|
+
* @interface AIAutoModeEligibilityRoles
|
|
168
|
+
*/
|
|
169
|
+
export interface AIAutoModeEligibilityRoles {
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @type {Array<AIModelEligibility>}
|
|
173
|
+
* @memberof AIAutoModeEligibilityRoles
|
|
174
|
+
*/
|
|
175
|
+
'fast': Array<AIModelEligibility>;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {Array<AIModelEligibility>}
|
|
179
|
+
* @memberof AIAutoModeEligibilityRoles
|
|
180
|
+
*/
|
|
181
|
+
'standard': Array<AIModelEligibility>;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {Array<AIModelEligibility>}
|
|
185
|
+
* @memberof AIAutoModeEligibilityRoles
|
|
186
|
+
*/
|
|
187
|
+
'deep': Array<AIModelEligibility>;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @export
|
|
192
|
+
* @interface AIAutoModeInput
|
|
193
|
+
*/
|
|
194
|
+
export interface AIAutoModeInput {
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {boolean}
|
|
198
|
+
* @memberof AIAutoModeInput
|
|
199
|
+
*/
|
|
200
|
+
'enabled': boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Required when enabled is true. May be left out when enabled is false.
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof AIAutoModeInput
|
|
205
|
+
*/
|
|
206
|
+
'orchestratorModel'?: string;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {AIAutoModeInputGroup}
|
|
210
|
+
* @memberof AIAutoModeInput
|
|
211
|
+
*/
|
|
212
|
+
'group': AIAutoModeInputGroup;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {number}
|
|
216
|
+
* @memberof AIAutoModeInput
|
|
217
|
+
*/
|
|
218
|
+
'watcherIntervalMinutes': number;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {number}
|
|
222
|
+
* @memberof AIAutoModeInput
|
|
223
|
+
*/
|
|
224
|
+
'maxParallelTasks'?: number;
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof AIAutoModeInput
|
|
229
|
+
*/
|
|
230
|
+
'enforcement': AIAutoModeInputEnforcementEnum;
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {boolean}
|
|
234
|
+
* @memberof AIAutoModeInput
|
|
235
|
+
*/
|
|
236
|
+
'autonomousDefault': boolean;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export const AIAutoModeInputEnforcementEnum = {
|
|
240
|
+
Default: 'default',
|
|
241
|
+
Required: 'required'
|
|
242
|
+
} as const;
|
|
243
|
+
|
|
244
|
+
export type AIAutoModeInputEnforcementEnum = typeof AIAutoModeInputEnforcementEnum[keyof typeof AIAutoModeInputEnforcementEnum];
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @export
|
|
249
|
+
* @interface AIAutoModeInputGroup
|
|
250
|
+
*/
|
|
251
|
+
export interface AIAutoModeInputGroup {
|
|
252
|
+
/**
|
|
253
|
+
* Revision from the last read. A stale value returns 409.
|
|
254
|
+
* @type {number}
|
|
255
|
+
* @memberof AIAutoModeInputGroup
|
|
256
|
+
*/
|
|
257
|
+
'revision'?: number;
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @type {AIAutoModeConfigGroupRoles}
|
|
261
|
+
* @memberof AIAutoModeInputGroup
|
|
262
|
+
*/
|
|
263
|
+
'roles': AIAutoModeConfigGroupRoles;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @export
|
|
268
|
+
* @interface AIModelEligibility
|
|
269
|
+
*/
|
|
270
|
+
export interface AIModelEligibility {
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @memberof AIModelEligibility
|
|
275
|
+
*/
|
|
276
|
+
'modelId': string;
|
|
277
|
+
/**
|
|
278
|
+
*
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof AIModelEligibility
|
|
281
|
+
*/
|
|
282
|
+
'resolvedId': string;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @type {boolean}
|
|
286
|
+
* @memberof AIModelEligibility
|
|
287
|
+
*/
|
|
288
|
+
'eligible': boolean;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @memberof AIModelEligibility
|
|
293
|
+
*/
|
|
294
|
+
'reason'?: AIModelEligibilityReasonEnum;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export const AIModelEligibilityReasonEnum = {
|
|
298
|
+
Unknown: 'unknown',
|
|
299
|
+
NoTools: 'no_tools',
|
|
300
|
+
Policy: 'policy',
|
|
301
|
+
Residency: 'residency'
|
|
302
|
+
} as const;
|
|
303
|
+
|
|
304
|
+
export type AIModelEligibilityReasonEnum = typeof AIModelEligibilityReasonEnum[keyof typeof AIModelEligibilityReasonEnum];
|
|
305
|
+
|
|
26
306
|
/**
|
|
27
307
|
*
|
|
28
308
|
* @export
|
|
@@ -680,6 +960,71 @@ export interface AiSlackBotApiMessageAllOfFiles {
|
|
|
680
960
|
*/
|
|
681
961
|
'size'?: number;
|
|
682
962
|
}
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @export
|
|
966
|
+
* @interface AlertChannelError
|
|
967
|
+
*/
|
|
968
|
+
export interface AlertChannelError {
|
|
969
|
+
/**
|
|
970
|
+
*
|
|
971
|
+
* @type {string}
|
|
972
|
+
* @memberof AlertChannelError
|
|
973
|
+
*/
|
|
974
|
+
'error': string;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @export
|
|
979
|
+
* @interface AlertChannelList
|
|
980
|
+
*/
|
|
981
|
+
export interface AlertChannelList {
|
|
982
|
+
/**
|
|
983
|
+
*
|
|
984
|
+
* @type {Array<AlertChannelSummary>}
|
|
985
|
+
* @memberof AlertChannelList
|
|
986
|
+
*/
|
|
987
|
+
'channels': Array<AlertChannelSummary>;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
* An alert channel as the public API returns it. The secret (webhook URL or address list) is never returned.
|
|
991
|
+
* @export
|
|
992
|
+
* @interface AlertChannelSummary
|
|
993
|
+
*/
|
|
994
|
+
export interface AlertChannelSummary {
|
|
995
|
+
/**
|
|
996
|
+
* The channel ID
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof AlertChannelSummary
|
|
999
|
+
*/
|
|
1000
|
+
'id': string;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof AlertChannelSummary
|
|
1005
|
+
*/
|
|
1006
|
+
'name': string;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {string}
|
|
1010
|
+
* @memberof AlertChannelSummary
|
|
1011
|
+
*/
|
|
1012
|
+
'type': AlertChannelSummaryTypeEnum;
|
|
1013
|
+
/**
|
|
1014
|
+
* A masked hint of the destination
|
|
1015
|
+
* @type {string}
|
|
1016
|
+
* @memberof AlertChannelSummary
|
|
1017
|
+
*/
|
|
1018
|
+
'hint': string;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export const AlertChannelSummaryTypeEnum = {
|
|
1022
|
+
Slack: 'slack',
|
|
1023
|
+
Email: 'email'
|
|
1024
|
+
} as const;
|
|
1025
|
+
|
|
1026
|
+
export type AlertChannelSummaryTypeEnum = typeof AlertChannelSummaryTypeEnum[keyof typeof AlertChannelSummaryTypeEnum];
|
|
1027
|
+
|
|
683
1028
|
/**
|
|
684
1029
|
*
|
|
685
1030
|
* @export
|
|
@@ -2134,6 +2479,145 @@ export interface ChatWithAIAgentRequest {
|
|
|
2134
2479
|
*/
|
|
2135
2480
|
'maxToolIterations'?: number;
|
|
2136
2481
|
}
|
|
2482
|
+
/**
|
|
2483
|
+
*
|
|
2484
|
+
* @export
|
|
2485
|
+
* @interface CiValue
|
|
2486
|
+
*/
|
|
2487
|
+
export interface CiValue {
|
|
2488
|
+
/**
|
|
2489
|
+
*
|
|
2490
|
+
* @type {string}
|
|
2491
|
+
* @memberof CiValue
|
|
2492
|
+
*/
|
|
2493
|
+
'name'?: string;
|
|
2494
|
+
/**
|
|
2495
|
+
*
|
|
2496
|
+
* @type {string}
|
|
2497
|
+
* @memberof CiValue
|
|
2498
|
+
*/
|
|
2499
|
+
'kind'?: CiValueKindEnum;
|
|
2500
|
+
/**
|
|
2501
|
+
*
|
|
2502
|
+
* @type {string}
|
|
2503
|
+
* @memberof CiValue
|
|
2504
|
+
*/
|
|
2505
|
+
'scope'?: CiValueScopeEnum;
|
|
2506
|
+
/**
|
|
2507
|
+
* Lower-case owner/name. Present when scope is repo.
|
|
2508
|
+
* @type {string}
|
|
2509
|
+
* @memberof CiValue
|
|
2510
|
+
*/
|
|
2511
|
+
'repo'?: string;
|
|
2512
|
+
/**
|
|
2513
|
+
* The branch rule. Absent when the value applies to every branch.
|
|
2514
|
+
* @type {Array<string>}
|
|
2515
|
+
* @memberof CiValue
|
|
2516
|
+
*/
|
|
2517
|
+
'branches'?: Array<string>;
|
|
2518
|
+
/**
|
|
2519
|
+
*
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof CiValue
|
|
2522
|
+
*/
|
|
2523
|
+
'updatedAt'?: string;
|
|
2524
|
+
/**
|
|
2525
|
+
*
|
|
2526
|
+
* @type {string}
|
|
2527
|
+
* @memberof CiValue
|
|
2528
|
+
*/
|
|
2529
|
+
'updatedBy'?: string;
|
|
2530
|
+
/**
|
|
2531
|
+
* Variables only. A secret value is never returned.
|
|
2532
|
+
* @type {string}
|
|
2533
|
+
* @memberof CiValue
|
|
2534
|
+
*/
|
|
2535
|
+
'value'?: string;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
export const CiValueKindEnum = {
|
|
2539
|
+
Secret: 'secret',
|
|
2540
|
+
Var: 'var'
|
|
2541
|
+
} as const;
|
|
2542
|
+
|
|
2543
|
+
export type CiValueKindEnum = typeof CiValueKindEnum[keyof typeof CiValueKindEnum];
|
|
2544
|
+
export const CiValueScopeEnum = {
|
|
2545
|
+
Org: 'org',
|
|
2546
|
+
Repo: 'repo'
|
|
2547
|
+
} as const;
|
|
2548
|
+
|
|
2549
|
+
export type CiValueScopeEnum = typeof CiValueScopeEnum[keyof typeof CiValueScopeEnum];
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
*
|
|
2553
|
+
* @export
|
|
2554
|
+
* @interface CiValueError
|
|
2555
|
+
*/
|
|
2556
|
+
export interface CiValueError {
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @type {string}
|
|
2560
|
+
* @memberof CiValueError
|
|
2561
|
+
*/
|
|
2562
|
+
'message'?: string;
|
|
2563
|
+
}
|
|
2564
|
+
/**
|
|
2565
|
+
*
|
|
2566
|
+
* @export
|
|
2567
|
+
* @interface CiValueWriteResult
|
|
2568
|
+
*/
|
|
2569
|
+
export interface CiValueWriteResult {
|
|
2570
|
+
/**
|
|
2571
|
+
*
|
|
2572
|
+
* @type {string}
|
|
2573
|
+
* @memberof CiValueWriteResult
|
|
2574
|
+
*/
|
|
2575
|
+
'name'?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
*
|
|
2578
|
+
* @type {string}
|
|
2579
|
+
* @memberof CiValueWriteResult
|
|
2580
|
+
*/
|
|
2581
|
+
'kind'?: CiValueWriteResultKindEnum;
|
|
2582
|
+
/**
|
|
2583
|
+
*
|
|
2584
|
+
* @type {string}
|
|
2585
|
+
* @memberof CiValueWriteResult
|
|
2586
|
+
*/
|
|
2587
|
+
'scope'?: CiValueWriteResultScopeEnum;
|
|
2588
|
+
/**
|
|
2589
|
+
*
|
|
2590
|
+
* @type {string}
|
|
2591
|
+
* @memberof CiValueWriteResult
|
|
2592
|
+
*/
|
|
2593
|
+
'repo'?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
*
|
|
2596
|
+
* @type {Array<string>}
|
|
2597
|
+
* @memberof CiValueWriteResult
|
|
2598
|
+
*/
|
|
2599
|
+
'branches'?: Array<string>;
|
|
2600
|
+
/**
|
|
2601
|
+
*
|
|
2602
|
+
* @type {string}
|
|
2603
|
+
* @memberof CiValueWriteResult
|
|
2604
|
+
*/
|
|
2605
|
+
'updatedAt'?: string;
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
export const CiValueWriteResultKindEnum = {
|
|
2609
|
+
Secret: 'secret',
|
|
2610
|
+
Var: 'var'
|
|
2611
|
+
} as const;
|
|
2612
|
+
|
|
2613
|
+
export type CiValueWriteResultKindEnum = typeof CiValueWriteResultKindEnum[keyof typeof CiValueWriteResultKindEnum];
|
|
2614
|
+
export const CiValueWriteResultScopeEnum = {
|
|
2615
|
+
Org: 'org',
|
|
2616
|
+
Repo: 'repo'
|
|
2617
|
+
} as const;
|
|
2618
|
+
|
|
2619
|
+
export type CiValueWriteResultScopeEnum = typeof CiValueWriteResultScopeEnum[keyof typeof CiValueWriteResultScopeEnum];
|
|
2620
|
+
|
|
2137
2621
|
/**
|
|
2138
2622
|
*
|
|
2139
2623
|
* @export
|
|
@@ -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
|
|
@@ -12106,31 +12983,6 @@ export interface UpdateCronJobRequest {
|
|
|
12106
12983
|
*/
|
|
12107
12984
|
'isEnabled'?: boolean | null;
|
|
12108
12985
|
}
|
|
12109
|
-
/**
|
|
12110
|
-
*
|
|
12111
|
-
* @export
|
|
12112
|
-
* @interface UpdateEnvironmentRequest
|
|
12113
|
-
*/
|
|
12114
|
-
export interface UpdateEnvironmentRequest {
|
|
12115
|
-
/**
|
|
12116
|
-
*
|
|
12117
|
-
* @type {Compose}
|
|
12118
|
-
* @memberof UpdateEnvironmentRequest
|
|
12119
|
-
*/
|
|
12120
|
-
'composeDefinition': Compose;
|
|
12121
|
-
/**
|
|
12122
|
-
* Optional. Minimum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
12123
|
-
* @type {number}
|
|
12124
|
-
* @memberof UpdateEnvironmentRequest
|
|
12125
|
-
*/
|
|
12126
|
-
'minCapacity'?: number | null;
|
|
12127
|
-
/**
|
|
12128
|
-
* Optional. Maximum number of tasks for auto-scaling. If provided at root level, will be merged into composeDefinition.
|
|
12129
|
-
* @type {number}
|
|
12130
|
-
* @memberof UpdateEnvironmentRequest
|
|
12131
|
-
*/
|
|
12132
|
-
'maxCapacity'?: number | null;
|
|
12133
|
-
}
|
|
12134
12986
|
/**
|
|
12135
12987
|
*
|
|
12136
12988
|
* @export
|
|
@@ -12974,12 +13826,30 @@ export interface UpsertAgentOverlayRequest {
|
|
|
12974
13826
|
* @memberof UpsertAgentOverlayRequest
|
|
12975
13827
|
*/
|
|
12976
13828
|
'allowedCollections'?: Array<string>;
|
|
13829
|
+
/**
|
|
13830
|
+
* Registered MCP servers to attach. The agent gets the tools of each server in dashboard chat and in QuantCode. The overlay PUT replaces the whole overlay: omit the field or send an empty array to remove every attachment.
|
|
13831
|
+
* @type {Array<CreateAIAgentRequestMcpServersInner>}
|
|
13832
|
+
* @memberof UpsertAgentOverlayRequest
|
|
13833
|
+
*/
|
|
13834
|
+
'mcpServers'?: Array<CreateAIAgentRequestMcpServersInner>;
|
|
12977
13835
|
/**
|
|
12978
13836
|
* Guardrail preset
|
|
12979
13837
|
* @type {string}
|
|
12980
13838
|
* @memberof UpsertAgentOverlayRequest
|
|
12981
13839
|
*/
|
|
12982
13840
|
'guardrailPreset'?: UpsertAgentOverlayRequestGuardrailPresetEnum | null;
|
|
13841
|
+
/**
|
|
13842
|
+
* Force the 1M context window on (true) or off (false) for this organisation. Omit or null to use the platform default.
|
|
13843
|
+
* @type {boolean}
|
|
13844
|
+
* @memberof UpsertAgentOverlayRequest
|
|
13845
|
+
*/
|
|
13846
|
+
'longContext'?: boolean | null;
|
|
13847
|
+
/**
|
|
13848
|
+
* Filter policy IDs applied to this agent\'s requests for this organisation, with any organisation-wide mandatory policies
|
|
13849
|
+
* @type {Array<string>}
|
|
13850
|
+
* @memberof UpsertAgentOverlayRequest
|
|
13851
|
+
*/
|
|
13852
|
+
'filterPolicies'?: Array<string>;
|
|
12983
13853
|
/**
|
|
12984
13854
|
* Override the reasoning effort. Must be one of the levels the effective model lists in capabilities.effortLevels. Omit or null to use the global agent value.
|
|
12985
13855
|
* @type {string}
|
|
@@ -15808,7 +16678,7 @@ export const V2KvEntryPutResponseStatusEnum = {
|
|
|
15808
16678
|
export type V2KvEntryPutResponseStatusEnum = typeof V2KvEntryPutResponseStatusEnum[keyof typeof V2KvEntryPutResponseStatusEnum];
|
|
15809
16679
|
|
|
15810
16680
|
/**
|
|
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. |
|
|
16681
|
+
* Error body of every KV v2 route. A superset of V2Error. HTTP 400, 404, 409, 429 and 503 keep the KV service status, code and retryable. A KV service failure that the caller cannot act on is 500 INTERNAL. When retryable is true, the same request can be sent again (after Retry-After when present). | code | status | retryable | meaning | |---|---|---|---| | VALIDATION | 400 | false | The request is not valid (body, parameter, key or value). | | LIMIT_EXCEEDED | 400 | false | A size or count limit is exceeded (item over 400 KB, batch, transact, value). | | CURSOR_INVALID | 400 | false | The cursor is not valid for this request. Start the list again. | | REQUIRES_FORMAT_2 | 400 | false | The operation needs a format 2 store. Upgrade the store first. | | INDEX_FIELD_ENCRYPTED | 400 | false | An indexed field is in a secret (encrypted) value. | | COUNT_WITH_TTL | 400 | false | A count index cannot include items that have a ttl. | | LEDGER_IMMUTABLE | 400 | false | A ledger entry cannot be changed or deleted. Use append. | | LEDGER_INDEX_KIND | 400 | false | This index kind is not allowed on a ledger collection. | | LEDGER_SUBJECT_REQUIRED | 400 | false | The ledger needs a subject field in each entry. | | LEDGER_DIRECTION | 400 | false | A ledger setting can only be raised, not lowered. | | CONFIRMATION_REQUIRED | 400 | false | confirm is missing or does not equal the store name. | | SCOPE_REQUIRED | 403 | false | The token does not list the scope that the route needs. | | PERMISSION_DENIED | 403 | false | The role of the token user does not have the permission. | | FORBIDDEN | 403 | false | The store is a system store and cannot be purged, or it is linked from another project and only that project can delete or purge it. | | KEY_NOT_FOUND | 404 | false | The key does not exist or has expired. | | STORE_NOT_FOUND | 404 | false | The store does not exist or is not in this project. | | EXPORT_NOT_FOUND | 404 | false | The store has no export. | | LEDGER_NOT_FOUND | 404 | false | The ledger does not exist. | | SUBJECT_NOT_FOUND | 404 | false | The ledger has no entries for the subject. | | VERIFICATION_NOT_FOUND | 404 | false | The verification run does not exist. | | SHRED_NOT_FOUND | 404 | false | The erasure record does not exist. | | INDEX_NOT_FOUND | 404 | false | The index does not exist. | | NOT_FOUND | 404 | false | No archive, tombstone or purge exists for the store or purge id. | | UPGRADE_CONFLICT | 409 | false | The upgrade action is not valid in the current upgrade state. | | CONFLICT | 409 | false | A condition (ifAbsent, ifVersion, check) failed. See reason, key and currentVersion. | | UNIQUE_VIOLATION | 409 | false | A unique index already has the value. See index and existingKey. | | EXPORT_IN_PROGRESS | 409 | false | An export of the store is already running. | | LEDGER_COLLECTION_NOT_EMPTY | 409 | false | The collection already has items, so it cannot become a ledger. | | LEDGER_RETAINED | 409 | false | The ledger is in its retention period. See retainUntil. | | LEDGER_PRESENT | 409 | false | A ledger blocks the action. See ledgers. | | STORE_NAME_RETAINED | 409 | false | The store name is held by a retained ledger archive. | | LEDGER_FORKED | 409 | false | The ledger chain does not agree with its archive or digest. See reason. | | LEDGER_DROPPED | 409 | false | The ledger was dropped. | | LEDGER_FORMAT_RETIRED | 409 | false | The ledger uses a retired subject format. Declare a new ledger. | | STORE_NOT_DELETED | 409 | false | The store still exists. Delete the store first. | | ARCHIVE_RETAINED | 409 | false | The archive is still locked or in its 24-hour quiet period. See retainedUntil. | | PURGE_IN_PROGRESS | 409 | false | Another purge of the store is running. See purgeId. | | PURGE_BLOCKED | 409 | false | The last purge is blocked and needs Quant support. See purgeId. | | PURGE_NOT_COMPLETE | 409 | false | The purge is not complete, so there is no receipt yet. See state. | | DIGEST_OWED | 409 | true | The last ledger entries are not in a signed digest yet. Send the delete again in a few minutes. | | CONTENTION | 409 | true | Another write changed the same data at the same time. Send again. | | INDEX_NOT_READY | 409 | true | The index is still building. Send again later. | | LEDGER_NOT_READY | 409 | true | The ledger is PENDING. Send again after activeAfter. | | RATE_LIMITED | 429 | true | Too many requests. Wait for Retry-After seconds. Also retryAfter (seconds) on a purge start. | | INTERNAL | 500 | false | The KV service failed. No detail is given. | | STORE_MIGRATING | 503 | true | The store is being upgraded. Wait for Retry-After seconds. | | UNAVAILABLE | 503 | true (false when the outcome of a write is unknown) | The KV service did not answer. With retryable false, read the data before you send the write again. |
|
|
15812
16682
|
* @export
|
|
15813
16683
|
* @interface V2KvError
|
|
15814
16684
|
*/
|
|
@@ -23855,7 +24725,7 @@ export interface V2RuleProxyAction {
|
|
|
23855
24725
|
*/
|
|
23856
24726
|
'failover_origin_ttfb'?: string;
|
|
23857
24727
|
/**
|
|
23858
|
-
*
|
|
24728
|
+
* Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422 (it would fail over on every response). A PATCH replaces the list.
|
|
23859
24729
|
* @type {Array<string>}
|
|
23860
24730
|
* @memberof V2RuleProxyAction
|
|
23861
24731
|
*/
|
|
@@ -24238,7 +25108,7 @@ export interface V2RuleProxyRequest {
|
|
|
24238
25108
|
*/
|
|
24239
25109
|
'failover_origin_ttfb'?: string;
|
|
24240
25110
|
/**
|
|
24241
|
-
* Origin
|
|
25111
|
+
* Origin statuses that do not trigger failover. Any other origin status switches the rule to the static copy. With failover_mode true, a list left out gets the default 200, 301, 302, 304, 404, and an empty list is refused with 422. A PATCH replaces the list.
|
|
24242
25112
|
* @type {Array<string>}
|
|
24243
25113
|
* @memberof V2RuleProxyRequest
|
|
24244
25114
|
*/
|
|
@@ -27753,25 +28623,22 @@ export class AIAuditApi extends BaseAPI {
|
|
|
27753
28623
|
|
|
27754
28624
|
|
|
27755
28625
|
/**
|
|
27756
|
-
*
|
|
28626
|
+
* AIAutoModeApi - axios parameter creator
|
|
27757
28627
|
* @export
|
|
27758
28628
|
*/
|
|
27759
|
-
export const
|
|
28629
|
+
export const AIAutoModeApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27760
28630
|
return {
|
|
27761
28631
|
/**
|
|
27762
|
-
*
|
|
27763
|
-
* @summary
|
|
28632
|
+
*
|
|
28633
|
+
* @summary Remove the auto mode setting for an organisation
|
|
27764
28634
|
* @param {string} organisation The organisation ID
|
|
27765
|
-
* @param {CreateCustomToolRequest} createCustomToolRequest
|
|
27766
28635
|
* @param {*} [options] Override http request option.
|
|
27767
28636
|
* @throws {RequiredError}
|
|
27768
28637
|
*/
|
|
27769
|
-
|
|
28638
|
+
deleteAutoMode: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27770
28639
|
// verify required parameter 'organisation' is not null or undefined
|
|
27771
|
-
assertParamExists('
|
|
27772
|
-
|
|
27773
|
-
assertParamExists('createCustomTool', 'createCustomToolRequest', createCustomToolRequest)
|
|
27774
|
-
const localVarPath = `/api/v3/organizations/{organisation}/ai/custom-tools`
|
|
28640
|
+
assertParamExists('deleteAutoMode', 'organisation', organisation)
|
|
28641
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
|
|
27775
28642
|
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
27776
28643
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27777
28644
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -27780,7 +28647,86 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27780
28647
|
baseOptions = configuration.baseOptions;
|
|
27781
28648
|
}
|
|
27782
28649
|
|
|
27783
|
-
const localVarRequestOptions = { method: '
|
|
28650
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
28651
|
+
const localVarHeaderParameter = {} as any;
|
|
28652
|
+
const localVarQueryParameter = {} as any;
|
|
28653
|
+
|
|
28654
|
+
// authentication BearerAuth required
|
|
28655
|
+
// http bearer authentication required
|
|
28656
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28657
|
+
|
|
28658
|
+
|
|
28659
|
+
|
|
28660
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28661
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28662
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28663
|
+
|
|
28664
|
+
return {
|
|
28665
|
+
url: toPathString(localVarUrlObj),
|
|
28666
|
+
options: localVarRequestOptions,
|
|
28667
|
+
};
|
|
28668
|
+
},
|
|
28669
|
+
/**
|
|
28670
|
+
*
|
|
28671
|
+
* @summary Get the auto mode setting for an organisation
|
|
28672
|
+
* @param {string} organisation The organisation ID
|
|
28673
|
+
* @param {*} [options] Override http request option.
|
|
28674
|
+
* @throws {RequiredError}
|
|
28675
|
+
*/
|
|
28676
|
+
getAutoMode: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28677
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
28678
|
+
assertParamExists('getAutoMode', 'organisation', organisation)
|
|
28679
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
|
|
28680
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
28681
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28682
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28683
|
+
let baseOptions;
|
|
28684
|
+
if (configuration) {
|
|
28685
|
+
baseOptions = configuration.baseOptions;
|
|
28686
|
+
}
|
|
28687
|
+
|
|
28688
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
28689
|
+
const localVarHeaderParameter = {} as any;
|
|
28690
|
+
const localVarQueryParameter = {} as any;
|
|
28691
|
+
|
|
28692
|
+
// authentication BearerAuth required
|
|
28693
|
+
// http bearer authentication required
|
|
28694
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
28695
|
+
|
|
28696
|
+
|
|
28697
|
+
|
|
28698
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28699
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28700
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28701
|
+
|
|
28702
|
+
return {
|
|
28703
|
+
url: toPathString(localVarUrlObj),
|
|
28704
|
+
options: localVarRequestOptions,
|
|
28705
|
+
};
|
|
28706
|
+
},
|
|
28707
|
+
/**
|
|
28708
|
+
*
|
|
28709
|
+
* @summary Save the auto mode setting for an organisation
|
|
28710
|
+
* @param {string} organisation The organisation ID
|
|
28711
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
28712
|
+
* @param {*} [options] Override http request option.
|
|
28713
|
+
* @throws {RequiredError}
|
|
28714
|
+
*/
|
|
28715
|
+
updateAutoMode: async (organisation: string, aIAutoModeInput: AIAutoModeInput, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28716
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
28717
|
+
assertParamExists('updateAutoMode', 'organisation', organisation)
|
|
28718
|
+
// verify required parameter 'aIAutoModeInput' is not null or undefined
|
|
28719
|
+
assertParamExists('updateAutoMode', 'aIAutoModeInput', aIAutoModeInput)
|
|
28720
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
|
|
28721
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
28722
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28723
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28724
|
+
let baseOptions;
|
|
28725
|
+
if (configuration) {
|
|
28726
|
+
baseOptions = configuration.baseOptions;
|
|
28727
|
+
}
|
|
28728
|
+
|
|
28729
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
27784
28730
|
const localVarHeaderParameter = {} as any;
|
|
27785
28731
|
const localVarQueryParameter = {} as any;
|
|
27786
28732
|
|
|
@@ -27795,29 +28741,175 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27795
28741
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27796
28742
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27797
28743
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
27798
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
28744
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aIAutoModeInput, localVarRequestOptions, configuration)
|
|
27799
28745
|
|
|
27800
28746
|
return {
|
|
27801
28747
|
url: toPathString(localVarUrlObj),
|
|
27802
28748
|
options: localVarRequestOptions,
|
|
27803
28749
|
};
|
|
27804
28750
|
},
|
|
28751
|
+
}
|
|
28752
|
+
};
|
|
28753
|
+
|
|
28754
|
+
/**
|
|
28755
|
+
* AIAutoModeApi - functional programming interface
|
|
28756
|
+
* @export
|
|
28757
|
+
*/
|
|
28758
|
+
export const AIAutoModeApiFp = function(configuration?: Configuration) {
|
|
28759
|
+
const localVarAxiosParamCreator = AIAutoModeApiAxiosParamCreator(configuration)
|
|
28760
|
+
return {
|
|
27805
28761
|
/**
|
|
27806
|
-
*
|
|
27807
|
-
* @summary
|
|
28762
|
+
*
|
|
28763
|
+
* @summary Remove the auto mode setting for an organisation
|
|
27808
28764
|
* @param {string} organisation The organisation ID
|
|
27809
|
-
* @param {string} toolName The tool name to delete
|
|
27810
28765
|
* @param {*} [options] Override http request option.
|
|
27811
28766
|
* @throws {RequiredError}
|
|
27812
28767
|
*/
|
|
27813
|
-
|
|
28768
|
+
async deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteAutoMode200Response>> {
|
|
28769
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAutoMode(organisation, options);
|
|
28770
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28771
|
+
const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.deleteAutoMode']?.[localVarOperationServerIndex]?.url;
|
|
28772
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28773
|
+
},
|
|
28774
|
+
/**
|
|
28775
|
+
*
|
|
28776
|
+
* @summary Get the auto mode setting for an organisation
|
|
28777
|
+
* @param {string} organisation The organisation ID
|
|
28778
|
+
* @param {*} [options] Override http request option.
|
|
28779
|
+
* @throws {RequiredError}
|
|
28780
|
+
*/
|
|
28781
|
+
async getAutoMode(organisation: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAutoMode200Response>> {
|
|
28782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAutoMode(organisation, options);
|
|
28783
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28784
|
+
const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.getAutoMode']?.[localVarOperationServerIndex]?.url;
|
|
28785
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28786
|
+
},
|
|
28787
|
+
/**
|
|
28788
|
+
*
|
|
28789
|
+
* @summary Save the auto mode setting for an organisation
|
|
28790
|
+
* @param {string} organisation The organisation ID
|
|
28791
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
28792
|
+
* @param {*} [options] Override http request option.
|
|
28793
|
+
* @throws {RequiredError}
|
|
28794
|
+
*/
|
|
28795
|
+
async updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAutoMode200Response>> {
|
|
28796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAutoMode(organisation, aIAutoModeInput, options);
|
|
28797
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28798
|
+
const localVarOperationServerBasePath = operationServerMap['AIAutoModeApi.updateAutoMode']?.[localVarOperationServerIndex]?.url;
|
|
28799
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
28800
|
+
},
|
|
28801
|
+
}
|
|
28802
|
+
};
|
|
28803
|
+
|
|
28804
|
+
/**
|
|
28805
|
+
* AIAutoModeApi - factory interface
|
|
28806
|
+
* @export
|
|
28807
|
+
*/
|
|
28808
|
+
export const AIAutoModeApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
28809
|
+
const localVarFp = AIAutoModeApiFp(configuration)
|
|
28810
|
+
return {
|
|
28811
|
+
/**
|
|
28812
|
+
*
|
|
28813
|
+
* @summary Remove the auto mode setting for an organisation
|
|
28814
|
+
* @param {string} organisation The organisation ID
|
|
28815
|
+
* @param {*} [options] Override http request option.
|
|
28816
|
+
* @throws {RequiredError}
|
|
28817
|
+
*/
|
|
28818
|
+
deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteAutoMode200Response> {
|
|
28819
|
+
return localVarFp.deleteAutoMode(organisation, options).then((request) => request(axios, basePath));
|
|
28820
|
+
},
|
|
28821
|
+
/**
|
|
28822
|
+
*
|
|
28823
|
+
* @summary Get the auto mode setting for an organisation
|
|
28824
|
+
* @param {string} organisation The organisation ID
|
|
28825
|
+
* @param {*} [options] Override http request option.
|
|
28826
|
+
* @throws {RequiredError}
|
|
28827
|
+
*/
|
|
28828
|
+
getAutoMode(organisation: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAutoMode200Response> {
|
|
28829
|
+
return localVarFp.getAutoMode(organisation, options).then((request) => request(axios, basePath));
|
|
28830
|
+
},
|
|
28831
|
+
/**
|
|
28832
|
+
*
|
|
28833
|
+
* @summary Save the auto mode setting for an organisation
|
|
28834
|
+
* @param {string} organisation The organisation ID
|
|
28835
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
28836
|
+
* @param {*} [options] Override http request option.
|
|
28837
|
+
* @throws {RequiredError}
|
|
28838
|
+
*/
|
|
28839
|
+
updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAutoMode200Response> {
|
|
28840
|
+
return localVarFp.updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(axios, basePath));
|
|
28841
|
+
},
|
|
28842
|
+
};
|
|
28843
|
+
};
|
|
28844
|
+
|
|
28845
|
+
/**
|
|
28846
|
+
* AIAutoModeApi - object-oriented interface
|
|
28847
|
+
* @export
|
|
28848
|
+
* @class AIAutoModeApi
|
|
28849
|
+
* @extends {BaseAPI}
|
|
28850
|
+
*/
|
|
28851
|
+
export class AIAutoModeApi extends BaseAPI {
|
|
28852
|
+
/**
|
|
28853
|
+
*
|
|
28854
|
+
* @summary Remove the auto mode setting for an organisation
|
|
28855
|
+
* @param {string} organisation The organisation ID
|
|
28856
|
+
* @param {*} [options] Override http request option.
|
|
28857
|
+
* @throws {RequiredError}
|
|
28858
|
+
* @memberof AIAutoModeApi
|
|
28859
|
+
*/
|
|
28860
|
+
public deleteAutoMode(organisation: string, options?: RawAxiosRequestConfig) {
|
|
28861
|
+
return AIAutoModeApiFp(this.configuration).deleteAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
28862
|
+
}
|
|
28863
|
+
|
|
28864
|
+
/**
|
|
28865
|
+
*
|
|
28866
|
+
* @summary Get the auto mode setting for an organisation
|
|
28867
|
+
* @param {string} organisation The organisation ID
|
|
28868
|
+
* @param {*} [options] Override http request option.
|
|
28869
|
+
* @throws {RequiredError}
|
|
28870
|
+
* @memberof AIAutoModeApi
|
|
28871
|
+
*/
|
|
28872
|
+
public getAutoMode(organisation: string, options?: RawAxiosRequestConfig) {
|
|
28873
|
+
return AIAutoModeApiFp(this.configuration).getAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
|
|
28874
|
+
}
|
|
28875
|
+
|
|
28876
|
+
/**
|
|
28877
|
+
*
|
|
28878
|
+
* @summary Save the auto mode setting for an organisation
|
|
28879
|
+
* @param {string} organisation The organisation ID
|
|
28880
|
+
* @param {AIAutoModeInput} aIAutoModeInput
|
|
28881
|
+
* @param {*} [options] Override http request option.
|
|
28882
|
+
* @throws {RequiredError}
|
|
28883
|
+
* @memberof AIAutoModeApi
|
|
28884
|
+
*/
|
|
28885
|
+
public updateAutoMode(organisation: string, aIAutoModeInput: AIAutoModeInput, options?: RawAxiosRequestConfig) {
|
|
28886
|
+
return AIAutoModeApiFp(this.configuration).updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(this.axios, this.basePath));
|
|
28887
|
+
}
|
|
28888
|
+
}
|
|
28889
|
+
|
|
28890
|
+
|
|
28891
|
+
|
|
28892
|
+
/**
|
|
28893
|
+
* AICustomToolsApi - axios parameter creator
|
|
28894
|
+
* @export
|
|
28895
|
+
*/
|
|
28896
|
+
export const AICustomToolsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28897
|
+
return {
|
|
28898
|
+
/**
|
|
28899
|
+
* Registers a custom edge function as a tool that AI models can invoke. Provide `edgeFunctionCode` (JavaScript) and the API will deploy it to the CDN, compute the edge function URL, and register the tool. * * **Edge Function Contract:** * - Edge functions must accept POST requests with JSON payload * - Expected request format: `{ \'toolName\': \'...\', \'input\': {...}, \'orgId\': \'...\' }` * - Must return JSON response with either `result` or `error` field * * **Idempotent Updates:** * POSTing with the same `name` will update the existing tool — the edge function code is redeployed to the same UUID and the tool registration is updated. * * **Async Tools:** * Set `isAsync: true` for operations >5 seconds. The edge function should return `{ executionId: \'...\' }` and the AI will poll for completion.
|
|
28900
|
+
* @summary Register Custom Edge Function Tool
|
|
28901
|
+
* @param {string} organisation The organisation ID
|
|
28902
|
+
* @param {CreateCustomToolRequest} createCustomToolRequest
|
|
28903
|
+
* @param {*} [options] Override http request option.
|
|
28904
|
+
* @throws {RequiredError}
|
|
28905
|
+
*/
|
|
28906
|
+
createCustomTool: async (organisation: string, createCustomToolRequest: CreateCustomToolRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27814
28907
|
// verify required parameter 'organisation' is not null or undefined
|
|
27815
|
-
assertParamExists('
|
|
27816
|
-
// verify required parameter '
|
|
27817
|
-
assertParamExists('
|
|
27818
|
-
const localVarPath = `/api/v3/organizations/{organisation}/ai/custom-tools
|
|
27819
|
-
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
27820
|
-
.replace(`{${"toolName"}}`, encodeURIComponent(String(toolName)));
|
|
28908
|
+
assertParamExists('createCustomTool', 'organisation', organisation)
|
|
28909
|
+
// verify required parameter 'createCustomToolRequest' is not null or undefined
|
|
28910
|
+
assertParamExists('createCustomTool', 'createCustomToolRequest', createCustomToolRequest)
|
|
28911
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/custom-tools`
|
|
28912
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
27821
28913
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27822
28914
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27823
28915
|
let baseOptions;
|
|
@@ -27825,7 +28917,7 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27825
28917
|
baseOptions = configuration.baseOptions;
|
|
27826
28918
|
}
|
|
27827
28919
|
|
|
27828
|
-
const localVarRequestOptions = { method: '
|
|
28920
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
27829
28921
|
const localVarHeaderParameter = {} as any;
|
|
27830
28922
|
const localVarQueryParameter = {} as any;
|
|
27831
28923
|
|
|
@@ -27835,9 +28927,12 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27835
28927
|
|
|
27836
28928
|
|
|
27837
28929
|
|
|
28930
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28931
|
+
|
|
27838
28932
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27839
28933
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27840
28934
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28935
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCustomToolRequest, localVarRequestOptions, configuration)
|
|
27841
28936
|
|
|
27842
28937
|
return {
|
|
27843
28938
|
url: toPathString(localVarUrlObj),
|
|
@@ -27845,18 +28940,18 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27845
28940
|
};
|
|
27846
28941
|
},
|
|
27847
28942
|
/**
|
|
27848
|
-
*
|
|
27849
|
-
* @summary
|
|
28943
|
+
* Deletes a custom tool registration and its deployed edge function.
|
|
28944
|
+
* @summary Delete Custom Tool
|
|
27850
28945
|
* @param {string} organisation The organisation ID
|
|
27851
|
-
* @param {string} toolName The tool name to
|
|
28946
|
+
* @param {string} toolName The tool name to delete
|
|
27852
28947
|
* @param {*} [options] Override http request option.
|
|
27853
28948
|
* @throws {RequiredError}
|
|
27854
28949
|
*/
|
|
27855
|
-
|
|
28950
|
+
deleteCustomTool: async (organisation: string, toolName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27856
28951
|
// verify required parameter 'organisation' is not null or undefined
|
|
27857
|
-
assertParamExists('
|
|
28952
|
+
assertParamExists('deleteCustomTool', 'organisation', organisation)
|
|
27858
28953
|
// verify required parameter 'toolName' is not null or undefined
|
|
27859
|
-
assertParamExists('
|
|
28954
|
+
assertParamExists('deleteCustomTool', 'toolName', toolName)
|
|
27860
28955
|
const localVarPath = `/api/v3/organizations/{organisation}/ai/custom-tools/{toolName}`
|
|
27861
28956
|
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
27862
28957
|
.replace(`{${"toolName"}}`, encodeURIComponent(String(toolName)));
|
|
@@ -27867,7 +28962,7 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27867
28962
|
baseOptions = configuration.baseOptions;
|
|
27868
28963
|
}
|
|
27869
28964
|
|
|
27870
|
-
const localVarRequestOptions = { method: '
|
|
28965
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
27871
28966
|
const localVarHeaderParameter = {} as any;
|
|
27872
28967
|
const localVarQueryParameter = {} as any;
|
|
27873
28968
|
|
|
@@ -27887,17 +28982,59 @@ export const AICustomToolsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
27887
28982
|
};
|
|
27888
28983
|
},
|
|
27889
28984
|
/**
|
|
27890
|
-
*
|
|
27891
|
-
* @summary
|
|
28985
|
+
* Retrieves a single registered custom tool by name.
|
|
28986
|
+
* @summary Get Custom Tool
|
|
27892
28987
|
* @param {string} organisation The organisation ID
|
|
28988
|
+
* @param {string} toolName The tool name to retrieve
|
|
27893
28989
|
* @param {*} [options] Override http request option.
|
|
27894
28990
|
* @throws {RequiredError}
|
|
27895
28991
|
*/
|
|
27896
|
-
|
|
28992
|
+
getCustomTool: async (organisation: string, toolName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27897
28993
|
// verify required parameter 'organisation' is not null or undefined
|
|
27898
|
-
assertParamExists('
|
|
27899
|
-
|
|
27900
|
-
|
|
28994
|
+
assertParamExists('getCustomTool', 'organisation', organisation)
|
|
28995
|
+
// verify required parameter 'toolName' is not null or undefined
|
|
28996
|
+
assertParamExists('getCustomTool', 'toolName', toolName)
|
|
28997
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/custom-tools/{toolName}`
|
|
28998
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
28999
|
+
.replace(`{${"toolName"}}`, encodeURIComponent(String(toolName)));
|
|
29000
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29001
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29002
|
+
let baseOptions;
|
|
29003
|
+
if (configuration) {
|
|
29004
|
+
baseOptions = configuration.baseOptions;
|
|
29005
|
+
}
|
|
29006
|
+
|
|
29007
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29008
|
+
const localVarHeaderParameter = {} as any;
|
|
29009
|
+
const localVarQueryParameter = {} as any;
|
|
29010
|
+
|
|
29011
|
+
// authentication BearerAuth required
|
|
29012
|
+
// http bearer authentication required
|
|
29013
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29014
|
+
|
|
29015
|
+
|
|
29016
|
+
|
|
29017
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29018
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29019
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29020
|
+
|
|
29021
|
+
return {
|
|
29022
|
+
url: toPathString(localVarUrlObj),
|
|
29023
|
+
options: localVarRequestOptions,
|
|
29024
|
+
};
|
|
29025
|
+
},
|
|
29026
|
+
/**
|
|
29027
|
+
* Lists all registered custom edge function tools for an organization.
|
|
29028
|
+
* @summary List Custom Tools
|
|
29029
|
+
* @param {string} organisation The organisation ID
|
|
29030
|
+
* @param {*} [options] Override http request option.
|
|
29031
|
+
* @throws {RequiredError}
|
|
29032
|
+
*/
|
|
29033
|
+
listCustomTools: async (organisation: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29034
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
29035
|
+
assertParamExists('listCustomTools', 'organisation', organisation)
|
|
29036
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ai/custom-tools`
|
|
29037
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
27901
29038
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27902
29039
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27903
29040
|
let baseOptions;
|
|
@@ -37431,6 +38568,125 @@ export class AIVectorDatabaseApi extends BaseAPI {
|
|
|
37431
38568
|
|
|
37432
38569
|
|
|
37433
38570
|
|
|
38571
|
+
/**
|
|
38572
|
+
* AlertChannelsApi - axios parameter creator
|
|
38573
|
+
* @export
|
|
38574
|
+
*/
|
|
38575
|
+
export const AlertChannelsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38576
|
+
return {
|
|
38577
|
+
/**
|
|
38578
|
+
* Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
|
|
38579
|
+
* @summary List the organisation\'s alert channels
|
|
38580
|
+
* @param {string} organisation The organisation machine name
|
|
38581
|
+
* @param {string} project The project machine name
|
|
38582
|
+
* @param {*} [options] Override http request option.
|
|
38583
|
+
* @throws {RequiredError}
|
|
38584
|
+
*/
|
|
38585
|
+
alertChannelsList: async (organisation: string, project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38586
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
38587
|
+
assertParamExists('alertChannelsList', 'organisation', organisation)
|
|
38588
|
+
// verify required parameter 'project' is not null or undefined
|
|
38589
|
+
assertParamExists('alertChannelsList', 'project', project)
|
|
38590
|
+
const localVarPath = `/api/v3/organizations/{organisation}/projects/{project}/alert-channels`
|
|
38591
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
38592
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
38593
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38594
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38595
|
+
let baseOptions;
|
|
38596
|
+
if (configuration) {
|
|
38597
|
+
baseOptions = configuration.baseOptions;
|
|
38598
|
+
}
|
|
38599
|
+
|
|
38600
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38601
|
+
const localVarHeaderParameter = {} as any;
|
|
38602
|
+
const localVarQueryParameter = {} as any;
|
|
38603
|
+
|
|
38604
|
+
// authentication BearerAuth required
|
|
38605
|
+
// http bearer authentication required
|
|
38606
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38607
|
+
|
|
38608
|
+
|
|
38609
|
+
|
|
38610
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38611
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38612
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38613
|
+
|
|
38614
|
+
return {
|
|
38615
|
+
url: toPathString(localVarUrlObj),
|
|
38616
|
+
options: localVarRequestOptions,
|
|
38617
|
+
};
|
|
38618
|
+
},
|
|
38619
|
+
}
|
|
38620
|
+
};
|
|
38621
|
+
|
|
38622
|
+
/**
|
|
38623
|
+
* AlertChannelsApi - functional programming interface
|
|
38624
|
+
* @export
|
|
38625
|
+
*/
|
|
38626
|
+
export const AlertChannelsApiFp = function(configuration?: Configuration) {
|
|
38627
|
+
const localVarAxiosParamCreator = AlertChannelsApiAxiosParamCreator(configuration)
|
|
38628
|
+
return {
|
|
38629
|
+
/**
|
|
38630
|
+
* Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
|
|
38631
|
+
* @summary List the organisation\'s alert channels
|
|
38632
|
+
* @param {string} organisation The organisation machine name
|
|
38633
|
+
* @param {string} project The project machine name
|
|
38634
|
+
* @param {*} [options] Override http request option.
|
|
38635
|
+
* @throws {RequiredError}
|
|
38636
|
+
*/
|
|
38637
|
+
async alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertChannelList>> {
|
|
38638
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.alertChannelsList(organisation, project, options);
|
|
38639
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38640
|
+
const localVarOperationServerBasePath = operationServerMap['AlertChannelsApi.alertChannelsList']?.[localVarOperationServerIndex]?.url;
|
|
38641
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38642
|
+
},
|
|
38643
|
+
}
|
|
38644
|
+
};
|
|
38645
|
+
|
|
38646
|
+
/**
|
|
38647
|
+
* AlertChannelsApi - factory interface
|
|
38648
|
+
* @export
|
|
38649
|
+
*/
|
|
38650
|
+
export const AlertChannelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38651
|
+
const localVarFp = AlertChannelsApiFp(configuration)
|
|
38652
|
+
return {
|
|
38653
|
+
/**
|
|
38654
|
+
* Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
|
|
38655
|
+
* @summary List the organisation\'s alert channels
|
|
38656
|
+
* @param {string} organisation The organisation machine name
|
|
38657
|
+
* @param {string} project The project machine name
|
|
38658
|
+
* @param {*} [options] Override http request option.
|
|
38659
|
+
* @throws {RequiredError}
|
|
38660
|
+
*/
|
|
38661
|
+
alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig): AxiosPromise<AlertChannelList> {
|
|
38662
|
+
return localVarFp.alertChannelsList(organisation, project, options).then((request) => request(axios, basePath));
|
|
38663
|
+
},
|
|
38664
|
+
};
|
|
38665
|
+
};
|
|
38666
|
+
|
|
38667
|
+
/**
|
|
38668
|
+
* AlertChannelsApi - object-oriented interface
|
|
38669
|
+
* @export
|
|
38670
|
+
* @class AlertChannelsApi
|
|
38671
|
+
* @extends {BaseAPI}
|
|
38672
|
+
*/
|
|
38673
|
+
export class AlertChannelsApi extends BaseAPI {
|
|
38674
|
+
/**
|
|
38675
|
+
* Returns every alert channel of the organisation (channels are organisation-wide; the project segment lets a project-limited token call it). Each item has the ID, name, type and a masked hint only. Needs the alert-channels:read scope and the view_alert_channels permission.
|
|
38676
|
+
* @summary List the organisation\'s alert channels
|
|
38677
|
+
* @param {string} organisation The organisation machine name
|
|
38678
|
+
* @param {string} project The project machine name
|
|
38679
|
+
* @param {*} [options] Override http request option.
|
|
38680
|
+
* @throws {RequiredError}
|
|
38681
|
+
* @memberof AlertChannelsApi
|
|
38682
|
+
*/
|
|
38683
|
+
public alertChannelsList(organisation: string, project: string, options?: RawAxiosRequestConfig) {
|
|
38684
|
+
return AlertChannelsApiFp(this.configuration).alertChannelsList(organisation, project, options).then((request) => request(this.axios, this.basePath));
|
|
38685
|
+
}
|
|
38686
|
+
}
|
|
38687
|
+
|
|
38688
|
+
|
|
38689
|
+
|
|
37434
38690
|
/**
|
|
37435
38691
|
* ApplicationsApi - axios parameter creator
|
|
37436
38692
|
* @export
|
|
@@ -39045,6 +40301,303 @@ export const GetMonthlyMetricsTimestampFormatEnum = {
|
|
|
39045
40301
|
export type GetMonthlyMetricsTimestampFormatEnum = typeof GetMonthlyMetricsTimestampFormatEnum[keyof typeof GetMonthlyMetricsTimestampFormatEnum];
|
|
39046
40302
|
|
|
39047
40303
|
|
|
40304
|
+
/**
|
|
40305
|
+
* CIValuesApi - axios parameter creator
|
|
40306
|
+
* @export
|
|
40307
|
+
*/
|
|
40308
|
+
export const CIValuesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40309
|
+
return {
|
|
40310
|
+
/**
|
|
40311
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
40312
|
+
* @summary Delete a CI secret or variable
|
|
40313
|
+
* @param {string} organisation The organisation ID
|
|
40314
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40315
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
40316
|
+
* @param {*} [options] Override http request option.
|
|
40317
|
+
* @throws {RequiredError}
|
|
40318
|
+
*/
|
|
40319
|
+
deleteCiValue: async (organisation: string, name: string, repo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40320
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
40321
|
+
assertParamExists('deleteCiValue', 'organisation', organisation)
|
|
40322
|
+
// verify required parameter 'name' is not null or undefined
|
|
40323
|
+
assertParamExists('deleteCiValue', 'name', name)
|
|
40324
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
|
|
40325
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
40326
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
40327
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40328
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40329
|
+
let baseOptions;
|
|
40330
|
+
if (configuration) {
|
|
40331
|
+
baseOptions = configuration.baseOptions;
|
|
40332
|
+
}
|
|
40333
|
+
|
|
40334
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
40335
|
+
const localVarHeaderParameter = {} as any;
|
|
40336
|
+
const localVarQueryParameter = {} as any;
|
|
40337
|
+
|
|
40338
|
+
// authentication BearerAuth required
|
|
40339
|
+
// http bearer authentication required
|
|
40340
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
40341
|
+
|
|
40342
|
+
if (repo !== undefined) {
|
|
40343
|
+
localVarQueryParameter['repo'] = repo;
|
|
40344
|
+
}
|
|
40345
|
+
|
|
40346
|
+
|
|
40347
|
+
|
|
40348
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40350
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40351
|
+
|
|
40352
|
+
return {
|
|
40353
|
+
url: toPathString(localVarUrlObj),
|
|
40354
|
+
options: localVarRequestOptions,
|
|
40355
|
+
};
|
|
40356
|
+
},
|
|
40357
|
+
/**
|
|
40358
|
+
* Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
|
|
40359
|
+
* @summary List the CI secrets and variables
|
|
40360
|
+
* @param {string} organisation The organisation ID
|
|
40361
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
40362
|
+
* @param {*} [options] Override http request option.
|
|
40363
|
+
* @throws {RequiredError}
|
|
40364
|
+
*/
|
|
40365
|
+
listCiValues: async (organisation: string, repo?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40366
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
40367
|
+
assertParamExists('listCiValues', 'organisation', organisation)
|
|
40368
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ci/values`
|
|
40369
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
|
|
40370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40372
|
+
let baseOptions;
|
|
40373
|
+
if (configuration) {
|
|
40374
|
+
baseOptions = configuration.baseOptions;
|
|
40375
|
+
}
|
|
40376
|
+
|
|
40377
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
40378
|
+
const localVarHeaderParameter = {} as any;
|
|
40379
|
+
const localVarQueryParameter = {} as any;
|
|
40380
|
+
|
|
40381
|
+
// authentication BearerAuth required
|
|
40382
|
+
// http bearer authentication required
|
|
40383
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
40384
|
+
|
|
40385
|
+
if (repo !== undefined) {
|
|
40386
|
+
localVarQueryParameter['repo'] = repo;
|
|
40387
|
+
}
|
|
40388
|
+
|
|
40389
|
+
|
|
40390
|
+
|
|
40391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40393
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40394
|
+
|
|
40395
|
+
return {
|
|
40396
|
+
url: toPathString(localVarUrlObj),
|
|
40397
|
+
options: localVarRequestOptions,
|
|
40398
|
+
};
|
|
40399
|
+
},
|
|
40400
|
+
/**
|
|
40401
|
+
* Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
|
|
40402
|
+
* @summary Create or replace a CI secret or variable
|
|
40403
|
+
* @param {string} organisation The organisation ID
|
|
40404
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40405
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
40406
|
+
* @param {*} [options] Override http request option.
|
|
40407
|
+
* @throws {RequiredError}
|
|
40408
|
+
*/
|
|
40409
|
+
putCiValue: async (organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40410
|
+
// verify required parameter 'organisation' is not null or undefined
|
|
40411
|
+
assertParamExists('putCiValue', 'organisation', organisation)
|
|
40412
|
+
// verify required parameter 'name' is not null or undefined
|
|
40413
|
+
assertParamExists('putCiValue', 'name', name)
|
|
40414
|
+
// verify required parameter 'putCiValueRequest' is not null or undefined
|
|
40415
|
+
assertParamExists('putCiValue', 'putCiValueRequest', putCiValueRequest)
|
|
40416
|
+
const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
|
|
40417
|
+
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
40418
|
+
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
40419
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40420
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40421
|
+
let baseOptions;
|
|
40422
|
+
if (configuration) {
|
|
40423
|
+
baseOptions = configuration.baseOptions;
|
|
40424
|
+
}
|
|
40425
|
+
|
|
40426
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
40427
|
+
const localVarHeaderParameter = {} as any;
|
|
40428
|
+
const localVarQueryParameter = {} as any;
|
|
40429
|
+
|
|
40430
|
+
// authentication BearerAuth required
|
|
40431
|
+
// http bearer authentication required
|
|
40432
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
40433
|
+
|
|
40434
|
+
|
|
40435
|
+
|
|
40436
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40437
|
+
|
|
40438
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40439
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40440
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
40441
|
+
localVarRequestOptions.data = serializeDataIfNeeded(putCiValueRequest, localVarRequestOptions, configuration)
|
|
40442
|
+
|
|
40443
|
+
return {
|
|
40444
|
+
url: toPathString(localVarUrlObj),
|
|
40445
|
+
options: localVarRequestOptions,
|
|
40446
|
+
};
|
|
40447
|
+
},
|
|
40448
|
+
}
|
|
40449
|
+
};
|
|
40450
|
+
|
|
40451
|
+
/**
|
|
40452
|
+
* CIValuesApi - functional programming interface
|
|
40453
|
+
* @export
|
|
40454
|
+
*/
|
|
40455
|
+
export const CIValuesApiFp = function(configuration?: Configuration) {
|
|
40456
|
+
const localVarAxiosParamCreator = CIValuesApiAxiosParamCreator(configuration)
|
|
40457
|
+
return {
|
|
40458
|
+
/**
|
|
40459
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
40460
|
+
* @summary Delete a CI secret or variable
|
|
40461
|
+
* @param {string} organisation The organisation ID
|
|
40462
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40463
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
40464
|
+
* @param {*} [options] Override http request option.
|
|
40465
|
+
* @throws {RequiredError}
|
|
40466
|
+
*/
|
|
40467
|
+
async deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
40468
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCiValue(organisation, name, repo, options);
|
|
40469
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40470
|
+
const localVarOperationServerBasePath = operationServerMap['CIValuesApi.deleteCiValue']?.[localVarOperationServerIndex]?.url;
|
|
40471
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40472
|
+
},
|
|
40473
|
+
/**
|
|
40474
|
+
* Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
|
|
40475
|
+
* @summary List the CI secrets and variables
|
|
40476
|
+
* @param {string} organisation The organisation ID
|
|
40477
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
40478
|
+
* @param {*} [options] Override http request option.
|
|
40479
|
+
* @throws {RequiredError}
|
|
40480
|
+
*/
|
|
40481
|
+
async listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCiValues200Response>> {
|
|
40482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCiValues(organisation, repo, options);
|
|
40483
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40484
|
+
const localVarOperationServerBasePath = operationServerMap['CIValuesApi.listCiValues']?.[localVarOperationServerIndex]?.url;
|
|
40485
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40486
|
+
},
|
|
40487
|
+
/**
|
|
40488
|
+
* Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
|
|
40489
|
+
* @summary Create or replace a CI secret or variable
|
|
40490
|
+
* @param {string} organisation The organisation ID
|
|
40491
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40492
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
40493
|
+
* @param {*} [options] Override http request option.
|
|
40494
|
+
* @throws {RequiredError}
|
|
40495
|
+
*/
|
|
40496
|
+
async putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CiValueWriteResult>> {
|
|
40497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putCiValue(organisation, name, putCiValueRequest, options);
|
|
40498
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40499
|
+
const localVarOperationServerBasePath = operationServerMap['CIValuesApi.putCiValue']?.[localVarOperationServerIndex]?.url;
|
|
40500
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40501
|
+
},
|
|
40502
|
+
}
|
|
40503
|
+
};
|
|
40504
|
+
|
|
40505
|
+
/**
|
|
40506
|
+
* CIValuesApi - factory interface
|
|
40507
|
+
* @export
|
|
40508
|
+
*/
|
|
40509
|
+
export const CIValuesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
40510
|
+
const localVarFp = CIValuesApiFp(configuration)
|
|
40511
|
+
return {
|
|
40512
|
+
/**
|
|
40513
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
40514
|
+
* @summary Delete a CI secret or variable
|
|
40515
|
+
* @param {string} organisation The organisation ID
|
|
40516
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40517
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
40518
|
+
* @param {*} [options] Override http request option.
|
|
40519
|
+
* @throws {RequiredError}
|
|
40520
|
+
*/
|
|
40521
|
+
deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
40522
|
+
return localVarFp.deleteCiValue(organisation, name, repo, options).then((request) => request(axios, basePath));
|
|
40523
|
+
},
|
|
40524
|
+
/**
|
|
40525
|
+
* Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
|
|
40526
|
+
* @summary List the CI secrets and variables
|
|
40527
|
+
* @param {string} organisation The organisation ID
|
|
40528
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
40529
|
+
* @param {*} [options] Override http request option.
|
|
40530
|
+
* @throws {RequiredError}
|
|
40531
|
+
*/
|
|
40532
|
+
listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListCiValues200Response> {
|
|
40533
|
+
return localVarFp.listCiValues(organisation, repo, options).then((request) => request(axios, basePath));
|
|
40534
|
+
},
|
|
40535
|
+
/**
|
|
40536
|
+
* Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
|
|
40537
|
+
* @summary Create or replace a CI secret or variable
|
|
40538
|
+
* @param {string} organisation The organisation ID
|
|
40539
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40540
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
40541
|
+
* @param {*} [options] Override http request option.
|
|
40542
|
+
* @throws {RequiredError}
|
|
40543
|
+
*/
|
|
40544
|
+
putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig): AxiosPromise<CiValueWriteResult> {
|
|
40545
|
+
return localVarFp.putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(axios, basePath));
|
|
40546
|
+
},
|
|
40547
|
+
};
|
|
40548
|
+
};
|
|
40549
|
+
|
|
40550
|
+
/**
|
|
40551
|
+
* CIValuesApi - object-oriented interface
|
|
40552
|
+
* @export
|
|
40553
|
+
* @class CIValuesApi
|
|
40554
|
+
* @extends {BaseAPI}
|
|
40555
|
+
*/
|
|
40556
|
+
export class CIValuesApi extends BaseAPI {
|
|
40557
|
+
/**
|
|
40558
|
+
* Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
|
|
40559
|
+
* @summary Delete a CI secret or variable
|
|
40560
|
+
* @param {string} organisation The organisation ID
|
|
40561
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40562
|
+
* @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
|
|
40563
|
+
* @param {*} [options] Override http request option.
|
|
40564
|
+
* @throws {RequiredError}
|
|
40565
|
+
* @memberof CIValuesApi
|
|
40566
|
+
*/
|
|
40567
|
+
public deleteCiValue(organisation: string, name: string, repo?: string, options?: RawAxiosRequestConfig) {
|
|
40568
|
+
return CIValuesApiFp(this.configuration).deleteCiValue(organisation, name, repo, options).then((request) => request(this.axios, this.basePath));
|
|
40569
|
+
}
|
|
40570
|
+
|
|
40571
|
+
/**
|
|
40572
|
+
* Returns the organisation\'s CI values and, without the repo filter, every repository\'s values. A variable carries its value. A secret never does. Quant gives the values to CI jobs on the organisation\'s runner pools. A workflow reads a secret as `${{ secrets.NAME }}` and a variable as `${{ vars.NAME }}`. Needs the cloud:read scope and the CI runners feature.
|
|
40573
|
+
* @summary List the CI secrets and variables
|
|
40574
|
+
* @param {string} organisation The organisation ID
|
|
40575
|
+
* @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
|
|
40576
|
+
* @param {*} [options] Override http request option.
|
|
40577
|
+
* @throws {RequiredError}
|
|
40578
|
+
* @memberof CIValuesApi
|
|
40579
|
+
*/
|
|
40580
|
+
public listCiValues(organisation: string, repo?: string, options?: RawAxiosRequestConfig) {
|
|
40581
|
+
return CIValuesApiFp(this.configuration).listCiValues(organisation, repo, options).then((request) => request(this.axios, this.basePath));
|
|
40582
|
+
}
|
|
40583
|
+
|
|
40584
|
+
/**
|
|
40585
|
+
* Sets one value for the organisation, or for one repository when repo is set. The value is write-only for a secret: the response never carries it. The backend validates the name, the value and the limits and answers 400 with a message. Needs the cloud:write scope and the delete_applications permission.
|
|
40586
|
+
* @summary Create or replace a CI secret or variable
|
|
40587
|
+
* @param {string} organisation The organisation ID
|
|
40588
|
+
* @param {string} name The name, such as DEPLOY_KEY
|
|
40589
|
+
* @param {PutCiValueRequest} putCiValueRequest
|
|
40590
|
+
* @param {*} [options] Override http request option.
|
|
40591
|
+
* @throws {RequiredError}
|
|
40592
|
+
* @memberof CIValuesApi
|
|
40593
|
+
*/
|
|
40594
|
+
public putCiValue(organisation: string, name: string, putCiValueRequest: PutCiValueRequest, options?: RawAxiosRequestConfig) {
|
|
40595
|
+
return CIValuesApiFp(this.configuration).putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(this.axios, this.basePath));
|
|
40596
|
+
}
|
|
40597
|
+
}
|
|
40598
|
+
|
|
40599
|
+
|
|
40600
|
+
|
|
39048
40601
|
/**
|
|
39049
40602
|
* CommandsApi - axios parameter creator
|
|
39050
40603
|
* @export
|
|
@@ -39726,12 +41279,12 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
39726
41279
|
};
|
|
39727
41280
|
},
|
|
39728
41281
|
/**
|
|
39729
|
-
*
|
|
41282
|
+
* Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
|
|
39730
41283
|
* @summary Update a container in an environment
|
|
39731
41284
|
* @param {string} organisation The organisation ID
|
|
39732
41285
|
* @param {string} application The application ID
|
|
39733
41286
|
* @param {string} environment The environment ID
|
|
39734
|
-
* @param {string} container The container
|
|
41287
|
+
* @param {string} container The container name
|
|
39735
41288
|
* @param {Container} container2
|
|
39736
41289
|
* @param {*} [options] Override http request option.
|
|
39737
41290
|
* @throws {RequiredError}
|
|
@@ -39807,17 +41360,17 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
39807
41360
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39808
41361
|
},
|
|
39809
41362
|
/**
|
|
39810
|
-
*
|
|
41363
|
+
* Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
|
|
39811
41364
|
* @summary Update a container in an environment
|
|
39812
41365
|
* @param {string} organisation The organisation ID
|
|
39813
41366
|
* @param {string} application The application ID
|
|
39814
41367
|
* @param {string} environment The environment ID
|
|
39815
|
-
* @param {string} container The container
|
|
41368
|
+
* @param {string} container The container name
|
|
39816
41369
|
* @param {Container} container2
|
|
39817
41370
|
* @param {*} [options] Override http request option.
|
|
39818
41371
|
* @throws {RequiredError}
|
|
39819
41372
|
*/
|
|
39820
|
-
async updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
41373
|
+
async updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Container>> {
|
|
39821
41374
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateContainer(organisation, application, environment, container, container2, options);
|
|
39822
41375
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39823
41376
|
const localVarOperationServerBasePath = operationServerMap['ContainersApi.updateContainer']?.[localVarOperationServerIndex]?.url;
|
|
@@ -39846,17 +41399,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
39846
41399
|
return localVarFp.listContainers(organisation, application, environment, options).then((request) => request(axios, basePath));
|
|
39847
41400
|
},
|
|
39848
41401
|
/**
|
|
39849
|
-
*
|
|
41402
|
+
* Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
|
|
39850
41403
|
* @summary Update a container in an environment
|
|
39851
41404
|
* @param {string} organisation The organisation ID
|
|
39852
41405
|
* @param {string} application The application ID
|
|
39853
41406
|
* @param {string} environment The environment ID
|
|
39854
|
-
* @param {string} container The container
|
|
41407
|
+
* @param {string} container The container name
|
|
39855
41408
|
* @param {Container} container2
|
|
39856
41409
|
* @param {*} [options] Override http request option.
|
|
39857
41410
|
* @throws {RequiredError}
|
|
39858
41411
|
*/
|
|
39859
|
-
updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
41412
|
+
updateContainer(organisation: string, application: string, environment: string, container: string, container2: Container, options?: RawAxiosRequestConfig): AxiosPromise<Container> {
|
|
39860
41413
|
return localVarFp.updateContainer(organisation, application, environment, container, container2, options).then((request) => request(axios, basePath));
|
|
39861
41414
|
},
|
|
39862
41415
|
};
|
|
@@ -39884,12 +41437,12 @@ export class ContainersApi extends BaseAPI {
|
|
|
39884
41437
|
}
|
|
39885
41438
|
|
|
39886
41439
|
/**
|
|
39887
|
-
*
|
|
41440
|
+
* Updates one container in the environment\'s compose definition and redeploys the environment. The fields in the request body replace the same fields of the container. Fields that the request body omits keep their current values. Other containers and the task-level settings do not change. To clear a field, send it as null. The container name in the body must match the name in the path: a container cannot be renamed. Container updates to one environment run one at a time. A compose change made at the same moment through another endpoint can still overwrite this update.
|
|
39888
41441
|
* @summary Update a container in an environment
|
|
39889
41442
|
* @param {string} organisation The organisation ID
|
|
39890
41443
|
* @param {string} application The application ID
|
|
39891
41444
|
* @param {string} environment The environment ID
|
|
39892
|
-
* @param {string} container The container
|
|
41445
|
+
* @param {string} container The container name
|
|
39893
41446
|
* @param {Container} container2
|
|
39894
41447
|
* @param {*} [options] Override http request option.
|
|
39895
41448
|
* @throws {RequiredError}
|
|
@@ -43240,58 +44793,6 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
43240
44793
|
options: localVarRequestOptions,
|
|
43241
44794
|
};
|
|
43242
44795
|
},
|
|
43243
|
-
/**
|
|
43244
|
-
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
43245
|
-
* @summary Update Environment Compose Definition
|
|
43246
|
-
* @param {string} organisation The organisation ID
|
|
43247
|
-
* @param {string} application The application ID
|
|
43248
|
-
* @param {string} environment The environment ID
|
|
43249
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
43250
|
-
* @param {*} [options] Override http request option.
|
|
43251
|
-
* @throws {RequiredError}
|
|
43252
|
-
*/
|
|
43253
|
-
updateEnvironment: async (organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43254
|
-
// verify required parameter 'organisation' is not null or undefined
|
|
43255
|
-
assertParamExists('updateEnvironment', 'organisation', organisation)
|
|
43256
|
-
// verify required parameter 'application' is not null or undefined
|
|
43257
|
-
assertParamExists('updateEnvironment', 'application', application)
|
|
43258
|
-
// verify required parameter 'environment' is not null or undefined
|
|
43259
|
-
assertParamExists('updateEnvironment', 'environment', environment)
|
|
43260
|
-
// verify required parameter 'updateEnvironmentRequest' is not null or undefined
|
|
43261
|
-
assertParamExists('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest)
|
|
43262
|
-
const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
|
|
43263
|
-
.replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
|
|
43264
|
-
.replace(`{${"application"}}`, encodeURIComponent(String(application)))
|
|
43265
|
-
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
|
|
43266
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43267
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43268
|
-
let baseOptions;
|
|
43269
|
-
if (configuration) {
|
|
43270
|
-
baseOptions = configuration.baseOptions;
|
|
43271
|
-
}
|
|
43272
|
-
|
|
43273
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
43274
|
-
const localVarHeaderParameter = {} as any;
|
|
43275
|
-
const localVarQueryParameter = {} as any;
|
|
43276
|
-
|
|
43277
|
-
// authentication BearerAuth required
|
|
43278
|
-
// http bearer authentication required
|
|
43279
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
43280
|
-
|
|
43281
|
-
|
|
43282
|
-
|
|
43283
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43284
|
-
|
|
43285
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43286
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43287
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
43288
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateEnvironmentRequest, localVarRequestOptions, configuration)
|
|
43289
|
-
|
|
43290
|
-
return {
|
|
43291
|
-
url: toPathString(localVarUrlObj),
|
|
43292
|
-
options: localVarRequestOptions,
|
|
43293
|
-
};
|
|
43294
|
-
},
|
|
43295
44796
|
/**
|
|
43296
44797
|
*
|
|
43297
44798
|
* @summary Update the state of an environment
|
|
@@ -43508,22 +45009,6 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
|
|
|
43508
45009
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.syncToEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
43509
45010
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43510
45011
|
},
|
|
43511
|
-
/**
|
|
43512
|
-
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
43513
|
-
* @summary Update Environment Compose Definition
|
|
43514
|
-
* @param {string} organisation The organisation ID
|
|
43515
|
-
* @param {string} application The application ID
|
|
43516
|
-
* @param {string} environment The environment ID
|
|
43517
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
43518
|
-
* @param {*} [options] Override http request option.
|
|
43519
|
-
* @throws {RequiredError}
|
|
43520
|
-
*/
|
|
43521
|
-
async updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
43522
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
|
|
43523
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43524
|
-
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.updateEnvironment']?.[localVarOperationServerIndex]?.url;
|
|
43525
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43526
|
-
},
|
|
43527
45012
|
/**
|
|
43528
45013
|
*
|
|
43529
45014
|
* @summary Update the state of an environment
|
|
@@ -43677,19 +45162,6 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
|
|
|
43677
45162
|
syncToEnvironment(organisation: string, application: string, environment: string, type: SyncToEnvironmentTypeEnum, syncToEnvironmentRequest: SyncToEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncOperation> {
|
|
43678
45163
|
return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
43679
45164
|
},
|
|
43680
|
-
/**
|
|
43681
|
-
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
43682
|
-
* @summary Update Environment Compose Definition
|
|
43683
|
-
* @param {string} organisation The organisation ID
|
|
43684
|
-
* @param {string} application The application ID
|
|
43685
|
-
* @param {string} environment The environment ID
|
|
43686
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
43687
|
-
* @param {*} [options] Override http request option.
|
|
43688
|
-
* @throws {RequiredError}
|
|
43689
|
-
*/
|
|
43690
|
-
updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
43691
|
-
return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
43692
|
-
},
|
|
43693
45165
|
/**
|
|
43694
45166
|
*
|
|
43695
45167
|
* @summary Update the state of an environment
|
|
@@ -43858,21 +45330,6 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
43858
45330
|
return EnvironmentsApiFp(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43859
45331
|
}
|
|
43860
45332
|
|
|
43861
|
-
/**
|
|
43862
|
-
* Replaces the entire task definition for the environment based on the provided multi-container compose definition. This will create a new task definition revision and update the container service, triggering a redeployment. Optionally accepts minCapacity and maxCapacity at the root level for convenience.
|
|
43863
|
-
* @summary Update Environment Compose Definition
|
|
43864
|
-
* @param {string} organisation The organisation ID
|
|
43865
|
-
* @param {string} application The application ID
|
|
43866
|
-
* @param {string} environment The environment ID
|
|
43867
|
-
* @param {UpdateEnvironmentRequest} updateEnvironmentRequest
|
|
43868
|
-
* @param {*} [options] Override http request option.
|
|
43869
|
-
* @throws {RequiredError}
|
|
43870
|
-
* @memberof EnvironmentsApi
|
|
43871
|
-
*/
|
|
43872
|
-
public updateEnvironment(organisation: string, application: string, environment: string, updateEnvironmentRequest: UpdateEnvironmentRequest, options?: RawAxiosRequestConfig) {
|
|
43873
|
-
return EnvironmentsApiFp(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
43874
|
-
}
|
|
43875
|
-
|
|
43876
45333
|
/**
|
|
43877
45334
|
*
|
|
43878
45335
|
* @summary Update the state of an environment
|
|
@@ -50642,6 +52099,88 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
50642
52099
|
*/
|
|
50643
52100
|
export const ProjectsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
50644
52101
|
return {
|
|
52102
|
+
/**
|
|
52103
|
+
* Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
|
|
52104
|
+
* @summary Get edge events for a project
|
|
52105
|
+
* @param {string} organization The organization machine name
|
|
52106
|
+
* @param {string} project The project machine name
|
|
52107
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
52108
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
52109
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
52110
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
52111
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
52112
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52113
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52114
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
52115
|
+
* @param {*} [options] Override http request option.
|
|
52116
|
+
* @throws {RequiredError}
|
|
52117
|
+
*/
|
|
52118
|
+
getProjectEdgeEvents: async (organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52119
|
+
// verify required parameter 'organization' is not null or undefined
|
|
52120
|
+
assertParamExists('getProjectEdgeEvents', 'organization', organization)
|
|
52121
|
+
// verify required parameter 'project' is not null or undefined
|
|
52122
|
+
assertParamExists('getProjectEdgeEvents', 'project', project)
|
|
52123
|
+
const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/edge-events`
|
|
52124
|
+
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
52125
|
+
.replace(`{${"project"}}`, encodeURIComponent(String(project)));
|
|
52126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52128
|
+
let baseOptions;
|
|
52129
|
+
if (configuration) {
|
|
52130
|
+
baseOptions = configuration.baseOptions;
|
|
52131
|
+
}
|
|
52132
|
+
|
|
52133
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
52134
|
+
const localVarHeaderParameter = {} as any;
|
|
52135
|
+
const localVarQueryParameter = {} as any;
|
|
52136
|
+
|
|
52137
|
+
// authentication BearerAuth required
|
|
52138
|
+
// http bearer authentication required
|
|
52139
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
52140
|
+
|
|
52141
|
+
if (type !== undefined) {
|
|
52142
|
+
localVarQueryParameter['type'] = type;
|
|
52143
|
+
}
|
|
52144
|
+
|
|
52145
|
+
if (_function !== undefined) {
|
|
52146
|
+
localVarQueryParameter['function'] = _function;
|
|
52147
|
+
}
|
|
52148
|
+
|
|
52149
|
+
if (level !== undefined) {
|
|
52150
|
+
localVarQueryParameter['level'] = level;
|
|
52151
|
+
}
|
|
52152
|
+
|
|
52153
|
+
if (search !== undefined) {
|
|
52154
|
+
localVarQueryParameter['search'] = search;
|
|
52155
|
+
}
|
|
52156
|
+
|
|
52157
|
+
if (limit !== undefined) {
|
|
52158
|
+
localVarQueryParameter['limit'] = limit;
|
|
52159
|
+
}
|
|
52160
|
+
|
|
52161
|
+
if (startTime !== undefined) {
|
|
52162
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
52163
|
+
}
|
|
52164
|
+
|
|
52165
|
+
if (endTime !== undefined) {
|
|
52166
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
52167
|
+
}
|
|
52168
|
+
|
|
52169
|
+
if (nextToken !== undefined) {
|
|
52170
|
+
localVarQueryParameter['nextToken'] = nextToken;
|
|
52171
|
+
}
|
|
52172
|
+
|
|
52173
|
+
|
|
52174
|
+
|
|
52175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
52176
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52177
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
52178
|
+
|
|
52179
|
+
return {
|
|
52180
|
+
url: toPathString(localVarUrlObj),
|
|
52181
|
+
options: localVarRequestOptions,
|
|
52182
|
+
};
|
|
52183
|
+
},
|
|
50645
52184
|
/**
|
|
50646
52185
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
50647
52186
|
* @summary Get CDN access logs for a project
|
|
@@ -50945,6 +52484,28 @@ export const ProjectsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
50945
52484
|
export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
50946
52485
|
const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration)
|
|
50947
52486
|
return {
|
|
52487
|
+
/**
|
|
52488
|
+
* Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
|
|
52489
|
+
* @summary Get edge events for a project
|
|
52490
|
+
* @param {string} organization The organization machine name
|
|
52491
|
+
* @param {string} project The project machine name
|
|
52492
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
52493
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
52494
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
52495
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
52496
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
52497
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52498
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52499
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
52500
|
+
* @param {*} [options] Override http request option.
|
|
52501
|
+
* @throws {RequiredError}
|
|
52502
|
+
*/
|
|
52503
|
+
async getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProjectEdgeEvents200Response>> {
|
|
52504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options);
|
|
52505
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
52506
|
+
const localVarOperationServerBasePath = operationServerMap['ProjectsApi.getProjectEdgeEvents']?.[localVarOperationServerIndex]?.url;
|
|
52507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52508
|
+
},
|
|
50948
52509
|
/**
|
|
50949
52510
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
50950
52511
|
* @summary Get CDN access logs for a project
|
|
@@ -51046,6 +52607,25 @@ export const ProjectsApiFp = function(configuration?: Configuration) {
|
|
|
51046
52607
|
export const ProjectsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
51047
52608
|
const localVarFp = ProjectsApiFp(configuration)
|
|
51048
52609
|
return {
|
|
52610
|
+
/**
|
|
52611
|
+
* Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
|
|
52612
|
+
* @summary Get edge events for a project
|
|
52613
|
+
* @param {string} organization The organization machine name
|
|
52614
|
+
* @param {string} project The project machine name
|
|
52615
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
52616
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
52617
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
52618
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
52619
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
52620
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52621
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52622
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
52623
|
+
* @param {*} [options] Override http request option.
|
|
52624
|
+
* @throws {RequiredError}
|
|
52625
|
+
*/
|
|
52626
|
+
getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetProjectEdgeEvents200Response> {
|
|
52627
|
+
return localVarFp.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(axios, basePath));
|
|
52628
|
+
},
|
|
51049
52629
|
/**
|
|
51050
52630
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
51051
52631
|
* @summary Get CDN access logs for a project
|
|
@@ -51129,6 +52709,27 @@ export const ProjectsApiFactory = function (configuration?: Configuration, baseP
|
|
|
51129
52709
|
* @extends {BaseAPI}
|
|
51130
52710
|
*/
|
|
51131
52711
|
export class ProjectsApi extends BaseAPI {
|
|
52712
|
+
/**
|
|
52713
|
+
* Output of the project\'s edge functions and content filters (console.* as type console, quantLog() as type function), WAF hits and static failover. Entries are returned oldest first, up to about 10 minutes behind, kept 31 days; pass nextToken from the previous response, with the same filters, to fetch the next page. A slow query can return an empty page with a nextToken. An edge function invocation keeps at most 100 console lines of up to 8 KB each.
|
|
52714
|
+
* @summary Get edge events for a project
|
|
52715
|
+
* @param {string} organization The organization machine name
|
|
52716
|
+
* @param {string} project The project machine name
|
|
52717
|
+
* @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
|
|
52718
|
+
* @param {string} [_function] Only events from this edge function (UUID)
|
|
52719
|
+
* @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
|
|
52720
|
+
* @param {string} [search] Case-insensitive substring of the message
|
|
52721
|
+
* @param {number} [limit] Maximum number of events per page (default 100)
|
|
52722
|
+
* @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52723
|
+
* @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
|
|
52724
|
+
* @param {string} [nextToken] Opaque pagination token from the previous response
|
|
52725
|
+
* @param {*} [options] Override http request option.
|
|
52726
|
+
* @throws {RequiredError}
|
|
52727
|
+
* @memberof ProjectsApi
|
|
52728
|
+
*/
|
|
52729
|
+
public getProjectEdgeEvents(organization: string, project: string, type?: string, _function?: string, level?: GetProjectEdgeEventsLevelEnum, search?: string, limit?: number, startTime?: string, endTime?: string, nextToken?: string, options?: RawAxiosRequestConfig) {
|
|
52730
|
+
return ProjectsApiFp(this.configuration).getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(this.axios, this.basePath));
|
|
52731
|
+
}
|
|
52732
|
+
|
|
51132
52733
|
/**
|
|
51133
52734
|
* Retrieves CDN access log entries for a project. Results are always scoped to the project; the optional filter can only narrow them. Entries are returned oldest first; pass nextToken from the previous response to fetch the next page. Logs are retained for 30 days. For QuantCDN (Fastly) projects, entries are up to about 30 minutes behind, and a slow query can return an empty page with a nextToken: call again with it to collect the entries.
|
|
51134
52735
|
* @summary Get CDN access logs for a project
|
|
@@ -51215,6 +52816,17 @@ export class ProjectsApi extends BaseAPI {
|
|
|
51215
52816
|
}
|
|
51216
52817
|
}
|
|
51217
52818
|
|
|
52819
|
+
/**
|
|
52820
|
+
* @export
|
|
52821
|
+
*/
|
|
52822
|
+
export const GetProjectEdgeEventsLevelEnum = {
|
|
52823
|
+
Log: 'log',
|
|
52824
|
+
Info: 'info',
|
|
52825
|
+
Warn: 'warn',
|
|
52826
|
+
Error: 'error',
|
|
52827
|
+
Debug: 'debug'
|
|
52828
|
+
} as const;
|
|
52829
|
+
export type GetProjectEdgeEventsLevelEnum = typeof GetProjectEdgeEventsLevelEnum[keyof typeof GetProjectEdgeEventsLevelEnum];
|
|
51218
52830
|
|
|
51219
52831
|
|
|
51220
52832
|
/**
|
|
@@ -54277,7 +55889,7 @@ export const RulesApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
54277
55889
|
};
|
|
54278
55890
|
},
|
|
54279
55891
|
/**
|
|
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)
|
|
55892
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
54281
55893
|
* @summary List all rules in edge order
|
|
54282
55894
|
* @param {string} organization
|
|
54283
55895
|
* @param {string} project
|
|
@@ -55631,7 +57243,7 @@ export const RulesApiFp = function(configuration?: Configuration) {
|
|
|
55631
57243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
55632
57244
|
},
|
|
55633
57245
|
/**
|
|
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)
|
|
57246
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
55635
57247
|
* @summary List all rules in edge order
|
|
55636
57248
|
* @param {string} organization
|
|
55637
57249
|
* @param {string} project
|
|
@@ -56360,7 +57972,7 @@ export const RulesApiFactory = function (configuration?: Configuration, basePath
|
|
|
56360
57972
|
return localVarFp.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(axios, basePath));
|
|
56361
57973
|
},
|
|
56362
57974
|
/**
|
|
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)
|
|
57975
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
56364
57976
|
* @summary List all rules in edge order
|
|
56365
57977
|
* @param {string} organization
|
|
56366
57978
|
* @param {string} project
|
|
@@ -57121,7 +58733,7 @@ export class RulesApi extends BaseAPI {
|
|
|
57121
58733
|
}
|
|
57122
58734
|
|
|
57123
58735
|
/**
|
|
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)
|
|
58736
|
+
* Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order), `managed` (true when a template deploy owns the rule in this project) and, on a rule written by a deploy of `quant/edge-rules.json`, `deployment` (its namespace and id in that file). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
|
|
57125
58737
|
* @summary List all rules in edge order
|
|
57126
58738
|
* @param {string} organization
|
|
57127
58739
|
* @param {string} project
|