qovery-typescript-axios 1.1.762 → 1.1.764
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 +8 -297
- package/dist/api.d.ts +6 -158
- package/dist/api.js +8 -230
- package/dist/esm/api.d.ts +6 -158
- package/dist/esm/api.js +8 -230
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -390,7 +390,9 @@ export const AlertRuleConditionFunction = {
|
|
|
390
390
|
NONE: 'NONE',
|
|
391
391
|
AVG: 'AVG',
|
|
392
392
|
MAX: 'MAX',
|
|
393
|
-
MIN: 'MIN'
|
|
393
|
+
MIN: 'MIN',
|
|
394
|
+
SUM: 'SUM',
|
|
395
|
+
COUNT: 'COUNT'
|
|
394
396
|
} as const;
|
|
395
397
|
|
|
396
398
|
export type AlertRuleConditionFunction = typeof AlertRuleConditionFunction[keyof typeof AlertRuleConditionFunction];
|
|
@@ -417,8 +419,12 @@ export type AlertRuleConditionKind = typeof AlertRuleConditionKind[keyof typeof
|
|
|
417
419
|
*/
|
|
418
420
|
|
|
419
421
|
export const AlertRuleConditionOperator = {
|
|
422
|
+
NONE: 'NONE',
|
|
420
423
|
ABOVE: 'ABOVE',
|
|
421
|
-
BELOW: 'BELOW'
|
|
424
|
+
BELOW: 'BELOW',
|
|
425
|
+
ABOVE_OR_EQUAL: 'ABOVE_OR_EQUAL',
|
|
426
|
+
BELOW_OR_EQUAL: 'BELOW_OR_EQUAL',
|
|
427
|
+
EQUAL: 'EQUAL'
|
|
422
428
|
} as const;
|
|
423
429
|
|
|
424
430
|
export type AlertRuleConditionOperator = typeof AlertRuleConditionOperator[keyof typeof AlertRuleConditionOperator];
|
|
@@ -19153,57 +19159,6 @@ export interface TerraformVariableParsingRequest {
|
|
|
19153
19159
|
*/
|
|
19154
19160
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
19155
19161
|
}
|
|
19156
|
-
/**
|
|
19157
|
-
* A Terraform variable with its configuration
|
|
19158
|
-
* @export
|
|
19159
|
-
* @interface TerraformVariableResponse
|
|
19160
|
-
*/
|
|
19161
|
-
export interface TerraformVariableResponse {
|
|
19162
|
-
/**
|
|
19163
|
-
* The variable key/name
|
|
19164
|
-
* @type {string}
|
|
19165
|
-
* @memberof TerraformVariableResponse
|
|
19166
|
-
*/
|
|
19167
|
-
'key': string;
|
|
19168
|
-
/**
|
|
19169
|
-
* The variable value (null if secret and not exposed)
|
|
19170
|
-
* @type {string}
|
|
19171
|
-
* @memberof TerraformVariableResponse
|
|
19172
|
-
*/
|
|
19173
|
-
'value'?: string | null;
|
|
19174
|
-
/**
|
|
19175
|
-
* Whether the variable is secret
|
|
19176
|
-
* @type {boolean}
|
|
19177
|
-
* @memberof TerraformVariableResponse
|
|
19178
|
-
*/
|
|
19179
|
-
'secret': boolean;
|
|
19180
|
-
}
|
|
19181
|
-
/**
|
|
19182
|
-
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
19183
|
-
* @export
|
|
19184
|
-
* @interface TerraformVariablesReplaceRequest
|
|
19185
|
-
*/
|
|
19186
|
-
export interface TerraformVariablesReplaceRequest {
|
|
19187
|
-
/**
|
|
19188
|
-
* Complete list of variables to set (replaces all existing variables)
|
|
19189
|
-
* @type {Array<TerraformVarKeyValue>}
|
|
19190
|
-
* @memberof TerraformVariablesReplaceRequest
|
|
19191
|
-
*/
|
|
19192
|
-
'variables': Array<TerraformVarKeyValue>;
|
|
19193
|
-
}
|
|
19194
|
-
/**
|
|
19195
|
-
* Response containing list of Terraform variables
|
|
19196
|
-
* @export
|
|
19197
|
-
* @interface TerraformVariablesResponse
|
|
19198
|
-
*/
|
|
19199
|
-
export interface TerraformVariablesResponse {
|
|
19200
|
-
/**
|
|
19201
|
-
*
|
|
19202
|
-
* @type {Array<TerraformVariableResponse>}
|
|
19203
|
-
* @memberof TerraformVariablesResponse
|
|
19204
|
-
*/
|
|
19205
|
-
'variables': Array<TerraformVariableResponse>;
|
|
19206
|
-
}
|
|
19207
19162
|
/**
|
|
19208
19163
|
*
|
|
19209
19164
|
* @export
|
|
@@ -61219,51 +61174,6 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
61219
61174
|
*/
|
|
61220
61175
|
export const TerraformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61221
61176
|
return {
|
|
61222
|
-
/**
|
|
61223
|
-
*
|
|
61224
|
-
* @summary Delete a terraform variable
|
|
61225
|
-
* @param {string} terraformId Terraform ID
|
|
61226
|
-
* @param {string} key Variable key to delete
|
|
61227
|
-
* @param {*} [options] Override http request option.
|
|
61228
|
-
* @throws {RequiredError}
|
|
61229
|
-
*/
|
|
61230
|
-
deleteTerraformVariable: async (terraformId: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61231
|
-
// verify required parameter 'terraformId' is not null or undefined
|
|
61232
|
-
assertParamExists('deleteTerraformVariable', 'terraformId', terraformId)
|
|
61233
|
-
// verify required parameter 'key' is not null or undefined
|
|
61234
|
-
assertParamExists('deleteTerraformVariable', 'key', key)
|
|
61235
|
-
const localVarPath = `/terraform/{terraformId}/variables/{key}`
|
|
61236
|
-
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
61237
|
-
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
61238
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61239
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61240
|
-
let baseOptions;
|
|
61241
|
-
if (configuration) {
|
|
61242
|
-
baseOptions = configuration.baseOptions;
|
|
61243
|
-
}
|
|
61244
|
-
|
|
61245
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
61246
|
-
const localVarHeaderParameter = {} as any;
|
|
61247
|
-
const localVarQueryParameter = {} as any;
|
|
61248
|
-
|
|
61249
|
-
// authentication ApiKeyAuth required
|
|
61250
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61251
|
-
|
|
61252
|
-
// authentication bearerAuth required
|
|
61253
|
-
// http bearer authentication required
|
|
61254
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61255
|
-
|
|
61256
|
-
|
|
61257
|
-
|
|
61258
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61259
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61260
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61261
|
-
|
|
61262
|
-
return {
|
|
61263
|
-
url: toPathString(localVarUrlObj),
|
|
61264
|
-
options: localVarRequestOptions,
|
|
61265
|
-
};
|
|
61266
|
-
},
|
|
61267
61177
|
/**
|
|
61268
61178
|
*
|
|
61269
61179
|
* @summary Edit Advanced settings
|
|
@@ -61345,94 +61255,6 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61345
61255
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61346
61256
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61347
61257
|
|
|
61348
|
-
return {
|
|
61349
|
-
url: toPathString(localVarUrlObj),
|
|
61350
|
-
options: localVarRequestOptions,
|
|
61351
|
-
};
|
|
61352
|
-
},
|
|
61353
|
-
/**
|
|
61354
|
-
*
|
|
61355
|
-
* @summary Get terraform variables
|
|
61356
|
-
* @param {string} terraformId Terraform ID
|
|
61357
|
-
* @param {*} [options] Override http request option.
|
|
61358
|
-
* @throws {RequiredError}
|
|
61359
|
-
*/
|
|
61360
|
-
getTerraformVariables: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61361
|
-
// verify required parameter 'terraformId' is not null or undefined
|
|
61362
|
-
assertParamExists('getTerraformVariables', 'terraformId', terraformId)
|
|
61363
|
-
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61364
|
-
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61365
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61366
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61367
|
-
let baseOptions;
|
|
61368
|
-
if (configuration) {
|
|
61369
|
-
baseOptions = configuration.baseOptions;
|
|
61370
|
-
}
|
|
61371
|
-
|
|
61372
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
61373
|
-
const localVarHeaderParameter = {} as any;
|
|
61374
|
-
const localVarQueryParameter = {} as any;
|
|
61375
|
-
|
|
61376
|
-
// authentication ApiKeyAuth required
|
|
61377
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61378
|
-
|
|
61379
|
-
// authentication bearerAuth required
|
|
61380
|
-
// http bearer authentication required
|
|
61381
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61382
|
-
|
|
61383
|
-
|
|
61384
|
-
|
|
61385
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61386
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61387
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61388
|
-
|
|
61389
|
-
return {
|
|
61390
|
-
url: toPathString(localVarUrlObj),
|
|
61391
|
-
options: localVarRequestOptions,
|
|
61392
|
-
};
|
|
61393
|
-
},
|
|
61394
|
-
/**
|
|
61395
|
-
*
|
|
61396
|
-
* @summary Replace all terraform variables
|
|
61397
|
-
* @param {string} terraformId Terraform ID
|
|
61398
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61399
|
-
* @param {*} [options] Override http request option.
|
|
61400
|
-
* @throws {RequiredError}
|
|
61401
|
-
*/
|
|
61402
|
-
replaceAllTerraformVariables: async (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61403
|
-
// verify required parameter 'terraformId' is not null or undefined
|
|
61404
|
-
assertParamExists('replaceAllTerraformVariables', 'terraformId', terraformId)
|
|
61405
|
-
// verify required parameter 'terraformVariablesReplaceRequest' is not null or undefined
|
|
61406
|
-
assertParamExists('replaceAllTerraformVariables', 'terraformVariablesReplaceRequest', terraformVariablesReplaceRequest)
|
|
61407
|
-
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61408
|
-
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61409
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61410
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61411
|
-
let baseOptions;
|
|
61412
|
-
if (configuration) {
|
|
61413
|
-
baseOptions = configuration.baseOptions;
|
|
61414
|
-
}
|
|
61415
|
-
|
|
61416
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
61417
|
-
const localVarHeaderParameter = {} as any;
|
|
61418
|
-
const localVarQueryParameter = {} as any;
|
|
61419
|
-
|
|
61420
|
-
// authentication ApiKeyAuth required
|
|
61421
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61422
|
-
|
|
61423
|
-
// authentication bearerAuth required
|
|
61424
|
-
// http bearer authentication required
|
|
61425
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61426
|
-
|
|
61427
|
-
|
|
61428
|
-
|
|
61429
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
61430
|
-
|
|
61431
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61432
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61433
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61434
|
-
localVarRequestOptions.data = serializeDataIfNeeded(terraformVariablesReplaceRequest, localVarRequestOptions, configuration)
|
|
61435
|
-
|
|
61436
61258
|
return {
|
|
61437
61259
|
url: toPathString(localVarUrlObj),
|
|
61438
61260
|
options: localVarRequestOptions,
|
|
@@ -61448,20 +61270,6 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61448
61270
|
export const TerraformConfigurationApiFp = function(configuration?: Configuration) {
|
|
61449
61271
|
const localVarAxiosParamCreator = TerraformConfigurationApiAxiosParamCreator(configuration)
|
|
61450
61272
|
return {
|
|
61451
|
-
/**
|
|
61452
|
-
*
|
|
61453
|
-
* @summary Delete a terraform variable
|
|
61454
|
-
* @param {string} terraformId Terraform ID
|
|
61455
|
-
* @param {string} key Variable key to delete
|
|
61456
|
-
* @param {*} [options] Override http request option.
|
|
61457
|
-
* @throws {RequiredError}
|
|
61458
|
-
*/
|
|
61459
|
-
async deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61460
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraformVariable(terraformId, key, options);
|
|
61461
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61462
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.deleteTerraformVariable']?.[localVarOperationServerIndex]?.url;
|
|
61463
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61464
|
-
},
|
|
61465
61273
|
/**
|
|
61466
61274
|
*
|
|
61467
61275
|
* @summary Edit Advanced settings
|
|
@@ -61489,33 +61297,6 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61489
61297
|
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
61490
61298
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61491
61299
|
},
|
|
61492
|
-
/**
|
|
61493
|
-
*
|
|
61494
|
-
* @summary Get terraform variables
|
|
61495
|
-
* @param {string} terraformId Terraform ID
|
|
61496
|
-
* @param {*} [options] Override http request option.
|
|
61497
|
-
* @throws {RequiredError}
|
|
61498
|
-
*/
|
|
61499
|
-
async getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>> {
|
|
61500
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraformVariables(terraformId, options);
|
|
61501
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61502
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformVariables']?.[localVarOperationServerIndex]?.url;
|
|
61503
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61504
|
-
},
|
|
61505
|
-
/**
|
|
61506
|
-
*
|
|
61507
|
-
* @summary Replace all terraform variables
|
|
61508
|
-
* @param {string} terraformId Terraform ID
|
|
61509
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61510
|
-
* @param {*} [options] Override http request option.
|
|
61511
|
-
* @throws {RequiredError}
|
|
61512
|
-
*/
|
|
61513
|
-
async replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options);
|
|
61515
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61516
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.replaceAllTerraformVariables']?.[localVarOperationServerIndex]?.url;
|
|
61517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61518
|
-
},
|
|
61519
61300
|
}
|
|
61520
61301
|
};
|
|
61521
61302
|
|
|
@@ -61526,17 +61307,6 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61526
61307
|
export const TerraformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
61527
61308
|
const localVarFp = TerraformConfigurationApiFp(configuration)
|
|
61528
61309
|
return {
|
|
61529
|
-
/**
|
|
61530
|
-
*
|
|
61531
|
-
* @summary Delete a terraform variable
|
|
61532
|
-
* @param {string} terraformId Terraform ID
|
|
61533
|
-
* @param {string} key Variable key to delete
|
|
61534
|
-
* @param {*} [options] Override http request option.
|
|
61535
|
-
* @throws {RequiredError}
|
|
61536
|
-
*/
|
|
61537
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61538
|
-
return localVarFp.deleteTerraformVariable(terraformId, key, options).then((request) => request(axios, basePath));
|
|
61539
|
-
},
|
|
61540
61310
|
/**
|
|
61541
61311
|
*
|
|
61542
61312
|
* @summary Edit Advanced settings
|
|
@@ -61558,27 +61328,6 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61558
61328
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
|
|
61559
61329
|
return localVarFp.getTerraformAdvancedSettings(terraformId, options).then((request) => request(axios, basePath));
|
|
61560
61330
|
},
|
|
61561
|
-
/**
|
|
61562
|
-
*
|
|
61563
|
-
* @summary Get terraform variables
|
|
61564
|
-
* @param {string} terraformId Terraform ID
|
|
61565
|
-
* @param {*} [options] Override http request option.
|
|
61566
|
-
* @throws {RequiredError}
|
|
61567
|
-
*/
|
|
61568
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse> {
|
|
61569
|
-
return localVarFp.getTerraformVariables(terraformId, options).then((request) => request(axios, basePath));
|
|
61570
|
-
},
|
|
61571
|
-
/**
|
|
61572
|
-
*
|
|
61573
|
-
* @summary Replace all terraform variables
|
|
61574
|
-
* @param {string} terraformId Terraform ID
|
|
61575
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61576
|
-
* @param {*} [options] Override http request option.
|
|
61577
|
-
* @throws {RequiredError}
|
|
61578
|
-
*/
|
|
61579
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61580
|
-
return localVarFp.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(axios, basePath));
|
|
61581
|
-
},
|
|
61582
61331
|
};
|
|
61583
61332
|
};
|
|
61584
61333
|
|
|
@@ -61589,19 +61338,6 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61589
61338
|
* @extends {BaseAPI}
|
|
61590
61339
|
*/
|
|
61591
61340
|
export class TerraformConfigurationApi extends BaseAPI {
|
|
61592
|
-
/**
|
|
61593
|
-
*
|
|
61594
|
-
* @summary Delete a terraform variable
|
|
61595
|
-
* @param {string} terraformId Terraform ID
|
|
61596
|
-
* @param {string} key Variable key to delete
|
|
61597
|
-
* @param {*} [options] Override http request option.
|
|
61598
|
-
* @throws {RequiredError}
|
|
61599
|
-
* @memberof TerraformConfigurationApi
|
|
61600
|
-
*/
|
|
61601
|
-
public deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig) {
|
|
61602
|
-
return TerraformConfigurationApiFp(this.configuration).deleteTerraformVariable(terraformId, key, options).then((request) => request(this.axios, this.basePath));
|
|
61603
|
-
}
|
|
61604
|
-
|
|
61605
61341
|
/**
|
|
61606
61342
|
*
|
|
61607
61343
|
* @summary Edit Advanced settings
|
|
@@ -61626,31 +61362,6 @@ export class TerraformConfigurationApi extends BaseAPI {
|
|
|
61626
61362
|
public getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61627
61363
|
return TerraformConfigurationApiFp(this.configuration).getTerraformAdvancedSettings(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61628
61364
|
}
|
|
61629
|
-
|
|
61630
|
-
/**
|
|
61631
|
-
*
|
|
61632
|
-
* @summary Get terraform variables
|
|
61633
|
-
* @param {string} terraformId Terraform ID
|
|
61634
|
-
* @param {*} [options] Override http request option.
|
|
61635
|
-
* @throws {RequiredError}
|
|
61636
|
-
* @memberof TerraformConfigurationApi
|
|
61637
|
-
*/
|
|
61638
|
-
public getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61639
|
-
return TerraformConfigurationApiFp(this.configuration).getTerraformVariables(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61640
|
-
}
|
|
61641
|
-
|
|
61642
|
-
/**
|
|
61643
|
-
*
|
|
61644
|
-
* @summary Replace all terraform variables
|
|
61645
|
-
* @param {string} terraformId Terraform ID
|
|
61646
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61647
|
-
* @param {*} [options] Override http request option.
|
|
61648
|
-
* @throws {RequiredError}
|
|
61649
|
-
* @memberof TerraformConfigurationApi
|
|
61650
|
-
*/
|
|
61651
|
-
public replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) {
|
|
61652
|
-
return TerraformConfigurationApiFp(this.configuration).replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
61653
|
-
}
|
|
61654
61365
|
}
|
|
61655
61366
|
|
|
61656
61367
|
|
package/dist/api.d.ts
CHANGED
|
@@ -357,6 +357,8 @@ export declare const AlertRuleConditionFunction: {
|
|
|
357
357
|
readonly AVG: "AVG";
|
|
358
358
|
readonly MAX: "MAX";
|
|
359
359
|
readonly MIN: "MIN";
|
|
360
|
+
readonly SUM: "SUM";
|
|
361
|
+
readonly COUNT: "COUNT";
|
|
360
362
|
};
|
|
361
363
|
export type AlertRuleConditionFunction = typeof AlertRuleConditionFunction[keyof typeof AlertRuleConditionFunction];
|
|
362
364
|
/**
|
|
@@ -375,8 +377,12 @@ export type AlertRuleConditionKind = typeof AlertRuleConditionKind[keyof typeof
|
|
|
375
377
|
* @enum {string}
|
|
376
378
|
*/
|
|
377
379
|
export declare const AlertRuleConditionOperator: {
|
|
380
|
+
readonly NONE: "NONE";
|
|
378
381
|
readonly ABOVE: "ABOVE";
|
|
379
382
|
readonly BELOW: "BELOW";
|
|
383
|
+
readonly ABOVE_OR_EQUAL: "ABOVE_OR_EQUAL";
|
|
384
|
+
readonly BELOW_OR_EQUAL: "BELOW_OR_EQUAL";
|
|
385
|
+
readonly EQUAL: "EQUAL";
|
|
380
386
|
};
|
|
381
387
|
export type AlertRuleConditionOperator = typeof AlertRuleConditionOperator[keyof typeof AlertRuleConditionOperator];
|
|
382
388
|
/**
|
|
@@ -18517,57 +18523,6 @@ export interface TerraformVariableParsingRequest {
|
|
|
18517
18523
|
*/
|
|
18518
18524
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
18519
18525
|
}
|
|
18520
|
-
/**
|
|
18521
|
-
* A Terraform variable with its configuration
|
|
18522
|
-
* @export
|
|
18523
|
-
* @interface TerraformVariableResponse
|
|
18524
|
-
*/
|
|
18525
|
-
export interface TerraformVariableResponse {
|
|
18526
|
-
/**
|
|
18527
|
-
* The variable key/name
|
|
18528
|
-
* @type {string}
|
|
18529
|
-
* @memberof TerraformVariableResponse
|
|
18530
|
-
*/
|
|
18531
|
-
'key': string;
|
|
18532
|
-
/**
|
|
18533
|
-
* The variable value (null if secret and not exposed)
|
|
18534
|
-
* @type {string}
|
|
18535
|
-
* @memberof TerraformVariableResponse
|
|
18536
|
-
*/
|
|
18537
|
-
'value'?: string | null;
|
|
18538
|
-
/**
|
|
18539
|
-
* Whether the variable is secret
|
|
18540
|
-
* @type {boolean}
|
|
18541
|
-
* @memberof TerraformVariableResponse
|
|
18542
|
-
*/
|
|
18543
|
-
'secret': boolean;
|
|
18544
|
-
}
|
|
18545
|
-
/**
|
|
18546
|
-
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
18547
|
-
* @export
|
|
18548
|
-
* @interface TerraformVariablesReplaceRequest
|
|
18549
|
-
*/
|
|
18550
|
-
export interface TerraformVariablesReplaceRequest {
|
|
18551
|
-
/**
|
|
18552
|
-
* Complete list of variables to set (replaces all existing variables)
|
|
18553
|
-
* @type {Array<TerraformVarKeyValue>}
|
|
18554
|
-
* @memberof TerraformVariablesReplaceRequest
|
|
18555
|
-
*/
|
|
18556
|
-
'variables': Array<TerraformVarKeyValue>;
|
|
18557
|
-
}
|
|
18558
|
-
/**
|
|
18559
|
-
* Response containing list of Terraform variables
|
|
18560
|
-
* @export
|
|
18561
|
-
* @interface TerraformVariablesResponse
|
|
18562
|
-
*/
|
|
18563
|
-
export interface TerraformVariablesResponse {
|
|
18564
|
-
/**
|
|
18565
|
-
*
|
|
18566
|
-
* @type {Array<TerraformVariableResponse>}
|
|
18567
|
-
* @memberof TerraformVariablesResponse
|
|
18568
|
-
*/
|
|
18569
|
-
'variables': Array<TerraformVariableResponse>;
|
|
18570
|
-
}
|
|
18571
18526
|
/**
|
|
18572
18527
|
*
|
|
18573
18528
|
* @export
|
|
@@ -38334,15 +38289,6 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
38334
38289
|
* @export
|
|
38335
38290
|
*/
|
|
38336
38291
|
export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
38337
|
-
/**
|
|
38338
|
-
*
|
|
38339
|
-
* @summary Delete a terraform variable
|
|
38340
|
-
* @param {string} terraformId Terraform ID
|
|
38341
|
-
* @param {string} key Variable key to delete
|
|
38342
|
-
* @param {*} [options] Override http request option.
|
|
38343
|
-
* @throws {RequiredError}
|
|
38344
|
-
*/
|
|
38345
|
-
deleteTerraformVariable: (terraformId: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38346
38292
|
/**
|
|
38347
38293
|
*
|
|
38348
38294
|
* @summary Edit Advanced settings
|
|
@@ -38360,38 +38306,12 @@ export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?
|
|
|
38360
38306
|
* @throws {RequiredError}
|
|
38361
38307
|
*/
|
|
38362
38308
|
getTerraformAdvancedSettings: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38363
|
-
/**
|
|
38364
|
-
*
|
|
38365
|
-
* @summary Get terraform variables
|
|
38366
|
-
* @param {string} terraformId Terraform ID
|
|
38367
|
-
* @param {*} [options] Override http request option.
|
|
38368
|
-
* @throws {RequiredError}
|
|
38369
|
-
*/
|
|
38370
|
-
getTerraformVariables: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38371
|
-
/**
|
|
38372
|
-
*
|
|
38373
|
-
* @summary Replace all terraform variables
|
|
38374
|
-
* @param {string} terraformId Terraform ID
|
|
38375
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38376
|
-
* @param {*} [options] Override http request option.
|
|
38377
|
-
* @throws {RequiredError}
|
|
38378
|
-
*/
|
|
38379
|
-
replaceAllTerraformVariables: (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38380
38309
|
};
|
|
38381
38310
|
/**
|
|
38382
38311
|
* TerraformConfigurationApi - functional programming interface
|
|
38383
38312
|
* @export
|
|
38384
38313
|
*/
|
|
38385
38314
|
export declare const TerraformConfigurationApiFp: (configuration?: Configuration) => {
|
|
38386
|
-
/**
|
|
38387
|
-
*
|
|
38388
|
-
* @summary Delete a terraform variable
|
|
38389
|
-
* @param {string} terraformId Terraform ID
|
|
38390
|
-
* @param {string} key Variable key to delete
|
|
38391
|
-
* @param {*} [options] Override http request option.
|
|
38392
|
-
* @throws {RequiredError}
|
|
38393
|
-
*/
|
|
38394
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38395
38315
|
/**
|
|
38396
38316
|
*
|
|
38397
38317
|
* @summary Edit Advanced settings
|
|
@@ -38409,38 +38329,12 @@ export declare const TerraformConfigurationApiFp: (configuration?: Configuration
|
|
|
38409
38329
|
* @throws {RequiredError}
|
|
38410
38330
|
*/
|
|
38411
38331
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>>;
|
|
38412
|
-
/**
|
|
38413
|
-
*
|
|
38414
|
-
* @summary Get terraform variables
|
|
38415
|
-
* @param {string} terraformId Terraform ID
|
|
38416
|
-
* @param {*} [options] Override http request option.
|
|
38417
|
-
* @throws {RequiredError}
|
|
38418
|
-
*/
|
|
38419
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>>;
|
|
38420
|
-
/**
|
|
38421
|
-
*
|
|
38422
|
-
* @summary Replace all terraform variables
|
|
38423
|
-
* @param {string} terraformId Terraform ID
|
|
38424
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38425
|
-
* @param {*} [options] Override http request option.
|
|
38426
|
-
* @throws {RequiredError}
|
|
38427
|
-
*/
|
|
38428
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38429
38332
|
};
|
|
38430
38333
|
/**
|
|
38431
38334
|
* TerraformConfigurationApi - factory interface
|
|
38432
38335
|
* @export
|
|
38433
38336
|
*/
|
|
38434
38337
|
export declare const TerraformConfigurationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
38435
|
-
/**
|
|
38436
|
-
*
|
|
38437
|
-
* @summary Delete a terraform variable
|
|
38438
|
-
* @param {string} terraformId Terraform ID
|
|
38439
|
-
* @param {string} key Variable key to delete
|
|
38440
|
-
* @param {*} [options] Override http request option.
|
|
38441
|
-
* @throws {RequiredError}
|
|
38442
|
-
*/
|
|
38443
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
38444
38338
|
/**
|
|
38445
38339
|
*
|
|
38446
38340
|
* @summary Edit Advanced settings
|
|
@@ -38458,23 +38352,6 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38458
38352
|
* @throws {RequiredError}
|
|
38459
38353
|
*/
|
|
38460
38354
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings>;
|
|
38461
|
-
/**
|
|
38462
|
-
*
|
|
38463
|
-
* @summary Get terraform variables
|
|
38464
|
-
* @param {string} terraformId Terraform ID
|
|
38465
|
-
* @param {*} [options] Override http request option.
|
|
38466
|
-
* @throws {RequiredError}
|
|
38467
|
-
*/
|
|
38468
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse>;
|
|
38469
|
-
/**
|
|
38470
|
-
*
|
|
38471
|
-
* @summary Replace all terraform variables
|
|
38472
|
-
* @param {string} terraformId Terraform ID
|
|
38473
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38474
|
-
* @param {*} [options] Override http request option.
|
|
38475
|
-
* @throws {RequiredError}
|
|
38476
|
-
*/
|
|
38477
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
38478
38355
|
};
|
|
38479
38356
|
/**
|
|
38480
38357
|
* TerraformConfigurationApi - object-oriented interface
|
|
@@ -38483,16 +38360,6 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38483
38360
|
* @extends {BaseAPI}
|
|
38484
38361
|
*/
|
|
38485
38362
|
export declare class TerraformConfigurationApi extends BaseAPI {
|
|
38486
|
-
/**
|
|
38487
|
-
*
|
|
38488
|
-
* @summary Delete a terraform variable
|
|
38489
|
-
* @param {string} terraformId Terraform ID
|
|
38490
|
-
* @param {string} key Variable key to delete
|
|
38491
|
-
* @param {*} [options] Override http request option.
|
|
38492
|
-
* @throws {RequiredError}
|
|
38493
|
-
* @memberof TerraformConfigurationApi
|
|
38494
|
-
*/
|
|
38495
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38496
38363
|
/**
|
|
38497
38364
|
*
|
|
38498
38365
|
* @summary Edit Advanced settings
|
|
@@ -38512,25 +38379,6 @@ export declare class TerraformConfigurationApi extends BaseAPI {
|
|
|
38512
38379
|
* @memberof TerraformConfigurationApi
|
|
38513
38380
|
*/
|
|
38514
38381
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformAdvancedSettings, any, {}>>;
|
|
38515
|
-
/**
|
|
38516
|
-
*
|
|
38517
|
-
* @summary Get terraform variables
|
|
38518
|
-
* @param {string} terraformId Terraform ID
|
|
38519
|
-
* @param {*} [options] Override http request option.
|
|
38520
|
-
* @throws {RequiredError}
|
|
38521
|
-
* @memberof TerraformConfigurationApi
|
|
38522
|
-
*/
|
|
38523
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVariablesResponse, any, {}>>;
|
|
38524
|
-
/**
|
|
38525
|
-
*
|
|
38526
|
-
* @summary Replace all terraform variables
|
|
38527
|
-
* @param {string} terraformId Terraform ID
|
|
38528
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38529
|
-
* @param {*} [options] Override http request option.
|
|
38530
|
-
* @throws {RequiredError}
|
|
38531
|
-
* @memberof TerraformConfigurationApi
|
|
38532
|
-
*/
|
|
38533
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38534
38382
|
}
|
|
38535
38383
|
/**
|
|
38536
38384
|
* TerraformDeploymentHistoryApi - axios parameter creator
|