@quantcdn/quant-client 4.30.0 → 4.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * QuantCDN API
5
5
  * Unified API for QuantCDN Admin and QuantCloud Platform services ## Rate limits - **Per token.** Each API token has a limit per organisation: by default 240 requests per minute. The limit counts after the token is validated, so tokens that share an IP address (for example Quant Cloud apps and CI runners) do not share a limit. An organisation can have a different limit (set per organisation or by subscription plan); contact Quant support to change it. - **Unauthenticated requests.** Requests that end without a valid token (no token, an invalid or expired token, public routes) have a coarse limit per client IP address: by default 600 requests per minute. A request with a valid token never counts against it and is never refused by it. A request with a valid token that is refused before the per-token limit runs (for example an organisation the token cannot use) still counts against the token. - **KV per project.** Some KV operations also have a limit per project, shared by every token: kv-admin 10 requests per minute (index create, delete and resume; upgrade; export create and resume; ledger declare, raise and drop), kv-erase 30 (ledger subject preview and shred), kv-verify 6 (ledger verify). - **Responses.** Over a limit the answer is 429 with a Retry-After header (seconds). KV routes answer the V2KvError body with code RATE_LIMITED and retryable true; other routes answer {\"message\": \"Too Many Attempts.\"}. Rate-limited routes send RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (IETF draft; Reset is seconds until the window resets) and X-RateLimit-Limit and X-RateLimit-Remaining on the responses of requests that reach a limiter, and X-RateLimit-Reset (Unix time) on a 429. A request refused before a limiter runs (for example a 401, 403 or 404 from an earlier check) can come back without these headers. When two limits apply, the headers describe the one with fewer requests left. Wait Retry-After seconds, then send the request again.
6
6
  *
