qovery-typescript-axios 1.1.743 → 1.1.745
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 +40 -21
- package/dist/api.d.ts +31 -12
- package/dist/api.js +21 -21
- package/dist/esm/api.d.ts +31 -12
- package/dist/esm/api.js +21 -21
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -582,6 +582,12 @@ export interface AlertRuleResponse {
|
|
|
582
582
|
* @memberof AlertRuleResponse
|
|
583
583
|
*/
|
|
584
584
|
'state': AlertRuleState;
|
|
585
|
+
/**
|
|
586
|
+
* Indicates whether the current version of the alert has been synced with the alerting system. If false, an outdated version is currently deployed.
|
|
587
|
+
* @type {boolean}
|
|
588
|
+
* @memberof AlertRuleResponse
|
|
589
|
+
*/
|
|
590
|
+
'is_up_to_date': boolean;
|
|
585
591
|
}
|
|
586
592
|
|
|
587
593
|
|
|
@@ -19025,6 +19031,19 @@ export interface TerraformVariableResponse {
|
|
|
19025
19031
|
*/
|
|
19026
19032
|
'secret': boolean;
|
|
19027
19033
|
}
|
|
19034
|
+
/**
|
|
19035
|
+
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
19036
|
+
* @export
|
|
19037
|
+
* @interface TerraformVariablesReplaceRequest
|
|
19038
|
+
*/
|
|
19039
|
+
export interface TerraformVariablesReplaceRequest {
|
|
19040
|
+
/**
|
|
19041
|
+
* Complete list of variables to set (replaces all existing variables)
|
|
19042
|
+
* @type {Array<TerraformVarKeyValue>}
|
|
19043
|
+
* @memberof TerraformVariablesReplaceRequest
|
|
19044
|
+
*/
|
|
19045
|
+
'variables': Array<TerraformVarKeyValue>;
|
|
19046
|
+
}
|
|
19028
19047
|
/**
|
|
19029
19048
|
* Response containing list of Terraform variables
|
|
19030
19049
|
* @export
|
|
@@ -61227,17 +61246,17 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61227
61246
|
},
|
|
61228
61247
|
/**
|
|
61229
61248
|
*
|
|
61230
|
-
* @summary
|
|
61249
|
+
* @summary Replace all terraform variables
|
|
61231
61250
|
* @param {string} terraformId Terraform ID
|
|
61232
|
-
* @param {
|
|
61251
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61233
61252
|
* @param {*} [options] Override http request option.
|
|
61234
61253
|
* @throws {RequiredError}
|
|
61235
61254
|
*/
|
|
61236
|
-
|
|
61255
|
+
replaceAllTerraformVariables: async (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
61237
61256
|
// verify required parameter 'terraformId' is not null or undefined
|
|
61238
|
-
assertParamExists('
|
|
61239
|
-
// verify required parameter '
|
|
61240
|
-
assertParamExists('
|
|
61257
|
+
assertParamExists('replaceAllTerraformVariables', 'terraformId', terraformId)
|
|
61258
|
+
// verify required parameter 'terraformVariablesReplaceRequest' is not null or undefined
|
|
61259
|
+
assertParamExists('replaceAllTerraformVariables', 'terraformVariablesReplaceRequest', terraformVariablesReplaceRequest)
|
|
61241
61260
|
const localVarPath = `/terraform/{terraformId}/variables`
|
|
61242
61261
|
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
61243
61262
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -61247,7 +61266,7 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61247
61266
|
baseOptions = configuration.baseOptions;
|
|
61248
61267
|
}
|
|
61249
61268
|
|
|
61250
|
-
const localVarRequestOptions = { method: '
|
|
61269
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
61251
61270
|
const localVarHeaderParameter = {} as any;
|
|
61252
61271
|
const localVarQueryParameter = {} as any;
|
|
61253
61272
|
|
|
@@ -61265,7 +61284,7 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
61265
61284
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
61266
61285
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61267
61286
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
61268
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
61287
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformVariablesReplaceRequest, localVarRequestOptions, configuration)
|
|
61269
61288
|
|
|
61270
61289
|
return {
|
|
61271
61290
|
url: toPathString(localVarUrlObj),
|
|
@@ -61338,16 +61357,16 @@ export const TerraformConfigurationApiFp = function(configuration?: Configuratio
|
|
|
61338
61357
|
},
|
|
61339
61358
|
/**
|
|
61340
61359
|
*
|
|
61341
|
-
* @summary
|
|
61360
|
+
* @summary Replace all terraform variables
|
|
61342
61361
|
* @param {string} terraformId Terraform ID
|
|
61343
|
-
* @param {
|
|
61362
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61344
61363
|
* @param {*} [options] Override http request option.
|
|
61345
61364
|
* @throws {RequiredError}
|
|
61346
61365
|
*/
|
|
61347
|
-
async
|
|
61348
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
61366
|
+
async replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
61367
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options);
|
|
61349
61368
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
61350
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.
|
|
61369
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.replaceAllTerraformVariables']?.[localVarOperationServerIndex]?.url;
|
|
61351
61370
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
61352
61371
|
},
|
|
61353
61372
|
}
|
|
@@ -61404,14 +61423,14 @@ export const TerraformConfigurationApiFactory = function (configuration?: Config
|
|
|
61404
61423
|
},
|
|
61405
61424
|
/**
|
|
61406
61425
|
*
|
|
61407
|
-
* @summary
|
|
61426
|
+
* @summary Replace all terraform variables
|
|
61408
61427
|
* @param {string} terraformId Terraform ID
|
|
61409
|
-
* @param {
|
|
61428
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61410
61429
|
* @param {*} [options] Override http request option.
|
|
61411
61430
|
* @throws {RequiredError}
|
|
61412
61431
|
*/
|
|
61413
|
-
|
|
61414
|
-
return localVarFp.
|
|
61432
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
61433
|
+
return localVarFp.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(axios, basePath));
|
|
61415
61434
|
},
|
|
61416
61435
|
};
|
|
61417
61436
|
};
|
|
@@ -61475,15 +61494,15 @@ export class TerraformConfigurationApi extends BaseAPI {
|
|
|
61475
61494
|
|
|
61476
61495
|
/**
|
|
61477
61496
|
*
|
|
61478
|
-
* @summary
|
|
61497
|
+
* @summary Replace all terraform variables
|
|
61479
61498
|
* @param {string} terraformId Terraform ID
|
|
61480
|
-
* @param {
|
|
61499
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
61481
61500
|
* @param {*} [options] Override http request option.
|
|
61482
61501
|
* @throws {RequiredError}
|
|
61483
61502
|
* @memberof TerraformConfigurationApi
|
|
61484
61503
|
*/
|
|
61485
|
-
public
|
|
61486
|
-
return TerraformConfigurationApiFp(this.configuration).
|
|
61504
|
+
public replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) {
|
|
61505
|
+
return TerraformConfigurationApiFp(this.configuration).replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
61487
61506
|
}
|
|
61488
61507
|
}
|
|
61489
61508
|
|
package/dist/api.d.ts
CHANGED
|
@@ -547,6 +547,12 @@ export interface AlertRuleResponse {
|
|
|
547
547
|
* @memberof AlertRuleResponse
|
|
548
548
|
*/
|
|
549
549
|
'state': AlertRuleState;
|
|
550
|
+
/**
|
|
551
|
+
* Indicates whether the current version of the alert has been synced with the alerting system. If false, an outdated version is currently deployed.
|
|
552
|
+
* @type {boolean}
|
|
553
|
+
* @memberof AlertRuleResponse
|
|
554
|
+
*/
|
|
555
|
+
'is_up_to_date': boolean;
|
|
550
556
|
}
|
|
551
557
|
/**
|
|
552
558
|
*
|
|
@@ -18403,6 +18409,19 @@ export interface TerraformVariableResponse {
|
|
|
18403
18409
|
*/
|
|
18404
18410
|
'secret': boolean;
|
|
18405
18411
|
}
|
|
18412
|
+
/**
|
|
18413
|
+
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
18414
|
+
* @export
|
|
18415
|
+
* @interface TerraformVariablesReplaceRequest
|
|
18416
|
+
*/
|
|
18417
|
+
export interface TerraformVariablesReplaceRequest {
|
|
18418
|
+
/**
|
|
18419
|
+
* Complete list of variables to set (replaces all existing variables)
|
|
18420
|
+
* @type {Array<TerraformVarKeyValue>}
|
|
18421
|
+
* @memberof TerraformVariablesReplaceRequest
|
|
18422
|
+
*/
|
|
18423
|
+
'variables': Array<TerraformVarKeyValue>;
|
|
18424
|
+
}
|
|
18406
18425
|
/**
|
|
18407
18426
|
* Response containing list of Terraform variables
|
|
18408
18427
|
* @export
|
|
@@ -38218,13 +38237,13 @@ export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?
|
|
|
38218
38237
|
getTerraformVariables: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38219
38238
|
/**
|
|
38220
38239
|
*
|
|
38221
|
-
* @summary
|
|
38240
|
+
* @summary Replace all terraform variables
|
|
38222
38241
|
* @param {string} terraformId Terraform ID
|
|
38223
|
-
* @param {
|
|
38242
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38224
38243
|
* @param {*} [options] Override http request option.
|
|
38225
38244
|
* @throws {RequiredError}
|
|
38226
38245
|
*/
|
|
38227
|
-
|
|
38246
|
+
replaceAllTerraformVariables: (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38228
38247
|
};
|
|
38229
38248
|
/**
|
|
38230
38249
|
* TerraformConfigurationApi - functional programming interface
|
|
@@ -38267,13 +38286,13 @@ export declare const TerraformConfigurationApiFp: (configuration?: Configuration
|
|
|
38267
38286
|
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>>;
|
|
38268
38287
|
/**
|
|
38269
38288
|
*
|
|
38270
|
-
* @summary
|
|
38289
|
+
* @summary Replace all terraform variables
|
|
38271
38290
|
* @param {string} terraformId Terraform ID
|
|
38272
|
-
* @param {
|
|
38291
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38273
38292
|
* @param {*} [options] Override http request option.
|
|
38274
38293
|
* @throws {RequiredError}
|
|
38275
38294
|
*/
|
|
38276
|
-
|
|
38295
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38277
38296
|
};
|
|
38278
38297
|
/**
|
|
38279
38298
|
* TerraformConfigurationApi - factory interface
|
|
@@ -38316,13 +38335,13 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38316
38335
|
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse>;
|
|
38317
38336
|
/**
|
|
38318
38337
|
*
|
|
38319
|
-
* @summary
|
|
38338
|
+
* @summary Replace all terraform variables
|
|
38320
38339
|
* @param {string} terraformId Terraform ID
|
|
38321
|
-
* @param {
|
|
38340
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38322
38341
|
* @param {*} [options] Override http request option.
|
|
38323
38342
|
* @throws {RequiredError}
|
|
38324
38343
|
*/
|
|
38325
|
-
|
|
38344
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
38326
38345
|
};
|
|
38327
38346
|
/**
|
|
38328
38347
|
* TerraformConfigurationApi - object-oriented interface
|
|
@@ -38371,14 +38390,14 @@ export declare class TerraformConfigurationApi extends BaseAPI {
|
|
|
38371
38390
|
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVariablesResponse, any, {}>>;
|
|
38372
38391
|
/**
|
|
38373
38392
|
*
|
|
38374
|
-
* @summary
|
|
38393
|
+
* @summary Replace all terraform variables
|
|
38375
38394
|
* @param {string} terraformId Terraform ID
|
|
38376
|
-
* @param {
|
|
38395
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38377
38396
|
* @param {*} [options] Override http request option.
|
|
38378
38397
|
* @throws {RequiredError}
|
|
38379
38398
|
* @memberof TerraformConfigurationApi
|
|
38380
38399
|
*/
|
|
38381
|
-
|
|
38400
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38382
38401
|
}
|
|
38383
38402
|
/**
|
|
38384
38403
|
* TerraformDeploymentHistoryApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -39877,17 +39877,17 @@ const TerraformConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
39877
39877
|
}),
|
|
39878
39878
|
/**
|
|
39879
39879
|
*
|
|
39880
|
-
* @summary
|
|
39880
|
+
* @summary Replace all terraform variables
|
|
39881
39881
|
* @param {string} terraformId Terraform ID
|
|
39882
|
-
* @param {
|
|
39882
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
39883
39883
|
* @param {*} [options] Override http request option.
|
|
39884
39884
|
* @throws {RequiredError}
|
|
39885
39885
|
*/
|
|
39886
|
-
|
|
39886
|
+
replaceAllTerraformVariables: (terraformId_1, terraformVariablesReplaceRequest_1, ...args_1) => __awaiter(this, [terraformId_1, terraformVariablesReplaceRequest_1, ...args_1], void 0, function* (terraformId, terraformVariablesReplaceRequest, options = {}) {
|
|
39887
39887
|
// verify required parameter 'terraformId' is not null or undefined
|
|
39888
|
-
(0, common_1.assertParamExists)('
|
|
39889
|
-
// verify required parameter '
|
|
39890
|
-
(0, common_1.assertParamExists)('
|
|
39888
|
+
(0, common_1.assertParamExists)('replaceAllTerraformVariables', 'terraformId', terraformId);
|
|
39889
|
+
// verify required parameter 'terraformVariablesReplaceRequest' is not null or undefined
|
|
39890
|
+
(0, common_1.assertParamExists)('replaceAllTerraformVariables', 'terraformVariablesReplaceRequest', terraformVariablesReplaceRequest);
|
|
39891
39891
|
const localVarPath = `/terraform/{terraformId}/variables`
|
|
39892
39892
|
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
39893
39893
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -39896,7 +39896,7 @@ const TerraformConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
39896
39896
|
if (configuration) {
|
|
39897
39897
|
baseOptions = configuration.baseOptions;
|
|
39898
39898
|
}
|
|
39899
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
39899
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
39900
39900
|
const localVarHeaderParameter = {};
|
|
39901
39901
|
const localVarQueryParameter = {};
|
|
39902
39902
|
// authentication ApiKeyAuth required
|
|
@@ -39908,7 +39908,7 @@ const TerraformConfigurationApiAxiosParamCreator = function (configuration) {
|
|
|
39908
39908
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
39909
39909
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39910
39910
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39911
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
39911
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(terraformVariablesReplaceRequest, localVarRequestOptions, configuration);
|
|
39912
39912
|
return {
|
|
39913
39913
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
39914
39914
|
options: localVarRequestOptions,
|
|
@@ -39992,18 +39992,18 @@ const TerraformConfigurationApiFp = function (configuration) {
|
|
|
39992
39992
|
},
|
|
39993
39993
|
/**
|
|
39994
39994
|
*
|
|
39995
|
-
* @summary
|
|
39995
|
+
* @summary Replace all terraform variables
|
|
39996
39996
|
* @param {string} terraformId Terraform ID
|
|
39997
|
-
* @param {
|
|
39997
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
39998
39998
|
* @param {*} [options] Override http request option.
|
|
39999
39999
|
* @throws {RequiredError}
|
|
40000
40000
|
*/
|
|
40001
|
-
|
|
40001
|
+
replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options) {
|
|
40002
40002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40003
40003
|
var _a, _b, _c;
|
|
40004
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
40004
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options);
|
|
40005
40005
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40006
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformConfigurationApi.
|
|
40006
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformConfigurationApi.replaceAllTerraformVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40007
40007
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40008
40008
|
});
|
|
40009
40009
|
},
|
|
@@ -40061,14 +40061,14 @@ const TerraformConfigurationApiFactory = function (configuration, basePath, axio
|
|
|
40061
40061
|
},
|
|
40062
40062
|
/**
|
|
40063
40063
|
*
|
|
40064
|
-
* @summary
|
|
40064
|
+
* @summary Replace all terraform variables
|
|
40065
40065
|
* @param {string} terraformId Terraform ID
|
|
40066
|
-
* @param {
|
|
40066
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
40067
40067
|
* @param {*} [options] Override http request option.
|
|
40068
40068
|
* @throws {RequiredError}
|
|
40069
40069
|
*/
|
|
40070
|
-
|
|
40071
|
-
return localVarFp.
|
|
40070
|
+
replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options) {
|
|
40071
|
+
return localVarFp.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(axios, basePath));
|
|
40072
40072
|
},
|
|
40073
40073
|
};
|
|
40074
40074
|
};
|
|
@@ -40128,15 +40128,15 @@ class TerraformConfigurationApi extends base_1.BaseAPI {
|
|
|
40128
40128
|
}
|
|
40129
40129
|
/**
|
|
40130
40130
|
*
|
|
40131
|
-
* @summary
|
|
40131
|
+
* @summary Replace all terraform variables
|
|
40132
40132
|
* @param {string} terraformId Terraform ID
|
|
40133
|
-
* @param {
|
|
40133
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
40134
40134
|
* @param {*} [options] Override http request option.
|
|
40135
40135
|
* @throws {RequiredError}
|
|
40136
40136
|
* @memberof TerraformConfigurationApi
|
|
40137
40137
|
*/
|
|
40138
|
-
|
|
40139
|
-
return (0, exports.TerraformConfigurationApiFp)(this.configuration).
|
|
40138
|
+
replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options) {
|
|
40139
|
+
return (0, exports.TerraformConfigurationApiFp)(this.configuration).replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
40140
40140
|
}
|
|
40141
40141
|
}
|
|
40142
40142
|
exports.TerraformConfigurationApi = TerraformConfigurationApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -547,6 +547,12 @@ export interface AlertRuleResponse {
|
|
|
547
547
|
* @memberof AlertRuleResponse
|
|
548
548
|
*/
|
|
549
549
|
'state': AlertRuleState;
|
|
550
|
+
/**
|
|
551
|
+
* Indicates whether the current version of the alert has been synced with the alerting system. If false, an outdated version is currently deployed.
|
|
552
|
+
* @type {boolean}
|
|
553
|
+
* @memberof AlertRuleResponse
|
|
554
|
+
*/
|
|
555
|
+
'is_up_to_date': boolean;
|
|
550
556
|
}
|
|
551
557
|
/**
|
|
552
558
|
*
|
|
@@ -18403,6 +18409,19 @@ export interface TerraformVariableResponse {
|
|
|
18403
18409
|
*/
|
|
18404
18410
|
'secret': boolean;
|
|
18405
18411
|
}
|
|
18412
|
+
/**
|
|
18413
|
+
* Request to atomically replace all Terraform variables. Note: For secret variables, use value \"SECRET_VALUE_UNCHANGED\" to preserve the existing secret value.
|
|
18414
|
+
* @export
|
|
18415
|
+
* @interface TerraformVariablesReplaceRequest
|
|
18416
|
+
*/
|
|
18417
|
+
export interface TerraformVariablesReplaceRequest {
|
|
18418
|
+
/**
|
|
18419
|
+
* Complete list of variables to set (replaces all existing variables)
|
|
18420
|
+
* @type {Array<TerraformVarKeyValue>}
|
|
18421
|
+
* @memberof TerraformVariablesReplaceRequest
|
|
18422
|
+
*/
|
|
18423
|
+
'variables': Array<TerraformVarKeyValue>;
|
|
18424
|
+
}
|
|
18406
18425
|
/**
|
|
18407
18426
|
* Response containing list of Terraform variables
|
|
18408
18427
|
* @export
|
|
@@ -38218,13 +38237,13 @@ export declare const TerraformConfigurationApiAxiosParamCreator: (configuration?
|
|
|
38218
38237
|
getTerraformVariables: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38219
38238
|
/**
|
|
38220
38239
|
*
|
|
38221
|
-
* @summary
|
|
38240
|
+
* @summary Replace all terraform variables
|
|
38222
38241
|
* @param {string} terraformId Terraform ID
|
|
38223
|
-
* @param {
|
|
38242
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38224
38243
|
* @param {*} [options] Override http request option.
|
|
38225
38244
|
* @throws {RequiredError}
|
|
38226
38245
|
*/
|
|
38227
|
-
|
|
38246
|
+
replaceAllTerraformVariables: (terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38228
38247
|
};
|
|
38229
38248
|
/**
|
|
38230
38249
|
* TerraformConfigurationApi - functional programming interface
|
|
@@ -38267,13 +38286,13 @@ export declare const TerraformConfigurationApiFp: (configuration?: Configuration
|
|
|
38267
38286
|
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVariablesResponse>>;
|
|
38268
38287
|
/**
|
|
38269
38288
|
*
|
|
38270
|
-
* @summary
|
|
38289
|
+
* @summary Replace all terraform variables
|
|
38271
38290
|
* @param {string} terraformId Terraform ID
|
|
38272
|
-
* @param {
|
|
38291
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38273
38292
|
* @param {*} [options] Override http request option.
|
|
38274
38293
|
* @throws {RequiredError}
|
|
38275
38294
|
*/
|
|
38276
|
-
|
|
38295
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
38277
38296
|
};
|
|
38278
38297
|
/**
|
|
38279
38298
|
* TerraformConfigurationApi - factory interface
|
|
@@ -38316,13 +38335,13 @@ export declare const TerraformConfigurationApiFactory: (configuration?: Configur
|
|
|
38316
38335
|
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformVariablesResponse>;
|
|
38317
38336
|
/**
|
|
38318
38337
|
*
|
|
38319
|
-
* @summary
|
|
38338
|
+
* @summary Replace all terraform variables
|
|
38320
38339
|
* @param {string} terraformId Terraform ID
|
|
38321
|
-
* @param {
|
|
38340
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38322
38341
|
* @param {*} [options] Override http request option.
|
|
38323
38342
|
* @throws {RequiredError}
|
|
38324
38343
|
*/
|
|
38325
|
-
|
|
38344
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
38326
38345
|
};
|
|
38327
38346
|
/**
|
|
38328
38347
|
* TerraformConfigurationApi - object-oriented interface
|
|
@@ -38371,14 +38390,14 @@ export declare class TerraformConfigurationApi extends BaseAPI {
|
|
|
38371
38390
|
getTerraformVariables(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVariablesResponse, any, {}>>;
|
|
38372
38391
|
/**
|
|
38373
38392
|
*
|
|
38374
|
-
* @summary
|
|
38393
|
+
* @summary Replace all terraform variables
|
|
38375
38394
|
* @param {string} terraformId Terraform ID
|
|
38376
|
-
* @param {
|
|
38395
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
38377
38396
|
* @param {*} [options] Override http request option.
|
|
38378
38397
|
* @throws {RequiredError}
|
|
38379
38398
|
* @memberof TerraformConfigurationApi
|
|
38380
38399
|
*/
|
|
38381
|
-
|
|
38400
|
+
replaceAllTerraformVariables(terraformId: string, terraformVariablesReplaceRequest: TerraformVariablesReplaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38382
38401
|
}
|
|
38383
38402
|
/**
|
|
38384
38403
|
* TerraformDeploymentHistoryApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -39529,17 +39529,17 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
39529
39529
|
}),
|
|
39530
39530
|
/**
|
|
39531
39531
|
*
|
|
39532
|
-
* @summary
|
|
39532
|
+
* @summary Replace all terraform variables
|
|
39533
39533
|
* @param {string} terraformId Terraform ID
|
|
39534
|
-
* @param {
|
|
39534
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
39535
39535
|
* @param {*} [options] Override http request option.
|
|
39536
39536
|
* @throws {RequiredError}
|
|
39537
39537
|
*/
|
|
39538
|
-
|
|
39538
|
+
replaceAllTerraformVariables: (terraformId_1, terraformVariablesReplaceRequest_1, ...args_1) => __awaiter(this, [terraformId_1, terraformVariablesReplaceRequest_1, ...args_1], void 0, function* (terraformId, terraformVariablesReplaceRequest, options = {}) {
|
|
39539
39539
|
// verify required parameter 'terraformId' is not null or undefined
|
|
39540
|
-
assertParamExists('
|
|
39541
|
-
// verify required parameter '
|
|
39542
|
-
assertParamExists('
|
|
39540
|
+
assertParamExists('replaceAllTerraformVariables', 'terraformId', terraformId);
|
|
39541
|
+
// verify required parameter 'terraformVariablesReplaceRequest' is not null or undefined
|
|
39542
|
+
assertParamExists('replaceAllTerraformVariables', 'terraformVariablesReplaceRequest', terraformVariablesReplaceRequest);
|
|
39543
39543
|
const localVarPath = `/terraform/{terraformId}/variables`
|
|
39544
39544
|
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
39545
39545
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -39548,7 +39548,7 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
39548
39548
|
if (configuration) {
|
|
39549
39549
|
baseOptions = configuration.baseOptions;
|
|
39550
39550
|
}
|
|
39551
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
39551
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
39552
39552
|
const localVarHeaderParameter = {};
|
|
39553
39553
|
const localVarQueryParameter = {};
|
|
39554
39554
|
// authentication ApiKeyAuth required
|
|
@@ -39560,7 +39560,7 @@ export const TerraformConfigurationApiAxiosParamCreator = function (configuratio
|
|
|
39560
39560
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39561
39561
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39562
39562
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39563
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
39563
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformVariablesReplaceRequest, localVarRequestOptions, configuration);
|
|
39564
39564
|
return {
|
|
39565
39565
|
url: toPathString(localVarUrlObj),
|
|
39566
39566
|
options: localVarRequestOptions,
|
|
@@ -39643,18 +39643,18 @@ export const TerraformConfigurationApiFp = function (configuration) {
|
|
|
39643
39643
|
},
|
|
39644
39644
|
/**
|
|
39645
39645
|
*
|
|
39646
|
-
* @summary
|
|
39646
|
+
* @summary Replace all terraform variables
|
|
39647
39647
|
* @param {string} terraformId Terraform ID
|
|
39648
|
-
* @param {
|
|
39648
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
39649
39649
|
* @param {*} [options] Override http request option.
|
|
39650
39650
|
* @throws {RequiredError}
|
|
39651
39651
|
*/
|
|
39652
|
-
|
|
39652
|
+
replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options) {
|
|
39653
39653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39654
39654
|
var _a, _b, _c;
|
|
39655
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
39655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options);
|
|
39656
39656
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39657
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformConfigurationApi.
|
|
39657
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformConfigurationApi.replaceAllTerraformVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39658
39658
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39659
39659
|
});
|
|
39660
39660
|
},
|
|
@@ -39711,14 +39711,14 @@ export const TerraformConfigurationApiFactory = function (configuration, basePat
|
|
|
39711
39711
|
},
|
|
39712
39712
|
/**
|
|
39713
39713
|
*
|
|
39714
|
-
* @summary
|
|
39714
|
+
* @summary Replace all terraform variables
|
|
39715
39715
|
* @param {string} terraformId Terraform ID
|
|
39716
|
-
* @param {
|
|
39716
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
39717
39717
|
* @param {*} [options] Override http request option.
|
|
39718
39718
|
* @throws {RequiredError}
|
|
39719
39719
|
*/
|
|
39720
|
-
|
|
39721
|
-
return localVarFp.
|
|
39720
|
+
replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options) {
|
|
39721
|
+
return localVarFp.replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(axios, basePath));
|
|
39722
39722
|
},
|
|
39723
39723
|
};
|
|
39724
39724
|
};
|
|
@@ -39777,15 +39777,15 @@ export class TerraformConfigurationApi extends BaseAPI {
|
|
|
39777
39777
|
}
|
|
39778
39778
|
/**
|
|
39779
39779
|
*
|
|
39780
|
-
* @summary
|
|
39780
|
+
* @summary Replace all terraform variables
|
|
39781
39781
|
* @param {string} terraformId Terraform ID
|
|
39782
|
-
* @param {
|
|
39782
|
+
* @param {TerraformVariablesReplaceRequest} terraformVariablesReplaceRequest
|
|
39783
39783
|
* @param {*} [options] Override http request option.
|
|
39784
39784
|
* @throws {RequiredError}
|
|
39785
39785
|
* @memberof TerraformConfigurationApi
|
|
39786
39786
|
*/
|
|
39787
|
-
|
|
39788
|
-
return TerraformConfigurationApiFp(this.configuration).
|
|
39787
|
+
replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options) {
|
|
39788
|
+
return TerraformConfigurationApiFp(this.configuration).replaceAllTerraformVariables(terraformId, terraformVariablesReplaceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39789
39789
|
}
|
|
39790
39790
|
}
|
|
39791
39791
|
/**
|