qovery-typescript-axios 1.1.628 → 1.1.630
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 +39 -7
- package/dist/api.d.ts +32 -4
- package/dist/api.js +14 -7
- package/dist/esm/api.d.ts +32 -4
- package/dist/esm/api.js +14 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4448,6 +4448,18 @@ export interface ContainerRegistryRequestConfig {
|
|
|
4448
4448
|
* @memberof ContainerRegistryRequestConfig
|
|
4449
4449
|
*/
|
|
4450
4450
|
'role_arn'?: string;
|
|
4451
|
+
/**
|
|
4452
|
+
* Required if kind is `AZURE_CR`.
|
|
4453
|
+
* @type {string}
|
|
4454
|
+
* @memberof ContainerRegistryRequestConfig
|
|
4455
|
+
*/
|
|
4456
|
+
'azure_tenant_id'?: string;
|
|
4457
|
+
/**
|
|
4458
|
+
* Required if kind is `AZURE_CR`.
|
|
4459
|
+
* @type {string}
|
|
4460
|
+
* @memberof ContainerRegistryRequestConfig
|
|
4461
|
+
*/
|
|
4462
|
+
'azure_subscription_id'?: string;
|
|
4451
4463
|
}
|
|
4452
4464
|
/**
|
|
4453
4465
|
*
|
|
@@ -4579,6 +4591,18 @@ export interface ContainerRegistryResponseAllOfConfig {
|
|
|
4579
4591
|
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4580
4592
|
*/
|
|
4581
4593
|
'role_arn'?: string;
|
|
4594
|
+
/**
|
|
4595
|
+
*
|
|
4596
|
+
* @type {string}
|
|
4597
|
+
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4598
|
+
*/
|
|
4599
|
+
'azure_tenant_id'?: string;
|
|
4600
|
+
/**
|
|
4601
|
+
*
|
|
4602
|
+
* @type {string}
|
|
4603
|
+
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4604
|
+
*/
|
|
4605
|
+
'azure_subscription_id'?: string;
|
|
4582
4606
|
}
|
|
4583
4607
|
/**
|
|
4584
4608
|
*
|
|
@@ -57605,10 +57629,11 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
57605
57629
|
*
|
|
57606
57630
|
* @summary Delete Terraform
|
|
57607
57631
|
* @param {string} terraformId Terraform ID
|
|
57632
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
57608
57633
|
* @param {*} [options] Override http request option.
|
|
57609
57634
|
* @throws {RequiredError}
|
|
57610
57635
|
*/
|
|
57611
|
-
deleteTerraform: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57636
|
+
deleteTerraform: async (terraformId: string, deleteResourcesOnly?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57612
57637
|
// verify required parameter 'terraformId' is not null or undefined
|
|
57613
57638
|
assertParamExists('deleteTerraform', 'terraformId', terraformId)
|
|
57614
57639
|
const localVarPath = `/terraform/{terraformId}`
|
|
@@ -57631,6 +57656,10 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
57631
57656
|
// http bearer authentication required
|
|
57632
57657
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57633
57658
|
|
|
57659
|
+
if (deleteResourcesOnly !== undefined) {
|
|
57660
|
+
localVarQueryParameter['delete_resources_only'] = deleteResourcesOnly;
|
|
57661
|
+
}
|
|
57662
|
+
|
|
57634
57663
|
|
|
57635
57664
|
|
|
57636
57665
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -57783,11 +57812,12 @@ export const TerraformMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
57783
57812
|
*
|
|
57784
57813
|
* @summary Delete Terraform
|
|
57785
57814
|
* @param {string} terraformId Terraform ID
|
|
57815
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
57786
57816
|
* @param {*} [options] Override http request option.
|
|
57787
57817
|
* @throws {RequiredError}
|
|
57788
57818
|
*/
|
|
57789
|
-
async deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
57790
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraform(terraformId, options);
|
|
57819
|
+
async deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
57820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraform(terraformId, deleteResourcesOnly, options);
|
|
57791
57821
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57792
57822
|
const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.deleteTerraform']?.[localVarOperationServerIndex]?.url;
|
|
57793
57823
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -57846,11 +57876,12 @@ export const TerraformMainCallsApiFactory = function (configuration?: Configurat
|
|
|
57846
57876
|
*
|
|
57847
57877
|
* @summary Delete Terraform
|
|
57848
57878
|
* @param {string} terraformId Terraform ID
|
|
57879
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
57849
57880
|
* @param {*} [options] Override http request option.
|
|
57850
57881
|
* @throws {RequiredError}
|
|
57851
57882
|
*/
|
|
57852
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
57853
|
-
return localVarFp.deleteTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
57883
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
57884
|
+
return localVarFp.deleteTerraform(terraformId, deleteResourcesOnly, options).then((request) => request(axios, basePath));
|
|
57854
57885
|
},
|
|
57855
57886
|
/**
|
|
57856
57887
|
*
|
|
@@ -57897,12 +57928,13 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
57897
57928
|
*
|
|
57898
57929
|
* @summary Delete Terraform
|
|
57899
57930
|
* @param {string} terraformId Terraform ID
|
|
57931
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
57900
57932
|
* @param {*} [options] Override http request option.
|
|
57901
57933
|
* @throws {RequiredError}
|
|
57902
57934
|
* @memberof TerraformMainCallsApi
|
|
57903
57935
|
*/
|
|
57904
|
-
public deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
57905
|
-
return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
57936
|
+
public deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig) {
|
|
57937
|
+
return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, deleteResourcesOnly, options).then((request) => request(this.axios, this.basePath));
|
|
57906
57938
|
}
|
|
57907
57939
|
|
|
57908
57940
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -4327,6 +4327,18 @@ export interface ContainerRegistryRequestConfig {
|
|
|
4327
4327
|
* @memberof ContainerRegistryRequestConfig
|
|
4328
4328
|
*/
|
|
4329
4329
|
'role_arn'?: string;
|
|
4330
|
+
/**
|
|
4331
|
+
* Required if kind is `AZURE_CR`.
|
|
4332
|
+
* @type {string}
|
|
4333
|
+
* @memberof ContainerRegistryRequestConfig
|
|
4334
|
+
*/
|
|
4335
|
+
'azure_tenant_id'?: string;
|
|
4336
|
+
/**
|
|
4337
|
+
* Required if kind is `AZURE_CR`.
|
|
4338
|
+
* @type {string}
|
|
4339
|
+
* @memberof ContainerRegistryRequestConfig
|
|
4340
|
+
*/
|
|
4341
|
+
'azure_subscription_id'?: string;
|
|
4330
4342
|
}
|
|
4331
4343
|
/**
|
|
4332
4344
|
*
|
|
@@ -4456,6 +4468,18 @@ export interface ContainerRegistryResponseAllOfConfig {
|
|
|
4456
4468
|
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4457
4469
|
*/
|
|
4458
4470
|
'role_arn'?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {string}
|
|
4474
|
+
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4475
|
+
*/
|
|
4476
|
+
'azure_tenant_id'?: string;
|
|
4477
|
+
/**
|
|
4478
|
+
*
|
|
4479
|
+
* @type {string}
|
|
4480
|
+
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4481
|
+
*/
|
|
4482
|
+
'azure_subscription_id'?: string;
|
|
4459
4483
|
}
|
|
4460
4484
|
/**
|
|
4461
4485
|
*
|
|
@@ -35782,10 +35806,11 @@ export declare const TerraformMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
35782
35806
|
*
|
|
35783
35807
|
* @summary Delete Terraform
|
|
35784
35808
|
* @param {string} terraformId Terraform ID
|
|
35809
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35785
35810
|
* @param {*} [options] Override http request option.
|
|
35786
35811
|
* @throws {RequiredError}
|
|
35787
35812
|
*/
|
|
35788
|
-
deleteTerraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35813
|
+
deleteTerraform: (terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35789
35814
|
/**
|
|
35790
35815
|
*
|
|
35791
35816
|
* @summary Edit Terraform
|
|
@@ -35821,10 +35846,11 @@ export declare const TerraformMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
35821
35846
|
*
|
|
35822
35847
|
* @summary Delete Terraform
|
|
35823
35848
|
* @param {string} terraformId Terraform ID
|
|
35849
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35824
35850
|
* @param {*} [options] Override http request option.
|
|
35825
35851
|
* @throws {RequiredError}
|
|
35826
35852
|
*/
|
|
35827
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35853
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35828
35854
|
/**
|
|
35829
35855
|
*
|
|
35830
35856
|
* @summary Edit Terraform
|
|
@@ -35860,10 +35886,11 @@ export declare const TerraformMainCallsApiFactory: (configuration?: Configuratio
|
|
|
35860
35886
|
*
|
|
35861
35887
|
* @summary Delete Terraform
|
|
35862
35888
|
* @param {string} terraformId Terraform ID
|
|
35889
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35863
35890
|
* @param {*} [options] Override http request option.
|
|
35864
35891
|
* @throws {RequiredError}
|
|
35865
35892
|
*/
|
|
35866
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35893
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35867
35894
|
/**
|
|
35868
35895
|
*
|
|
35869
35896
|
* @summary Edit Terraform
|
|
@@ -35901,11 +35928,12 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
35901
35928
|
*
|
|
35902
35929
|
* @summary Delete Terraform
|
|
35903
35930
|
* @param {string} terraformId Terraform ID
|
|
35931
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35904
35932
|
* @param {*} [options] Override http request option.
|
|
35905
35933
|
* @throws {RequiredError}
|
|
35906
35934
|
* @memberof TerraformMainCallsApi
|
|
35907
35935
|
*/
|
|
35908
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35936
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35909
35937
|
/**
|
|
35910
35938
|
*
|
|
35911
35939
|
* @summary Edit Terraform
|
package/dist/api.js
CHANGED
|
@@ -37931,10 +37931,11 @@ const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
37931
37931
|
*
|
|
37932
37932
|
* @summary Delete Terraform
|
|
37933
37933
|
* @param {string} terraformId Terraform ID
|
|
37934
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
37934
37935
|
* @param {*} [options] Override http request option.
|
|
37935
37936
|
* @throws {RequiredError}
|
|
37936
37937
|
*/
|
|
37937
|
-
deleteTerraform: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
37938
|
+
deleteTerraform: (terraformId_1, deleteResourcesOnly_1, ...args_1) => __awaiter(this, [terraformId_1, deleteResourcesOnly_1, ...args_1], void 0, function* (terraformId, deleteResourcesOnly, options = {}) {
|
|
37938
37939
|
// verify required parameter 'terraformId' is not null or undefined
|
|
37939
37940
|
(0, common_1.assertParamExists)('deleteTerraform', 'terraformId', terraformId);
|
|
37940
37941
|
const localVarPath = `/terraform/{terraformId}`
|
|
@@ -37953,6 +37954,9 @@ const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
37953
37954
|
// authentication bearerAuth required
|
|
37954
37955
|
// http bearer authentication required
|
|
37955
37956
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37957
|
+
if (deleteResourcesOnly !== undefined) {
|
|
37958
|
+
localVarQueryParameter['delete_resources_only'] = deleteResourcesOnly;
|
|
37959
|
+
}
|
|
37956
37960
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37957
37961
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37958
37962
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -38080,13 +38084,14 @@ const TerraformMainCallsApiFp = function (configuration) {
|
|
|
38080
38084
|
*
|
|
38081
38085
|
* @summary Delete Terraform
|
|
38082
38086
|
* @param {string} terraformId Terraform ID
|
|
38087
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
38083
38088
|
* @param {*} [options] Override http request option.
|
|
38084
38089
|
* @throws {RequiredError}
|
|
38085
38090
|
*/
|
|
38086
|
-
deleteTerraform(terraformId, options) {
|
|
38091
|
+
deleteTerraform(terraformId, deleteResourcesOnly, options) {
|
|
38087
38092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38088
38093
|
var _a, _b, _c;
|
|
38089
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraform(terraformId, options);
|
|
38094
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraform(terraformId, deleteResourcesOnly, options);
|
|
38090
38095
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
38091
38096
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformMainCallsApi.deleteTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
38092
38097
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -38155,11 +38160,12 @@ const TerraformMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
38155
38160
|
*
|
|
38156
38161
|
* @summary Delete Terraform
|
|
38157
38162
|
* @param {string} terraformId Terraform ID
|
|
38163
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
38158
38164
|
* @param {*} [options] Override http request option.
|
|
38159
38165
|
* @throws {RequiredError}
|
|
38160
38166
|
*/
|
|
38161
|
-
deleteTerraform(terraformId, options) {
|
|
38162
|
-
return localVarFp.deleteTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
38167
|
+
deleteTerraform(terraformId, deleteResourcesOnly, options) {
|
|
38168
|
+
return localVarFp.deleteTerraform(terraformId, deleteResourcesOnly, options).then((request) => request(axios, basePath));
|
|
38163
38169
|
},
|
|
38164
38170
|
/**
|
|
38165
38171
|
*
|
|
@@ -38206,12 +38212,13 @@ class TerraformMainCallsApi extends base_1.BaseAPI {
|
|
|
38206
38212
|
*
|
|
38207
38213
|
* @summary Delete Terraform
|
|
38208
38214
|
* @param {string} terraformId Terraform ID
|
|
38215
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
38209
38216
|
* @param {*} [options] Override http request option.
|
|
38210
38217
|
* @throws {RequiredError}
|
|
38211
38218
|
* @memberof TerraformMainCallsApi
|
|
38212
38219
|
*/
|
|
38213
|
-
deleteTerraform(terraformId, options) {
|
|
38214
|
-
return (0, exports.TerraformMainCallsApiFp)(this.configuration).deleteTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
38220
|
+
deleteTerraform(terraformId, deleteResourcesOnly, options) {
|
|
38221
|
+
return (0, exports.TerraformMainCallsApiFp)(this.configuration).deleteTerraform(terraformId, deleteResourcesOnly, options).then((request) => request(this.axios, this.basePath));
|
|
38215
38222
|
}
|
|
38216
38223
|
/**
|
|
38217
38224
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4327,6 +4327,18 @@ export interface ContainerRegistryRequestConfig {
|
|
|
4327
4327
|
* @memberof ContainerRegistryRequestConfig
|
|
4328
4328
|
*/
|
|
4329
4329
|
'role_arn'?: string;
|
|
4330
|
+
/**
|
|
4331
|
+
* Required if kind is `AZURE_CR`.
|
|
4332
|
+
* @type {string}
|
|
4333
|
+
* @memberof ContainerRegistryRequestConfig
|
|
4334
|
+
*/
|
|
4335
|
+
'azure_tenant_id'?: string;
|
|
4336
|
+
/**
|
|
4337
|
+
* Required if kind is `AZURE_CR`.
|
|
4338
|
+
* @type {string}
|
|
4339
|
+
* @memberof ContainerRegistryRequestConfig
|
|
4340
|
+
*/
|
|
4341
|
+
'azure_subscription_id'?: string;
|
|
4330
4342
|
}
|
|
4331
4343
|
/**
|
|
4332
4344
|
*
|
|
@@ -4456,6 +4468,18 @@ export interface ContainerRegistryResponseAllOfConfig {
|
|
|
4456
4468
|
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4457
4469
|
*/
|
|
4458
4470
|
'role_arn'?: string;
|
|
4471
|
+
/**
|
|
4472
|
+
*
|
|
4473
|
+
* @type {string}
|
|
4474
|
+
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4475
|
+
*/
|
|
4476
|
+
'azure_tenant_id'?: string;
|
|
4477
|
+
/**
|
|
4478
|
+
*
|
|
4479
|
+
* @type {string}
|
|
4480
|
+
* @memberof ContainerRegistryResponseAllOfConfig
|
|
4481
|
+
*/
|
|
4482
|
+
'azure_subscription_id'?: string;
|
|
4459
4483
|
}
|
|
4460
4484
|
/**
|
|
4461
4485
|
*
|
|
@@ -35782,10 +35806,11 @@ export declare const TerraformMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
35782
35806
|
*
|
|
35783
35807
|
* @summary Delete Terraform
|
|
35784
35808
|
* @param {string} terraformId Terraform ID
|
|
35809
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35785
35810
|
* @param {*} [options] Override http request option.
|
|
35786
35811
|
* @throws {RequiredError}
|
|
35787
35812
|
*/
|
|
35788
|
-
deleteTerraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35813
|
+
deleteTerraform: (terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35789
35814
|
/**
|
|
35790
35815
|
*
|
|
35791
35816
|
* @summary Edit Terraform
|
|
@@ -35821,10 +35846,11 @@ export declare const TerraformMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
35821
35846
|
*
|
|
35822
35847
|
* @summary Delete Terraform
|
|
35823
35848
|
* @param {string} terraformId Terraform ID
|
|
35849
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35824
35850
|
* @param {*} [options] Override http request option.
|
|
35825
35851
|
* @throws {RequiredError}
|
|
35826
35852
|
*/
|
|
35827
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35853
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35828
35854
|
/**
|
|
35829
35855
|
*
|
|
35830
35856
|
* @summary Edit Terraform
|
|
@@ -35860,10 +35886,11 @@ export declare const TerraformMainCallsApiFactory: (configuration?: Configuratio
|
|
|
35860
35886
|
*
|
|
35861
35887
|
* @summary Delete Terraform
|
|
35862
35888
|
* @param {string} terraformId Terraform ID
|
|
35889
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35863
35890
|
* @param {*} [options] Override http request option.
|
|
35864
35891
|
* @throws {RequiredError}
|
|
35865
35892
|
*/
|
|
35866
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35893
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35867
35894
|
/**
|
|
35868
35895
|
*
|
|
35869
35896
|
* @summary Edit Terraform
|
|
@@ -35901,11 +35928,12 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
35901
35928
|
*
|
|
35902
35929
|
* @summary Delete Terraform
|
|
35903
35930
|
* @param {string} terraformId Terraform ID
|
|
35931
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
35904
35932
|
* @param {*} [options] Override http request option.
|
|
35905
35933
|
* @throws {RequiredError}
|
|
35906
35934
|
* @memberof TerraformMainCallsApi
|
|
35907
35935
|
*/
|
|
35908
|
-
deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35936
|
+
deleteTerraform(terraformId: string, deleteResourcesOnly?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35909
35937
|
/**
|
|
35910
35938
|
*
|
|
35911
35939
|
* @summary Edit Terraform
|
package/dist/esm/api.js
CHANGED
|
@@ -37584,10 +37584,11 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
37584
37584
|
*
|
|
37585
37585
|
* @summary Delete Terraform
|
|
37586
37586
|
* @param {string} terraformId Terraform ID
|
|
37587
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
37587
37588
|
* @param {*} [options] Override http request option.
|
|
37588
37589
|
* @throws {RequiredError}
|
|
37589
37590
|
*/
|
|
37590
|
-
deleteTerraform: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
37591
|
+
deleteTerraform: (terraformId_1, deleteResourcesOnly_1, ...args_1) => __awaiter(this, [terraformId_1, deleteResourcesOnly_1, ...args_1], void 0, function* (terraformId, deleteResourcesOnly, options = {}) {
|
|
37591
37592
|
// verify required parameter 'terraformId' is not null or undefined
|
|
37592
37593
|
assertParamExists('deleteTerraform', 'terraformId', terraformId);
|
|
37593
37594
|
const localVarPath = `/terraform/{terraformId}`
|
|
@@ -37606,6 +37607,9 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
37606
37607
|
// authentication bearerAuth required
|
|
37607
37608
|
// http bearer authentication required
|
|
37608
37609
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
37610
|
+
if (deleteResourcesOnly !== undefined) {
|
|
37611
|
+
localVarQueryParameter['delete_resources_only'] = deleteResourcesOnly;
|
|
37612
|
+
}
|
|
37609
37613
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37610
37614
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37611
37615
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -37732,13 +37736,14 @@ export const TerraformMainCallsApiFp = function (configuration) {
|
|
|
37732
37736
|
*
|
|
37733
37737
|
* @summary Delete Terraform
|
|
37734
37738
|
* @param {string} terraformId Terraform ID
|
|
37739
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
37735
37740
|
* @param {*} [options] Override http request option.
|
|
37736
37741
|
* @throws {RequiredError}
|
|
37737
37742
|
*/
|
|
37738
|
-
deleteTerraform(terraformId, options) {
|
|
37743
|
+
deleteTerraform(terraformId, deleteResourcesOnly, options) {
|
|
37739
37744
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37740
37745
|
var _a, _b, _c;
|
|
37741
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraform(terraformId, options);
|
|
37746
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraform(terraformId, deleteResourcesOnly, options);
|
|
37742
37747
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37743
37748
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformMainCallsApi.deleteTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37744
37749
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -37806,11 +37811,12 @@ export const TerraformMainCallsApiFactory = function (configuration, basePath, a
|
|
|
37806
37811
|
*
|
|
37807
37812
|
* @summary Delete Terraform
|
|
37808
37813
|
* @param {string} terraformId Terraform ID
|
|
37814
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
37809
37815
|
* @param {*} [options] Override http request option.
|
|
37810
37816
|
* @throws {RequiredError}
|
|
37811
37817
|
*/
|
|
37812
|
-
deleteTerraform(terraformId, options) {
|
|
37813
|
-
return localVarFp.deleteTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
37818
|
+
deleteTerraform(terraformId, deleteResourcesOnly, options) {
|
|
37819
|
+
return localVarFp.deleteTerraform(terraformId, deleteResourcesOnly, options).then((request) => request(axios, basePath));
|
|
37814
37820
|
},
|
|
37815
37821
|
/**
|
|
37816
37822
|
*
|
|
@@ -37856,12 +37862,13 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
37856
37862
|
*
|
|
37857
37863
|
* @summary Delete Terraform
|
|
37858
37864
|
* @param {string} terraformId Terraform ID
|
|
37865
|
+
* @param {boolean} [deleteResourcesOnly]
|
|
37859
37866
|
* @param {*} [options] Override http request option.
|
|
37860
37867
|
* @throws {RequiredError}
|
|
37861
37868
|
* @memberof TerraformMainCallsApi
|
|
37862
37869
|
*/
|
|
37863
|
-
deleteTerraform(terraformId, options) {
|
|
37864
|
-
return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
37870
|
+
deleteTerraform(terraformId, deleteResourcesOnly, options) {
|
|
37871
|
+
return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, deleteResourcesOnly, options).then((request) => request(this.axios, this.basePath));
|
|
37865
37872
|
}
|
|
37866
37873
|
/**
|
|
37867
37874
|
*
|