qovery-typescript-axios 1.1.591 → 1.1.593

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 CHANGED
@@ -36,7 +36,8 @@ export const APIVariableScopeEnum = {
36
36
  PROJECT: 'PROJECT',
37
37
  CONTAINER: 'CONTAINER',
38
38
  JOB: 'JOB',
39
- HELM: 'HELM'
39
+ HELM: 'HELM',
40
+ TERRAFORM: 'TERRAFORM'
40
41
  } as const;
41
42
 
42
43
  export type APIVariableScopeEnum = typeof APIVariableScopeEnum[keyof typeof APIVariableScopeEnum];
@@ -56735,6 +56736,121 @@ export class TerraformConfigurationApi extends BaseAPI {
56735
56736
 
56736
56737
 
56737
56738
 
56739
+ /**
56740
+ * TerraformDeploymentHistoryApi - axios parameter creator
56741
+ * @export
56742
+ */
56743
+ export const TerraformDeploymentHistoryApiAxiosParamCreator = function (configuration?: Configuration) {
56744
+ return {
56745
+ /**
56746
+ * Returns the 20 last terraform deployments
56747
+ * @summary List terraform deployments
56748
+ * @param {string} terraformId Terraform ID
56749
+ * @param {*} [options] Override http request option.
56750
+ * @throws {RequiredError}
56751
+ */
56752
+ listTerraformDeploymentHistoryV2: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56753
+ // verify required parameter 'terraformId' is not null or undefined
56754
+ assertParamExists('listTerraformDeploymentHistoryV2', 'terraformId', terraformId)
56755
+ const localVarPath = `/terraform/{terraformId}/deploymentHistoryV2`
56756
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
56757
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56758
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56759
+ let baseOptions;
56760
+ if (configuration) {
56761
+ baseOptions = configuration.baseOptions;
56762
+ }
56763
+
56764
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56765
+ const localVarHeaderParameter = {} as any;
56766
+ const localVarQueryParameter = {} as any;
56767
+
56768
+ // authentication ApiKeyAuth required
56769
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
56770
+
56771
+ // authentication bearerAuth required
56772
+ // http bearer authentication required
56773
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
56774
+
56775
+
56776
+
56777
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56778
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56779
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56780
+
56781
+ return {
56782
+ url: toPathString(localVarUrlObj),
56783
+ options: localVarRequestOptions,
56784
+ };
56785
+ },
56786
+ }
56787
+ };
56788
+
56789
+ /**
56790
+ * TerraformDeploymentHistoryApi - functional programming interface
56791
+ * @export
56792
+ */
56793
+ export const TerraformDeploymentHistoryApiFp = function(configuration?: Configuration) {
56794
+ const localVarAxiosParamCreator = TerraformDeploymentHistoryApiAxiosParamCreator(configuration)
56795
+ return {
56796
+ /**
56797
+ * Returns the 20 last terraform deployments
56798
+ * @summary List terraform deployments
56799
+ * @param {string} terraformId Terraform ID
56800
+ * @param {*} [options] Override http request option.
56801
+ * @throws {RequiredError}
56802
+ */
56803
+ async listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>> {
56804
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTerraformDeploymentHistoryV2(terraformId, options);
56805
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56806
+ const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentHistoryApi.listTerraformDeploymentHistoryV2']?.[localVarOperationServerIndex]?.url;
56807
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56808
+ },
56809
+ }
56810
+ };
56811
+
56812
+ /**
56813
+ * TerraformDeploymentHistoryApi - factory interface
56814
+ * @export
56815
+ */
56816
+ export const TerraformDeploymentHistoryApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
56817
+ const localVarFp = TerraformDeploymentHistoryApiFp(configuration)
56818
+ return {
56819
+ /**
56820
+ * Returns the 20 last terraform deployments
56821
+ * @summary List terraform deployments
56822
+ * @param {string} terraformId Terraform ID
56823
+ * @param {*} [options] Override http request option.
56824
+ * @throws {RequiredError}
56825
+ */
56826
+ listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2> {
56827
+ return localVarFp.listTerraformDeploymentHistoryV2(terraformId, options).then((request) => request(axios, basePath));
56828
+ },
56829
+ };
56830
+ };
56831
+
56832
+ /**
56833
+ * TerraformDeploymentHistoryApi - object-oriented interface
56834
+ * @export
56835
+ * @class TerraformDeploymentHistoryApi
56836
+ * @extends {BaseAPI}
56837
+ */
56838
+ export class TerraformDeploymentHistoryApi extends BaseAPI {
56839
+ /**
56840
+ * Returns the 20 last terraform deployments
56841
+ * @summary List terraform deployments
56842
+ * @param {string} terraformId Terraform ID
56843
+ * @param {*} [options] Override http request option.
56844
+ * @throws {RequiredError}
56845
+ * @memberof TerraformDeploymentHistoryApi
56846
+ */
56847
+ public listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig) {
56848
+ return TerraformDeploymentHistoryApiFp(this.configuration).listTerraformDeploymentHistoryV2(terraformId, options).then((request) => request(this.axios, this.basePath));
56849
+ }
56850
+ }
56851
+
56852
+
56853
+
56738
56854
  /**
56739
56855
  * TerraformMainCallsApi - axios parameter creator
56740
56856
  * @export
@@ -57015,6 +57131,51 @@ export class TerraformMainCallsApi extends BaseAPI {
57015
57131
  */
