qovery-typescript-axios 1.1.594 → 1.1.595
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 +173 -0
- package/dist/api.d.ts +78 -0
- package/dist/api.js +162 -0
- package/dist/esm/api.d.ts +78 -0
- package/dist/esm/api.js +162 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -56975,6 +56975,100 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
56975
56975
|
|
|
56976
56976
|
|
|
56977
56977
|
|
|
56978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56979
|
+
|
|
56980
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56982
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56983
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
56984
|
+
|
|
56985
|
+
return {
|
|
56986
|
+
url: toPathString(localVarUrlObj),
|
|
56987
|
+
options: localVarRequestOptions,
|
|
56988
|
+
};
|
|
56989
|
+
},
|
|
56990
|
+
/**
|
|
56991
|
+
* Delete a terraform deployment restriction
|
|
56992
|
+
* @summary Delete a terraform deployment restriction
|
|
56993
|
+
* @param {string} terraformId Terraform ID
|
|
56994
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
56995
|
+
* @param {*} [options] Override http request option.
|
|
56996
|
+
* @throws {RequiredError}
|
|
56997
|
+
*/
|
|
56998
|
+
deleteTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56999
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57000
|
+
assertParamExists('deleteTerraformDeploymentRestriction', 'terraformId', terraformId)
|
|
57001
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
57002
|
+
assertParamExists('deleteTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
57003
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
57004
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
57005
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
57006
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57007
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57008
|
+
let baseOptions;
|
|
57009
|
+
if (configuration) {
|
|
57010
|
+
baseOptions = configuration.baseOptions;
|
|
57011
|
+
}
|
|
57012
|
+
|
|
57013
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
57014
|
+
const localVarHeaderParameter = {} as any;
|
|
57015
|
+
const localVarQueryParameter = {} as any;
|
|
57016
|
+
|
|
57017
|
+
// authentication ApiKeyAuth required
|
|
57018
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57019
|
+
|
|
57020
|
+
// authentication bearerAuth required
|
|
57021
|
+
// http bearer authentication required
|
|
57022
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57023
|
+
|
|
57024
|
+
|
|
57025
|
+
|
|
57026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57028
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57029
|
+
|
|
57030
|
+
return {
|
|
57031
|
+
url: toPathString(localVarUrlObj),
|
|
57032
|
+
options: localVarRequestOptions,
|
|
57033
|
+
};
|
|
57034
|
+
},
|
|
57035
|
+
/**
|
|
57036
|
+
* Edit a terraform deployment restriction
|
|
57037
|
+
* @summary Edit a terraform deployment restriction
|
|
57038
|
+
* @param {string} terraformId Terraform ID
|
|
57039
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57040
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57041
|
+
* @param {*} [options] Override http request option.
|
|
57042
|
+
* @throws {RequiredError}
|
|
57043
|
+
*/
|
|
57044
|
+
editTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57045
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57046
|
+
assertParamExists('editTerraformDeploymentRestriction', 'terraformId', terraformId)
|
|
57047
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
57048
|
+
assertParamExists('editTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
57049
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
57050
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
57051
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
57052
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57054
|
+
let baseOptions;
|
|
57055
|
+
if (configuration) {
|
|
57056
|
+
baseOptions = configuration.baseOptions;
|
|
57057
|
+
}
|
|
57058
|
+
|
|
57059
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
57060
|
+
const localVarHeaderParameter = {} as any;
|
|
57061
|
+
const localVarQueryParameter = {} as any;
|
|
57062
|
+
|
|
57063
|
+
// authentication ApiKeyAuth required
|
|
57064
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57065
|
+
|
|
57066
|
+
// authentication bearerAuth required
|
|
57067
|
+
// http bearer authentication required
|
|
57068
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57069
|
+
|
|
57070
|
+
|
|
57071
|
+
|
|
56978
57072
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56979
57073
|
|
|
56980
57074
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -57052,6 +57146,35 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
|
|
|
57052
57146
|
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.createTerraformDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
57053
57147
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57054
57148
|
},
|
|
57149
|
+
/**
|
|
57150
|
+
* Delete a terraform deployment restriction
|
|
57151
|
+
* @summary Delete a terraform deployment restriction
|
|
57152
|
+
* @param {string} terraformId Terraform ID
|
|
57153
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57154
|
+
* @param {*} [options] Override http request option.
|
|
57155
|
+
* @throws {RequiredError}
|
|
57156
|
+
*/
|
|
57157
|
+
async deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
57158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options);
|
|
57159
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57160
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.deleteTerraformDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
57161
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57162
|
+
},
|
|
57163
|
+
/**
|
|
57164
|
+
* Edit a terraform deployment restriction
|
|
57165
|
+
* @summary Edit a terraform deployment restriction
|
|
57166
|
+
* @param {string} terraformId Terraform ID
|
|
57167
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57168
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57169
|
+
* @param {*} [options] Override http request option.
|
|
57170
|
+
* @throws {RequiredError}
|
|
57171
|
+
*/
|
|
57172
|
+
async editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
57173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options);
|
|
57174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57175
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.editTerraformDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
57176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57177
|
+
},
|
|
57055
57178
|
/**
|
|
57056
57179
|
* Get terraform deployment restrictions
|
|
57057
57180
|
* @summary Get terraform deployment restrictions
|
|
@@ -57086,6 +57209,29 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
|
|
|
57086
57209
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
57087
57210
|
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
57088
57211
|
},
|
|
57212
|
+
/**
|
|
57213
|
+
* Delete a terraform deployment restriction
|
|
57214
|
+
* @summary Delete a terraform deployment restriction
|
|
57215
|
+
* @param {string} terraformId Terraform ID
|
|
57216
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57217
|
+
* @param {*} [options] Override http request option.
|
|
57218
|
+
* @throws {RequiredError}
|
|
57219
|
+
*/
|
|
57220
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
57221
|
+
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
57222
|
+
},
|
|
57223
|
+
/**
|
|
57224
|
+
* Edit a terraform deployment restriction
|
|
57225
|
+
* @summary Edit a terraform deployment restriction
|
|
57226
|
+
* @param {string} terraformId Terraform ID
|
|
57227
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57228
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57229
|
+
* @param {*} [options] Override http request option.
|
|
57230
|
+
* @throws {RequiredError}
|
|
57231
|
+
*/
|
|
57232
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
57233
|
+
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
57234
|
+
},
|
|
57089
57235
|
/**
|
|
57090
57236
|
* Get terraform deployment restrictions
|
|
57091
57237
|
* @summary Get terraform deployment restrictions
|
|
@@ -57119,6 +57265,33 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
57119
57265
|
return TerraformDeploymentRestrictionApiFp(this.configuration).createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
57120
57266
|
}
|
|
57121
57267
|
|
|
57268
|
+
/**
|
|
57269
|
+
* Delete a terraform deployment restriction
|
|
57270
|
+
* @summary Delete a terraform deployment restriction
|
|
57271
|
+
* @param {string} terraformId Terraform ID
|
|
57272
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57273
|
+
* @param {*} [options] Override http request option.
|
|
57274
|
+
* @throws {RequiredError}
|
|
57275
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
57276
|
+
*/
|
|
57277
|
+
public deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) {
|
|
57278
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
57279
|
+
}
|
|
57280
|
+
|
|
57281
|
+
/**
|
|
57282
|
+
* Edit a terraform deployment restriction
|
|
57283
|
+
* @summary Edit a terraform deployment restriction
|
|
57284
|
+
* @param {string} terraformId Terraform ID
|
|
57285
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57286
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57287
|
+
* @param {*} [options] Override http request option.
|
|
57288
|
+
* @throws {RequiredError}
|
|
57289
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
57290
|
+
*/
|
|
57291
|
+
public editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
57292
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
57293
|
+
}
|
|
57294
|
+
|
|
57122
57295
|
/**
|
|
57123
57296
|
* Get terraform deployment restrictions
|
|
57124
57297
|
* @summary Get terraform deployment restrictions
|
package/dist/api.d.ts
CHANGED
|
@@ -35379,6 +35379,25 @@ export declare const TerraformDeploymentRestrictionApiAxiosParamCreator: (config
|
|
|
35379
35379
|
* @throws {RequiredError}
|
|
35380
35380
|
*/
|
|
35381
35381
|
createTerraformDeploymentRestriction: (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35382
|
+
/**
|
|
35383
|
+
* Delete a terraform deployment restriction
|
|
35384
|
+
* @summary Delete a terraform deployment restriction
|
|
35385
|
+
* @param {string} terraformId Terraform ID
|
|
35386
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35387
|
+
* @param {*} [options] Override http request option.
|
|
35388
|
+
* @throws {RequiredError}
|
|
35389
|
+
*/
|
|
35390
|
+
deleteTerraformDeploymentRestriction: (terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35391
|
+
/**
|
|
35392
|
+
* Edit a terraform deployment restriction
|
|
35393
|
+
* @summary Edit a terraform deployment restriction
|
|
35394
|
+
* @param {string} terraformId Terraform ID
|
|
35395
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35396
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35397
|
+
* @param {*} [options] Override http request option.
|
|
35398
|
+
* @throws {RequiredError}
|
|
35399
|
+
*/
|
|
35400
|
+
editTerraformDeploymentRestriction: (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35382
35401
|
/**
|
|
35383
35402
|
* Get terraform deployment restrictions
|
|
35384
35403
|
* @summary Get terraform deployment restrictions
|
|
@@ -35402,6 +35421,25 @@ export declare const TerraformDeploymentRestrictionApiFp: (configuration?: Confi
|
|
|
35402
35421
|
* @throws {RequiredError}
|
|
35403
35422
|
*/
|
|
35404
35423
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>>;
|
|
35424
|
+
/**
|
|
35425
|
+
* Delete a terraform deployment restriction
|
|
35426
|
+
* @summary Delete a terraform deployment restriction
|
|
35427
|
+
* @param {string} terraformId Terraform ID
|
|
35428
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35429
|
+
* @param {*} [options] Override http request option.
|
|
35430
|
+
* @throws {RequiredError}
|
|
35431
|
+
*/
|
|
35432
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35433
|
+
/**
|
|
35434
|
+
* Edit a terraform deployment restriction
|
|
35435
|
+
* @summary Edit a terraform deployment restriction
|
|
35436
|
+
* @param {string} terraformId Terraform ID
|
|
35437
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35438
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35439
|
+
* @param {*} [options] Override http request option.
|
|
35440
|
+
* @throws {RequiredError}
|
|
35441
|
+
*/
|
|
35442
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>>;
|
|
35405
35443
|
/**
|
|
35406
35444
|
* Get terraform deployment restrictions
|
|
35407
35445
|
* @summary Get terraform deployment restrictions
|
|
@@ -35425,6 +35463,25 @@ export declare const TerraformDeploymentRestrictionApiFactory: (configuration?:
|
|
|
35425
35463
|
* @throws {RequiredError}
|
|
35426
35464
|
*/
|
|
35427
35465
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse>;
|
|
35466
|
+
/**
|
|
35467
|
+
* Delete a terraform deployment restriction
|
|
35468
|
+
* @summary Delete a terraform deployment restriction
|
|
35469
|
+
* @param {string} terraformId Terraform ID
|
|
35470
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35471
|
+
* @param {*} [options] Override http request option.
|
|
35472
|
+
* @throws {RequiredError}
|
|
35473
|
+
*/
|
|
35474
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35475
|
+
/**
|
|
35476
|
+
* Edit a terraform deployment restriction
|
|
35477
|
+
* @summary Edit a terraform deployment restriction
|
|
35478
|
+
* @param {string} terraformId Terraform ID
|
|
35479
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35480
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35481
|
+
* @param {*} [options] Override http request option.
|
|
35482
|
+
* @throws {RequiredError}
|
|
35483
|
+
*/
|
|
35484
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse>;
|
|
35428
35485
|
/**
|
|
35429
35486
|
* Get terraform deployment restrictions
|
|
35430
35487
|
* @summary Get terraform deployment restrictions
|
|
@@ -35451,6 +35508,27 @@ export declare class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
35451
35508
|
* @memberof TerraformDeploymentRestrictionApi
|
|
35452
35509
|
*/
|
|
35453
35510
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponse, any>>;
|
|
35511
|
+
/**
|
|
35512
|
+
* Delete a terraform deployment restriction
|
|
35513
|
+
* @summary Delete a terraform deployment restriction
|
|
35514
|
+
* @param {string} terraformId Terraform ID
|
|
35515
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35516
|
+
* @param {*} [options] Override http request option.
|
|
35517
|
+
* @throws {RequiredError}
|
|
35518
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35519
|
+
*/
|
|
35520
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35521
|
+
/**
|
|
35522
|
+
* Edit a terraform deployment restriction
|
|
35523
|
+
* @summary Edit a terraform deployment restriction
|
|
35524
|
+
* @param {string} terraformId Terraform ID
|
|
35525
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35526
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35527
|
+
* @param {*} [options] Override http request option.
|
|
35528
|
+
* @throws {RequiredError}
|
|
35529
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35530
|
+
*/
|
|
35531
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponse, any>>;
|
|
35454
35532
|
/**
|
|
35455
35533
|
* Get terraform deployment restrictions
|
|
35456
35534
|
* @summary Get terraform deployment restrictions
|
package/dist/api.js
CHANGED
|
@@ -37482,6 +37482,85 @@ const TerraformDeploymentRestrictionApiAxiosParamCreator = function (configurati
|
|
|
37482
37482
|
options: localVarRequestOptions,
|
|
37483
37483
|
};
|
|
37484
37484
|
}),
|
|
37485
|
+
/**
|
|
37486
|
+
* Delete a terraform deployment restriction
|
|
37487
|
+
* @summary Delete a terraform deployment restriction
|
|
37488
|
+
* @param {string} terraformId Terraform ID
|
|
37489
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37490
|
+
* @param {*} [options] Override http request option.
|
|
37491
|
+
* @throws {RequiredError}
|
|
37492
|
+
*/
|
|
37493
|
+
deleteTerraformDeploymentRestriction: (terraformId_1, deploymentRestrictionId_1, ...args_1) => __awaiter(this, [terraformId_1, deploymentRestrictionId_1, ...args_1], void 0, function* (terraformId, deploymentRestrictionId, options = {}) {
|
|
37494
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37495
|
+
(0, common_1.assertParamExists)('deleteTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37496
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
37497
|
+
(0, common_1.assertParamExists)('deleteTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
37498
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
37499
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
37500
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
37501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37502
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37503
|
+
let baseOptions;
|
|
37504
|
+
if (configuration) {
|
|
37505
|
+
baseOptions = configuration.baseOptions;
|
|
37506
|
+
}
|
|
37507
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
37508
|
+
const localVarHeaderParameter = {};
|
|
37509
|
+
const localVarQueryParameter = {};
|
|
37510
|
+
// authentication ApiKeyAuth required
|
|
37511
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37512
|
+
// authentication bearerAuth required
|
|
37513
|
+
// http bearer authentication required
|
|
37514
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37515
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37517
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37518
|
+
return {
|
|
37519
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37520
|
+
options: localVarRequestOptions,
|
|
37521
|
+
};
|
|
37522
|
+
}),
|
|
37523
|
+
/**
|
|
37524
|
+
* Edit a terraform deployment restriction
|
|
37525
|
+
* @summary Edit a terraform deployment restriction
|
|
37526
|
+
* @param {string} terraformId Terraform ID
|
|
37527
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37528
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37529
|
+
* @param {*} [options] Override http request option.
|
|
37530
|
+
* @throws {RequiredError}
|
|
37531
|
+
*/
|
|
37532
|
+
editTerraformDeploymentRestriction: (terraformId_1, deploymentRestrictionId_1, terraformDeploymentRestrictionRequest_1, ...args_1) => __awaiter(this, [terraformId_1, deploymentRestrictionId_1, terraformDeploymentRestrictionRequest_1, ...args_1], void 0, function* (terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options = {}) {
|
|
37533
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37534
|
+
(0, common_1.assertParamExists)('editTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37535
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
37536
|
+
(0, common_1.assertParamExists)('editTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
37537
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
37538
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
37539
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
37540
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37541
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37542
|
+
let baseOptions;
|
|
37543
|
+
if (configuration) {
|
|
37544
|
+
baseOptions = configuration.baseOptions;
|
|
37545
|
+
}
|
|
37546
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
37547
|
+
const localVarHeaderParameter = {};
|
|
37548
|
+
const localVarQueryParameter = {};
|
|
37549
|
+
// authentication ApiKeyAuth required
|
|
37550
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37551
|
+
// authentication bearerAuth required
|
|
37552
|
+
// http bearer authentication required
|
|
37553
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37554
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37555
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37556
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37557
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37558
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration);
|
|
37559
|
+
return {
|
|
37560
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37561
|
+
options: localVarRequestOptions,
|
|
37562
|
+
};
|
|
37563
|
+
}),
|
|
37485
37564
|
/**
|
|
37486
37565
|
* Get terraform deployment restrictions
|
|
37487
37566
|
* @summary Get terraform deployment restrictions
|
|
@@ -37543,6 +37622,41 @@ const TerraformDeploymentRestrictionApiFp = function (configuration) {
|
|
|
37543
37622
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37544
37623
|
});
|
|
37545
37624
|
},
|
|
37625
|
+
/**
|
|
37626
|
+
* Delete a terraform deployment restriction
|
|
37627
|
+
* @summary Delete a terraform deployment restriction
|
|
37628
|
+
* @param {string} terraformId Terraform ID
|
|
37629
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37630
|
+
* @param {*} [options] Override http request option.
|
|
37631
|
+
* @throws {RequiredError}
|
|
37632
|
+
*/
|
|
37633
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37634
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37635
|
+
var _a, _b, _c;
|
|
37636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options);
|
|
37637
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37638
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformDeploymentRestrictionApi.deleteTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37639
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37640
|
+
});
|
|
37641
|
+
},
|
|
37642
|
+
/**
|
|
37643
|
+
* Edit a terraform deployment restriction
|
|
37644
|
+
* @summary Edit a terraform deployment restriction
|
|
37645
|
+
* @param {string} terraformId Terraform ID
|
|
37646
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37647
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37648
|
+
* @param {*} [options] Override http request option.
|
|
37649
|
+
* @throws {RequiredError}
|
|
37650
|
+
*/
|
|
37651
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37652
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37653
|
+
var _a, _b, _c;
|
|
37654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options);
|
|
37655
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37656
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformDeploymentRestrictionApi.editTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37657
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37658
|
+
});
|
|
37659
|
+
},
|
|
37546
37660
|
/**
|
|
37547
37661
|
* Get terraform deployment restrictions
|
|
37548
37662
|
* @summary Get terraform deployment restrictions
|
|
@@ -37580,6 +37694,29 @@ const TerraformDeploymentRestrictionApiFactory = function (configuration, basePa
|
|
|
37580
37694
|
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37581
37695
|
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37582
37696
|
},
|
|
37697
|
+
/**
|
|
37698
|
+
* Delete a terraform deployment restriction
|
|
37699
|
+
* @summary Delete a terraform deployment restriction
|
|
37700
|
+
* @param {string} terraformId Terraform ID
|
|
37701
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37702
|
+
* @param {*} [options] Override http request option.
|
|
37703
|
+
* @throws {RequiredError}
|
|
37704
|
+
*/
|
|
37705
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37706
|
+
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
37707
|
+
},
|
|
37708
|
+
/**
|
|
37709
|
+
* Edit a terraform deployment restriction
|
|
37710
|
+
* @summary Edit a terraform deployment restriction
|
|
37711
|
+
* @param {string} terraformId Terraform ID
|
|
37712
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37713
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37714
|
+
* @param {*} [options] Override http request option.
|
|
37715
|
+
* @throws {RequiredError}
|
|
37716
|
+
*/
|
|
37717
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37718
|
+
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37719
|
+
},
|
|
37583
37720
|
/**
|
|
37584
37721
|
* Get terraform deployment restrictions
|
|
37585
37722
|
* @summary Get terraform deployment restrictions
|
|
@@ -37612,6 +37749,31 @@ class TerraformDeploymentRestrictionApi extends base_1.BaseAPI {
|
|
|
37612
37749
|
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37613
37750
|
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37614
37751
|
}
|
|
37752
|
+
/**
|
|
37753
|
+
* Delete a terraform deployment restriction
|
|
37754
|
+
* @summary Delete a terraform deployment restriction
|
|
37755
|
+
* @param {string} terraformId Terraform ID
|
|
37756
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37757
|
+
* @param {*} [options] Override http request option.
|
|
37758
|
+
* @throws {RequiredError}
|
|
37759
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37760
|
+
*/
|
|
37761
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37762
|
+
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
37763
|
+
}
|
|
37764
|
+
/**
|
|
37765
|
+
* Edit a terraform deployment restriction
|
|
37766
|
+
* @summary Edit a terraform deployment restriction
|
|
37767
|
+
* @param {string} terraformId Terraform ID
|
|
37768
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37769
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37770
|
+
* @param {*} [options] Override http request option.
|
|
37771
|
+
* @throws {RequiredError}
|
|
37772
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37773
|
+
*/
|
|
37774
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37775
|
+
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37776
|
+
}
|
|
37615
37777
|
/**
|
|
37616
37778
|
* Get terraform deployment restrictions
|
|
37617
37779
|
* @summary Get terraform deployment restrictions
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -35379,6 +35379,25 @@ export declare const TerraformDeploymentRestrictionApiAxiosParamCreator: (config
|
|
|
35379
35379
|
* @throws {RequiredError}
|
|
35380
35380
|
*/
|
|
35381
35381
|
createTerraformDeploymentRestriction: (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35382
|
+
/**
|
|
35383
|
+
* Delete a terraform deployment restriction
|
|
35384
|
+
* @summary Delete a terraform deployment restriction
|
|
35385
|
+
* @param {string} terraformId Terraform ID
|
|
35386
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35387
|
+
* @param {*} [options] Override http request option.
|
|
35388
|
+
* @throws {RequiredError}
|
|
35389
|
+
*/
|
|
35390
|
+
deleteTerraformDeploymentRestriction: (terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35391
|
+
/**
|
|
35392
|
+
* Edit a terraform deployment restriction
|
|
35393
|
+
* @summary Edit a terraform deployment restriction
|
|
35394
|
+
* @param {string} terraformId Terraform ID
|
|
35395
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35396
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35397
|
+
* @param {*} [options] Override http request option.
|
|
35398
|
+
* @throws {RequiredError}
|
|
35399
|
+
*/
|
|
35400
|
+
editTerraformDeploymentRestriction: (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35382
35401
|
/**
|
|
35383
35402
|
* Get terraform deployment restrictions
|
|
35384
35403
|
* @summary Get terraform deployment restrictions
|
|
@@ -35402,6 +35421,25 @@ export declare const TerraformDeploymentRestrictionApiFp: (configuration?: Confi
|
|
|
35402
35421
|
* @throws {RequiredError}
|
|
35403
35422
|
*/
|
|
35404
35423
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>>;
|
|
35424
|
+
/**
|
|
35425
|
+
* Delete a terraform deployment restriction
|
|
35426
|
+
* @summary Delete a terraform deployment restriction
|
|
35427
|
+
* @param {string} terraformId Terraform ID
|
|
35428
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35429
|
+
* @param {*} [options] Override http request option.
|
|
35430
|
+
* @throws {RequiredError}
|
|
35431
|
+
*/
|
|
35432
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35433
|
+
/**
|
|
35434
|
+
* Edit a terraform deployment restriction
|
|
35435
|
+
* @summary Edit a terraform deployment restriction
|
|
35436
|
+
* @param {string} terraformId Terraform ID
|
|
35437
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35438
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35439
|
+
* @param {*} [options] Override http request option.
|
|
35440
|
+
* @throws {RequiredError}
|
|
35441
|
+
*/
|
|
35442
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>>;
|
|
35405
35443
|
/**
|
|
35406
35444
|
* Get terraform deployment restrictions
|
|
35407
35445
|
* @summary Get terraform deployment restrictions
|
|
@@ -35425,6 +35463,25 @@ export declare const TerraformDeploymentRestrictionApiFactory: (configuration?:
|
|
|
35425
35463
|
* @throws {RequiredError}
|
|
35426
35464
|
*/
|
|
35427
35465
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse>;
|
|
35466
|
+
/**
|
|
35467
|
+
* Delete a terraform deployment restriction
|
|
35468
|
+
* @summary Delete a terraform deployment restriction
|
|
35469
|
+
* @param {string} terraformId Terraform ID
|
|
35470
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35471
|
+
* @param {*} [options] Override http request option.
|
|
35472
|
+
* @throws {RequiredError}
|
|
35473
|
+
*/
|
|
35474
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35475
|
+
/**
|
|
35476
|
+
* Edit a terraform deployment restriction
|
|
35477
|
+
* @summary Edit a terraform deployment restriction
|
|
35478
|
+
* @param {string} terraformId Terraform ID
|
|
35479
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35480
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35481
|
+
* @param {*} [options] Override http request option.
|
|
35482
|
+
* @throws {RequiredError}
|
|
35483
|
+
*/
|
|
35484
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse>;
|
|
35428
35485
|
/**
|
|
35429
35486
|
* Get terraform deployment restrictions
|
|
35430
35487
|
* @summary Get terraform deployment restrictions
|
|
@@ -35451,6 +35508,27 @@ export declare class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
35451
35508
|
* @memberof TerraformDeploymentRestrictionApi
|
|
35452
35509
|
*/
|
|
35453
35510
|
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponse, any>>;
|
|
35511
|
+
/**
|
|
35512
|
+
* Delete a terraform deployment restriction
|
|
35513
|
+
* @summary Delete a terraform deployment restriction
|
|
35514
|
+
* @param {string} terraformId Terraform ID
|
|
35515
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35516
|
+
* @param {*} [options] Override http request option.
|
|
35517
|
+
* @throws {RequiredError}
|
|
35518
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35519
|
+
*/
|
|
35520
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35521
|
+
/**
|
|
35522
|
+
* Edit a terraform deployment restriction
|
|
35523
|
+
* @summary Edit a terraform deployment restriction
|
|
35524
|
+
* @param {string} terraformId Terraform ID
|
|
35525
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35526
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35527
|
+
* @param {*} [options] Override http request option.
|
|
35528
|
+
* @throws {RequiredError}
|
|
35529
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35530
|
+
*/
|
|
35531
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponse, any>>;
|
|
35454
35532
|
/**
|
|
35455
35533
|
* Get terraform deployment restrictions
|
|
35456
35534
|
* @summary Get terraform deployment restrictions
|
package/dist/esm/api.js
CHANGED
|
@@ -37143,6 +37143,85 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
|
|
|
37143
37143
|
options: localVarRequestOptions,
|
|
37144
37144
|
};
|
|
37145
37145
|
}),
|
|
37146
|
+
/**
|
|
37147
|
+
* Delete a terraform deployment restriction
|
|
37148
|
+
* @summary Delete a terraform deployment restriction
|
|
37149
|
+
* @param {string} terraformId Terraform ID
|
|
37150
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37151
|
+
* @param {*} [options] Override http request option.
|
|
37152
|
+
* @throws {RequiredError}
|
|
37153
|
+
*/
|
|
37154
|
+
deleteTerraformDeploymentRestriction: (terraformId_1, deploymentRestrictionId_1, ...args_1) => __awaiter(this, [terraformId_1, deploymentRestrictionId_1, ...args_1], void 0, function* (terraformId, deploymentRestrictionId, options = {}) {
|
|
37155
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37156
|
+
assertParamExists('deleteTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37157
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
37158
|
+
assertParamExists('deleteTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
37159
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
37160
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
37161
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
37162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37164
|
+
let baseOptions;
|
|
37165
|
+
if (configuration) {
|
|
37166
|
+
baseOptions = configuration.baseOptions;
|
|
37167
|
+
}
|
|
37168
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
37169
|
+
const localVarHeaderParameter = {};
|
|
37170
|
+
const localVarQueryParameter = {};
|
|
37171
|
+
// authentication ApiKeyAuth required
|
|
37172
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
37173
|
+
// authentication bearerAuth required
|
|
37174
|
+
// http bearer authentication required
|
|
37175
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
37176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37178
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37179
|
+
return {
|
|
37180
|
+
url: toPathString(localVarUrlObj),
|
|
37181
|
+
options: localVarRequestOptions,
|
|
37182
|
+
};
|
|
37183
|
+
}),
|
|
37184
|
+
/**
|
|
37185
|
+
* Edit a terraform deployment restriction
|
|
37186
|
+
* @summary Edit a terraform deployment restriction
|
|
37187
|
+
* @param {string} terraformId Terraform ID
|
|
37188
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37189
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37190
|
+
* @param {*} [options] Override http request option.
|
|
37191
|
+
* @throws {RequiredError}
|
|
37192
|
+
*/
|
|
37193
|
+
editTerraformDeploymentRestriction: (terraformId_1, deploymentRestrictionId_1, terraformDeploymentRestrictionRequest_1, ...args_1) => __awaiter(this, [terraformId_1, deploymentRestrictionId_1, terraformDeploymentRestrictionRequest_1, ...args_1], void 0, function* (terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options = {}) {
|
|
37194
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37195
|
+
assertParamExists('editTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37196
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
37197
|
+
assertParamExists('editTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
37198
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
37199
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
37200
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
37201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37203
|
+
let baseOptions;
|
|
37204
|
+
if (configuration) {
|
|
37205
|
+
baseOptions = configuration.baseOptions;
|
|
37206
|
+
}
|
|
37207
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
37208
|
+
const localVarHeaderParameter = {};
|
|
37209
|
+
const localVarQueryParameter = {};
|
|
37210
|
+
// authentication ApiKeyAuth required
|
|
37211
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
37212
|
+
// authentication bearerAuth required
|
|
37213
|
+
// http bearer authentication required
|
|
37214
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
37215
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37216
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37217
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37218
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37219
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration);
|
|
37220
|
+
return {
|
|
37221
|
+
url: toPathString(localVarUrlObj),
|
|
37222
|
+
options: localVarRequestOptions,
|
|
37223
|
+
};
|
|
37224
|
+
}),
|
|
37146
37225
|
/**
|
|
37147
37226
|
* Get terraform deployment restrictions
|
|
37148
37227
|
* @summary Get terraform deployment restrictions
|
|
@@ -37203,6 +37282,41 @@ export const TerraformDeploymentRestrictionApiFp = function (configuration) {
|
|
|
37203
37282
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37204
37283
|
});
|
|
37205
37284
|
},
|
|
37285
|
+
/**
|
|
37286
|
+
* Delete a terraform deployment restriction
|
|
37287
|
+
* @summary Delete a terraform deployment restriction
|
|
37288
|
+
* @param {string} terraformId Terraform ID
|
|
37289
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37290
|
+
* @param {*} [options] Override http request option.
|
|
37291
|
+
* @throws {RequiredError}
|
|
37292
|
+
*/
|
|
37293
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37295
|
+
var _a, _b, _c;
|
|
37296
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options);
|
|
37297
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37298
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformDeploymentRestrictionApi.deleteTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37299
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37300
|
+
});
|
|
37301
|
+
},
|
|
37302
|
+
/**
|
|
37303
|
+
* Edit a terraform deployment restriction
|
|
37304
|
+
* @summary Edit a terraform deployment restriction
|
|
37305
|
+
* @param {string} terraformId Terraform ID
|
|
37306
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37307
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37308
|
+
* @param {*} [options] Override http request option.
|
|
37309
|
+
* @throws {RequiredError}
|
|
37310
|
+
*/
|
|
37311
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37313
|
+
var _a, _b, _c;
|
|
37314
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options);
|
|
37315
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37316
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformDeploymentRestrictionApi.editTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37317
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37318
|
+
});
|
|
37319
|
+
},
|
|
37206
37320
|
/**
|
|
37207
37321
|
* Get terraform deployment restrictions
|
|
37208
37322
|
* @summary Get terraform deployment restrictions
|
|
@@ -37239,6 +37353,29 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration,
|
|
|
37239
37353
|
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37240
37354
|
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37241
37355
|
},
|
|
37356
|
+
/**
|
|
37357
|
+
* Delete a terraform deployment restriction
|
|
37358
|
+
* @summary Delete a terraform deployment restriction
|
|
37359
|
+
* @param {string} terraformId Terraform ID
|
|
37360
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37361
|
+
* @param {*} [options] Override http request option.
|
|
37362
|
+
* @throws {RequiredError}
|
|
37363
|
+
*/
|
|
37364
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37365
|
+
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
37366
|
+
},
|
|
37367
|
+
/**
|
|
37368
|
+
* Edit a terraform deployment restriction
|
|
37369
|
+
* @summary Edit a terraform deployment restriction
|
|
37370
|
+
* @param {string} terraformId Terraform ID
|
|
37371
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37372
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37373
|
+
* @param {*} [options] Override http request option.
|
|
37374
|
+
* @throws {RequiredError}
|
|
37375
|
+
*/
|
|
37376
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37377
|
+
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37378
|
+
},
|
|
37242
37379
|
/**
|
|
37243
37380
|
* Get terraform deployment restrictions
|
|
37244
37381
|
* @summary Get terraform deployment restrictions
|
|
@@ -37270,6 +37407,31 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
|
37270
37407
|
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37271
37408
|
return TerraformDeploymentRestrictionApiFp(this.configuration).createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37272
37409
|
}
|
|
37410
|
+
/**
|
|
37411
|
+
* Delete a terraform deployment restriction
|
|
37412
|
+
* @summary Delete a terraform deployment restriction
|
|
37413
|
+
* @param {string} terraformId Terraform ID
|
|
37414
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37415
|
+
* @param {*} [options] Override http request option.
|
|
37416
|
+
* @throws {RequiredError}
|
|
37417
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37418
|
+
*/
|
|
37419
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37420
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
37421
|
+
}
|
|
37422
|
+
/**
|
|
37423
|
+
* Edit a terraform deployment restriction
|
|
37424
|
+
* @summary Edit a terraform deployment restriction
|
|
37425
|
+
* @param {string} terraformId Terraform ID
|
|
37426
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37427
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37428
|
+
* @param {*} [options] Override http request option.
|
|
37429
|
+
* @throws {RequiredError}
|
|
37430
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37431
|
+
*/
|
|
37432
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37433
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37434
|
+
}
|
|
37273
37435
|
/**
|
|
37274
37436
|
* Get terraform deployment restrictions
|
|
37275
37437
|
* @summary Get terraform deployment restrictions
|