qovery-typescript-axios 1.1.590 → 1.1.592
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 +71 -1
- package/dist/api.d.ts +30 -0
- package/dist/api.js +66 -1
- package/dist/esm/api.d.ts +30 -0
- package/dist/esm/api.js +66 -1
- package/package.json +1 -1
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];
|
|
@@ -57060,6 +57061,43 @@ export const TerraformsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
57060
57061
|
options: localVarRequestOptions,
|
|
57061
57062
|
};
|
|
57062
57063
|
},
|
|
57064
|
+
/**
|
|
57065
|
+
*
|
|
57066
|
+
* @summary List default terraform advanced settings
|
|
57067
|
+
* @param {*} [options] Override http request option.
|
|
57068
|
+
* @throws {RequiredError}
|
|
57069
|
+
*/
|
|
57070
|
+
getDefaultTerraformAdvancedSettings: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57071
|
+
const localVarPath = `/defaultTerraformAdvancedSettings:`;
|
|
57072
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57073
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57074
|
+
let baseOptions;
|
|
57075
|
+
if (configuration) {
|
|
57076
|
+
baseOptions = configuration.baseOptions;
|
|
57077
|
+
}
|
|
57078
|
+
|
|
57079
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
57080
|
+
const localVarHeaderParameter = {} as any;
|
|
57081
|
+
const localVarQueryParameter = {} as any;
|
|
57082
|
+
|
|
57083
|
+
// authentication ApiKeyAuth required
|
|
57084
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57085
|
+
|
|
57086
|
+
// authentication bearerAuth required
|
|
57087
|
+
// http bearer authentication required
|
|
57088
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57089
|
+
|
|
57090
|
+
|
|
57091
|
+
|
|
57092
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57093
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57094
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57095
|
+
|
|
57096
|
+
return {
|
|
57097
|
+
url: toPathString(localVarUrlObj),
|
|
57098
|
+
options: localVarRequestOptions,
|
|
57099
|
+
};
|
|
57100
|
+
},
|
|
57063
57101
|
/**
|
|
57064
57102
|
*
|
|
57065
57103
|
* @summary List terraforms
|
|
@@ -57125,6 +57163,18 @@ export const TerraformsApiFp = function(configuration?: Configuration) {
|
|
|
57125
57163
|
const localVarOperationServerBasePath = operationServerMap['TerraformsApi.createTerraform']?.[localVarOperationServerIndex]?.url;
|
|
57126
57164
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57127
57165
|
},
|
|
57166
|
+
/**
|
|
57167
|
+
*
|
|
57168
|
+
* @summary List default terraform advanced settings
|
|
57169
|
+
* @param {*} [options] Override http request option.
|
|
57170
|
+
* @throws {RequiredError}
|
|
57171
|
+
*/
|
|
57172
|
+
async getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>> {
|
|
57173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultTerraformAdvancedSettings(options);
|
|
57174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57175
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformsApi.getDefaultTerraformAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
57176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57177
|
+
},
|
|
57128
57178
|
/**
|
|
57129
57179
|
*
|
|
57130
57180
|
* @summary List terraforms
|
|
@@ -57159,6 +57209,15 @@ export const TerraformsApiFactory = function (configuration?: Configuration, bas
|
|
|
57159
57209
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse> {
|
|
57160
57210
|
return localVarFp.createTerraform(environmentId, terraformRequest, options).then((request) => request(axios, basePath));
|
|
57161
57211
|
},
|
|
57212
|
+
/**
|
|
57213
|
+
*
|
|
57214
|
+
* @summary List default terraform advanced settings
|
|
57215
|
+
* @param {*} [options] Override http request option.
|
|
57216
|
+
* @throws {RequiredError}
|
|
57217
|
+
*/
|
|
57218
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings> {
|
|
57219
|
+
return localVarFp.getDefaultTerraformAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
57220
|
+
},
|
|
57162
57221
|
/**
|
|
57163
57222
|
*
|
|
57164
57223
|
* @summary List terraforms
|
|
@@ -57192,6 +57251,17 @@ export class TerraformsApi extends BaseAPI {
|
|
|
57192
57251
|
return TerraformsApiFp(this.configuration).createTerraform(environmentId, terraformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
57193
57252
|
}
|
|
57194
57253
|
|
|
57254
|
+
/**
|
|
57255
|
+
*
|
|
57256
|
+
* @summary List default terraform advanced settings
|
|
57257
|
+
* @param {*} [options] Override http request option.
|
|
57258
|
+
* @throws {RequiredError}
|
|
57259
|
+
* @memberof TerraformsApi
|
|
57260
|
+
*/
|
|
57261
|
+
public getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig) {
|
|
57262
|
+
return TerraformsApiFp(this.configuration).getDefaultTerraformAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
57263
|
+
}
|
|
57264
|
+
|
|
57195
57265
|
/**
|
|
57196
57266
|
*
|
|
57197
57267
|
* @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
|
/**
|
|
@@ -35367,6 +35368,13 @@ export declare const TerraformsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
35367
35368
|
* @throws {RequiredError}
|
|
35368
35369
|
*/
|
|
35369
35370
|
createTerraform: (environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35371
|
+
/**
|
|
35372
|
+
*
|
|
35373
|
+
* @summary List default terraform advanced settings
|
|
35374
|
+
* @param {*} [options] Override http request option.
|
|
35375
|
+
* @throws {RequiredError}
|
|
35376
|
+
*/
|
|
35377
|
+
getDefaultTerraformAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35370
35378
|
/**
|
|
35371
35379
|
*
|
|
35372
35380
|
* @summary List terraforms
|
|
@@ -35390,6 +35398,13 @@ export declare const TerraformsApiFp: (configuration?: Configuration) => {
|
|
|
35390
35398
|
* @throws {RequiredError}
|
|
35391
35399
|
*/
|
|
35392
35400
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>>;
|
|
35401
|
+
/**
|
|
35402
|
+
*
|
|
35403
|
+
* @summary List default terraform advanced settings
|
|
35404
|
+
* @param {*} [options] Override http request option.
|
|
35405
|
+
* @throws {RequiredError}
|
|
35406
|
+
*/
|
|
35407
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>>;
|
|
35393
35408
|
/**
|
|
35394
35409
|
*
|
|
35395
35410
|
* @summary List terraforms
|
|
@@ -35413,6 +35428,13 @@ export declare const TerraformsApiFactory: (configuration?: Configuration, baseP
|
|
|
35413
35428
|
* @throws {RequiredError}
|
|
35414
35429
|
*/
|
|
35415
35430
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse>;
|
|
35431
|
+
/**
|
|
35432
|
+
*
|
|
35433
|
+
* @summary List default terraform advanced settings
|
|
35434
|
+
* @param {*} [options] Override http request option.
|
|
35435
|
+
* @throws {RequiredError}
|
|
35436
|
+
*/
|
|
35437
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings>;
|
|
35416
35438
|
/**
|
|
35417
35439
|
*
|
|
35418
35440
|
* @summary List terraforms
|
|
@@ -35439,6 +35461,14 @@ export declare class TerraformsApi extends BaseAPI {
|
|
|
35439
35461
|
* @memberof TerraformsApi
|
|
35440
35462
|
*/
|
|
35441
35463
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResponse, any>>;
|
|
35464
|
+
/**
|
|
35465
|
+
*
|
|
35466
|
+
* @summary List default terraform advanced settings
|
|
35467
|
+
* @param {*} [options] Override http request option.
|
|
35468
|
+
* @throws {RequiredError}
|
|
35469
|
+
* @memberof TerraformsApi
|
|
35470
|
+
*/
|
|
35471
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformAdvancedSettings, any>>;
|
|
35442
35472
|
/**
|
|
35443
35473
|
*
|
|
35444
35474
|
* @summary List terraforms
|
package/dist/api.js
CHANGED
|
@@ -49,7 +49,8 @@ exports.APIVariableScopeEnum = {
|
|
|
49
49
|
PROJECT: 'PROJECT',
|
|
50
50
|
CONTAINER: 'CONTAINER',
|
|
51
51
|
JOB: 'JOB',
|
|
52
|
-
HELM: 'HELM'
|
|
52
|
+
HELM: 'HELM',
|
|
53
|
+
TERRAFORM: 'TERRAFORM'
|
|
53
54
|
};
|
|
54
55
|
/**
|
|
55
56
|
* type of the environment variable (VALUE, FILE, ALIAS, OVERRIDE or BUIT_IN)
|
|
@@ -37629,6 +37630,36 @@ const TerraformsApiAxiosParamCreator = function (configuration) {
|
|
|
37629
37630
|
options: localVarRequestOptions,
|
|
37630
37631
|
};
|
|
37631
37632
|
}),
|
|
37633
|
+
/**
|
|
37634
|
+
*
|
|
37635
|
+
* @summary List default terraform advanced settings
|
|
37636
|
+
* @param {*} [options] Override http request option.
|
|
37637
|
+
* @throws {RequiredError}
|
|
37638
|
+
*/
|
|
37639
|
+
getDefaultTerraformAdvancedSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
37640
|
+
const localVarPath = `/defaultTerraformAdvancedSettings:`;
|
|
37641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37642
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37643
|
+
let baseOptions;
|
|
37644
|
+
if (configuration) {
|
|
37645
|
+
baseOptions = configuration.baseOptions;
|
|
37646
|
+
}
|
|
37647
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
37648
|
+
const localVarHeaderParameter = {};
|
|
37649
|
+
const localVarQueryParameter = {};
|
|
37650
|
+
// authentication ApiKeyAuth required
|
|
37651
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37652
|
+
// authentication bearerAuth required
|
|
37653
|
+
// http bearer authentication required
|
|
37654
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37655
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37657
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37658
|
+
return {
|
|
37659
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37660
|
+
options: localVarRequestOptions,
|
|
37661
|
+
};
|
|
37662
|
+
}),
|
|
37632
37663
|
/**
|
|
37633
37664
|
*
|
|
37634
37665
|
* @summary List terraforms
|
|
@@ -37690,6 +37721,21 @@ const TerraformsApiFp = function (configuration) {
|
|
|
37690
37721
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37691
37722
|
});
|
|
37692
37723
|
},
|
|
37724
|
+
/**
|
|
37725
|
+
*
|
|
37726
|
+
* @summary List default terraform advanced settings
|
|
37727
|
+
* @param {*} [options] Override http request option.
|
|
37728
|
+
* @throws {RequiredError}
|
|
37729
|
+
*/
|
|
37730
|
+
getDefaultTerraformAdvancedSettings(options) {
|
|
37731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37732
|
+
var _a, _b, _c;
|
|
37733
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultTerraformAdvancedSettings(options);
|
|
37734
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37735
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformsApi.getDefaultTerraformAdvancedSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37736
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37737
|
+
});
|
|
37738
|
+
},
|
|
37693
37739
|
/**
|
|
37694
37740
|
*
|
|
37695
37741
|
* @summary List terraforms
|
|
@@ -37727,6 +37773,15 @@ const TerraformsApiFactory = function (configuration, basePath, axios) {
|
|
|
37727
37773
|
createTerraform(environmentId, terraformRequest, options) {
|
|
37728
37774
|
return localVarFp.createTerraform(environmentId, terraformRequest, options).then((request) => request(axios, basePath));
|
|
37729
37775
|
},
|
|
37776
|
+
/**
|
|
37777
|
+
*
|
|
37778
|
+
* @summary List default terraform advanced settings
|
|
37779
|
+
* @param {*} [options] Override http request option.
|
|
37780
|
+
* @throws {RequiredError}
|
|
37781
|
+
*/
|
|
37782
|
+
getDefaultTerraformAdvancedSettings(options) {
|
|
37783
|
+
return localVarFp.getDefaultTerraformAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
37784
|
+
},
|
|
37730
37785
|
/**
|
|
37731
37786
|
*
|
|
37732
37787
|
* @summary List terraforms
|
|
@@ -37759,6 +37814,16 @@ class TerraformsApi extends base_1.BaseAPI {
|
|
|
37759
37814
|
createTerraform(environmentId, terraformRequest, options) {
|
|
37760
37815
|
return (0, exports.TerraformsApiFp)(this.configuration).createTerraform(environmentId, terraformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37761
37816
|
}
|
|
37817
|
+
/**
|
|
37818
|
+
*
|
|
37819
|
+
* @summary List default terraform advanced settings
|
|
37820
|
+
* @param {*} [options] Override http request option.
|
|
37821
|
+
* @throws {RequiredError}
|
|
37822
|
+
* @memberof TerraformsApi
|
|
37823
|
+
*/
|
|
37824
|
+
getDefaultTerraformAdvancedSettings(options) {
|
|
37825
|
+
return (0, exports.TerraformsApiFp)(this.configuration).getDefaultTerraformAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
37826
|
+
}
|
|
37762
37827
|
/**
|
|
37763
37828
|
*
|
|
37764
37829
|
* @summary List terraforms
|
package/dist/esm/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
|
/**
|
|
@@ -35367,6 +35368,13 @@ export declare const TerraformsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
35367
35368
|
* @throws {RequiredError}
|
|
35368
35369
|
*/
|
|
35369
35370
|
createTerraform: (environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35371
|
+
/**
|
|
35372
|
+
*
|
|
35373
|
+
* @summary List default terraform advanced settings
|
|
35374
|
+
* @param {*} [options] Override http request option.
|
|
35375
|
+
* @throws {RequiredError}
|
|
35376
|
+
*/
|
|
35377
|
+
getDefaultTerraformAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35370
35378
|
/**
|
|
35371
35379
|
*
|
|
35372
35380
|
* @summary List terraforms
|
|
@@ -35390,6 +35398,13 @@ export declare const TerraformsApiFp: (configuration?: Configuration) => {
|
|
|
35390
35398
|
* @throws {RequiredError}
|
|
35391
35399
|
*/
|
|
35392
35400
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformResponse>>;
|
|
35401
|
+
/**
|
|
35402
|
+
*
|
|
35403
|
+
* @summary List default terraform advanced settings
|
|
35404
|
+
* @param {*} [options] Override http request option.
|
|
35405
|
+
* @throws {RequiredError}
|
|
35406
|
+
*/
|
|
35407
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformAdvancedSettings>>;
|
|
35393
35408
|
/**
|
|
35394
35409
|
*
|
|
35395
35410
|
* @summary List terraforms
|
|
@@ -35413,6 +35428,13 @@ export declare const TerraformsApiFactory: (configuration?: Configuration, baseP
|
|
|
35413
35428
|
* @throws {RequiredError}
|
|
35414
35429
|
*/
|
|
35415
35430
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformResponse>;
|
|
35431
|
+
/**
|
|
35432
|
+
*
|
|
35433
|
+
* @summary List default terraform advanced settings
|
|
35434
|
+
* @param {*} [options] Override http request option.
|
|
35435
|
+
* @throws {RequiredError}
|
|
35436
|
+
*/
|
|
35437
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<TerraformAdvancedSettings>;
|
|
35416
35438
|
/**
|
|
35417
35439
|
*
|
|
35418
35440
|
* @summary List terraforms
|
|
@@ -35439,6 +35461,14 @@ export declare class TerraformsApi extends BaseAPI {
|
|
|
35439
35461
|
* @memberof TerraformsApi
|
|
35440
35462
|
*/
|
|
35441
35463
|
createTerraform(environmentId: string, terraformRequest?: TerraformRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformResponse, any>>;
|
|
35464
|
+
/**
|
|
35465
|
+
*
|
|
35466
|
+
* @summary List default terraform advanced settings
|
|
35467
|
+
* @param {*} [options] Override http request option.
|
|
35468
|
+
* @throws {RequiredError}
|
|
35469
|
+
* @memberof TerraformsApi
|
|
35470
|
+
*/
|
|
35471
|
+
getDefaultTerraformAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformAdvancedSettings, any>>;
|
|
35442
35472
|
/**
|
|
35443
35473
|
*
|
|
35444
35474
|
* @summary List terraforms
|
package/dist/esm/api.js
CHANGED
|
@@ -38,7 +38,8 @@ export const APIVariableScopeEnum = {
|
|
|
38
38
|
PROJECT: 'PROJECT',
|
|
39
39
|
CONTAINER: 'CONTAINER',
|
|
40
40
|
JOB: 'JOB',
|
|
41
|
-
HELM: 'HELM'
|
|
41
|
+
HELM: 'HELM',
|
|
42
|
+
TERRAFORM: 'TERRAFORM'
|
|
42
43
|
};
|
|
43
44
|
/**
|
|
44
45
|
* type of the environment variable (VALUE, FILE, ALIAS, OVERRIDE or BUIT_IN)
|
|
@@ -37290,6 +37291,36 @@ export const TerraformsApiAxiosParamCreator = function (configuration) {
|
|
|
37290
37291
|
options: localVarRequestOptions,
|
|
37291
37292
|
};
|
|
37292
37293
|
}),
|
|
37294
|
+
/**
|
|
37295
|
+
*
|
|
37296
|
+
* @summary List default terraform advanced settings
|
|
37297
|
+
* @param {*} [options] Override http request option.
|
|
37298
|
+
* @throws {RequiredError}
|
|
37299
|
+
*/
|
|
37300
|
+
getDefaultTerraformAdvancedSettings: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
37301
|
+
const localVarPath = `/defaultTerraformAdvancedSettings:`;
|
|
37302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37304
|
+
let baseOptions;
|
|
37305
|
+
if (configuration) {
|
|
37306
|
+
baseOptions = configuration.baseOptions;
|
|
37307
|
+
}
|
|
37308
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
37309
|
+
const localVarHeaderParameter = {};
|
|
37310
|
+
const localVarQueryParameter = {};
|
|
37311
|
+
// authentication ApiKeyAuth required
|
|
37312
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
37313
|
+
// authentication bearerAuth required
|
|
37314
|
+
// http bearer authentication required
|
|
37315
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
37316
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37317
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37318
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37319
|
+
return {
|
|
37320
|
+
url: toPathString(localVarUrlObj),
|
|
37321
|
+
options: localVarRequestOptions,
|
|
37322
|
+
};
|
|
37323
|
+
}),
|
|
37293
37324
|
/**
|
|
37294
37325
|
*
|
|
37295
37326
|
* @summary List terraforms
|
|
@@ -37350,6 +37381,21 @@ export const TerraformsApiFp = function (configuration) {
|
|
|
37350
37381
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37351
37382
|
});
|
|
37352
37383
|
},
|
|
37384
|
+
/**
|
|
37385
|
+
*
|
|
37386
|
+
* @summary List default terraform advanced settings
|
|
37387
|
+
* @param {*} [options] Override http request option.
|
|
37388
|
+
* @throws {RequiredError}
|
|
37389
|
+
*/
|
|
37390
|
+
getDefaultTerraformAdvancedSettings(options) {
|
|
37391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37392
|
+
var _a, _b, _c;
|
|
37393
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDefaultTerraformAdvancedSettings(options);
|
|
37394
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37395
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformsApi.getDefaultTerraformAdvancedSettings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37397
|
+
});
|
|
37398
|
+
},
|
|
37353
37399
|
/**
|
|
37354
37400
|
*
|
|
37355
37401
|
* @summary List terraforms
|
|
@@ -37386,6 +37432,15 @@ export const TerraformsApiFactory = function (configuration, basePath, axios) {
|
|
|
37386
37432
|
createTerraform(environmentId, terraformRequest, options) {
|
|
37387
37433
|
return localVarFp.createTerraform(environmentId, terraformRequest, options).then((request) => request(axios, basePath));
|
|
37388
37434
|
},
|
|
37435
|
+
/**
|
|
37436
|
+
*
|
|
37437
|
+
* @summary List default terraform advanced settings
|
|
37438
|
+
* @param {*} [options] Override http request option.
|
|
37439
|
+
* @throws {RequiredError}
|
|
37440
|
+
*/
|
|
37441
|
+
getDefaultTerraformAdvancedSettings(options) {
|
|
37442
|
+
return localVarFp.getDefaultTerraformAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
37443
|
+
},
|
|
37389
37444
|
/**
|
|
37390
37445
|
*
|
|
37391
37446
|
* @summary List terraforms
|
|
@@ -37417,6 +37472,16 @@ export class TerraformsApi extends BaseAPI {
|
|
|
37417
37472
|
createTerraform(environmentId, terraformRequest, options) {
|
|
37418
37473
|
return TerraformsApiFp(this.configuration).createTerraform(environmentId, terraformRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37419
37474
|
}
|
|
37475
|
+
/**
|
|
37476
|
+
*
|
|
37477
|
+
* @summary List default terraform advanced settings
|
|
37478
|
+
* @param {*} [options] Override http request option.
|
|
37479
|
+
* @throws {RequiredError}
|
|
37480
|
+
* @memberof TerraformsApi
|
|
37481
|
+
*/
|
|
37482
|
+
getDefaultTerraformAdvancedSettings(options) {
|
|
37483
|
+
return TerraformsApiFp(this.configuration).getDefaultTerraformAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
37484
|
+
}
|
|
37420
37485
|
/**
|
|
37421
37486
|
*
|
|
37422
37487
|
* @summary List terraforms
|