qovery-typescript-axios 1.1.762 → 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 +0 -295
- package/dist/api.d.ts +0 -158
- package/dist/api.js +0 -228
- package/dist/esm/api.d.ts +0 -158
- package/dist/esm/api.js +0 -228
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -19153,57 +19153,6 @@ export interface TerraformVariableParsingRequest {
|
|
|
19153
19153
|
*/
|
|
19154
19154
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
19155
19155
|
}
|
|
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
19156
|
/**
|
|
19208
19157
|
*
|
|
19209
19158
|
* @export
|
|
@@ -61219,51 +61168,6 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
61219
61168
|
*/
|
|
61220
61169
|
export const TerraformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
61221
61170
|
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
61171
|
/**
|
|
61268
61172
|
*
|
|
61269
61173
|
* @summary Edit Advanced settings
|
|
@@ -61345,94 +61249,6 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61345
61249
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61346
61250
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61347
61251
|
|
|
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
61252
|
return {
|
|
61437
61253
|
url: toPathString(localVarUrlObj),
|
|
61438
61254
|
options: localVarRequestOptions,
|
|
@@ -61448,20 +61264,6 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61448
61264
|
export const TerraformConfigurationApiFp = function(configuration?: Configuration) {
|
|
61449
61265
|
const localVarAxiosParamCreator = TerraformConfigurationApiAxiosParamCreator(configuration)
|
|
61450
61266
|
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
61267
|
/**
|
|
61466
61268
|
*
|
|
61467
61269
|
* @summary Edit Advanced settings
|
|
@@ -61489,33 +61291,6 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61489
61291
|
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
61490
61292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61491
61293
|
},
|
|
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
61294
|
}
|
|
61520
61295
|
};
|
|
61521
61296
|
|
|
@@ -61526,17 +61301,6 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61526
61301
|
export const TerraformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
61527
61302
|
const localVarFp = TerraformConfigurationApiFp(configuration)
|
|
61528
61303
|
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
61304
|
/**
|
|
61541
61305
|
*
|
|
61542
61306
|
* @summary Edit Advanced settings
|
|
@@ -61558,27 +61322,6 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61558
61322
|
getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
|
|
61559
61323
|
return localVarFp.getTerraformAdvancedSettings(terraformId, options).then((request) => request(axios, basePath));
|
|
61560
61324
|
},
|
|
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
61325
|
};
|
|
61583
61326
|
};
|
|
61584
61327
|
|
|
@@ -61589,19 +61332,6 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61589
61332
|
* @extends {BaseAPI}
|
|
61590
61333
|
*/
|
|
61591
61334
|
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
61335
|
/**
|
|
61606
61336
|
*
|
|
61607
61337
|
* @summary Edit Advanced settings
|
|
@@ -61626,31 +61356,6 @@ export class TerraformConfigurationApi extends BaseAPI {
|
|
|
61626
61356
|
public getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
61627
61357
|
return TerraformConfigurationApiFp(this.configuration).getTerraformAdvancedSettings(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
61628
61358
|
}
|
|
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
61359
|
}
|
|
61655
61360
|
|
|
61656
61361
|
|
package/dist/api.d.ts
CHANGED
|
@@ -18517,57 +18517,6 @@ export interface TerraformVariableParsingRequest {
|
|
|
18517
18517
|
*/
|
|
18518
18518
|
'git_repository': ApplicationGitRepositoryRequest;
|
|
18519
18519
|
}
|
|
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
18520
|
/**
|
|
18572
18521
|
*
|
|
18573
18522
|
* @export
|
|
@@ -38334,15 +38283,6 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
38334
38283
|
* @export
|
|
38335
38284
|
*/
|
|
38336
38285
|
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
38286
|
/**
|
|
38347
38287
|
*
|
|
38348
38288
|
* @summary Edit Advanced settings
|
|
@@ -38360,38 +38300,12 @@ export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?
|
|
|
38360
38300
|
* @throws {RequiredError}
|
|
38361
38301
|
*/
|
|
38362
38302
|
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
38303
|
};
|
|
38381
38304
|
/**
|
|
38382
38305
|
* TerraformConfigurationApi - functional programming interface
|
|
38383
38306
|
* @export
|
|
38384
38307
|
*/
|
|
38385
38308
|
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
38309
|
/**
|
|
38396
38310
|
*
|
|
38397
38311
|
* @summary Edit Advanced settings
|
|
@@ -38409,38 +38323,12 @@ export declare const TerraformConfigurationApiFp: (configuration?: Configuration
|
|
|
38409
38323
|
* @throws {RequiredError}
|
|
38410
38324
|
*/
|
|
38411
38325
|
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
38326
|
};
|
|
38430
38327
|
/**
|
|
38431
38328
|
* TerraformConfigurationApi - factory interface
|
|
38432
38329
|
* @export
|
|
38433
38330
|
*/
|
|
38434
38331
|
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
38332
|
/**
|
|
38445
38333
|
*
|
|
38446
38334
|
* @summary Edit Advanced settings
|
|
@@ -38458,23 +38346,6 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38458
38346
|
* @throws {RequiredError}
|
|
38459
38347
|
*/
|
|
38460
38348
|
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
38349
|
};
|
|
38479
38350
|
/**
|
|
38480
38351
|
* TerraformConfigurationApi - object-oriented interface
|
|
@@ -38483,16 +38354,6 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38483
38354
|
* @extends {BaseAPI}
|
|
38484
38355
|
*/
|
|
38485
38356
|
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
38357
|
/**
|
|
38497
38358
|
*
|
|
38498
38359
|
* @summary Edit Advanced settings
|
|
@@ -38512,25 +38373,6 @@ export declare class TerraformConfigurationApi extends BaseAPI {
|
|
|
38512
38373
|
* @memberof TerraformConfigurationApi
|
|
38513
38374
|
*/
|
|
38514
38375
|
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
38376
|
}
|
|
38535
38377
|
/**
|
|
38536
38378
|
* TerraformDeploymentHistoryApi - axios parameter creator
|