qovery-typescript-axios 1.1.761 → 1.1.763
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 +6 -295
- package/dist/api.d.ts +6 -158
- package/dist/api.js +0 -228
- package/dist/esm/api.d.ts +6 -158
- package/dist/esm/api.js +0 -228
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -689,6 +689,12 @@ export interface AlertRuleResponse {
|
|
|
689
689
|
* @memberof AlertRuleResponse
|
|
690
690
|
*/
|
|
691
691
|
'is_up_to_date': boolean;
|
|
692
|
+
/**
|
|
693
|
+
* when the alert starts firing
|
|
694
|
+
* @type {string}
|
|
695
|
+
* @memberof AlertRuleResponse
|
|
696
|
+
*/
|
|
697
|
+
'starts_at'?: string;
|
|
692
698
|
}
|
|
693
699
|
|
|
694
700
|
|
|
@@ -19147,57 +19153,6 @@ export interface TerraformVariableParsingRequest {
|
|
|
19147
19153
|
*/
|
|
19148
19154
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
19149
19155
|
}
|
|
19150
|
-
/**
|
|
19151
|
-
* A Terraform variable with its configuration
|
|
19152
|
-
* @export
|
|
19153
|
-
* @interface TerraformVariableResponse
|
|
19154
|
-
*/
|
|
19155
|
-
export interface TerraformVariableResponse {
|
|
19156
|
-
/**
|
|
19157
|
-
* The variable key/name
|
|
19158
|
-
* @type {string}
|
|
19159
|
-
* @memberof TerraformVariableResponse
|
|
19160
|
-
*/
|
|
19161
|
-
'key': string;
|
|
19162
|
-
/**
|
|
19163
|
-
* The variable value (null if secret and not exposed)
|
|
19164
|
-
* @type {string}
|
|
19165
|
-
* @memberof TerraformVariableResponse
|
|
19166
|
-
*/
|
|
19167
|
-
'value'?: string | null;
|
|
19168
|
-
/**
|
|
19169
|
-
* Whether the variable is secret
|
|
19170
|
-
* @type {boolean}
|
|
19171
|
-
* @memberof TerraformVariableResponse
|
|
19172
|
-
*/
|
|
19173
|
-
'secret': boolean;
|
|
19174
|
-
}
|
|
19175
|
-
/**
|
|
19176
|
-
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
19177
|
-
* @export
|
|
19178
|
-
* @interface TerraformVariablesReplaceRequest
|
|
19179
|
-
*/
|
|
19180
|
-
export interface TerraformVariablesReplaceRequest {
|
|
19181
|
-
/**
|
|
19182
|
-
* Complete list of variables to set (replaces all existing variables)
|
|
19183
|
-
* @type {Array<TerraformVarKeyValue>}
|
|
19184
|
-
* @memberof TerraformVariablesReplaceRequest
|
|
19185
|
-
*/
|
|
19186
|
-
'variables': Array<TerraformVarKeyValue>;
|
|
19187
|
-
}
|
|
19188
|
-
/**
|
|
19189
|
-
* Response containing list of Terraform variables
|
|
19190
|
-
* @export
|
|
19191
|
-
* @interface TerraformVariablesResponse
|
|
19192
|
-
*/
|
|
19193
|
-
export interface TerraformVariablesResponse {
|
|
19194
|
-
/**
|
|
19195
|
-
*
|
|
19196
|
-
* @type {Array<TerraformVariableResponse>}
|
|
19197
|
-
* @memberof TerraformVariablesResponse
|
|
19198
|
-
*/
|
|
19199
|
-
'variables': Array<TerraformVariableResponse>;
|
|
19200
|
-
}
|
|
19201
19156
|
/**
|
|
19202
19157
|
*
|
|
19203
19158
|
* @export
|
|
@@ -61213,51 +61168,6 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
61213
61168
|
*/
|
|
61214
61169
|
export const TerraformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61215
61170
|
return {
|
|
61216
|
-
/**
|
|
61217
|
-
*
|
|
61218
|
-
* @summary Delete a terraform variable
|
|
61219
|
-
* @param {string} terraformId Terraform ID
|
|
61220
|
-
* @param {string} key Variable key to delete
|
|
61221
|
-
* @param {*} [options] Override http request option.
|
|
61222
|
-
* @throws {RequiredError}
|
|
61223
|
-
*/
|
|
61224
|
-
deleteTerraformVariable: async (terraformId: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61225
|
-
// verify required parameter 'terraformId' is not null or undefined
|
|
61226
|
-
assertParamExists('deleteTerraformVariable', 'terraformId', terraformId)
|
|
61227
|
-
// verify required parameter 'key' is not null or undefined
|
|
61228
|
-
assertParamExists('deleteTerraformVariable', 'key', key)
|
|
61229
|
-
const localVarPath = `/terraform/{terraformId}/variables/{key}`
|
|
61230
|
-
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
61231
|
-
.replace(`{${"key"}}`, encodeURIComponent(String(key)));
|
|
61232
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61233
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61234
|
-
let baseOptions;
|
|
61235
|
-
if (configuration) {
|
|
61236
|
-
baseOptions = configuration.baseOptions;
|
|
61237
|
-
}
|
|
61238
|
-
|
|
61239
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
61240
|
-
const localVarHeaderParameter = {} as any;
|
|
61241
|
-
const localVarQueryParameter = {} as any;
|
|
61242
|
-
|
|
61243
|
-
// authentication ApiKeyAuth required
|
|
61244
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61245
|
-
|
|
61246
|
-
// authentication bearerAuth required
|
|
61247
|
-
// http bearer authentication required
|
|
61248
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61249
|
-
|
|
61250
|
-
|
|
61251
|
-
|
|
61252
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61253
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61254
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61255
|
-
|
|
61256
|
-
return {
|
|
61257
|
-
url: toPathString(localVarUrlObj),
|
|
61258
|
-
options: localVarRequestOptions,
|
|
61259
|
-
};
|
|
61260
|
-
},
|
|
61261
61171
|
/**
|
|
61262
61172
|
*
|
|
61263
61173
|
* @summary Edit Advanced settings
|
|
@@ -61339,94 +61249,6 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61339
61249
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61340
61250
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61341
61251
|
|
|
61342
|
-
return {
|
|
61343
|
-
url: toPathString(localVarUrlObj),
|
|
61344
|
-
options: localVarRequestOptions,
|
|
61345
|
-
};
|
|
61346
|
-
},
|
|
61347
|
-
/**
|
|
61348
|
-
*
|
|
61349
|
-
* @summary Get terraform variables
|
|
61350
|
-
* @param {string} terraformId Terraform ID
|
|
61351
|
-
* @param {*} [options] Override http request option.
|
|
61352
|
-
* @throws {RequiredError}
|
|
61353
|
-
*/
|
|
61354
|
-
getTerraformVariables: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61355
|
-
// verify required parameter 'terraformId' is not null or undefined
|
|
61356
|
-
assertParamExists('getTerraformVariables', 'terraformId', terraformId)
|
|
61357
|
-
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61358
|
-
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61359
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61360
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61361
|
-
let baseOptions;
|
|
61362
|
-
if (configuration) {
|
|
61363
|
-
baseOptions = configuration.baseOptions;
|
|
61364
|
-
}
|
|
61365
|
-
|
|
61366
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
61367
|
-
const localVarHeaderParameter = {} as any;
|
|
61368
|
-
const localVarQueryParameter = {} as any;
|
|
61369
|
-
|
|
61370
|
-
// authentication ApiKeyAuth required
|
|
61371
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61372
|
-
|
|
61373
|
-
// authentication bearerAuth required
|
|
61374
|
-
// http bearer authentication required
|
|
61375
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61376
|
-
|
|
61377
|
-
|
|
61378
|
-
|
|
61379
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61380
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61381
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61382
|
-
|
|
61383
|
-
return {
|
|
61384
|
-
url: toPathString(localVarUrlObj),
|
|
61385
|
-
options: localVarRequestOptions,
|
|
61386
|
-
};
|
|
61387
|
-
},
|
|
61388
|
-
/**
|
|
61389
|
-
*
|
|
61390
|
-
* @summary Replace all terraform variables
|
|
61391
|
-
* @param {string} terraformId Terraform ID
|
|
61392
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61393
|
-
* @param {*} [options] Override http request option.
|
|
61394
|
-
* @throws {RequiredError}
|
|
61395
|
-
*/
|
|
61396
|
-
replaceAllTerraformVariables: async (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61397
|
-
// verify required parameter 'terraformId' is not null or undefined
|
|
61398
|
-
assertParamExists('replaceAllTerraformVariables', 'terraformId', terraformId)
|
|
61399
|
-
// verify required parameter 'terraformVariablesReplaceRequest' is not null or undefined
|
|
61400
|
-
assertParamExists('replaceAllTerraformVariables', 'terraformVariablesReplaceRequest', terraformVariablesReplaceRequest)
|
|
61401
|
-
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61402
|
-
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61403
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
61404
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61405
|
-
let baseOptions;
|
|
61406
|
-
if (configuration) {
|
|
61407
|
-
baseOptions = configuration.baseOptions;
|
|
61408
|
-
}
|
|
61409
|
-
|
|
61410
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
61411
|
-
const localVarHeaderParameter = {} as any;
|
|
61412
|
-
const localVarQueryParameter = {} as any;
|
|
61413
|
-
|
|
61414
|
-
// authentication ApiKeyAuth required
|
|
61415
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
61416
|
-
|
|
61417
|
-
// authentication bearerAuth required
|
|
61418
|
-
// http bearer authentication required
|
|
61419
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
61420
|
-
|
|
61421
|
-
|
|
61422
|
-
|
|
61423
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
61424
|
-
|
|
61425
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61426
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61427
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61428
|
-
localVarRequestOptions.data = serializeDataIfNeeded(terraformVariablesReplaceRequest, localVarRequestOptions, configuration)
|
|
61429
|
-
|
|
61430
61252
|
return {
|
|
61431
61253
|
url: toPathString(localVarUrlObj),
|
|
61432
61254
|
options: localVarRequestOptions,
|
|
@@ -61442,20 +61264,6 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61442
61264
|
export const TerraformConfigurationApiFp = function(configuration?: Configuration) {
|
|
61443
61265
|
const localVarAxiosParamCreator = TerraformConfigurationApiAxiosParamCreator(configuration)
|
|
61444
61266
|
return {
|
|
61445
|
-
/**
|
|
61446
|
-
*
|
|
61447
|
-
* @summary Delete a terraform variable
|
|
61448
|
-
* @param {string} terraformId Terraform ID
|
|
61449
|
-
* @param {string} key Variable key to delete
|
|
61450
|
-
* @param {*} [options] Override http request option.
|
|
61451
|
-
* @throws {RequiredError}
|
|
61452
|
-
*/
|
|
61453
|
-
async deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61454
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraformVariable(terraformId, key, options);
|
|
61455
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61456
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.deleteTerraformVariable']?.[localVarOperationServerIndex]?.url;
|
|
61457
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61458
|
-
},
|
|
61459
61267
|
/**
|
|
61460
61268
|
*
|
|
61461
61269
|
* @summary Edit Advanced settings
|
|
@@ -61483,33 +61291,6 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61483
61291
|
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
61484
61292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61485
61293
|
},
|
|
61486
|
-
/**
|
|
61487
|
-
*
|
|
61488
|
-
* @summary Get terraform variables
|
|
61489
|
-
* @param {string} terraformId Terraform ID
|
|
61490
|
-
* @param {*} [options] Override http request option.
|
|
61491
|
-
* @throws {RequiredError}
|
|
61492
|
-
*/
|
|
61493
|
-
async getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>> {
|
|
61494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraformVariables(terraformId, options);
|
|
61495
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61496
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformVariables']?.[localVarOperationServerIndex]?.url;
|
|
61497
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61498
|
-
},
|
|
61499
|
-
/**
|
|
61500
|
-
*
|
|
61501
|
-
* @summary Replace all terraform variables
|
|
61502
|
-
* @param {string} terraformId Terraform ID
|
|
61503
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61504
|
-
* @param {*} [options] Override http request option.
|
|
61505
|
-
* @throws {RequiredError}
|
|
61506
|
-
*/
|
|
61507
|
-
async replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61508
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options);
|
|
61509
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61510
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.replaceAllTerraformVariables']?.[localVarOperationServerIndex]?.url;
|
|
61511
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61512
|
-
},
|
|
61513
61294
|
}
|
|
61514
61295
|
};
|
|
61515
61296
|
|
|
@@ -61520,17 +61301,6 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61520
61301
|
export const TerraformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
61521
61302
|
const localVarFp = TerraformConfigurationApiFp(configuration)
|
|
61522
61303
|
return {
|
|
61523
|
-
/**
|
|
61524
|
-
*
|
|
61525
|
-
* @summary Delete a terraform variable
|
|
61526
|
-
* @param {string} terraformId Terraform ID
|
|
61527
|
-
* @param {string} key Variable key to delete
|
|
61528
|
-
* @param {*} [options] Override http request option.
|
|
61529
|
-
* @throws {RequiredError}
|
|
61530
|
-
*/
|
|
61531
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61532
|
-
return localVarFp.deleteTerraformVariable(terraformId, key, options).then((request) => request(axios, basePath));
|
|
61533
|
-
},
|
|
61534
61304
|
/**
|
|
61535
61305
|
*
|
|
61536
61306
|
* @summary Edit Advanced settings
|
|
@@ -61552,27 +61322,6 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61552
61322
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
|
|
61553
61323
|
return localVarFp.getTerraformAdvancedSettings(terraformId, options).then((request) => request(axios, basePath));
|
|
61554
61324
|
},
|
|
61555
|
-
/**
|
|
61556
|
-
*
|
|
61557
|
-
* @summary Get terraform variables
|
|
61558
|
-
* @param {string} terraformId Terraform ID
|
|
61559
|
-
* @param {*} [options] Override http request option.
|
|
61560
|
-
* @throws {RequiredError}
|
|
61561
|
-
*/
|
|
61562
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse> {
|
|
61563
|
-
return localVarFp.getTerraformVariables(terraformId, options).then((request) => request(axios, basePath));
|
|
61564
|
-
},
|
|
61565
|
-
/**
|
|
61566
|
-
*
|
|
61567
|
-
* @summary Replace all terraform variables
|
|
61568
|
-
* @param {string} terraformId Terraform ID
|
|
61569
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61570
|
-
* @param {*} [options] Override http request option.
|
|
61571
|
-
* @throws {RequiredError}
|
|
61572
|
-
*/
|
|
61573
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61574
|
-
return localVarFp.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(axios, basePath));
|
|
61575
|
-
},
|
|
61576
61325
|
};
|
|
61577
61326
|
};
|
|
61578
61327
|
|
|
@@ -61583,19 +61332,6 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61583
61332
|
* @extends {BaseAPI}
|
|
61584
61333
|
*/
|
|
61585
61334
|
export class TerraformConfigurationApi extends BaseAPI {
|
|
61586
|
-
/**
|
|
61587
|
-
*
|
|
61588
|
-
* @summary Delete a terraform variable
|
|
61589
|
-
* @param {string} terraformId Terraform ID
|
|
61590
|
-
* @param {string} key Variable key to delete
|
|
61591
|
-
* @param {*} [options] Override http request option.
|
|
61592
|
-
* @throws {RequiredError}
|
|
61593
|
-
* @memberof TerraformConfigurationApi
|
|
61594
|
-
*/
|
|
61595
|
-
public deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig) {
|
|
61596
|
-
return TerraformConfigurationApiFp(this.configuration).deleteTerraformVariable(terraformId, key, options).then((request) => request(this.axios, this.basePath));
|
|
61597
|
-
}
|
|
61598
|
-
|
|
61599
61335
|
/**
|
|
61600
61336
|
*
|
|
61601
61337
|
* @summary Edit Advanced settings
|
|
@@ -61620,31 +61356,6 @@ export class TerraformConfigurationApi extends BaseAPI {
|
|
|
61620
61356
|
public getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61621
61357
|
return TerraformConfigurationApiFp(this.configuration).getTerraformAdvancedSettings(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61622
61358
|
}
|
|
61623
|
-
|
|
61624
|
-
/**
|
|
61625
|
-
*
|
|
61626
|
-
* @summary Get terraform variables
|
|
61627
|
-
* @param {string} terraformId Terraform ID
|
|
61628
|
-
* @param {*} [options] Override http request option.
|
|
61629
|
-
* @throws {RequiredError}
|
|
61630
|
-
* @memberof TerraformConfigurationApi
|
|
61631
|
-
*/
|
|
61632
|
-
public getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61633
|
-
return TerraformConfigurationApiFp(this.configuration).getTerraformVariables(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61634
|
-
}
|
|
61635
|
-
|
|
61636
|
-
/**
|
|
61637
|
-
*
|
|
61638
|
-
* @summary Replace all terraform variables
|
|
61639
|
-
* @param {string} terraformId Terraform ID
|
|
61640
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61641
|
-
* @param {*} [options] Override http request option.
|
|
61642
|
-
* @throws {RequiredError}
|
|
61643
|
-
* @memberof TerraformConfigurationApi
|
|
61644
|
-
*/
|
|
61645
|
-
public replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) {
|
|
61646
|
-
return TerraformConfigurationApiFp(this.configuration).replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
61647
|
-
}
|
|
61648
61359
|
}
|
|
61649
61360
|
|
|
61650
61361
|
|
package/dist/api.d.ts
CHANGED
|
@@ -640,6 +640,12 @@ export interface AlertRuleResponse {
|
|
|
640
640
|
* @memberof AlertRuleResponse
|
|
641
641
|
*/
|
|
642
642
|
'is_up_to_date': boolean;
|
|
643
|
+
/**
|
|
644
|
+
* when the alert starts firing
|
|
645
|
+
* @type {string}
|
|
646
|
+
* @memberof AlertRuleResponse
|
|
647
|
+
*/
|
|
648
|
+
'starts_at'?: string;
|
|
643
649
|
}
|
|
644
650
|
/**
|
|
645
651
|
*
|
|
@@ -18511,57 +18517,6 @@ export interface TerraformVariableParsingRequest {
|
|
|
18511
18517
|
*/
|
|
18512
18518
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
18513
18519
|
}
|
|
18514
|
-
/**
|
|
18515
|
-
* A Terraform variable with its configuration
|
|
18516
|
-
* @export
|
|
18517
|
-
* @interface TerraformVariableResponse
|
|
18518
|
-
*/
|
|
18519
|
-
export interface TerraformVariableResponse {
|
|
18520
|
-
/**
|
|
18521
|
-
* The variable key/name
|
|
18522
|
-
* @type {string}
|
|
18523
|
-
* @memberof TerraformVariableResponse
|
|
18524
|
-
*/
|
|
18525
|
-
'key': string;
|
|
18526
|
-
/**
|
|
18527
|
-
* The variable value (null if secret and not exposed)
|
|
18528
|
-
* @type {string}
|
|
18529
|
-
* @memberof TerraformVariableResponse
|
|
18530
|
-
*/
|
|
18531
|
-
'value'?: string | null;
|
|
18532
|
-
/**
|
|
18533
|
-
* Whether the variable is secret
|
|
18534
|
-
* @type {boolean}
|
|
18535
|
-
* @memberof TerraformVariableResponse
|
|
18536
|
-
*/
|
|
18537
|
-
'secret': boolean;
|
|
18538
|
-
}
|
|
18539
|
-
/**
|
|
18540
|
-
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
18541
|
-
* @export
|
|
18542
|
-
* @interface TerraformVariablesReplaceRequest
|
|
18543
|
-
*/
|
|
18544
|
-
export interface TerraformVariablesReplaceRequest {
|
|
18545
|
-
/**
|
|
18546
|
-
* Complete list of variables to set (replaces all existing variables)
|
|
18547
|
-
* @type {Array<TerraformVarKeyValue>}
|
|
18548
|
-
* @memberof TerraformVariablesReplaceRequest
|
|
18549
|
-
*/
|
|
18550
|
-
'variables': Array<TerraformVarKeyValue>;
|
|
18551
|
-
}
|
|
18552
|
-
/**
|
|
18553
|
-
* Response containing list of Terraform variables
|
|
18554
|
-
* @export
|
|
18555
|
-
* @interface TerraformVariablesResponse
|
|
18556
|
-
*/
|
|
18557
|
-
export interface TerraformVariablesResponse {
|
|
18558
|
-
/**
|
|
18559
|
-
*
|
|
18560
|
-
* @type {Array<TerraformVariableResponse>}
|
|
18561
|
-
* @memberof TerraformVariablesResponse
|
|
18562
|
-
*/
|
|
18563
|
-
'variables': Array<TerraformVariableResponse>;
|
|
18564
|
-
}
|
|
18565
18520
|
/**
|
|
18566
18521
|
*
|
|
18567
18522
|
* @export
|
|
@@ -38328,15 +38283,6 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
38328
38283
|
* @export
|
|
38329
38284
|
*/
|
|
38330
38285
|
export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
38331
|
-
/**
|
|
38332
|
-
*
|
|
38333
|
-
* @summary Delete a terraform variable
|
|
38334
|
-
* @param {string} terraformId Terraform ID
|
|
38335
|
-
* @param {string} key Variable key to delete
|
|
38336
|
-
* @param {*} [options] Override http request option.
|
|
38337
|
-
* @throws {RequiredError}
|
|
38338
|
-
*/
|
|
38339
|
-
deleteTerraformVariable: (terraformId: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38340
38286
|
/**
|
|
38341
38287
|
*
|
|
38342
38288
|
* @summary Edit Advanced settings
|
|
@@ -38354,38 +38300,12 @@ export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?
|
|
|
38354
38300
|
* @throws {RequiredError}
|
|
38355
38301
|
*/
|
|
38356
38302
|
getTerraformAdvancedSettings: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38357
|
-
/**
|
|
38358
|
-
*
|
|
38359
|
-
* @summary Get terraform variables
|
|
38360
|
-
* @param {string} terraformId Terraform ID
|
|
38361
|
-
* @param {*} [options] Override http request option.
|
|
38362
|
-
* @throws {RequiredError}
|
|
38363
|
-
*/
|
|
38364
|
-
getTerraformVariables: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38365
|
-
/**
|
|
38366
|
-
*
|
|
38367
|
-
* @summary Replace all terraform variables
|
|
38368
|
-
* @param {string} terraformId Terraform ID
|
|
38369
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38370
|
-
* @param {*} [options] Override http request option.
|
|
38371
|
-
* @throws {RequiredError}
|
|
38372
|
-
*/
|
|
38373
|
-
replaceAllTerraformVariables: (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38374
38303
|
};
|
|
38375
38304
|
/**
|
|
38376
38305
|
* TerraformConfigurationApi - functional programming interface
|
|
38377
38306
|
* @export
|
|
38378
38307
|
*/
|
|
38379
38308
|
export declare const TerraformConfigurationApiFp: (configuration?: Configuration) => {
|
|
38380
|
-
/**
|
|
38381
|
-
*
|
|
38382
|
-
* @summary Delete a terraform variable
|
|
38383
|
-
* @param {string} terraformId Terraform ID
|
|
38384
|
-
* @param {string} key Variable key to delete
|
|
38385
|
-
* @param {*} [options] Override http request option.
|
|
38386
|
-
* @throws {RequiredError}
|
|
38387
|
-
*/
|
|
38388
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38389
38309
|
/**
|
|
38390
38310
|
*
|
|
38391
38311
|
* @summary Edit Advanced settings
|
|
@@ -38403,38 +38323,12 @@ export declare const TerraformConfigurationApiFp: (configuration?: Configuration
|
|
|
38403
38323
|
* @throws {RequiredError}
|
|
38404
38324
|
*/
|
|
38405
38325
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>>;
|
|
38406
|
-
/**
|
|
38407
|
-
*
|
|
38408
|
-
* @summary Get terraform variables
|
|
38409
|
-
* @param {string} terraformId Terraform ID
|
|
38410
|
-
* @param {*} [options] Override http request option.
|
|
38411
|
-
* @throws {RequiredError}
|
|
38412
|
-
*/
|
|
38413
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>>;
|
|
38414
|
-
/**
|
|
38415
|
-
*
|
|
38416
|
-
* @summary Replace all terraform variables
|
|
38417
|
-
* @param {string} terraformId Terraform ID
|
|
38418
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38419
|
-
* @param {*} [options] Override http request option.
|
|
38420
|
-
* @throws {RequiredError}
|
|
38421
|
-
*/
|
|
38422
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38423
38326
|
};
|
|
38424
38327
|
/**
|
|
38425
38328
|
* TerraformConfigurationApi - factory interface
|
|
38426
38329
|
* @export
|
|
38427
38330
|
*/
|
|
38428
38331
|
export declare const TerraformConfigurationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
38429
|
-
/**
|
|
38430
|
-
*
|
|
38431
|
-
* @summary Delete a terraform variable
|
|
38432
|
-
* @param {string} terraformId Terraform ID
|
|
38433
|
-
* @param {string} key Variable key to delete
|
|
38434
|
-
* @param {*} [options] Override http request option.
|
|
38435
|
-
* @throws {RequiredError}
|
|
38436
|
-
*/
|
|
38437
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
38438
38332
|
/**
|
|
38439
38333
|
*
|
|
38440
38334
|
* @summary Edit Advanced settings
|
|
@@ -38452,23 +38346,6 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38452
38346
|
* @throws {RequiredError}
|
|
38453
38347
|
*/
|
|
38454
38348
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings>;
|
|
38455
|
-
/**
|
|
38456
|
-
*
|
|
38457
|
-
* @summary Get terraform variables
|
|
38458
|
-
* @param {string} terraformId Terraform ID
|
|
38459
|
-
* @param {*} [options] Override http request option.
|
|
38460
|
-
* @throws {RequiredError}
|
|
38461
|
-
*/
|
|
38462
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse>;
|
|
38463
|
-
/**
|
|
38464
|
-
*
|
|
38465
|
-
* @summary Replace all terraform variables
|
|
38466
|
-
* @param {string} terraformId Terraform ID
|
|
38467
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38468
|
-
* @param {*} [options] Override http request option.
|
|
38469
|
-
* @throws {RequiredError}
|
|
38470
|
-
*/
|
|
38471
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
38472
38349
|
};
|
|
38473
38350
|
/**
|
|
38474
38351
|
* TerraformConfigurationApi - object-oriented interface
|
|
@@ -38477,16 +38354,6 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38477
38354
|
* @extends {BaseAPI}
|
|
38478
38355
|
*/
|
|
38479
38356
|
export declare class TerraformConfigurationApi extends BaseAPI {
|
|
38480
|
-
/**
|
|
38481
|
-
*
|
|
38482
|
-
* @summary Delete a terraform variable
|
|
38483
|
-
* @param {string} terraformId Terraform ID
|
|
38484
|
-
* @param {string} key Variable key to delete
|
|
38485
|
-
* @param {*} [options] Override http request option.
|
|
38486
|
-
* @throws {RequiredError}
|
|
38487
|
-
* @memberof TerraformConfigurationApi
|
|
38488
|
-
*/
|
|
38489
|
-
deleteTerraformVariable(terraformId: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38490
38357
|
/**
|
|
38491
38358
|
*
|
|
38492
38359
|
* @summary Edit Advanced settings
|
|
@@ -38506,25 +38373,6 @@ export declare class TerraformConfigurationApi extends BaseAPI {
|
|
|
38506
38373
|
* @memberof TerraformConfigurationApi
|
|
38507
38374
|
*/
|
|
38508
38375
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformAdvancedSettings, any, {}>>;
|
|
38509
|
-
/**
|
|
38510
|
-
*
|
|
38511
|
-
* @summary Get terraform variables
|
|
38512
|
-
* @param {string} terraformId Terraform ID
|
|
38513
|
-
* @param {*} [options] Override http request option.
|
|
38514
|
-
* @throws {RequiredError}
|
|
38515
|
-
* @memberof TerraformConfigurationApi
|
|
38516
|
-
*/
|
|
38517
|
-
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVariablesResponse, any, {}>>;
|
|
38518
|
-
/**
|
|
38519
|
-
*
|
|
38520
|
-
* @summary Replace all terraform variables
|
|
38521
|
-
* @param {string} terraformId Terraform ID
|
|
38522
|
-
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38523
|
-
* @param {*} [options] Override http request option.
|
|
38524
|
-
* @throws {RequiredError}
|
|
38525
|
-
* @memberof TerraformConfigurationApi
|
|
38526
|
-
*/
|
|
38527
|
-
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38528
38376
|
}
|
|
38529
38377
|
/**
|
|
38530
38378
|
* TerraformDeploymentHistoryApi - axios parameter creator
|