qovery-typescript-axios 1.1.585 → 1.1.586

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
@@ -16354,7 +16354,8 @@ export const ServiceTypeEnum = {
16354
16354
  DATABASE: 'DATABASE',
16355
16355
  CONTAINER: 'CONTAINER',
16356
16356
  JOB: 'JOB',
16357
- HELM: 'HELM'
16357
+ HELM: 'HELM',
16358
+ TERRAFORM: 'TERRAFORM'
16358
16359
  } as const;
16359
16360
 
16360
16361
  export type ServiceTypeEnum = typeof ServiceTypeEnum[keyof typeof ServiceTypeEnum];
@@ -16868,6 +16869,447 @@ export const StorageTypeEnum = {
16868
16869
  export type StorageTypeEnum = typeof StorageTypeEnum[keyof typeof StorageTypeEnum];
16869
16870
 
16870
16871
 
16872
+ /**
16873
+ *
16874
+ * @export
16875
+ * @interface TerraformAdvancedSettings
16876
+ */
16877
+ export interface TerraformAdvancedSettings {
16878
+ /**
16879
+ * define the max timeout for the build
16880
+ * @type {number}
16881
+ * @memberof TerraformAdvancedSettings
16882
+ */
16883
+ 'build.timeout_max_sec'?: number;
16884
+ /**
16885
+ * define the max cpu resources (in milli)
16886
+ * @type {number}
16887
+ * @memberof TerraformAdvancedSettings
16888
+ */
16889
+ 'build.cpu_max_in_milli'?: number;
16890
+ /**
16891
+ * define the max ram resources (in gib)
16892
+ * @type {number}
16893
+ * @memberof TerraformAdvancedSettings
16894
+ */
16895
+ 'build.ram_max_in_gib'?: number;
16896
+ /**
16897
+ *
16898
+ * @type {number}
16899
+ * @memberof TerraformAdvancedSettings
16900
+ */
16901
+ 'build.ephemeral_storage_in_gib'?: number;
16902
+ /**
16903
+ * define how long in seconds an application is supposed to be stopped gracefully
16904
+ * @type {number}
16905
+ * @memberof TerraformAdvancedSettings
16906
+ */
16907
+ 'deployment.termination_grace_period_seconds'?: number;
16908
+ /**
16909
+ * Set pod placement on specific Kubernetes nodes labels
16910
+ * @type {{ [key: string]: string; }}
16911
+ * @memberof TerraformAdvancedSettings
16912
+ */
16913
+ 'deployment.affinity.node.required'?: { [key: string]: string; };
16914
+ /**
16915
+ * Allows you to set an existing Kubernetes service account name
16916
+ * @type {string}
16917
+ * @memberof TerraformAdvancedSettings
16918
+ */
16919
+ 'security.service_account_name'?: string;
16920
+ /**
16921
+ * Mounts the container\'s root filesystem as read-only
16922
+ * @type {boolean}
16923
+ * @memberof TerraformAdvancedSettings
16924
+ */
16925
+ 'security.read_only_root_filesystem'?: boolean;
16926
+ }
16927
+ /**
16928
+ *
16929
+ * @export
16930
+ * @interface TerraformFilesSourceRequest
16931
+ */
16932
+ export interface TerraformFilesSourceRequest {
16933
+ /**
16934
+ *
16935
+ * @type {string}
16936
+ * @memberof TerraformFilesSourceRequest
16937
+ */
16938
+ 'id'?: string;
16939
+ }
16940
+ /**
16941
+ *
16942
+ * @export
16943
+ * @interface TerraformGitRepositoryRequest
16944
+ */
16945
+ export interface TerraformGitRepositoryRequest {
16946
+ /**
16947
+ *
16948
+ * @type {string}
16949
+ * @memberof TerraformGitRepositoryRequest
16950
+ */
16951
+ 'url': string;
16952
+ /**
16953
+ *
16954
+ * @type {string}
16955
+ * @memberof TerraformGitRepositoryRequest
16956
+ */
16957
+ 'branch'?: string;
16958
+ /**
16959
+ *
16960
+ * @type {string}
16961
+ * @memberof TerraformGitRepositoryRequest
16962
+ */
16963
+ 'root_path'?: string;
16964
+ /**
16965
+ *
16966
+ * @type {string}
16967
+ * @memberof TerraformGitRepositoryRequest
16968
+ */
16969
+ 'git_token_id'?: string;
16970
+ }
16971
+ /**
16972
+ *
16973
+ * @export
16974
+ * @interface TerraformJobResourcesResponse
16975
+ */
16976
+ export interface TerraformJobResourcesResponse {
16977
+ /**
16978
+ *
16979
+ * @type {number}
16980
+ * @memberof TerraformJobResourcesResponse
16981
+ */
16982
+ 'cpu_milli': number;
16983
+ /**
16984
+ *
16985
+ * @type {number}
16986
+ * @memberof TerraformJobResourcesResponse
16987
+ */
16988
+ 'ram_mib': number;
16989
+ /**
16990
+ *
16991
+ * @type {number}
16992
+ * @memberof TerraformJobResourcesResponse
16993
+ */
16994
+ 'storage_gb': number;
16995
+ }
16996
+ /**
16997
+ *
16998
+ * @export
16999
+ * @interface TerraformProviderVersion
17000
+ */
17001
+ export interface TerraformProviderVersion {
17002
+ /**
17003
+ *
17004
+ * @type {boolean}
17005
+ * @memberof TerraformProviderVersion
17006
+ */
17007
+ 'read_from_terraform_block': boolean;
17008
+ /**
17009
+ *
17010
+ * @type {string}
17011
+ * @memberof TerraformProviderVersion
17012
+ */
17013
+ 'explicit_version'?: string;
17014
+ }
17015
+ /**
17016
+ *
17017
+ * @export
17018
+ * @interface TerraformRequest
17019
+ */
17020
+ export interface TerraformRequest {
17021
+ /**
17022
+ *
17023
+ * @type {string}
17024
+ * @memberof TerraformRequest
17025
+ */
17026
+ 'name': string;
17027
+ /**
17028
+ *
17029
+ * @type {string}
17030
+ * @memberof TerraformRequest
17031
+ */
17032
+ 'description': string;
17033
+ /**
17034
+ *
17035
+ * @type {boolean}
17036
+ * @memberof TerraformRequest
17037
+ */
17038
+ 'auto_approve': boolean;
17039
+ /**
17040
+ *
17041
+ * @type {boolean}
17042
+ * @memberof TerraformRequest
17043
+ */
17044
+ 'auto_deploy': boolean;
17045
+ /**
17046
+ *
17047
+ * @type {TerraformRequestTerraformFilesSource}
17048
+ * @memberof TerraformRequest
17049
+ */
17050
+ 'terraform_files_source': TerraformRequestTerraformFilesSource;
17051
+ /**
17052
+ *
17053
+ * @type {TerraformVariablesSourceRequest}
17054
+ * @memberof TerraformRequest
17055
+ */
17056
+ 'terraform_variables_source': TerraformVariablesSourceRequest;
17057
+ /**
17058
+ *
17059
+ * @type {string}
17060
+ * @memberof TerraformRequest
17061
+ */
17062
+ 'provider': TerraformRequestProviderEnum;
17063
+ /**
17064
+ *
17065
+ * @type {TerraformProviderVersion}
17066
+ * @memberof TerraformRequest
17067
+ */
17068
+ 'provider_version': TerraformProviderVersion;
17069
+ /**
17070
+ *
17071
+ * @type {string}
17072
+ * @memberof TerraformRequest
17073
+ */
17074
+ 'timeout_sec'?: string;
17075
+ /**
17076
+ *
17077
+ * @type {string}
17078
+ * @memberof TerraformRequest
17079
+ */
17080
+ 'icon_uri'?: string;
17081
+ /**
17082
+ *
17083
+ * @type {TerraformRequestJobResources}
17084
+ * @memberof TerraformRequest
17085
+ */
17086
+ 'job_resources': TerraformRequestJobResources;
17087
+ }
17088
+
17089
+ export const TerraformRequestProviderEnum = {
17090
+ TERRAFORM: 'Terraform'
17091
+ } as const;
17092
+
17093
+ export type TerraformRequestProviderEnum = typeof TerraformRequestProviderEnum[keyof typeof TerraformRequestProviderEnum];
17094
+
17095
+ /**
17096
+ *
17097
+ * @export
17098
+ * @interface TerraformRequestJobResources
17099
+ */
17100
+ export interface TerraformRequestJobResources {
17101
+ /**
17102
+ *
17103
+ * @type {number}
17104
+ * @memberof TerraformRequestJobResources
17105
+ */
17106
+ 'cpu_milli': number;
17107
+ /**
17108
+ *
17109
+ * @type {number}
17110
+ * @memberof TerraformRequestJobResources
17111
+ */
17112
+ 'ram_mib': number;
17113
+ /**
17114
+ *
17115
+ * @type {number}
17116
+ * @memberof TerraformRequestJobResources
17117
+ */
17118
+ 'storage_gb': number;
17119
+ }
17120
+ /**
17121
+ * @type TerraformRequestTerraformFilesSource
17122
+ * @export
17123
+ */
17124
+ export type TerraformRequestTerraformFilesSource = TerraformRequestTerraformFilesSourceOneOf;
17125
+
17126
+ /**
17127
+ *
17128
+ * @export
17129
+ * @interface TerraformRequestTerraformFilesSourceOneOf
17130
+ */
17131
+ export interface TerraformRequestTerraformFilesSourceOneOf {
17132
+ /**
17133
+ *
17134
+ * @type {TerraformGitRepositoryRequest}
17135
+ * @memberof TerraformRequestTerraformFilesSourceOneOf
17136
+ */
17137
+ 'git_repository'?: TerraformGitRepositoryRequest;
17138
+ }
17139
+ /**
17140
+ *
17141
+ * @export
17142
+ * @interface TerraformResponse
17143
+ */
17144
+ export interface TerraformResponse {
17145
+ /**
17146
+ *
17147
+ * @type {string}
17148
+ * @memberof TerraformResponse
17149
+ */
17150
+ 'id': string;
17151
+ /**
17152
+ *
17153
+ * @type {string}
17154
+ * @memberof TerraformResponse
17155
+ */
17156
+ 'created_at': string;
17157
+ /**
17158
+ *
17159
+ * @type {string}
17160
+ * @memberof TerraformResponse
17161
+ */
17162
+ 'updated_at'?: string;
17163
+ /**
17164
+ * name is case insensitive
17165
+ * @type {string}
17166
+ * @memberof TerraformResponse
17167
+ */
17168
+ 'name': string;
17169
+ /**
17170
+ *
17171
+ * @type {string}
17172
+ * @memberof TerraformResponse
17173
+ */
17174
+ 'description'?: string;
17175
+ /**
17176
+ *
17177
+ * @type {number}
17178
+ * @memberof TerraformResponse
17179
+ */
17180
+ 'timeout_sec': number;
17181
+ /**
17182
+ *
17183
+ * @type {boolean}
17184
+ * @memberof TerraformResponse
17185
+ */
17186
+ 'auto_approve': boolean;
17187
+ /**
17188
+ *
17189
+ * @type {boolean}
17190
+ * @memberof TerraformResponse
17191
+ */
17192
+ 'auto_deploy': boolean;
17193
+ /**
17194
+ *
17195
+ * @type {object}
17196
+ * @memberof TerraformResponse
17197
+ */
17198
+ 'terraform_files_source'?: object | null;
17199
+ /**
17200
+ * Icon URI representing the terraform service.
17201
+ * @type {string}
17202
+ * @memberof TerraformResponse
17203
+ */
17204
+ 'icon_uri'?: string;
17205
+ /**
17206
+ *
17207
+ * @type {ServiceTypeEnum}
17208
+ * @memberof TerraformResponse
17209
+ */
17210
+ 'service_type': ServiceTypeEnum;
17211
+ /**
17212
+ *
17213
+ * @type {TerraformVariablesSourceResponse}
17214
+ * @memberof TerraformResponse
17215
+ */
17216
+ 'terraform_variables_source': TerraformVariablesSourceResponse;
17217
+ /**
17218
+ *
17219
+ * @type {string}
17220
+ * @memberof TerraformResponse
17221
+ */
17222
+ 'provider': TerraformResponseProviderEnum;
17223
+ /**
17224
+ *
17225
+ * @type {TerraformProviderVersion}
17226
+ * @memberof TerraformResponse
17227
+ */
17228
+ 'provider_version': TerraformProviderVersion;
17229
+ /**
17230
+ *
17231
+ * @type {TerraformJobResourcesResponse}
17232
+ * @memberof TerraformResponse
17233
+ */
17234
+ 'job_resources': TerraformJobResourcesResponse;
17235
+ }
17236
+
17237
+ export const TerraformResponseProviderEnum = {
17238
+ TERRAFORM: 'TERRAFORM'
17239
+ } as const;
17240
+
17241
+ export type TerraformResponseProviderEnum = typeof TerraformResponseProviderEnum[keyof typeof TerraformResponseProviderEnum];
17242
+
17243
+ /**
17244
+ *
17245
+ * @export
17246
+ * @interface TerraformResponseList
17247
+ */
17248
+ export interface TerraformResponseList {
17249
+ /**
17250
+ *
17251
+ * @type {Array<TerraformResponse>}
17252
+ * @memberof TerraformResponseList
17253
+ */
17254
+ 'id'?: Array<TerraformResponse>;
17255
+ }
17256
+ /**
17257
+ *
17258
+ * @export
17259
+ * @interface TerraformVarKeyValue
17260
+ */
17261
+ export interface TerraformVarKeyValue {
17262
+ /**
17263
+ *
17264
+ * @type {string}
17265
+ * @memberof TerraformVarKeyValue
17266
+ */
17267
+ 'key': string;
17268
+ /**
17269
+ *
17270
+ * @type {string}
17271
+ * @memberof TerraformVarKeyValue
17272
+ */
17273
+ 'value': string;
17274
+ }
17275
+ /**
17276
+ *
17277
+ * @export
17278
+ * @interface TerraformVariablesSourceRequest
17279
+ */
17280
+ export interface TerraformVariablesSourceRequest {
17281
+ /**
17282
+ *
17283
+ * @type {Array<string>}
17284
+ * @memberof TerraformVariablesSourceRequest
17285
+ */
17286
+ 'tf_var_file_paths': Array<string>;
17287
+ /**
17288
+ *
17289
+ * @type {Array<TerraformVarKeyValue>}
17290
+ * @memberof TerraformVariablesSourceRequest
17291
+ */
17292
+ 'tf_vars': Array<TerraformVarKeyValue>;
17293
+ }
17294
+ /**
17295
+ *
17296
+ * @export
17297
+ * @interface TerraformVariablesSourceResponse
17298
+ */
17299
+ export interface TerraformVariablesSourceResponse {
17300
+ /**
17301
+ *
17302
+ * @type {Array<string>}
17303
+ * @memberof TerraformVariablesSourceResponse
17304
+ */
17305
+ 'tf_var_file_paths': Array<string>;
17306
+ /**
17307
+ *
17308
+ * @type {Array<TerraformVarKeyValue>}
17309
+ * @memberof TerraformVariablesSourceResponse
17310
+ */
17311
+ 'tf_vars': Array<TerraformVarKeyValue>;
17312
+ }
16871
17313
  /**
16872
17314
  *
16873
17315
  * @export
@@ -56183,6 +56625,676 @@ export const GetIngressDeploymentStatusServiceTypeEnum = {
56183
56625
  export type GetIngressDeploymentStatusServiceTypeEnum = typeof GetIngressDeploymentStatusServiceTypeEnum[keyof typeof GetIngressDeploymentStatusServiceTypeEnum];
56184
56626
 
56185
56627
 
56628
+ /**
56629
+ * TerraformConfigurationApi - axios parameter creator
56630
+ * @export
56631
+ */
56632
+ export const TerraformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
56633
+ return {
56634
+ /**
56635
+ *
56636
+ * @summary Edit Advanced settings
56637
+ * @param {string} terraformId Terraform ID
56638
+ * @param {TerraformAdvancedSettings} [terraformAdvancedSettings]
56639
+ * @param {*} [options] Override http request option.
56640
+ * @throws {RequiredError}
56641
+ */
56642
+ editTerraformAdvancedSettings: async (terraformId: string, terraformAdvancedSettings?: TerraformAdvancedSettings, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56643
+ // verify required parameter 'terraformId' is not null or undefined
56644
+ assertParamExists('editTerraformAdvancedSettings', 'terraformId', terraformId)
56645
+ const localVarPath = `/terraform/{terraformId}/advancedSettings`
56646
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
56647
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56648
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56649
+ let baseOptions;
56650
+ if (configuration) {
56651
+ baseOptions = configuration.baseOptions;
56652
+ }
56653
+
56654
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
56655
+ const localVarHeaderParameter = {} as any;
56656
+ const localVarQueryParameter = {} as any;
56657
+
56658
+ // authentication ApiKeyAuth required
56659
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
56660
+
56661
+ // authentication bearerAuth required
56662
+ // http bearer authentication required
56663
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
56664
+
56665
+
56666
+
56667
+ localVarHeaderParameter['Content-Type'] = 'application/json';
56668
+
56669
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56670
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56671
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56672
+ localVarRequestOptions.data = serializeDataIfNeeded(terraformAdvancedSettings, localVarRequestOptions, configuration)
56673
+
56674
+ return {
56675
+ url: toPathString(localVarUrlObj),
56676
+ options: localVarRequestOptions,
56677
+ };
56678
+ },
56679
+ /**
56680
+ *
56681
+ * @summary Get Advanced settings
56682
+ * @param {string} terraformId Terraform ID
56683
+ * @param {*} [options] Override http request option.
56684
+ * @throws {RequiredError}
56685
+ */
56686
+ getTerraformAdvancedSettings: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56687
+ // verify required parameter 'terraformId' is not null or undefined
56688
+ assertParamExists('getTerraformAdvancedSettings', 'terraformId', terraformId)
56689
+ const localVarPath = `/terraform/{terraformId}/advancedSettings`
56690
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
56691
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56692
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56693
+ let baseOptions;
56694
+ if (configuration) {
56695
+ baseOptions = configuration.baseOptions;
56696
+ }
56697
+
56698
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56699
+ const localVarHeaderParameter = {} as any;
56700
+ const localVarQueryParameter = {} as any;
56701
+
56702
+ // authentication ApiKeyAuth required
56703
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
56704
+
56705
+ // authentication bearerAuth required
56706
+ // http bearer authentication required
56707
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
56708
+
56709
+
56710
+
56711
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56712
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56713
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56714
+
56715
+ return {
56716
+ url: toPathString(localVarUrlObj),
56717
+ options: localVarRequestOptions,
56718
+ };
56719
+ },
56720
+ }
56721
+ };
56722
+
56723
+ /**
56724
+ * TerraformConfigurationApi - functional programming interface
56725
+ * @export
56726
+ */
56727
+ export const TerraformConfigurationApiFp = function(configuration?: Configuration) {
56728
+ const localVarAxiosParamCreator = TerraformConfigurationApiAxiosParamCreator(configuration)
56729
+ return {
56730
+ /**
56731
+ *
56732
+ * @summary Edit Advanced settings
56733
+ * @param {string} terraformId Terraform ID
56734
+ * @param {TerraformAdvancedSettings} [terraformAdvancedSettings]
56735
+ * @param {*} [options] Override http request option.
56736
+ * @throws {RequiredError}
56737
+ */
56738
+ async editTerraformAdvancedSettings(terraformId: string, terraformAdvancedSettings?: TerraformAdvancedSettings, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>> {
56739
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editTerraformAdvancedSettings(terraformId, terraformAdvancedSettings, options);
56740
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56741
+ const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.editTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
56742
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56743
+ },
56744
+ /**
56745
+ *
56746
+ * @summary Get Advanced settings
56747
+ * @param {string} terraformId Terraform ID
56748
+ * @param {*} [options] Override http request option.
56749
+ * @throws {RequiredError}
56750
+ */
56751
+ async getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>> {
56752
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraformAdvancedSettings(terraformId, options);
56753
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56754
+ const localVarOperationServerBasePath = operationServerMap['TerraformConfigurationApi.getTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
56755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56756
+ },
56757
+ }
56758
+ };
56759
+
56760
+ /**
56761
+ * TerraformConfigurationApi - factory interface
56762
+ * @export
56763
+ */
56764
+ export const TerraformConfigurationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
56765
+ const localVarFp = TerraformConfigurationApiFp(configuration)
56766
+ return {
56767
+ /**
56768
+ *
56769
+ * @summary Edit Advanced settings
56770
+ * @param {string} terraformId Terraform ID
56771
+ * @param {TerraformAdvancedSettings} [terraformAdvancedSettings]
56772
+ * @param {*} [options] Override http request option.
56773
+ * @throws {RequiredError}
56774
+ */
56775
+ editTerraformAdvancedSettings(terraformId: string, terraformAdvancedSettings?: TerraformAdvancedSettings, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
56776
+ return localVarFp.editTerraformAdvancedSettings(terraformId, terraformAdvancedSettings, options).then((request) => request(axios, basePath));
56777
+ },
56778
+ /**
56779
+ *
56780
+ * @summary Get Advanced settings
56781
+ * @param {string} terraformId Terraform ID
56782
+ * @param {*} [options] Override http request option.
56783
+ * @throws {RequiredError}
56784
+ */
56785
+ getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
56786
+ return localVarFp.getTerraformAdvancedSettings(terraformId, options).then((request) => request(axios, basePath));
56787
+ },
56788
+ };
56789
+ };
56790
+
56791
+ /**
56792
+ * TerraformConfigurationApi - object-oriented interface
56793
+ * @export
56794
+ * @class TerraformConfigurationApi
56795
+ * @extends {BaseAPI}
56796
+ */
56797
+ export class TerraformConfigurationApi extends BaseAPI {
56798
+ /**
56799
+ *
56800
+ * @summary Edit Advanced settings
56801
+ * @param {string} terraformId Terraform ID
56802
+ * @param {TerraformAdvancedSettings} [terraformAdvancedSettings]
56803
+ * @param {*} [options] Override http request option.
56804
+ * @throws {RequiredError}
56805
+ * @memberof TerraformConfigurationApi
56806
+ */
56807
+ public editTerraformAdvancedSettings(terraformId: string, terraformAdvancedSettings?: TerraformAdvancedSettings, options?: RawAxiosRequestConfig) {
56808
+ return TerraformConfigurationApiFp(this.configuration).editTerraformAdvancedSettings(terraformId, terraformAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
56809
+ }
56810
+
56811
+ /**
56812
+ *
56813
+ * @summary Get Advanced settings
56814
+ * @param {string} terraformId Terraform ID
56815
+ * @param {*} [options] Override http request option.
56816
+ * @throws {RequiredError}
56817
+ * @memberof TerraformConfigurationApi
56818
+ */
56819
+ public getTerraformAdvancedSettings(terraformId: string, options?: RawAxiosRequestConfig) {
56820
+ return TerraformConfigurationApiFp(this.configuration).getTerraformAdvancedSettings(terraformId, options).then((request) => request(this.axios, this.basePath));
56821
+ }
56822
+ }
56823
+
56824
+
56825
+
56826
+ /**
56827
+ * TerraformMainCallsApi - axios parameter creator
56828
+ * @export
56829
+ */
56830
+ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
56831
+ return {
56832
+ /**
56833
+ *
56834
+ * @summary Delete Terraform
56835
+ * @param {string} terraformId Terraform ID
56836
+ * @param {*} [options] Override http request option.
56837
+ * @throws {RequiredError}
56838
+ */
56839
+ deleteTerraform: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56840
+ // verify required parameter 'terraformId' is not null or undefined
56841
+ assertParamExists('deleteTerraform', 'terraformId', terraformId)
56842
+ const localVarPath = `/terraform/{terraformId}`
56843
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
56844
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56845
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56846
+ let baseOptions;
56847
+ if (configuration) {
56848
+ baseOptions = configuration.baseOptions;
56849
+ }
56850
+
56851
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
56852
+ const localVarHeaderParameter = {} as any;
56853
+ const localVarQueryParameter = {} as any;
56854
+
56855
+ // authentication ApiKeyAuth required
56856
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
56857
+
56858
+ // authentication bearerAuth required
56859
+ // http bearer authentication required
56860
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
56861
+
56862
+
56863
+
56864
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56865
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56866
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56867
+
56868
+ return {
56869
+ url: toPathString(localVarUrlObj),
56870
+ options: localVarRequestOptions,
56871
+ };
56872
+ },
56873
+ /**
56874
+ *
56875
+ * @summary Edit Terraform
56876
+ * @param {string} terraformId Terraform ID
56877
+ * @param {TerraformRequest} [terraformRequest]
56878
+ * @param {*} [options] Override http request option.
56879
+ * @throws {RequiredError}
56880
+ */
56881
+ editTerraform: async (terraformId: string, terraformRequest?: TerraformRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56882
+ // verify required parameter 'terraformId' is not null or undefined
56883
+ assertParamExists('editTerraform', 'terraformId', terraformId)
56884
+ const localVarPath = `/terraform/{terraformId}`
56885
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
56886
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56887
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56888
+ let baseOptions;
56889
+ if (configuration) {
56890
+ baseOptions = configuration.baseOptions;
56891
+ }
56892
+
56893
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
56894
+ const localVarHeaderParameter = {} as any;
56895
+ const localVarQueryParameter = {} as any;
56896
+
56897
+ // authentication ApiKeyAuth required
56898
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
56899
+
56900
+ // authentication bearerAuth required
56901
+ // http bearer authentication required
56902
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
56903
+
56904
+
56905
+
56906
+ localVarHeaderParameter['Content-Type'] = 'application/json';
56907
+
56908
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56909
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56910
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56911
+ localVarRequestOptions.data = serializeDataIfNeeded(terraformRequest, localVarRequestOptions, configuration)
56912
+
56913
+ return {
56914
+ url: toPathString(localVarUrlObj),
56915
+ options: localVarRequestOptions,
56916
+ };
56917
+ },
56918
+ /**
56919
+ *
56920
+ * @summary Get terraform by ID
56921
+ * @param {string} terraformId Terraform ID
56922
+ * @param {*} [options] Override http request option.
56923
+ * @throws {RequiredError}
56924
+ */
56925
+ getTerraform: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56926
+ // verify required parameter 'terraformId' is not null or undefined
56927
+ assertParamExists('getTerraform', 'terraformId', terraformId)
56928
+ const localVarPath = `/terraform/{terraformId}`
56929
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
56930
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56931
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56932
+ let baseOptions;
56933
+ if (configuration) {
56934
+ baseOptions = configuration.baseOptions;
56935
+ }
56936
+
56937
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56938
+ const localVarHeaderParameter = {} as any;
56939
+ const localVarQueryParameter = {} as any;
56940
+
56941
+ // authentication ApiKeyAuth required
56942
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
56943
+
56944
+ // authentication bearerAuth required
56945
+ // http bearer authentication required
56946
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
56947
+
56948
+
56949
+
56950
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56951
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56952
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56953
+
56954
+ return {
56955
+ url: toPathString(localVarUrlObj),
56956
+ options: localVarRequestOptions,
56957
+ };
56958
+ },
56959
+ }
56960
+ };
56961
+
56962
+ /**
56963
+ * TerraformMainCallsApi - functional programming interface
56964
+ * @export
56965
+ */
56966
+ export const TerraformMainCallsApiFp = function(configuration?: Configuration) {
56967
+ const localVarAxiosParamCreator = TerraformMainCallsApiAxiosParamCreator(configuration)
56968
+ return {
56969
+ /**
56970
+ *
56971
+ * @summary Delete Terraform
56972
+ * @param {string} terraformId Terraform ID
56973
+ * @param {*} [options] Override http request option.
56974
+ * @throws {RequiredError}
56975
+ */
56976
+ async deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
56977
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraform(terraformId, options);
56978
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56979
+ const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.deleteTerraform']?.[localVarOperationServerIndex]?.url;
56980
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56981
+ },
56982
+ /**
56983
+ *
56984
+ * @summary Edit Terraform
56985
+ * @param {string} terraformId Terraform ID
56986
+ * @param {TerraformRequest} [terraformRequest]
56987
+ * @param {*} [options] Override http request option.
56988
+ * @throws {RequiredError}
56989
+ */
56990
+ async editTerraform(terraformId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>> {
56991
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editTerraform(terraformId, terraformRequest, options);
56992
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
56993
+ const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.editTerraform']?.[localVarOperationServerIndex]?.url;
56994
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56995
+ },
56996
+ /**
56997
+ *
56998
+ * @summary Get terraform by ID
56999
+ * @param {string} terraformId Terraform ID
57000
+ * @param {*} [options] Override http request option.
57001
+ * @throws {RequiredError}
57002
+ */
57003
+ async getTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>> {
57004
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraform(terraformId, options);
57005
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57006
+ const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.getTerraform']?.[localVarOperationServerIndex]?.url;
57007
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57008
+ },
57009
+ }
57010
+ };
57011
+
57012
+ /**
57013
+ * TerraformMainCallsApi - factory interface
57014
+ * @export
57015
+ */
57016
+ export const TerraformMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
57017
+ const localVarFp = TerraformMainCallsApiFp(configuration)
57018
+ return {
57019
+ /**
57020
+ *
57021
+ * @summary Delete Terraform
57022
+ * @param {string} terraformId Terraform ID
57023
+ * @param {*} [options] Override http request option.
57024
+ * @throws {RequiredError}
57025
+ */
57026
+ deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
57027
+ return localVarFp.deleteTerraform(terraformId, options).then((request) => request(axios, basePath));
57028
+ },
57029
+ /**
57030
+ *
57031
+ * @summary Edit Terraform
57032
+ * @param {string} terraformId Terraform ID
57033
+ * @param {TerraformRequest} [terraformRequest]
57034
+ * @param {*} [options] Override http request option.
57035
+ * @throws {RequiredError}
57036
+ */
57037
+ editTerraform(terraformId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
57038
+ return localVarFp.editTerraform(terraformId, terraformRequest, options).then((request) => request(axios, basePath));
57039
+ },
57040
+ /**
57041
+ *
57042
+ * @summary Get terraform by ID
57043
+ * @param {string} terraformId Terraform ID
57044
+ * @param {*} [options] Override http request option.
57045
+ * @throws {RequiredError}
57046
+ */
57047
+ getTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
57048
+ return localVarFp.getTerraform(terraformId, options).then((request) => request(axios, basePath));
57049
+ },
57050
+ };
57051
+ };
57052
+
57053
+ /**
57054
+ * TerraformMainCallsApi - object-oriented interface
57055
+ * @export
57056
+ * @class TerraformMainCallsApi
57057
+ * @extends {BaseAPI}
57058
+ */
57059
+ export class TerraformMainCallsApi extends BaseAPI {
57060
+ /**
57061
+ *
57062
+ * @summary Delete Terraform
57063
+ * @param {string} terraformId Terraform ID
57064
+ * @param {*} [options] Override http request option.
57065
+ * @throws {RequiredError}
57066
+ * @memberof TerraformMainCallsApi
57067
+ */
57068
+ public deleteTerraform(terraformId: string, options?: RawAxiosRequestConfig) {
57069
+ return TerraformMainCallsApiFp(this.configuration).deleteTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
57070
+ }
57071
+
57072
+ /**
57073
+ *
57074
+ * @summary Edit Terraform
57075
+ * @param {string} terraformId Terraform ID
57076
+ * @param {TerraformRequest} [terraformRequest]
57077
+ * @param {*} [options] Override http request option.
57078
+ * @throws {RequiredError}
57079
+ * @memberof TerraformMainCallsApi
57080
+ */
57081
+ public editTerraform(terraformId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig) {
57082
+ return TerraformMainCallsApiFp(this.configuration).editTerraform(terraformId, terraformRequest, options).then((request) => request(this.axios, this.basePath));
57083
+ }
57084
+
57085
+ /**
57086
+ *
57087
+ * @summary Get terraform by ID
57088
+ * @param {string} terraformId Terraform ID
57089
+ * @param {*} [options] Override http request option.
57090
+ * @throws {RequiredError}
57091
+ * @memberof TerraformMainCallsApi
57092
+ */
57093
+ public getTerraform(terraformId: string, options?: RawAxiosRequestConfig) {
57094
+ return TerraformMainCallsApiFp(this.configuration).getTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
57095
+ }
57096
+ }
57097
+
57098
+
57099
+
57100
+ /**
57101
+ * TerraformsApi - axios parameter creator
57102
+ * @export
57103
+ */
57104
+ export const TerraformsApiAxiosParamCreator = function (configuration?: Configuration) {
57105
+ return {
57106
+ /**
57107
+ *
57108
+ * @summary Create a terraform
57109
+ * @param {string} environmentId
57110
+ * @param {TerraformRequest} [terraformRequest]
57111
+ * @param {*} [options] Override http request option.
57112
+ * @throws {RequiredError}
57113
+ */
57114
+ createTerraform: async (environmentId: string, terraformRequest?: TerraformRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57115
+ // verify required parameter 'environmentId' is not null or undefined
57116
+ assertParamExists('createTerraform', 'environmentId', environmentId)
57117
+ const localVarPath = `/environment/{environmentId}/terraform`
57118
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
57119
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57120
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57121
+ let baseOptions;
57122
+ if (configuration) {
57123
+ baseOptions = configuration.baseOptions;
57124
+ }
57125
+
57126
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
57127
+ const localVarHeaderParameter = {} as any;
57128
+ const localVarQueryParameter = {} as any;
57129
+
57130
+ // authentication ApiKeyAuth required
57131
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
57132
+
57133
+ // authentication bearerAuth required
57134
+ // http bearer authentication required
57135
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
57136
+
57137
+
57138
+
57139
+ localVarHeaderParameter['Content-Type'] = 'application/json';
57140
+
57141
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57142
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57143
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
57144
+ localVarRequestOptions.data = serializeDataIfNeeded(terraformRequest, localVarRequestOptions, configuration)
57145
+
57146
+ return {
57147
+ url: toPathString(localVarUrlObj),
57148
+ options: localVarRequestOptions,
57149
+ };
57150
+ },
57151
+ /**
57152
+ *
57153
+ * @summary List terraforms
57154
+ * @param {string} environmentId Environment ID
57155
+ * @param {*} [options] Override http request option.
57156
+ * @throws {RequiredError}
57157
+ */
57158
+ listTerraforms: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57159
+ // verify required parameter 'environmentId' is not null or undefined
57160
+ assertParamExists('listTerraforms', 'environmentId', environmentId)
57161
+ const localVarPath = `/environment/{environmentId}/terraform`
57162
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
57163
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57164
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57165
+ let baseOptions;
57166
+ if (configuration) {
57167
+ baseOptions = configuration.baseOptions;
57168
+ }
57169
+
57170
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
57171
+ const localVarHeaderParameter = {} as any;
57172
+ const localVarQueryParameter = {} as any;
57173
+
57174
+ // authentication ApiKeyAuth required
57175
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
57176
+
57177
+ // authentication bearerAuth required
57178
+ // http bearer authentication required
57179
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
57180
+
57181
+
57182
+
57183
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57184
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57185
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
57186
+
57187
+ return {
57188
+ url: toPathString(localVarUrlObj),
57189
+ options: localVarRequestOptions,
57190
+ };
57191
+ },
57192
+ }
57193
+ };
57194
+
57195
+ /**
57196
+ * TerraformsApi - functional programming interface
57197
+ * @export
57198
+ */
57199
+ export const TerraformsApiFp = function(configuration?: Configuration) {
57200
+ const localVarAxiosParamCreator = TerraformsApiAxiosParamCreator(configuration)
57201
+ return {
57202
+ /**
57203
+ *
57204
+ * @summary Create a terraform
57205
+ * @param {string} environmentId
57206
+ * @param {TerraformRequest} [terraformRequest]
57207
+ * @param {*} [options] Override http request option.
57208
+ * @throws {RequiredError}
57209
+ */
57210
+ async createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>> {
57211
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createTerraform(environmentId, terraformRequest, options);
57212
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57213
+ const localVarOperationServerBasePath = operationServerMap['TerraformsApi.createTerraform']?.[localVarOperationServerIndex]?.url;
57214
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57215
+ },
57216
+ /**
57217
+ *
57218
+ * @summary List terraforms
57219
+ * @param {string} environmentId Environment ID
57220
+ * @param {*} [options] Override http request option.
57221
+ * @throws {RequiredError}
57222
+ */
57223
+ async listTerraforms(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponseList>> {
57224
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listTerraforms(environmentId, options);
57225
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57226
+ const localVarOperationServerBasePath = operationServerMap['TerraformsApi.listTerraforms']?.[localVarOperationServerIndex]?.url;
57227
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57228
+ },
57229
+ }
57230
+ };
57231
+
57232
+ /**
57233
+ * TerraformsApi - factory interface
57234
+ * @export
57235
+ */
57236
+ export const TerraformsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
57237
+ const localVarFp = TerraformsApiFp(configuration)
57238
+ return {
57239
+ /**
57240
+ *
57241
+ * @summary Create a terraform
57242
+ * @param {string} environmentId
57243
+ * @param {TerraformRequest} [terraformRequest]
57244
+ * @param {*} [options] Override http request option.
57245
+ * @throws {RequiredError}
57246
+ */
57247
+ createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
57248
+ return localVarFp.createTerraform(environmentId, terraformRequest, options).then((request) => request(axios, basePath));
57249
+ },
57250
+ /**
57251
+ *
57252
+ * @summary List terraforms
57253
+ * @param {string} environmentId Environment ID
57254
+ * @param {*} [options] Override http request option.
57255
+ * @throws {RequiredError}
57256
+ */
57257
+ listTerraforms(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponseList> {
57258
+ return localVarFp.listTerraforms(environmentId, options).then((request) => request(axios, basePath));
57259
+ },
57260
+ };
57261
+ };
57262
+
57263
+ /**
57264
+ * TerraformsApi - object-oriented interface
57265
+ * @export
57266
+ * @class TerraformsApi
57267
+ * @extends {BaseAPI}
57268
+ */
57269
+ export class TerraformsApi extends BaseAPI {
57270
+ /**
57271
+ *
57272
+ * @summary Create a terraform
57273
+ * @param {string} environmentId
57274
+ * @param {TerraformRequest} [terraformRequest]
57275
+ * @param {*} [options] Override http request option.
57276
+ * @throws {RequiredError}
57277
+ * @memberof TerraformsApi
57278
+ */
57279
+ public createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig) {
57280
+ return TerraformsApiFp(this.configuration).createTerraform(environmentId, terraformRequest, options).then((request) => request(this.axios, this.basePath));
57281
+ }
57282
+
57283
+ /**
57284
+ *
57285
+ * @summary List terraforms
57286
+ * @param {string} environmentId Environment ID
57287
+ * @param {*} [options] Override http request option.
57288
+ * @throws {RequiredError}
57289
+ * @memberof TerraformsApi
57290
+ */
57291
+ public listTerraforms(environmentId: string, options?: RawAxiosRequestConfig) {
57292
+ return TerraformsApiFp(this.configuration).listTerraforms(environmentId, options).then((request) => request(this.axios, this.basePath));
57293
+ }
57294
+ }
57295
+
57296
+
57297
+
56186
57298
  /**
56187
57299
  * UserSignUpApi - axios parameter creator
56188
57300
  * @export