57016
57132
  export const TerraformsApiAxiosParamCreator = function (configuration?: Configuration) {
57017
57133
  return {
57134
+ /**
57135
+ * This will create a new terraform with the same configuration on the targeted environment Id.
57136
+ * @summary Clone terraform
57137
+ * @param {string} terraformId Terraform ID
57138
+ * @param {CloneServiceRequest} [cloneServiceRequest]
57139
+ * @param {*} [options] Override http request option.
57140
+ * @throws {RequiredError}
57141
+ */
57142
+ cloneTerraform: async (terraformId: string, cloneServiceRequest?: CloneServiceRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57143
+ // verify required parameter 'terraformId' is not null or undefined
57144
+ assertParamExists('cloneTerraform', 'terraformId', terraformId)
57145
+ const localVarPath = `/terraform/{terraformId}/clone`
57146
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
57147
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57148
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57149
+ let baseOptions;
57150
+ if (configuration) {
57151
+ baseOptions = configuration.baseOptions;
57152
+ }
57153
+
57154
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
57155
+ const localVarHeaderParameter = {} as any;
57156
+ const localVarQueryParameter = {} as any;
57157
+
57158
+ // authentication ApiKeyAuth required
57159
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
57160
+
57161
+ // authentication bearerAuth required
57162
+ // http bearer authentication required
57163
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
57164
+
57165
+
57166
+
57167
+ localVarHeaderParameter['Content-Type'] = 'application/json';
57168
+
57169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57171
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
57172
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
57173
+
57174
+ return {
57175
+ url: toPathString(localVarUrlObj),
57176
+ options: localVarRequestOptions,
57177
+ };
57178
+ },
57018
57179
  /**
57019
57180
  *
57020
57181
  * @summary Create a terraform
@@ -57060,6 +57221,43 @@ export const TerraformsApiAxiosParamCreator = function (configuration?: Configur
57060
57221
  options: localVarRequestOptions,
57061
57222
  };
57062
57223
  },
57224
+ /**
57225
+ *
57226
+ * @summary List default terraform advanced settings
57227
+ * @param {*} [options] Override http request option.
57228
+ * @throws {RequiredError}
57229
+ */
57230
+ getDefaultTerraformAdvancedSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57231
+ const localVarPath = `/defaultTerraformAdvancedSettings:`;
57232
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57233
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57234
+ let baseOptions;
57235
+ if (configuration) {
57236
+ baseOptions = configuration.baseOptions;
57237
+ }
57238
+
57239
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
57240
+ const localVarHeaderParameter = {} as any;
57241
+ const localVarQueryParameter = {} as any;
57242
+
57243
+ // authentication ApiKeyAuth required
57244
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
57245
+
57246
+ // authentication bearerAuth required
57247
+ // http bearer authentication required
57248
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
57249
+
57250
+
57251
+
57252
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57253
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57254
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
57255
+
57256
+ return {
57257
+ url: toPathString(localVarUrlObj),
57258
+ options: localVarRequestOptions,
57259
+ };
57260
+ },
57063
57261
  /**
57064
57262
  *
57065
57263
  * @summary List terraforms
@@ -57111,6 +57309,20 @@ export const TerraformsApiAxiosParamCreator = function (configuration?: Configur
57111
57309
  export const TerraformsApiFp = function(configuration?: Configuration) {
57112
57310
  const localVarAxiosParamCreator = TerraformsApiAxiosParamCreator(configuration)
57113
57311
  return {
57312
+ /**
57313
+ * This will create a new terraform with the same configuration on the targeted environment Id.
57314
+ * @summary Clone terraform
57315
+ * @param {string} terraformId Terraform ID
57316
+ * @param {CloneServiceRequest} [cloneServiceRequest]
57317
+ * @param {*} [options] Override http request option.
57318
+ * @throws {RequiredError}
57319
+ */
57320
+ async cloneTerraform(terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>> {
57321
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneTerraform(terraformId, cloneServiceRequest, options);
57322
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57323
+ const localVarOperationServerBasePath = operationServerMap['TerraformsApi.cloneTerraform']?.[localVarOperationServerIndex]?.url;
57324
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57325
+ },
57114
57326
  /**
57115
57327
  *
57116
57328
  * @summary Create a terraform
@@ -57125,6 +57337,18 @@ export const TerraformsApiFp = function(configuration?: Configuration) {
57125
57337
  const localVarOperationServerBasePath = operationServerMap['TerraformsApi.createTerraform']?.[localVarOperationServerIndex]?.url;
57126
57338
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57127
57339
  },
57340
+ /**
57341
+ *
57342
+ * @summary List default terraform advanced settings
57343
+ * @param {*} [options] Override http request option.
57344
+ * @throws {RequiredError}
57345
+ */
57346
+ async getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>> {
57347
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultTerraformAdvancedSettings(options);
57348
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57349
+ const localVarOperationServerBasePath = operationServerMap['TerraformsApi.getDefaultTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
57350
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57351
+ },
57128
57352
  /**
57129
57353
  *
57130
57354
  * @summary List terraforms
@@ -57148,6 +57372,17 @@ export const TerraformsApiFp = function(configuration?: Configuration) {
57148
57372
  export const TerraformsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
57149
57373
  const localVarFp = TerraformsApiFp(configuration)
57150
57374
  return {
57375
+ /**
57376
+ * This will create a new terraform with the same configuration on the targeted environment Id.
57377
+ * @summary Clone terraform
57378
+ * @param {string} terraformId Terraform ID
57379
+ * @param {CloneServiceRequest} [cloneServiceRequest]
57380
+ * @param {*} [options] Override http request option.
57381
+ * @throws {RequiredError}
57382
+ */
57383
+ cloneTerraform(terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
57384
+ return localVarFp.cloneTerraform(terraformId, cloneServiceRequest, options).then((request) => request(axios, basePath));
57385
+ },
57151
57386
  /**
57152
57387
  *
57153
57388
  * @summary Create a terraform
@@ -57159,6 +57394,15 @@ export const TerraformsApiFactory = function (configuration?: Configuration, bas
57159
57394
  createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
57160
57395
  return localVarFp.createTerraform(environmentId, terraformRequest, options).then((request) => request(axios, basePath));
57161
57396
  },
57397
+ /**
57398
+ *
57399
+ * @summary List default terraform advanced settings
57400
+ * @param {*} [options] Override http request option.
57401
+ * @throws {RequiredError}
57402
+ */
57403
+ getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
57404
+ return localVarFp.getDefaultTerraformAdvancedSettings(options).then((request) => request(axios, basePath));
57405
+ },
57162
57406
  /**
57163
57407
  *
57164
57408
  * @summary List terraforms
@@ -57179,6 +57423,19 @@ export const TerraformsApiFactory = function (configuration?: Configuration, bas
57179
57423
  * @extends {BaseAPI}
57180
57424
  */
57181
57425
  export class TerraformsApi extends BaseAPI {
57426
+ /**
57427
+ * This will create a new terraform with the same configuration on the targeted environment Id.
57428
+ * @summary Clone terraform
57429
+ * @param {string} terraformId Terraform ID
57430
+ * @param {CloneServiceRequest} [cloneServiceRequest]
57431
+ * @param {*} [options] Override http request option.
57432
+ * @throws {RequiredError}
57433
+ * @memberof TerraformsApi
57434
+ */
57435
+ public cloneTerraform(terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig) {
57436
+ return TerraformsApiFp(this.configuration).cloneTerraform(terraformId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
57437
+ }
57438
+
57182
57439
  /**
57183
57440
  *
57184
57441
  * @summary Create a terraform
@@ -57192,6 +57449,17 @@ export class TerraformsApi extends BaseAPI {
57192
57449
  return TerraformsApiFp(this.configuration).createTerraform(environmentId, terraformRequest, options).then((request) => request(this.axios, this.basePath));
57193
57450
  }
57194
57451
 
57452
+ /**
57453
+ *
57454
+ * @summary List default terraform advanced settings
57455
+ * @param {*} [options] Override http request option.
57456
+ * @throws {RequiredError}
57457
+ * @memberof TerraformsApi
57458
+ */
57459
+ public getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig) {
57460
+ return TerraformsApiFp(this.configuration).getDefaultTerraformAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
57461
+ }
57462
+
57195
57463
  /**
57196
57464
  *
57197
57465
  * @summary List terraforms
package/dist/api.d.ts CHANGED
@@ -26,6 +26,7 @@ export declare const APIVariableScopeEnum: {
26
26
  readonly CONTAINER: "CONTAINER";
27
27
  readonly JOB: "JOB";
28
28
  readonly HELM: "HELM";
29
+ readonly TERRAFORM: "TERRAFORM";
29
30
  };
30
31
  export type APIVariableScopeEnum = typeof APIVariableScopeEnum[keyof typeof APIVariableScopeEnum];
31
32
  /**
@@ -35224,6 +35225,65 @@ export declare class TerraformConfigurationApi extends BaseAPI {
35224
35225
  */
35225
35226
  getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformAdvancedSettings, any>>;
35226
35227
  }
35228
+ /**
35229
+ * TerraformDeploymentHistoryApi - axios parameter creator
35230
+ * @export
35231
+ */
35232
+ export declare const TerraformDeploymentHistoryApiAxiosParamCreator: (configuration?: Configuration) => {
35233
+ /**
35234
+ * Returns the 20 last terraform deployments
35235
+ * @summary List terraform deployments
35236
+ * @param {string} terraformId Terraform ID
35237
+ * @param {*} [options] Override http request option.
35238
+ * @throws {RequiredError}
35239
+ */
35240
+ listTerraformDeploymentHistoryV2: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35241
+ };
35242
+ /**
35243
+ * TerraformDeploymentHistoryApi - functional programming interface
35244
+ * @export
35245
+ */
35246
+ export declare const TerraformDeploymentHistoryApiFp: (configuration?: Configuration) => {
35247
+ /**
35248
+ * Returns the 20 last terraform deployments
35249
+ * @summary List terraform deployments
35250
+ * @param {string} terraformId Terraform ID
35251
+ * @param {*} [options] Override http request option.
35252
+ * @throws {RequiredError}
35253
+ */
35254
+ listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>>;
35255
+ };
35256
+ /**
35257
+ * TerraformDeploymentHistoryApi - factory interface
35258
+ * @export
35259
+ */
35260
+ export declare const TerraformDeploymentHistoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
35261
+ /**
35262
+ * Returns the 20 last terraform deployments
35263
+ * @summary List terraform deployments
35264
+ * @param {string} terraformId Terraform ID
35265
+ * @param {*} [options] Override http request option.
35266
+ * @throws {RequiredError}
35267
+ */
35268
+ listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<DeploymentHistoryServicePaginatedResponseListV2>;
35269
+ };
35270
+ /**
35271
+ * TerraformDeploymentHistoryApi - object-oriented interface
35272
+ * @export
35273
+ * @class TerraformDeploymentHistoryApi
35274
+ * @extends {BaseAPI}
35275
+ */
35276
+ export declare class TerraformDeploymentHistoryApi extends BaseAPI {
35277
+ /**
35278
+ * Returns the 20 last terraform deployments
35279
+ * @summary List terraform deployments
35280
+ * @param {string} terraformId Terraform ID
35281
+ * @param {*} [options] Override http request option.
35282
+ * @throws {RequiredError}
35283
+ * @memberof TerraformDeploymentHistoryApi
35284
+ */
35285
+ listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any>>;
35286
+ }
35227
35287
  /**
35228
35288
  * TerraformMainCallsApi - axios parameter creator
35229
35289
  * @export
@@ -35358,6 +35418,15 @@ export declare class TerraformMainCallsApi extends BaseAPI {
35358
35418
  * @export
35359
35419
  */
35360
35420
  export declare const TerraformsApiAxiosParamCreator: (configuration?: Configuration) => {
35421
+ /**
35422
+ * This will create a new terraform with the same configuration on the targeted environment Id.
35423
+ * @summary Clone terraform
35424
+ * @param {string} terraformId Terraform ID
35425
+ * @param {CloneServiceRequest} [cloneServiceRequest]
35426
+ * @param {*} [options] Override http request option.
35427
+ * @throws {RequiredError}
35428
+ */
35429
+ cloneTerraform: (terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35361
35430
  /**
35362
35431
  *
35363
35432
  * @summary Create a terraform
@@ -35367,6 +35436,13 @@ export declare const TerraformsApiAxiosParamCreator: (configuration?: Configurat
35367
35436
  * @throws {RequiredError}
35368
35437
  */
35369
35438
  createTerraform: (environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35439
+ /**
35440
+ *
35441
+ * @summary List default terraform advanced settings
35442
+ * @param {*} [options] Override http request option.
35443
+ * @throws {RequiredError}
35444
+ */
35445
+ getDefaultTerraformAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35370
35446
  /**
35371
35447
  *
35372
35448
  * @summary List terraforms
@@ -35381,6 +35457,15 @@ export declare const TerraformsApiAxiosParamCreator: (configuration?: Configurat
35381
35457
  * @export
35382
35458
  */
35383
35459
  export declare const TerraformsApiFp: (configuration?: Configuration) => {
35460
+ /**
35461
+ * This will create a new terraform with the same configuration on the targeted environment Id.
35462
+ * @summary Clone terraform
35463
+ * @param {string} terraformId Terraform ID
35464
+ * @param {CloneServiceRequest} [cloneServiceRequest]
35465
+ * @param {*} [options] Override http request option.
35466
+ * @throws {RequiredError}
35467
+ */
35468
+ cloneTerraform(terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>>;
35384
35469
  /**
35385
35470
  *
35386
35471
  * @summary Create a terraform
@@ -35390,6 +35475,13 @@ export declare const TerraformsApiFp: (configuration?: Configuration) => {
35390
35475
  * @throws {RequiredError}
35391
35476
  */
35392
35477
  createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>>;
35478
+ /**
35479
+ *
35480
+ * @summary List default terraform advanced settings
35481
+ * @param {*} [options] Override http request option.
35482
+ * @throws {RequiredError}
35483
+ */
35484
+ getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>>;
35393
35485
  /**
35394
35486
  *
35395
35487
  * @summary List terraforms
@@ -35404,6 +35496,15 @@ export declare const TerraformsApiFp: (configuration?: Configuration) => {
35404
35496
  * @export
35405
35497
  */
35406
35498
  export declare const TerraformsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
35499
+ /**
35500
+ * This will create a new terraform with the same configuration on the targeted environment Id.
35501
+ * @summary Clone terraform
35502
+ * @param {string} terraformId Terraform ID
35503
+ * @param {CloneServiceRequest} [cloneServiceRequest]
35504
+ * @param {*} [options] Override http request option.
35505
+ * @throws {RequiredError}
35506
+ */
35507
+ cloneTerraform(terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse>;
35407
35508
  /**
35408
35509
  *
35409
35510
  * @summary Create a terraform
@@ -35413,6 +35514,13 @@ export declare const TerraformsApiFactory: (configuration?: Configuration, baseP
35413
35514
  * @throws {RequiredError}
35414
35515
  */
35415
35516
  createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse>;
35517
+ /**
35518
+ *
35519
+ * @summary List default terraform advanced settings
35520
+ * @param {*} [options] Override http request option.
35521
+ * @throws {RequiredError}
35522
+ */
35523
+ getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings>;
35416
35524
  /**
35417
35525
  *
35418
35526
  * @summary List terraforms
@@ -35429,6 +35537,16 @@ export declare const TerraformsApiFactory: (configuration?: Configuration, baseP
35429
35537
  * @extends {BaseAPI}
35430
35538
  */
35431
35539
  export declare class TerraformsApi extends BaseAPI {
35540
+ /**
35541
+ * This will create a new terraform with the same configuration on the targeted environment Id.
35542
+ * @summary Clone terraform
35543
+ * @param {string} terraformId Terraform ID
35544
+ * @param {CloneServiceRequest} [cloneServiceRequest]
35545
+ * @param {*} [options] Override http request option.
35546
+ * @throws {RequiredError}
35547
+ * @memberof TerraformsApi
35548
+ */
35549
+ cloneTerraform(terraformId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResponse, any>>;
35432
35550
  /**
35433
35551
  *
35434
35552
  * @summary Create a terraform
@@ -35439,6 +35557,14 @@ export declare class TerraformsApi extends BaseAPI {
35439
35557
  * @memberof TerraformsApi
35440
35558
  */
35441
35559
  createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResponse, any>>;
35560
+ /**
35561
+ *
35562
+ * @summary List default terraform advanced settings
35563
+ * @param {*} [options] Override http request option.
35564
+ * @throws {RequiredError}
35565
+ * @memberof TerraformsApi
35566
+ */
35567
+ getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformAdvancedSettings, any>>;
35442
35568
  /**
35443
35569
  *
35444
35570
  * @summary List terraforms