7
- * The version of the OpenAPI document: 4.30.0
7
+ * The version of the OpenAPI document: 4.34.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,6 +26,20 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
+ export const AIAutoModeConfigEnforcementEnum = {
30
+ Default: 'default',
31
+ Required: 'required'
32
+ };
33
+ export const AIAutoModeInputEnforcementEnum = {
34
+ Default: 'default',
35
+ Required: 'required'
36
+ };
37
+ export const AIModelEligibilityReasonEnum = {
38
+ Unknown: 'unknown',
39
+ NoTools: 'no_tools',
40
+ Policy: 'policy',
41
+ Residency: 'residency'
42
+ };
29
43
  export const AiAuditRecordRowOmittedEnum = {
30
44
  TooLarge: 'too-large',
31
45
  Unreadable: 'unreadable'
@@ -42,6 +56,10 @@ export const AiSlackBotApiMessageAllOfAuthorKindEnum = {
42
56
  Api: 'api',
43
57
  OtherBot: 'other_bot'
44
58
  };
59
+ export const AlertChannelSummaryTypeEnum = {
60
+ Slack: 'slack',
61
+ Email: 'email'
62
+ };
45
63
  export const ApplicationDatabaseRdsInstanceEngineEnum = {
46
64
  Mysql: 'mysql',
47
65
  Postgres: 'postgres'
@@ -104,6 +122,22 @@ export const ChatInferenceStreamRequestMessagesInnerRoleEnum = {
104
122
  export const ChatWithAIAgent202ResponseStatusEnum = {
105
123
  Queued: 'queued'
106
124
  };
125
+ export const CiValueKindEnum = {
126
+ Secret: 'secret',
127
+ Var: 'var'
128
+ };
129
+ export const CiValueScopeEnum = {
130
+ Org: 'org',
131
+ Repo: 'repo'
132
+ };
133
+ export const CiValueWriteResultKindEnum = {
134
+ Secret: 'secret',
135
+ Var: 'var'
136
+ };
137
+ export const CiValueWriteResultScopeEnum = {
138
+ Org: 'org',
139
+ Repo: 'repo'
140
+ };
107
141
  export const ContainerDependsOnInnerConditionEnum = {
108
142
  Start: 'START',
109
143
  Healthy: 'HEALTHY',
@@ -114,6 +148,13 @@ export const ContainerImageReferenceTypeEnum = {
114
148
  Internal: 'internal',
115
149
  External: 'external'
116
150
  };
151
+ export const CreateAIAgentRequestReasoningEffortEnum = {
152
+ Low: 'low',
153
+ Medium: 'medium',
154
+ High: 'high',
155
+ Xhigh: 'xhigh',
156
+ Max: 'max'
157
+ };
117
158
  export const CreateAIAgentRequestGuardrailPresetEnum = {
118
159
  Official: 'official',
119
160
  OfficialSensitive: 'official-sensitive',
@@ -167,6 +208,13 @@ export const CreateSlackBotRequestSetupTypeEnum = {
167
208
  Quant: 'quant',
168
209
  Byo: 'byo'
169
210
  };
211
+ export const CreateSlackBotRequestReasoningEffortEnum = {
212
+ Low: 'low',
213
+ Medium: 'medium',
214
+ High: 'high',
215
+ Xhigh: 'xhigh',
216
+ Max: 'max'
217
+ };
170
218
  export const CreateSlackInteractionRequestResponseModeEnum = {
171
219
  Single: 'single'
172
220
  };
@@ -240,6 +288,13 @@ export const EnvironmentSummaryDeploymentStatusEnum = {
240
288
  InProgress: 'IN_PROGRESS',
241
289
  Failed: 'FAILED'
242
290
  };
291
+ export const GetAIAgent200ResponseAgentReasoningEffortEnum = {
292
+ Low: 'low',
293
+ Medium: 'medium',
294
+ High: 'high',
295
+ Xhigh: 'xhigh',
296
+ Max: 'max'
297
+ };
243
298
  export const GetAIOrchestrationStatus200ResponseStatusEnum = {
244
299
  Pending: 'pending',
245
300
  WaitingTools: 'waiting_tools',
@@ -253,6 +308,13 @@ export const GetAIOrchestrationStatus200ResponseToolsInnerStatusEnum = {
253
308
  Complete: 'complete',
254
309
  Failed: 'failed'
255
310
  };
311
+ export const GetAgentOverlay200ResponseOverlayReasoningEffortEnum = {
312
+ Low: 'low',
313
+ Medium: 'medium',
314
+ High: 'high',
315
+ Xhigh: 'xhigh',
316
+ Max: 'max'
317
+ };
256
318
  export const GetCustomTool200ResponseToolResponseModeEnum = {
257
319
  Llm: 'llm',
258
320
  Direct: 'direct'
@@ -269,6 +331,13 @@ export const GetGovernanceConfig200ResponseModelPolicyEnum = {
269
331
  Allowlist: 'allowlist',
270
332
  Blocklist: 'blocklist'
271
333
  };
334
+ export const GetProjectEdgeEvents200ResponseEventsInnerTypeEnum = {
335
+ Console: 'console',
336
+ Function: 'function',
337
+ WafHit: 'waf-hit',
338
+ StaticFailover: 'static-failover',
339
+ Other: 'other'
340
+ };
272
341
  export const GetRestoreStatus200ResponseStatusEnum = {
273
342
  Pending: 'pending',
274
343
  InProgress: 'in_progress',
@@ -288,6 +357,13 @@ export const GetSlackBot200ResponseBotStatusEnum = {
288
357
  Active: 'active',
289
358
  Inactive: 'inactive'
290
359
  };
360
+ export const GetSlackBot200ResponseBotReasoningEffortEnum = {
361
+ Low: 'low',
362
+ Medium: 'medium',
363
+ High: 'high',
364
+ Xhigh: 'xhigh',
365
+ Max: 'max'
366
+ };
291
367
  export const GetSlackBotThread200ResponseContentTrustEnum = {
292
368
  Untrusted: 'untrusted'
293
369
  };
@@ -311,6 +387,13 @@ export const ImportSkillRequestSourceTypeEnum = {
311
387
  SkillsSh: 'skills.sh',
312
388
  Github: 'github'
313
389
  };
390
+ export const ListAIAgents200ResponseAgentsInnerReasoningEffortEnum = {
391
+ Low: 'low',
392
+ Medium: 'medium',
393
+ High: 'high',
394
+ Xhigh: 'xhigh',
395
+ Max: 'max'
396
+ };
314
397
  export const ListOrchestrationBatches200ResponseBatchesInnerStatusEnum = {
315
398
  Pending: 'pending',
316
399
  Running: 'running',
@@ -328,6 +411,13 @@ export const ListSlackBots200ResponseBotsInnerStatusEnum = {
328
411
  Active: 'active',
329
412
  Inactive: 'inactive'
330
413
  };
414
+ export const ListSlackBots200ResponseBotsInnerReasoningEffortEnum = {
415
+ Low: 'low',
416
+ Medium: 'medium',
417
+ High: 'high',
418
+ Xhigh: 'xhigh',
419
+ Max: 'max'
420
+ };
331
421
  export const ListTasks200ResponseTasksInnerStatusEnum = {
332
422
  Pending: 'pending',
333
423
  InProgress: 'in_progress',
@@ -392,6 +482,10 @@ export const PurgeOrgResourceRequestScopeEnum = {
392
482
  Environment: 'environment',
393
483
  All: 'all'
394
484
  };
485
+ export const PutCiValueRequestKindEnum = {
486
+ Secret: 'secret',
487
+ Var: 'var'
488
+ };
395
489
  export const QueryVectorCollection200ResponseSearchModeEnum = {
396
490
  Text: 'text',
397
491
  Vector: 'vector',
@@ -434,6 +528,13 @@ export const TokensCreateRequestExpiresInEnum = {
434
528
  _365d: '365d',
435
529
  Never: 'never'
436
530
  };
531
+ export const UpdateAIAgentRequestReasoningEffortEnum = {
532
+ Low: 'low',
533
+ Medium: 'medium',
534
+ High: 'high',
535
+ Xhigh: 'xhigh',
536
+ Max: 'max'
537
+ };
437
538
  export const UpdateAIAgentRequestGuardrailPresetEnum = {
438
539
  Official: 'official',
439
540
  OfficialSensitive: 'official-sensitive',
@@ -461,6 +562,13 @@ export const UpdateSlackBotRequestStatusEnum = {
461
562
  Active: 'active',
462
563
  Inactive: 'inactive'
463
564
  };
565
+ export const UpdateSlackBotRequestReasoningEffortEnum = {
566
+ Low: 'low',
567
+ Medium: 'medium',
568
+ High: 'high',
569
+ Xhigh: 'xhigh',
570
+ Max: 'max'
571
+ };
464
572
  export const UpdateTaskRequestStatusEnum = {
465
573
  Pending: 'pending',
466
574
  InProgress: 'in_progress',
@@ -474,6 +582,13 @@ export const UpsertAgentOverlayRequestGuardrailPresetEnum = {
474
582
  OfficialSensitive: 'official-sensitive',
475
583
  Protected: 'protected'
476
584
  };
585
+ export const UpsertAgentOverlayRequestReasoningEffortEnum = {
586
+ Low: 'low',
587
+ Medium: 'medium',
588
+ High: 'high',
589
+ Xhigh: 'xhigh',
590
+ Max: 'max'
591
+ };
477
592
  export const V1TransitionStateEnum = {
478
593
  Published: 'published',
479
594
  Unpublished: 'unpublished'
@@ -2862,6 +2977,255 @@ export class AIAuditApi extends BaseAPI {
2862
2977
  return AIAuditApiFp(this.configuration).aiAuditRecordsList(organisation, startDate, endDate, since, until, userId, tokenId, modelId, recordType, decision, tool, outcome, _interface, limit, cursor, options).then((request) => request(this.axios, this.basePath));
2863
2978
  }
2864
2979
  }
2980
+ /**
2981
+ * AIAutoModeApi - axios parameter creator
2982
+ * @export
2983
+ */
2984
+ export const AIAutoModeApiAxiosParamCreator = function (configuration) {
2985
+ return {
2986
+ /**
2987
+ *
2988
+ * @summary Remove the auto mode setting for an organisation
2989
+ * @param {string} organisation The organisation ID
2990
+ * @param {*} [options] Override http request option.
2991
+ * @throws {RequiredError}
2992
+ */
2993
+ deleteAutoMode: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
2994
+ // verify required parameter 'organisation' is not null or undefined
2995
+ assertParamExists('deleteAutoMode', 'organisation', organisation);
2996
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
2997
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
2998
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2999
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3000
+ let baseOptions;
3001
+ if (configuration) {
3002
+ baseOptions = configuration.baseOptions;
3003
+ }
3004
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3005
+ const localVarHeaderParameter = {};
3006
+ const localVarQueryParameter = {};
3007
+ // authentication BearerAuth required
3008
+ // http bearer authentication required
3009
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3010
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3011
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3012
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3013
+ return {
3014
+ url: toPathString(localVarUrlObj),
3015
+ options: localVarRequestOptions,
3016
+ };
3017
+ }),
3018
+ /**
3019
+ *
3020
+ * @summary Get the auto mode setting for an organisation
3021
+ * @param {string} organisation The organisation ID
3022
+ * @param {*} [options] Override http request option.
3023
+ * @throws {RequiredError}
3024
+ */
3025
+ getAutoMode: (organisation_1, ...args_1) => __awaiter(this, [organisation_1, ...args_1], void 0, function* (organisation, options = {}) {
3026
+ // verify required parameter 'organisation' is not null or undefined
3027
+ assertParamExists('getAutoMode', 'organisation', organisation);
3028
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
3029
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
3030
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3031
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3032
+ let baseOptions;
3033
+ if (configuration) {
3034
+ baseOptions = configuration.baseOptions;
3035
+ }
3036
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3037
+ const localVarHeaderParameter = {};
3038
+ const localVarQueryParameter = {};
3039
+ // authentication BearerAuth required
3040
+ // http bearer authentication required
3041
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3042
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3044
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3045
+ return {
3046
+ url: toPathString(localVarUrlObj),
3047
+ options: localVarRequestOptions,
3048
+ };
3049
+ }),
3050
+ /**
3051
+ *
3052
+ * @summary Save the auto mode setting for an organisation
3053
+ * @param {string} organisation The organisation ID
3054
+ * @param {AIAutoModeInput} aIAutoModeInput
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ */
3058
+ updateAutoMode: (organisation_1, aIAutoModeInput_1, ...args_1) => __awaiter(this, [organisation_1, aIAutoModeInput_1, ...args_1], void 0, function* (organisation, aIAutoModeInput, options = {}) {
3059
+ // verify required parameter 'organisation' is not null or undefined
3060
+ assertParamExists('updateAutoMode', 'organisation', organisation);
3061
+ // verify required parameter 'aIAutoModeInput' is not null or undefined
3062
+ assertParamExists('updateAutoMode', 'aIAutoModeInput', aIAutoModeInput);
3063
+ const localVarPath = `/api/v3/organizations/{organisation}/ai/auto-mode`
3064
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
3065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3067
+ let baseOptions;
3068
+ if (configuration) {
3069
+ baseOptions = configuration.baseOptions;
3070
+ }
3071
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
3072
+ const localVarHeaderParameter = {};
3073
+ const localVarQueryParameter = {};
3074
+ // authentication BearerAuth required
3075
+ // http bearer authentication required
3076
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
3077
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3078
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3079
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3080
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3081
+ localVarRequestOptions.data = serializeDataIfNeeded(aIAutoModeInput, localVarRequestOptions, configuration);
3082
+ return {
3083
+ url: toPathString(localVarUrlObj),
3084
+ options: localVarRequestOptions,
3085
+ };
3086
+ }),
3087
+ };
3088
+ };
3089
+ /**
3090
+ * AIAutoModeApi - functional programming interface
3091
+ * @export
3092
+ */
3093
+ export const AIAutoModeApiFp = function (configuration) {
3094
+ const localVarAxiosParamCreator = AIAutoModeApiAxiosParamCreator(configuration);
3095
+ return {
3096
+ /**
3097
+ *
3098
+ * @summary Remove the auto mode setting for an organisation
3099
+ * @param {string} organisation The organisation ID
3100
+ * @param {*} [options] Override http request option.
3101
+ * @throws {RequiredError}
3102
+ */
3103
+ deleteAutoMode(organisation, options) {
3104
+ return __awaiter(this, void 0, void 0, function* () {
3105
+ var _a, _b, _c;
3106
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAutoMode(organisation, options);
3107
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3108
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIAutoModeApi.deleteAutoMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3109
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3110
+ });
3111
+ },
3112
+ /**
3113
+ *
3114
+ * @summary Get the auto mode setting for an organisation
3115
+ * @param {string} organisation The organisation ID
3116
+ * @param {*} [options] Override http request option.
3117
+ * @throws {RequiredError}
3118
+ */
3119
+ getAutoMode(organisation, options) {
3120
+ return __awaiter(this, void 0, void 0, function* () {
3121
+ var _a, _b, _c;
3122
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAutoMode(organisation, options);
3123
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3124
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIAutoModeApi.getAutoMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3125
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3126
+ });
3127
+ },
3128
+ /**
3129
+ *
3130
+ * @summary Save the auto mode setting for an organisation
3131
+ * @param {string} organisation The organisation ID
3132
+ * @param {AIAutoModeInput} aIAutoModeInput
3133
+ * @param {*} [options] Override http request option.
3134
+ * @throws {RequiredError}
3135
+ */
3136
+ updateAutoMode(organisation, aIAutoModeInput, options) {
3137
+ return __awaiter(this, void 0, void 0, function* () {
3138
+ var _a, _b, _c;
3139
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAutoMode(organisation, aIAutoModeInput, options);
3140
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3141
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AIAutoModeApi.updateAutoMode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3142
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3143
+ });
3144
+ },
3145
+ };
3146
+ };
3147
+ /**
3148
+ * AIAutoModeApi - factory interface
3149
+ * @export
3150
+ */
3151
+ export const AIAutoModeApiFactory = function (configuration, basePath, axios) {
3152
+ const localVarFp = AIAutoModeApiFp(configuration);
3153
+ return {
3154
+ /**
3155
+ *
3156
+ * @summary Remove the auto mode setting for an organisation
3157
+ * @param {string} organisation The organisation ID
3158
+ * @param {*} [options] Override http request option.
3159
+ * @throws {RequiredError}
3160
+ */
3161
+ deleteAutoMode(organisation, options) {
3162
+ return localVarFp.deleteAutoMode(organisation, options).then((request) => request(axios, basePath));
3163
+ },
3164
+ /**
3165
+ *
3166
+ * @summary Get the auto mode setting for an organisation
3167
+ * @param {string} organisation The organisation ID
3168
+ * @param {*} [options] Override http request option.
3169
+ * @throws {RequiredError}
3170
+ */
3171
+ getAutoMode(organisation, options) {
3172
+ return localVarFp.getAutoMode(organisation, options).then((request) => request(axios, basePath));
3173
+ },
3174
+ /**
3175
+ *
3176
+ * @summary Save the auto mode setting for an organisation
3177
+ * @param {string} organisation The organisation ID
3178
+ * @param {AIAutoModeInput} aIAutoModeInput
3179
+ * @param {*} [options] Override http request option.
3180
+ * @throws {RequiredError}
3181
+ */
3182
+ updateAutoMode(organisation, aIAutoModeInput, options) {
3183
+ return localVarFp.updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(axios, basePath));
3184
+ },
3185
+ };
3186
+ };
3187
+ /**
3188
+ * AIAutoModeApi - object-oriented interface
3189
+ * @export
3190
+ * @class AIAutoModeApi
3191
+ * @extends {BaseAPI}
3192
+ */
3193
+ export class AIAutoModeApi extends BaseAPI {
3194
+ /**
3195
+ *
3196
+ * @summary Remove the auto mode setting for an organisation
3197
+ * @param {string} organisation The organisation ID
3198
+ * @param {*} [options] Override http request option.
3199
+ * @throws {RequiredError}
3200
+ * @memberof AIAutoModeApi
3201
+ */
3202
+ deleteAutoMode(organisation, options) {
3203
+ return AIAutoModeApiFp(this.configuration).deleteAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
3204
+ }
3205
+ /**
3206
+ *
3207
+ * @summary Get the auto mode setting for an organisation
3208
+ * @param {string} organisation The organisation ID
3209
+ * @param {*} [options] Override http request option.
3210
+ * @throws {RequiredError}
3211
+ * @memberof AIAutoModeApi
3212
+ */
3213
+ getAutoMode(organisation, options) {
3214
+ return AIAutoModeApiFp(this.configuration).getAutoMode(organisation, options).then((request) => request(this.axios, this.basePath));
3215
+ }
3216
+ /**
3217
+ *
3218
+ * @summary Save the auto mode setting for an organisation
3219
+ * @param {string} organisation The organisation ID
3220
+ * @param {AIAutoModeInput} aIAutoModeInput
3221
+ * @param {*} [options] Override http request option.
3222
+ * @throws {RequiredError}
3223
+ * @memberof AIAutoModeApi
3224
+ */
3225
+ updateAutoMode(organisation, aIAutoModeInput, options) {
3226
+ return AIAutoModeApiFp(this.configuration).updateAutoMode(organisation, aIAutoModeInput, options).then((request) => request(this.axios, this.basePath));
3227
+ }
3228
+ }
2865
3229
  /**
2866
3230
  * AICustomToolsApi - axios parameter creator
2867
3231
  * @export
@@ -11951,53 +12315,163 @@ export class AIVectorDatabaseApi extends BaseAPI {
11951
12315
  }
11952
12316
  }
11953
12317
  /**
11954
- * ApplicationsApi - axios parameter creator
12318
+ * AlertChannelsApi - axios parameter creator
11955
12319
  * @export
11956
12320
  */
11957
- export const ApplicationsApiAxiosParamCreator = function (configuration) {
12321
+ export const AlertChannelsApiAxiosParamCreator = function (configuration) {
11958
12322
  return {
11959
12323
  /**
11960
- *
11961
- * @summary Create a new application
11962
- * @param {string} organisation The organisation ID
11963
- * @param {CreateApplicationRequest} createApplicationRequest
12324
+ * 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.
12325
+ * @summary List the organisation\'s alert channels
12326
+ * @param {string} organisation The organisation machine name
12327
+ * @param {string} project The project machine name
11964
12328
  * @param {*} [options] Override http request option.
11965
12329
  * @throws {RequiredError}
11966
12330
  */
11967
- createApplication: (organisation_1, createApplicationRequest_1, ...args_1) => __awaiter(this, [organisation_1, createApplicationRequest_1, ...args_1], void 0, function* (organisation, createApplicationRequest, options = {}) {
12331
+ alertChannelsList: (organisation_1, project_1, ...args_1) => __awaiter(this, [organisation_1, project_1, ...args_1], void 0, function* (organisation, project, options = {}) {
11968
12332
  // verify required parameter 'organisation' is not null or undefined
11969
- assertParamExists('createApplication', 'organisation', organisation);
11970
- // verify required parameter 'createApplicationRequest' is not null or undefined
11971
- assertParamExists('createApplication', 'createApplicationRequest', createApplicationRequest);
11972
- const localVarPath = `/api/v3/organizations/{organisation}/applications`
11973
- .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
12333
+ assertParamExists('alertChannelsList', 'organisation', organisation);
12334
+ // verify required parameter 'project' is not null or undefined
12335
+ assertParamExists('alertChannelsList', 'project', project);
12336
+ const localVarPath = `/api/v3/organizations/{organisation}/projects/{project}/alert-channels`
12337
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
12338
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
11974
12339
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11975
12340
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11976
12341
  let baseOptions;
11977
12342
  if (configuration) {
11978
12343
  baseOptions = configuration.baseOptions;
11979
12344
  }
11980
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12345
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11981
12346
  const localVarHeaderParameter = {};
11982
12347
  const localVarQueryParameter = {};
11983
12348
  // authentication BearerAuth required
11984
12349
  // http bearer authentication required
11985
12350
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
11986
- localVarHeaderParameter['Content-Type'] = 'application/json';
11987
12351
  setSearchParams(localVarUrlObj, localVarQueryParameter);
11988
12352
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11989
12353
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11990
- localVarRequestOptions.data = serializeDataIfNeeded(createApplicationRequest, localVarRequestOptions, configuration);
11991
12354
  return {
11992
12355
  url: toPathString(localVarUrlObj),
11993
12356
  options: localVarRequestOptions,
11994
12357
  };
11995
12358
  }),
11996
- /**
11997
- *
11998
- * @summary Delete an application
11999
- * @param {string} organisation The organisation ID
12000
- * @param {string} application The application ID
12359
+ };
12360
+ };
12361
+ /**
12362
+ * AlertChannelsApi - functional programming interface
12363
+ * @export
12364
+ */
12365
+ export const AlertChannelsApiFp = function (configuration) {
12366
+ const localVarAxiosParamCreator = AlertChannelsApiAxiosParamCreator(configuration);
12367
+ return {
12368
+ /**
12369
+ * 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.
12370
+ * @summary List the organisation\'s alert channels
12371
+ * @param {string} organisation The organisation machine name
12372
+ * @param {string} project The project machine name
12373
+ * @param {*} [options] Override http request option.
12374
+ * @throws {RequiredError}
12375
+ */
12376
+ alertChannelsList(organisation, project, options) {
12377
+ return __awaiter(this, void 0, void 0, function* () {
12378
+ var _a, _b, _c;
12379
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.alertChannelsList(organisation, project, options);
12380
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12381
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertChannelsApi.alertChannelsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12382
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12383
+ });
12384
+ },
12385
+ };
12386
+ };
12387
+ /**
12388
+ * AlertChannelsApi - factory interface
12389
+ * @export
12390
+ */
12391
+ export const AlertChannelsApiFactory = function (configuration, basePath, axios) {
12392
+ const localVarFp = AlertChannelsApiFp(configuration);
12393
+ return {
12394
+ /**
12395
+ * 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.
12396
+ * @summary List the organisation\'s alert channels
12397
+ * @param {string} organisation The organisation machine name
12398
+ * @param {string} project The project machine name
12399
+ * @param {*} [options] Override http request option.
12400
+ * @throws {RequiredError}
12401
+ */
12402
+ alertChannelsList(organisation, project, options) {
12403
+ return localVarFp.alertChannelsList(organisation, project, options).then((request) => request(axios, basePath));
12404
+ },
12405
+ };
12406
+ };
12407
+ /**
12408
+ * AlertChannelsApi - object-oriented interface
12409
+ * @export
12410
+ * @class AlertChannelsApi
12411
+ * @extends {BaseAPI}
12412
+ */
12413
+ export class AlertChannelsApi extends BaseAPI {
12414
+ /**
12415
+ * 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.
12416
+ * @summary List the organisation\'s alert channels
12417
+ * @param {string} organisation The organisation machine name
12418
+ * @param {string} project The project machine name
12419
+ * @param {*} [options] Override http request option.
12420
+ * @throws {RequiredError}
12421
+ * @memberof AlertChannelsApi
12422
+ */
12423
+ alertChannelsList(organisation, project, options) {
12424
+ return AlertChannelsApiFp(this.configuration).alertChannelsList(organisation, project, options).then((request) => request(this.axios, this.basePath));
12425
+ }
12426
+ }
12427
+ /**
12428
+ * ApplicationsApi - axios parameter creator
12429
+ * @export
12430
+ */
12431
+ export const ApplicationsApiAxiosParamCreator = function (configuration) {
12432
+ return {
12433
+ /**
12434
+ *
12435
+ * @summary Create a new application
12436
+ * @param {string} organisation The organisation ID
12437
+ * @param {CreateApplicationRequest} createApplicationRequest
12438
+ * @param {*} [options] Override http request option.
12439
+ * @throws {RequiredError}
12440
+ */
12441
+ createApplication: (organisation_1, createApplicationRequest_1, ...args_1) => __awaiter(this, [organisation_1, createApplicationRequest_1, ...args_1], void 0, function* (organisation, createApplicationRequest, options = {}) {
12442
+ // verify required parameter 'organisation' is not null or undefined
12443
+ assertParamExists('createApplication', 'organisation', organisation);
12444
+ // verify required parameter 'createApplicationRequest' is not null or undefined
12445
+ assertParamExists('createApplication', 'createApplicationRequest', createApplicationRequest);
12446
+ const localVarPath = `/api/v3/organizations/{organisation}/applications`
12447
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
12448
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12449
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12450
+ let baseOptions;
12451
+ if (configuration) {
12452
+ baseOptions = configuration.baseOptions;
12453
+ }
12454
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
12455
+ const localVarHeaderParameter = {};
12456
+ const localVarQueryParameter = {};
12457
+ // authentication BearerAuth required
12458
+ // http bearer authentication required
12459
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
12460
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12461
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12462
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12463
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12464
+ localVarRequestOptions.data = serializeDataIfNeeded(createApplicationRequest, localVarRequestOptions, configuration);
12465
+ return {
12466
+ url: toPathString(localVarUrlObj),
12467
+ options: localVarRequestOptions,
12468
+ };
12469
+ }),
12470
+ /**
12471
+ *
12472
+ * @summary Delete an application
12473
+ * @param {string} organisation The organisation ID
12474
+ * @param {string} application The application ID
12001
12475
  * @param {*} [options] Override http request option.
12002
12476
  * @throws {RequiredError}
12003
12477
  */
@@ -13461,6 +13935,283 @@ export const GetMonthlyMetricsTimestampFormatEnum = {
13461
13935
  Iso8601: 'iso8601',
13462
13936
  Unix: 'unix'
13463
13937
  };
13938
+ /**
13939
+ * CIValuesApi - axios parameter creator
13940
+ * @export
13941
+ */
13942
+ export const CIValuesApiAxiosParamCreator = function (configuration) {
13943
+ return {
13944
+ /**
13945
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
13946
+ * @summary Delete a CI secret or variable
13947
+ * @param {string} organisation The organisation ID
13948
+ * @param {string} name The name, such as DEPLOY_KEY
13949
+ * @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
13950
+ * @param {*} [options] Override http request option.
13951
+ * @throws {RequiredError}
13952
+ */
13953
+ deleteCiValue: (organisation_1, name_1, repo_1, ...args_1) => __awaiter(this, [organisation_1, name_1, repo_1, ...args_1], void 0, function* (organisation, name, repo, options = {}) {
13954
+ // verify required parameter 'organisation' is not null or undefined
13955
+ assertParamExists('deleteCiValue', 'organisation', organisation);
13956
+ // verify required parameter 'name' is not null or undefined
13957
+ assertParamExists('deleteCiValue', 'name', name);
13958
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
13959
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
13960
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
13961
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13962
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13963
+ let baseOptions;
13964
+ if (configuration) {
13965
+ baseOptions = configuration.baseOptions;
13966
+ }
13967
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
13968
+ const localVarHeaderParameter = {};
13969
+ const localVarQueryParameter = {};
13970
+ // authentication BearerAuth required
13971
+ // http bearer authentication required
13972
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13973
+ if (repo !== undefined) {
13974
+ localVarQueryParameter['repo'] = repo;
13975
+ }
13976
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13977
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13978
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13979
+ return {
13980
+ url: toPathString(localVarUrlObj),
13981
+ options: localVarRequestOptions,
13982
+ };
13983
+ }),
13984
+ /**
13985
+ * 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.
13986
+ * @summary List the CI secrets and variables
13987
+ * @param {string} organisation The organisation ID
13988
+ * @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
13989
+ * @param {*} [options] Override http request option.
13990
+ * @throws {RequiredError}
13991
+ */
13992
+ listCiValues: (organisation_1, repo_1, ...args_1) => __awaiter(this, [organisation_1, repo_1, ...args_1], void 0, function* (organisation, repo, options = {}) {
13993
+ // verify required parameter 'organisation' is not null or undefined
13994
+ assertParamExists('listCiValues', 'organisation', organisation);
13995
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values`
13996
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)));
13997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13999
+ let baseOptions;
14000
+ if (configuration) {
14001
+ baseOptions = configuration.baseOptions;
14002
+ }
14003
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14004
+ const localVarHeaderParameter = {};
14005
+ const localVarQueryParameter = {};
14006
+ // authentication BearerAuth required
14007
+ // http bearer authentication required
14008
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
14009
+ if (repo !== undefined) {
14010
+ localVarQueryParameter['repo'] = repo;
14011
+ }
14012
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14013
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14014
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14015
+ return {
14016
+ url: toPathString(localVarUrlObj),
14017
+ options: localVarRequestOptions,
14018
+ };
14019
+ }),
14020
+ /**
14021
+ * 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.
14022
+ * @summary Create or replace a CI secret or variable
14023
+ * @param {string} organisation The organisation ID
14024
+ * @param {string} name The name, such as DEPLOY_KEY
14025
+ * @param {PutCiValueRequest} putCiValueRequest
14026
+ * @param {*} [options] Override http request option.
14027
+ * @throws {RequiredError}
14028
+ */
14029
+ putCiValue: (organisation_1, name_1, putCiValueRequest_1, ...args_1) => __awaiter(this, [organisation_1, name_1, putCiValueRequest_1, ...args_1], void 0, function* (organisation, name, putCiValueRequest, options = {}) {
14030
+ // verify required parameter 'organisation' is not null or undefined
14031
+ assertParamExists('putCiValue', 'organisation', organisation);
14032
+ // verify required parameter 'name' is not null or undefined
14033
+ assertParamExists('putCiValue', 'name', name);
14034
+ // verify required parameter 'putCiValueRequest' is not null or undefined
14035
+ assertParamExists('putCiValue', 'putCiValueRequest', putCiValueRequest);
14036
+ const localVarPath = `/api/v3/organizations/{organisation}/ci/values/{name}`
14037
+ .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
14038
+ .replace(`{${"name"}}`, encodeURIComponent(String(name)));
14039
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14040
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14041
+ let baseOptions;
14042
+ if (configuration) {
14043
+ baseOptions = configuration.baseOptions;
14044
+ }
14045
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
14046
+ const localVarHeaderParameter = {};
14047
+ const localVarQueryParameter = {};
14048
+ // authentication BearerAuth required
14049
+ // http bearer authentication required
14050
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
14051
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14052
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14053
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14054
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14055
+ localVarRequestOptions.data = serializeDataIfNeeded(putCiValueRequest, localVarRequestOptions, configuration);
14056
+ return {
14057
+ url: toPathString(localVarUrlObj),
14058
+ options: localVarRequestOptions,
14059
+ };
14060
+ }),
14061
+ };
14062
+ };
14063
+ /**
14064
+ * CIValuesApi - functional programming interface
14065
+ * @export
14066
+ */
14067
+ export const CIValuesApiFp = function (configuration) {
14068
+ const localVarAxiosParamCreator = CIValuesApiAxiosParamCreator(configuration);
14069
+ return {
14070
+ /**
14071
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
14072
+ * @summary Delete a CI secret or variable
14073
+ * @param {string} organisation The organisation ID
14074
+ * @param {string} name The name, such as DEPLOY_KEY
14075
+ * @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
14076
+ * @param {*} [options] Override http request option.
14077
+ * @throws {RequiredError}
14078
+ */
14079
+ deleteCiValue(organisation, name, repo, options) {
14080
+ return __awaiter(this, void 0, void 0, function* () {
14081
+ var _a, _b, _c;
14082
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCiValue(organisation, name, repo, options);
14083
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14084
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CIValuesApi.deleteCiValue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14085
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14086
+ });
14087
+ },
14088
+ /**
14089
+ * 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.
14090
+ * @summary List the CI secrets and variables
14091
+ * @param {string} organisation The organisation ID
14092
+ * @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
14093
+ * @param {*} [options] Override http request option.
14094
+ * @throws {RequiredError}
14095
+ */
14096
+ listCiValues(organisation, repo, options) {
14097
+ return __awaiter(this, void 0, void 0, function* () {
14098
+ var _a, _b, _c;
14099
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listCiValues(organisation, repo, options);
14100
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14101
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CIValuesApi.listCiValues']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14102
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14103
+ });
14104
+ },
14105
+ /**
14106
+ * 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.
14107
+ * @summary Create or replace a CI secret or variable
14108
+ * @param {string} organisation The organisation ID
14109
+ * @param {string} name The name, such as DEPLOY_KEY
14110
+ * @param {PutCiValueRequest} putCiValueRequest
14111
+ * @param {*} [options] Override http request option.
14112
+ * @throws {RequiredError}
14113
+ */
14114
+ putCiValue(organisation, name, putCiValueRequest, options) {
14115
+ return __awaiter(this, void 0, void 0, function* () {
14116
+ var _a, _b, _c;
14117
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.putCiValue(organisation, name, putCiValueRequest, options);
14118
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14119
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CIValuesApi.putCiValue']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14120
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14121
+ });
14122
+ },
14123
+ };
14124
+ };
14125
+ /**
14126
+ * CIValuesApi - factory interface
14127
+ * @export
14128
+ */
14129
+ export const CIValuesApiFactory = function (configuration, basePath, axios) {
14130
+ const localVarFp = CIValuesApiFp(configuration);
14131
+ return {
14132
+ /**
14133
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
14134
+ * @summary Delete a CI secret or variable
14135
+ * @param {string} organisation The organisation ID
14136
+ * @param {string} name The name, such as DEPLOY_KEY
14137
+ * @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
14138
+ * @param {*} [options] Override http request option.
14139
+ * @throws {RequiredError}
14140
+ */
14141
+ deleteCiValue(organisation, name, repo, options) {
14142
+ return localVarFp.deleteCiValue(organisation, name, repo, options).then((request) => request(axios, basePath));
14143
+ },
14144
+ /**
14145
+ * 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.
14146
+ * @summary List the CI secrets and variables
14147
+ * @param {string} organisation The organisation ID
14148
+ * @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
14149
+ * @param {*} [options] Override http request option.
14150
+ * @throws {RequiredError}
14151
+ */
14152
+ listCiValues(organisation, repo, options) {
14153
+ return localVarFp.listCiValues(organisation, repo, options).then((request) => request(axios, basePath));
14154
+ },
14155
+ /**
14156
+ * 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.
14157
+ * @summary Create or replace a CI secret or variable
14158
+ * @param {string} organisation The organisation ID
14159
+ * @param {string} name The name, such as DEPLOY_KEY
14160
+ * @param {PutCiValueRequest} putCiValueRequest
14161
+ * @param {*} [options] Override http request option.
14162
+ * @throws {RequiredError}
14163
+ */
14164
+ putCiValue(organisation, name, putCiValueRequest, options) {
14165
+ return localVarFp.putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(axios, basePath));
14166
+ },
14167
+ };
14168
+ };
14169
+ /**
14170
+ * CIValuesApi - object-oriented interface
14171
+ * @export
14172
+ * @class CIValuesApi
14173
+ * @extends {BaseAPI}
14174
+ */
14175
+ export class CIValuesApi extends BaseAPI {
14176
+ /**
14177
+ * Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.
14178
+ * @summary Delete a CI secret or variable
14179
+ * @param {string} organisation The organisation ID
14180
+ * @param {string} name The name, such as DEPLOY_KEY
14181
+ * @param {string} [repo] Delete the repository\'s value of this name. Leave out for the organisation\'s value. Lower-cased by the server.
14182
+ * @param {*} [options] Override http request option.
14183
+ * @throws {RequiredError}
14184
+ * @memberof CIValuesApi
14185
+ */
14186
+ deleteCiValue(organisation, name, repo, options) {
14187
+ return CIValuesApiFp(this.configuration).deleteCiValue(organisation, name, repo, options).then((request) => request(this.axios, this.basePath));
14188
+ }
14189
+ /**
14190
+ * 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.
14191
+ * @summary List the CI secrets and variables
14192
+ * @param {string} organisation The organisation ID
14193
+ * @param {string} [repo] Only the organisation\'s values and this repository\'s values. Lower-cased by the server.
14194
+ * @param {*} [options] Override http request option.
14195
+ * @throws {RequiredError}
14196
+ * @memberof CIValuesApi
14197
+ */
14198
+ listCiValues(organisation, repo, options) {
14199
+ return CIValuesApiFp(this.configuration).listCiValues(organisation, repo, options).then((request) => request(this.axios, this.basePath));
14200
+ }
14201
+ /**
14202
+ * 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.
14203
+ * @summary Create or replace a CI secret or variable
14204
+ * @param {string} organisation The organisation ID
14205
+ * @param {string} name The name, such as DEPLOY_KEY
14206
+ * @param {PutCiValueRequest} putCiValueRequest
14207
+ * @param {*} [options] Override http request option.
14208
+ * @throws {RequiredError}
14209
+ * @memberof CIValuesApi
14210
+ */
14211
+ putCiValue(organisation, name, putCiValueRequest, options) {
14212
+ return CIValuesApiFp(this.configuration).putCiValue(organisation, name, putCiValueRequest, options).then((request) => request(this.axios, this.basePath));
14213
+ }
14214
+ }
13464
14215
  /**
13465
14216
  * CommandsApi - axios parameter creator
13466
14217
  * @export
@@ -14098,12 +14849,12 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
14098
14849
  };
14099
14850
  }),
14100
14851
  /**
14101
- *
14852
+ * 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.
14102
14853
  * @summary Update a container in an environment
14103
14854
  * @param {string} organisation The organisation ID
14104
14855
  * @param {string} application The application ID
14105
14856
  * @param {string} environment The environment ID
14106
- * @param {string} container The container ID
14857
+ * @param {string} container The container name
14107
14858
  * @param {Container} container2
14108
14859
  * @param {*} [options] Override http request option.
14109
14860
  * @throws {RequiredError}
@@ -14174,12 +14925,12 @@ export const ContainersApiFp = function (configuration) {
14174
14925
  });
14175
14926
  },
14176
14927
  /**
14177
- *
14928
+ * 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.
14178
14929
  * @summary Update a container in an environment
14179
14930
  * @param {string} organisation The organisation ID
14180
14931
  * @param {string} application The application ID
14181
14932
  * @param {string} environment The environment ID
14182
- * @param {string} container The container ID
14933
+ * @param {string} container The container name
14183
14934
  * @param {Container} container2
14184
14935
  * @param {*} [options] Override http request option.
14185
14936
  * @throws {RequiredError}
@@ -14215,12 +14966,12 @@ export const ContainersApiFactory = function (configuration, basePath, axios) {
14215
14966
  return localVarFp.listContainers(organisation, application, environment, options).then((request) => request(axios, basePath));
14216
14967
  },
14217
14968
  /**
14218
- *
14969
+ * 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.
14219
14970
  * @summary Update a container in an environment
14220
14971
  * @param {string} organisation The organisation ID
14221
14972
  * @param {string} application The application ID
14222
14973
  * @param {string} environment The environment ID
14223
- * @param {string} container The container ID
14974
+ * @param {string} container The container name
14224
14975
  * @param {Container} container2
14225
14976
  * @param {*} [options] Override http request option.
14226
14977
  * @throws {RequiredError}
@@ -14251,12 +15002,12 @@ export class ContainersApi extends BaseAPI {
14251
15002
  return ContainersApiFp(this.configuration).listContainers(organisation, application, environment, options).then((request) => request(this.axios, this.basePath));
14252
15003
  }
14253
15004
  /**
14254
- *
15005
+ * 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.
14255
15006
  * @summary Update a container in an environment
14256
15007
  * @param {string} organisation The organisation ID
14257
15008
  * @param {string} application The application ID
14258
15009
  * @param {string} environment The environment ID
14259
- * @param {string} container The container ID
15010
+ * @param {string} container The container name
14260
15011
  * @param {Container} container2
14261
15012
  * @param {*} [options] Override http request option.
14262
15013
  * @throws {RequiredError}
@@ -17380,51 +18131,6 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
17380
18131
  options: localVarRequestOptions,
17381
18132
  };
17382
18133
  }),
17383
- /**
17384
- * 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.
17385
- * @summary Update Environment Compose Definition
17386
- * @param {string} organisation The organisation ID
17387
- * @param {string} application The application ID
17388
- * @param {string} environment The environment ID
17389
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
17390
- * @param {*} [options] Override http request option.
17391
- * @throws {RequiredError}
17392
- */
17393
- updateEnvironment: (organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1) => __awaiter(this, [organisation_1, application_1, environment_1, updateEnvironmentRequest_1, ...args_1], void 0, function* (organisation, application, environment, updateEnvironmentRequest, options = {}) {
17394
- // verify required parameter 'organisation' is not null or undefined
17395
- assertParamExists('updateEnvironment', 'organisation', organisation);
17396
- // verify required parameter 'application' is not null or undefined
17397
- assertParamExists('updateEnvironment', 'application', application);
17398
- // verify required parameter 'environment' is not null or undefined
17399
- assertParamExists('updateEnvironment', 'environment', environment);
17400
- // verify required parameter 'updateEnvironmentRequest' is not null or undefined
17401
- assertParamExists('updateEnvironment', 'updateEnvironmentRequest', updateEnvironmentRequest);
17402
- const localVarPath = `/api/v3/organizations/{organisation}/applications/{application}/environments/{environment}`
17403
- .replace(`{${"organisation"}}`, encodeURIComponent(String(organisation)))
17404
- .replace(`{${"application"}}`, encodeURIComponent(String(application)))
17405
- .replace(`{${"environment"}}`, encodeURIComponent(String(environment)));
17406
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17407
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17408
- let baseOptions;
17409
- if (configuration) {
17410
- baseOptions = configuration.baseOptions;
17411
- }
17412
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
17413
- const localVarHeaderParameter = {};
17414
- const localVarQueryParameter = {};
17415
- // authentication BearerAuth required
17416
- // http bearer authentication required
17417
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
17418
- localVarHeaderParameter['Content-Type'] = 'application/json';
17419
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17420
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17421
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17422
- localVarRequestOptions.data = serializeDataIfNeeded(updateEnvironmentRequest, localVarRequestOptions, configuration);
17423
- return {
17424
- url: toPathString(localVarUrlObj),
17425
- options: localVarRequestOptions,
17426
- };
17427
- }),
17428
18134
  /**
17429
18135
  *
17430
18136
  * @summary Update the state of an environment
@@ -17660,25 +18366,6 @@ export const EnvironmentsApiFp = function (configuration) {
17660
18366
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17661
18367
  });
17662
18368
  },
17663
- /**
17664
- * 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.
17665
- * @summary Update Environment Compose Definition
17666
- * @param {string} organisation The organisation ID
17667
- * @param {string} application The application ID
17668
- * @param {string} environment The environment ID
17669
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
17670
- * @param {*} [options] Override http request option.
17671
- * @throws {RequiredError}
17672
- */
17673
- updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
17674
- return __awaiter(this, void 0, void 0, function* () {
17675
- var _a, _b, _c;
17676
- const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options);
17677
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17678
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.updateEnvironment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17679
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17680
- });
17681
- },
17682
18369
  /**
17683
18370
  *
17684
18371
  * @summary Update the state of an environment
@@ -17834,19 +18521,6 @@ export const EnvironmentsApiFactory = function (configuration, basePath, axios)
17834
18521
  syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
17835
18522
  return localVarFp.syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(axios, basePath));
17836
18523
  },
17837
- /**
17838
- * 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.
17839
- * @summary Update Environment Compose Definition
17840
- * @param {string} organisation The organisation ID
17841
- * @param {string} application The application ID
17842
- * @param {string} environment The environment ID
17843
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
17844
- * @param {*} [options] Override http request option.
17845
- * @throws {RequiredError}
17846
- */
17847
- updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
17848
- return localVarFp.updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(axios, basePath));
17849
- },
17850
18524
  /**
17851
18525
  *
17852
18526
  * @summary Update the state of an environment
@@ -18005,20 +18679,6 @@ export class EnvironmentsApi extends BaseAPI {
18005
18679
  syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options) {
18006
18680
  return EnvironmentsApiFp(this.configuration).syncToEnvironment(organisation, application, environment, type, syncToEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
18007
18681
  }
18008
- /**
18009
- * 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.
18010
- * @summary Update Environment Compose Definition
18011
- * @param {string} organisation The organisation ID
18012
- * @param {string} application The application ID
18013
- * @param {string} environment The environment ID
18014
- * @param {UpdateEnvironmentRequest} updateEnvironmentRequest
18015
- * @param {*} [options] Override http request option.
18016
- * @throws {RequiredError}
18017
- * @memberof EnvironmentsApi
18018
- */
18019
- updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options) {
18020
- return EnvironmentsApiFp(this.configuration).updateEnvironment(organisation, application, environment, updateEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
18021
- }
18022
18682
  /**
18023
18683
  *
18024
18684
  * @summary Update the state of an environment
@@ -24417,6 +25077,74 @@ export class OrganizationsApi extends BaseAPI {
24417
25077
  */
24418
25078
  export const ProjectsApiAxiosParamCreator = function (configuration) {
24419
25079
  return {
25080
+ /**
25081
+ * 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.
25082
+ * @summary Get edge events for a project
25083
+ * @param {string} organization The organization machine name
25084
+ * @param {string} project The project machine name
25085
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
25086
+ * @param {string} [_function] Only events from this edge function (UUID)
25087
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
25088
+ * @param {string} [search] Case-insensitive substring of the message
25089
+ * @param {number} [limit] Maximum number of events per page (default 100)
25090
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
25091
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
25092
+ * @param {string} [nextToken] Opaque pagination token from the previous response
25093
+ * @param {*} [options] Override http request option.
25094
+ * @throws {RequiredError}
25095
+ */
25096
+ getProjectEdgeEvents: (organization_1, project_1, type_1, _function_1, level_1, search_1, limit_1, startTime_1, endTime_1, nextToken_1, ...args_1) => __awaiter(this, [organization_1, project_1, type_1, _function_1, level_1, search_1, limit_1, startTime_1, endTime_1, nextToken_1, ...args_1], void 0, function* (organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options = {}) {
25097
+ // verify required parameter 'organization' is not null or undefined
25098
+ assertParamExists('getProjectEdgeEvents', 'organization', organization);
25099
+ // verify required parameter 'project' is not null or undefined
25100
+ assertParamExists('getProjectEdgeEvents', 'project', project);
25101
+ const localVarPath = `/api/v2/organizations/{organization}/projects/{project}/edge-events`
25102
+ .replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
25103
+ .replace(`{${"project"}}`, encodeURIComponent(String(project)));
25104
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25105
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25106
+ let baseOptions;
25107
+ if (configuration) {
25108
+ baseOptions = configuration.baseOptions;
25109
+ }
25110
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25111
+ const localVarHeaderParameter = {};
25112
+ const localVarQueryParameter = {};
25113
+ // authentication BearerAuth required
25114
+ // http bearer authentication required
25115
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
25116
+ if (type !== undefined) {
25117
+ localVarQueryParameter['type'] = type;
25118
+ }
25119
+ if (_function !== undefined) {
25120
+ localVarQueryParameter['function'] = _function;
25121
+ }
25122
+ if (level !== undefined) {
25123
+ localVarQueryParameter['level'] = level;
25124
+ }
25125
+ if (search !== undefined) {
25126
+ localVarQueryParameter['search'] = search;
25127
+ }
25128
+ if (limit !== undefined) {
25129
+ localVarQueryParameter['limit'] = limit;
25130
+ }
25131
+ if (startTime !== undefined) {
25132
+ localVarQueryParameter['startTime'] = startTime;
25133
+ }
25134
+ if (endTime !== undefined) {
25135
+ localVarQueryParameter['endTime'] = endTime;
25136
+ }
25137
+ if (nextToken !== undefined) {
25138
+ localVarQueryParameter['nextToken'] = nextToken;
25139
+ }
25140
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25142
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25143
+ return {
25144
+ url: toPathString(localVarUrlObj),
25145
+ options: localVarRequestOptions,
25146
+ };
25147
+ }),
24420
25148
  /**
24421
25149
  * 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.
24422
25150
  * @summary Get CDN access logs for a project
@@ -24674,6 +25402,31 @@ export const ProjectsApiAxiosParamCreator = function (configuration) {
24674
25402
  export const ProjectsApiFp = function (configuration) {
24675
25403
  const localVarAxiosParamCreator = ProjectsApiAxiosParamCreator(configuration);
24676
25404
  return {
25405
+ /**
25406
+ * 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.
25407
+ * @summary Get edge events for a project
25408
+ * @param {string} organization The organization machine name
25409
+ * @param {string} project The project machine name
25410
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
25411
+ * @param {string} [_function] Only events from this edge function (UUID)
25412
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
25413
+ * @param {string} [search] Case-insensitive substring of the message
25414
+ * @param {number} [limit] Maximum number of events per page (default 100)
25415
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
25416
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
25417
+ * @param {string} [nextToken] Opaque pagination token from the previous response
25418
+ * @param {*} [options] Override http request option.
25419
+ * @throws {RequiredError}
25420
+ */
25421
+ getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options) {
25422
+ return __awaiter(this, void 0, void 0, function* () {
25423
+ var _a, _b, _c;
25424
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options);
25425
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25426
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProjectsApi.getProjectEdgeEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25427
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25428
+ });
25429
+ },
24677
25430
  /**
24678
25431
  * 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.
24679
25432
  * @summary Get CDN access logs for a project
@@ -24792,6 +25545,25 @@ export const ProjectsApiFp = function (configuration) {
24792
25545
  export const ProjectsApiFactory = function (configuration, basePath, axios) {
24793
25546
  const localVarFp = ProjectsApiFp(configuration);
24794
25547
  return {
25548
+ /**
25549
+ * 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.
25550
+ * @summary Get edge events for a project
25551
+ * @param {string} organization The organization machine name
25552
+ * @param {string} project The project machine name
25553
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
25554
+ * @param {string} [_function] Only events from this edge function (UUID)
25555
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
25556
+ * @param {string} [search] Case-insensitive substring of the message
25557
+ * @param {number} [limit] Maximum number of events per page (default 100)
25558
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
25559
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
25560
+ * @param {string} [nextToken] Opaque pagination token from the previous response
25561
+ * @param {*} [options] Override http request option.
25562
+ * @throws {RequiredError}
25563
+ */
25564
+ getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options) {
25565
+ return localVarFp.getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(axios, basePath));
25566
+ },
24795
25567
  /**
24796
25568
  * 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.
24797
25569
  * @summary Get CDN access logs for a project
@@ -24874,6 +25646,26 @@ export const ProjectsApiFactory = function (configuration, basePath, axios) {
24874
25646
  * @extends {BaseAPI}
24875
25647
  */
24876
25648
  export class ProjectsApi extends BaseAPI {
25649
+ /**
25650
+ * 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.
25651
+ * @summary Get edge events for a project
25652
+ * @param {string} organization The organization machine name
25653
+ * @param {string} project The project machine name
25654
+ * @param {string} [type] Comma-separated event types: console, function, waf-hit, static-failover
25655
+ * @param {string} [_function] Only events from this edge function (UUID)
25656
+ * @param {GetProjectEdgeEventsLevelEnum} [level] Only console events at this level
25657
+ * @param {string} [search] Case-insensitive substring of the message
25658
+ * @param {number} [limit] Maximum number of events per page (default 100)
25659
+ * @param {string} [startTime] Start of the time range. ISO 8601 or Unix epoch milliseconds.
25660
+ * @param {string} [endTime] End of the time range. ISO 8601 or Unix epoch milliseconds.
25661
+ * @param {string} [nextToken] Opaque pagination token from the previous response
25662
+ * @param {*} [options] Override http request option.
25663
+ * @throws {RequiredError}
25664
+ * @memberof ProjectsApi
25665
+ */
25666
+ getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options) {
25667
+ return ProjectsApiFp(this.configuration).getProjectEdgeEvents(organization, project, type, _function, level, search, limit, startTime, endTime, nextToken, options).then((request) => request(this.axios, this.basePath));
25668
+ }
24877
25669
  /**
24878
25670
  * 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.
24879
25671
  * @summary Get CDN access logs for a project
@@ -24954,6 +25746,16 @@ export class ProjectsApi extends BaseAPI {
24954
25746
  return ProjectsApiFp(this.configuration).projectsUpdate(organization, project, v2ProjectRequest, options).then((request) => request(this.axios, this.basePath));
24955
25747
  }
24956
25748
  }
25749
+ /**
25750
+ * @export
25751
+ */
25752
+ export const GetProjectEdgeEventsLevelEnum = {
25753
+ Log: 'log',
25754
+ Info: 'info',
25755
+ Warn: 'warn',
25756
+ Error: 'error',
25757
+ Debug: 'debug'
25758
+ };
24957
25759
  /**
24958
25760
  * PurgeApi - axios parameter creator
24959
25761
  * @export
@@ -27688,7 +28490,7 @@ export const RulesApiAxiosParamCreator = function (configuration) {
27688
28490
  };
27689
28491
  }),
27690
28492
  /**
27691
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
28493
+ * 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.
27692
28494
  * @summary List all rules in edge order
27693
28495
  * @param {string} organization
27694
28496
  * @param {string} project
@@ -29059,7 +29861,7 @@ export const RulesApiFp = function (configuration) {
29059
29861
  });
29060
29862
  },
29061
29863
  /**
29062
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
29864
+ * 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.
29063
29865
  * @summary List all rules in edge order
29064
29866
  * @param {string} organization
29065
29867
  * @param {string} project
@@ -29835,7 +30637,7 @@ export const RulesApiFactory = function (configuration, basePath, axios) {
29835
30637
  return localVarFp.rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(axios, basePath));
29836
30638
  },
29837
30639
  /**
29838
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
30640
+ * 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.
29839
30641
  * @summary List all rules in edge order
29840
30642
  * @param {string} organization
29841
30643
  * @param {string} project
@@ -30555,7 +31357,7 @@ export class RulesApi extends BaseAPI {
30555
31357
  return RulesApiFp(this.configuration).rulesHeadersUpdate(organization, project, rule, v2RuleHeaderRequest, options).then((request) => request(this.axios, this.basePath));
30556
31358
  }
30557
31359
  /**
30558
- * Returns every rule in the order the edge runs them. Each item has the fields of the per-type list for its rule type, plus `position` (0-based index in this order) and `managed` (true when a template deploy owns the rule in this project). For a trial organisation without a payment method, the list is partial: it leaves out functions, content filters and auth functions, as their per-type lists refuse that caller (the same gate, with the same superadmin masquerade bypass), so `position` values can have gaps. Do not treat a partial list as a full mirror of the edge rules. One malformed stored rule fails the whole request, so a client never receives an order with a silent hole.
31360
+ * 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.
30559
31361
  * @summary List all rules in edge order
30560
31362
  * @param {string} organization
30561
31363
  * @param {string} project