qovery-typescript-axios 1.1.707 → 1.1.709
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 +101 -0
- package/dist/api.d.ts +61 -0
- package/dist/api.js +64 -0
- package/dist/esm/api.d.ts +61 -0
- package/dist/esm/api.js +64 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -12120,6 +12120,12 @@ export interface KarpenterNodePoolLimits {
|
|
|
12120
12120
|
* @memberof KarpenterNodePoolLimits
|
|
12121
12121
|
*/
|
|
12122
12122
|
'max_memory_in_gibibytes': number;
|
|
12123
|
+
/**
|
|
12124
|
+
* GPU limit that will be applied for the node pool
|
|
12125
|
+
* @type {number}
|
|
12126
|
+
* @memberof KarpenterNodePoolLimits
|
|
12127
|
+
*/
|
|
12128
|
+
'max_gpu': number;
|
|
12123
12129
|
}
|
|
12124
12130
|
/**
|
|
12125
12131
|
*
|
|
@@ -18326,6 +18332,32 @@ export interface TerraformVariablesSourceResponse {
|
|
|
18326
18332
|
*/
|
|
18327
18333
|
'tf_var_file_paths': Array<string>;
|
|
18328
18334
|
}
|
|
18335
|
+
/**
|
|
18336
|
+
*
|
|
18337
|
+
* @export
|
|
18338
|
+
* @interface TerraformVersionResponse
|
|
18339
|
+
*/
|
|
18340
|
+
export interface TerraformVersionResponse {
|
|
18341
|
+
/**
|
|
18342
|
+
* Terraform version string
|
|
18343
|
+
* @type {string}
|
|
18344
|
+
* @memberof TerraformVersionResponse
|
|
18345
|
+
*/
|
|
18346
|
+
'version'?: string;
|
|
18347
|
+
}
|
|
18348
|
+
/**
|
|
18349
|
+
*
|
|
18350
|
+
* @export
|
|
18351
|
+
* @interface TerraformVersionResponseList
|
|
18352
|
+
*/
|
|
18353
|
+
export interface TerraformVersionResponseList {
|
|
18354
|
+
/**
|
|
18355
|
+
*
|
|
18356
|
+
* @type {Array<TerraformVersionResponse>}
|
|
18357
|
+
* @memberof TerraformVersionResponseList
|
|
18358
|
+
*/
|
|
18359
|
+
'results'?: Array<TerraformVersionResponse>;
|
|
18360
|
+
}
|
|
18329
18361
|
/**
|
|
18330
18362
|
*
|
|
18331
18363
|
* @export
|
|
@@ -60094,6 +60126,43 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
60094
60126
|
|
|
60095
60127
|
|
|
60096
60128
|
|
|
60129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60131
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60132
|
+
|
|
60133
|
+
return {
|
|
60134
|
+
url: toPathString(localVarUrlObj),
|
|
60135
|
+
options: localVarRequestOptions,
|
|
60136
|
+
};
|
|
60137
|
+
},
|
|
60138
|
+
/**
|
|
60139
|
+
*
|
|
60140
|
+
* @summary List available Terraform versions
|
|
60141
|
+
* @param {*} [options] Override http request option.
|
|
60142
|
+
* @throws {RequiredError}
|
|
60143
|
+
*/
|
|
60144
|
+
listTerraformVersions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
60145
|
+
const localVarPath = `/terraform/available-versions`;
|
|
60146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60148
|
+
let baseOptions;
|
|
60149
|
+
if (configuration) {
|
|
60150
|
+
baseOptions = configuration.baseOptions;
|
|
60151
|
+
}
|
|
60152
|
+
|
|
60153
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
60154
|
+
const localVarHeaderParameter = {} as any;
|
|
60155
|
+
const localVarQueryParameter = {} as any;
|
|
60156
|
+
|
|
60157
|
+
// authentication ApiKeyAuth required
|
|
60158
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
60159
|
+
|
|
60160
|
+
// authentication bearerAuth required
|
|
60161
|
+
// http bearer authentication required
|
|
60162
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
60163
|
+
|
|
60164
|
+
|
|
60165
|
+
|
|
60097
60166
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60098
60167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60099
60168
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -60168,6 +60237,18 @@ export const TerraformMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
60168
60237
|
const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.listTerraformCommit']?.[localVarOperationServerIndex]?.url;
|
|
60169
60238
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
60170
60239
|
},
|
|
60240
|
+
/**
|
|
60241
|
+
*
|
|
60242
|
+
* @summary List available Terraform versions
|
|
60243
|
+
* @param {*} [options] Override http request option.
|
|
60244
|
+
* @throws {RequiredError}
|
|
60245
|
+
*/
|
|
60246
|
+
async listTerraformVersions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVersionResponseList>> {
|
|
60247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTerraformVersions(options);
|
|
60248
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
60249
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformMainCallsApi.listTerraformVersions']?.[localVarOperationServerIndex]?.url;
|
|
60250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
60251
|
+
},
|
|
60171
60252
|
}
|
|
60172
60253
|
};
|
|
60173
60254
|
|
|
@@ -60221,6 +60302,15 @@ export const TerraformMainCallsApiFactory = function (configuration?: Configurat
|
|
|
60221
60302
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList> {
|
|
60222
60303
|
return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
|
|
60223
60304
|
},
|
|
60305
|
+
/**
|
|
60306
|
+
*
|
|
60307
|
+
* @summary List available Terraform versions
|
|
60308
|
+
* @param {*} [options] Override http request option.
|
|
60309
|
+
* @throws {RequiredError}
|
|
60310
|
+
*/
|
|
60311
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): AxiosPromise<TerraformVersionResponseList> {
|
|
60312
|
+
return localVarFp.listTerraformVersions(options).then((request) => request(axios, basePath));
|
|
60313
|
+
},
|
|
60224
60314
|
};
|
|
60225
60315
|
};
|
|
60226
60316
|
|
|
@@ -60281,6 +60371,17 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
60281
60371
|
public listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
60282
60372
|
return TerraformMainCallsApiFp(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
60283
60373
|
}
|
|
60374
|
+
|
|
60375
|
+
/**
|
|
60376
|
+
*
|
|
60377
|
+
* @summary List available Terraform versions
|
|
60378
|
+
* @param {*} [options] Override http request option.
|
|
60379
|
+
* @throws {RequiredError}
|
|
60380
|
+
* @memberof TerraformMainCallsApi
|
|
60381
|
+
*/
|
|
60382
|
+
public listTerraformVersions(options?: RawAxiosRequestConfig) {
|
|
60383
|
+
return TerraformMainCallsApiFp(this.configuration).listTerraformVersions(options).then((request) => request(this.axios, this.basePath));
|
|
60384
|
+
}
|
|
60284
60385
|
}
|
|
60285
60386
|
|
|
60286
60387
|
|
package/dist/api.d.ts
CHANGED
|
@@ -11766,6 +11766,12 @@ export interface KarpenterNodePoolLimits {
|
|
|
11766
11766
|
* @memberof KarpenterNodePoolLimits
|
|
11767
11767
|
*/
|
|
11768
11768
|
'max_memory_in_gibibytes': number;
|
|
11769
|
+
/**
|
|
11770
|
+
* GPU limit that will be applied for the node pool
|
|
11771
|
+
* @type {number}
|
|
11772
|
+
* @memberof KarpenterNodePoolLimits
|
|
11773
|
+
*/
|
|
11774
|
+
'max_gpu': number;
|
|
11769
11775
|
}
|
|
11770
11776
|
/**
|
|
11771
11777
|
*
|
|
@@ -17748,6 +17754,32 @@ export interface TerraformVariablesSourceResponse {
|
|
|
17748
17754
|
*/
|
|
17749
17755
|
'tf_var_file_paths': Array<string>;
|
|
17750
17756
|
}
|
|
17757
|
+
/**
|
|
17758
|
+
*
|
|
17759
|
+
* @export
|
|
17760
|
+
* @interface TerraformVersionResponse
|
|
17761
|
+
*/
|
|
17762
|
+
export interface TerraformVersionResponse {
|
|
17763
|
+
/**
|
|
17764
|
+
* Terraform version string
|
|
17765
|
+
* @type {string}
|
|
17766
|
+
* @memberof TerraformVersionResponse
|
|
17767
|
+
*/
|
|
17768
|
+
'version'?: string;
|
|
17769
|
+
}
|
|
17770
|
+
/**
|
|
17771
|
+
*
|
|
17772
|
+
* @export
|
|
17773
|
+
* @interface TerraformVersionResponseList
|
|
17774
|
+
*/
|
|
17775
|
+
export interface TerraformVersionResponseList {
|
|
17776
|
+
/**
|
|
17777
|
+
*
|
|
17778
|
+
* @type {Array<TerraformVersionResponse>}
|
|
17779
|
+
* @memberof TerraformVersionResponseList
|
|
17780
|
+
*/
|
|
17781
|
+
'results'?: Array<TerraformVersionResponse>;
|
|
17782
|
+
}
|
|
17751
17783
|
/**
|
|
17752
17784
|
*
|
|
17753
17785
|
* @export
|
|
@@ -37291,6 +37323,13 @@ export declare const TerraformMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
37291
37323
|
* @throws {RequiredError}
|
|
37292
37324
|
*/
|
|
37293
37325
|
listTerraformCommit: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37326
|
+
/**
|
|
37327
|
+
*
|
|
37328
|
+
* @summary List available Terraform versions
|
|
37329
|
+
* @param {*} [options] Override http request option.
|
|
37330
|
+
* @throws {RequiredError}
|
|
37331
|
+
*/
|
|
37332
|
+
listTerraformVersions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37294
37333
|
};
|
|
37295
37334
|
/**
|
|
37296
37335
|
* TerraformMainCallsApi - functional programming interface
|
|
@@ -37332,6 +37371,13 @@ export declare const TerraformMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
37332
37371
|
* @throws {RequiredError}
|
|
37333
37372
|
*/
|
|
37334
37373
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
37374
|
+
/**
|
|
37375
|
+
*
|
|
37376
|
+
* @summary List available Terraform versions
|
|
37377
|
+
* @param {*} [options] Override http request option.
|
|
37378
|
+
* @throws {RequiredError}
|
|
37379
|
+
*/
|
|
37380
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVersionResponseList>>;
|
|
37335
37381
|
};
|
|
37336
37382
|
/**
|
|
37337
37383
|
* TerraformMainCallsApi - factory interface
|
|
@@ -37373,6 +37419,13 @@ export declare const TerraformMainCallsApiFactory: (configuration?: Configuratio
|
|
|
37373
37419
|
* @throws {RequiredError}
|
|
37374
37420
|
*/
|
|
37375
37421
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList>;
|
|
37422
|
+
/**
|
|
37423
|
+
*
|
|
37424
|
+
* @summary List available Terraform versions
|
|
37425
|
+
* @param {*} [options] Override http request option.
|
|
37426
|
+
* @throws {RequiredError}
|
|
37427
|
+
*/
|
|
37428
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): AxiosPromise<TerraformVersionResponseList>;
|
|
37376
37429
|
};
|
|
37377
37430
|
/**
|
|
37378
37431
|
* TerraformMainCallsApi - object-oriented interface
|
|
@@ -37420,6 +37473,14 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
37420
37473
|
* @memberof TerraformMainCallsApi
|
|
37421
37474
|
*/
|
|
37422
37475
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any, {}>>;
|
|
37476
|
+
/**
|
|
37477
|
+
*
|
|
37478
|
+
* @summary List available Terraform versions
|
|
37479
|
+
* @param {*} [options] Override http request option.
|
|
37480
|
+
* @throws {RequiredError}
|
|
37481
|
+
* @memberof TerraformMainCallsApi
|
|
37482
|
+
*/
|
|
37483
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVersionResponseList, any, {}>>;
|
|
37423
37484
|
}
|
|
37424
37485
|
/**
|
|
37425
37486
|
* TerraformsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -39565,6 +39565,36 @@ const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
39565
39565
|
options: localVarRequestOptions,
|
|
39566
39566
|
};
|
|
39567
39567
|
}),
|
|
39568
|
+
/**
|
|
39569
|
+
*
|
|
39570
|
+
* @summary List available Terraform versions
|
|
39571
|
+
* @param {*} [options] Override http request option.
|
|
39572
|
+
* @throws {RequiredError}
|
|
39573
|
+
*/
|
|
39574
|
+
listTerraformVersions: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
39575
|
+
const localVarPath = `/terraform/available-versions`;
|
|
39576
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39577
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
39578
|
+
let baseOptions;
|
|
39579
|
+
if (configuration) {
|
|
39580
|
+
baseOptions = configuration.baseOptions;
|
|
39581
|
+
}
|
|
39582
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
39583
|
+
const localVarHeaderParameter = {};
|
|
39584
|
+
const localVarQueryParameter = {};
|
|
39585
|
+
// authentication ApiKeyAuth required
|
|
39586
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
39587
|
+
// authentication bearerAuth required
|
|
39588
|
+
// http bearer authentication required
|
|
39589
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
39590
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
39591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39592
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39593
|
+
return {
|
|
39594
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
39595
|
+
options: localVarRequestOptions,
|
|
39596
|
+
};
|
|
39597
|
+
}),
|
|
39568
39598
|
};
|
|
39569
39599
|
};
|
|
39570
39600
|
exports.TerraformMainCallsApiAxiosParamCreator = TerraformMainCallsApiAxiosParamCreator;
|
|
@@ -39642,6 +39672,21 @@ const TerraformMainCallsApiFp = function (configuration) {
|
|
|
39642
39672
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39643
39673
|
});
|
|
39644
39674
|
},
|
|
39675
|
+
/**
|
|
39676
|
+
*
|
|
39677
|
+
* @summary List available Terraform versions
|
|
39678
|
+
* @param {*} [options] Override http request option.
|
|
39679
|
+
* @throws {RequiredError}
|
|
39680
|
+
*/
|
|
39681
|
+
listTerraformVersions(options) {
|
|
39682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39683
|
+
var _a, _b, _c;
|
|
39684
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTerraformVersions(options);
|
|
39685
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39686
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformMainCallsApi.listTerraformVersions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39687
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39688
|
+
});
|
|
39689
|
+
},
|
|
39645
39690
|
};
|
|
39646
39691
|
};
|
|
39647
39692
|
exports.TerraformMainCallsApiFp = TerraformMainCallsApiFp;
|
|
@@ -39695,6 +39740,15 @@ const TerraformMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
39695
39740
|
listTerraformCommit(terraformId, options) {
|
|
39696
39741
|
return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
|
|
39697
39742
|
},
|
|
39743
|
+
/**
|
|
39744
|
+
*
|
|
39745
|
+
* @summary List available Terraform versions
|
|
39746
|
+
* @param {*} [options] Override http request option.
|
|
39747
|
+
* @throws {RequiredError}
|
|
39748
|
+
*/
|
|
39749
|
+
listTerraformVersions(options) {
|
|
39750
|
+
return localVarFp.listTerraformVersions(options).then((request) => request(axios, basePath));
|
|
39751
|
+
},
|
|
39698
39752
|
};
|
|
39699
39753
|
};
|
|
39700
39754
|
exports.TerraformMainCallsApiFactory = TerraformMainCallsApiFactory;
|
|
@@ -39752,6 +39806,16 @@ class TerraformMainCallsApi extends base_1.BaseAPI {
|
|
|
39752
39806
|
listTerraformCommit(terraformId, options) {
|
|
39753
39807
|
return (0, exports.TerraformMainCallsApiFp)(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
39754
39808
|
}
|
|
39809
|
+
/**
|
|
39810
|
+
*
|
|
39811
|
+
* @summary List available Terraform versions
|
|
39812
|
+
* @param {*} [options] Override http request option.
|
|
39813
|
+
* @throws {RequiredError}
|
|
39814
|
+
* @memberof TerraformMainCallsApi
|
|
39815
|
+
*/
|
|
39816
|
+
listTerraformVersions(options) {
|
|
39817
|
+
return (0, exports.TerraformMainCallsApiFp)(this.configuration).listTerraformVersions(options).then((request) => request(this.axios, this.basePath));
|
|
39818
|
+
}
|
|
39755
39819
|
}
|
|
39756
39820
|
exports.TerraformMainCallsApi = TerraformMainCallsApi;
|
|
39757
39821
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -11766,6 +11766,12 @@ export interface KarpenterNodePoolLimits {
|
|
|
11766
11766
|
* @memberof KarpenterNodePoolLimits
|
|
11767
11767
|
*/
|
|
11768
11768
|
'max_memory_in_gibibytes': number;
|
|
11769
|
+
/**
|
|
11770
|
+
* GPU limit that will be applied for the node pool
|
|
11771
|
+
* @type {number}
|
|
11772
|
+
* @memberof KarpenterNodePoolLimits
|
|
11773
|
+
*/
|
|
11774
|
+
'max_gpu': number;
|
|
11769
11775
|
}
|
|
11770
11776
|
/**
|
|
11771
11777
|
*
|
|
@@ -17748,6 +17754,32 @@ export interface TerraformVariablesSourceResponse {
|
|
|
17748
17754
|
*/
|
|
17749
17755
|
'tf_var_file_paths': Array<string>;
|
|
17750
17756
|
}
|
|
17757
|
+
/**
|
|
17758
|
+
*
|
|
17759
|
+
* @export
|
|
17760
|
+
* @interface TerraformVersionResponse
|
|
17761
|
+
*/
|
|
17762
|
+
export interface TerraformVersionResponse {
|
|
17763
|
+
/**
|
|
17764
|
+
* Terraform version string
|
|
17765
|
+
* @type {string}
|
|
17766
|
+
* @memberof TerraformVersionResponse
|
|
17767
|
+
*/
|
|
17768
|
+
'version'?: string;
|
|
17769
|
+
}
|
|
17770
|
+
/**
|
|
17771
|
+
*
|
|
17772
|
+
* @export
|
|
17773
|
+
* @interface TerraformVersionResponseList
|
|
17774
|
+
*/
|
|
17775
|
+
export interface TerraformVersionResponseList {
|
|
17776
|
+
/**
|
|
17777
|
+
*
|
|
17778
|
+
* @type {Array<TerraformVersionResponse>}
|
|
17779
|
+
* @memberof TerraformVersionResponseList
|
|
17780
|
+
*/
|
|
17781
|
+
'results'?: Array<TerraformVersionResponse>;
|
|
17782
|
+
}
|
|
17751
17783
|
/**
|
|
17752
17784
|
*
|
|
17753
17785
|
* @export
|
|
@@ -37291,6 +37323,13 @@ export declare const TerraformMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
37291
37323
|
* @throws {RequiredError}
|
|
37292
37324
|
*/
|
|
37293
37325
|
listTerraformCommit: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37326
|
+
/**
|
|
37327
|
+
*
|
|
37328
|
+
* @summary List available Terraform versions
|
|
37329
|
+
* @param {*} [options] Override http request option.
|
|
37330
|
+
* @throws {RequiredError}
|
|
37331
|
+
*/
|
|
37332
|
+
listTerraformVersions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
37294
37333
|
};
|
|
37295
37334
|
/**
|
|
37296
37335
|
* TerraformMainCallsApi - functional programming interface
|
|
@@ -37332,6 +37371,13 @@ export declare const TerraformMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
37332
37371
|
* @throws {RequiredError}
|
|
37333
37372
|
*/
|
|
37334
37373
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommitResponseList>>;
|
|
37374
|
+
/**
|
|
37375
|
+
*
|
|
37376
|
+
* @summary List available Terraform versions
|
|
37377
|
+
* @param {*} [options] Override http request option.
|
|
37378
|
+
* @throws {RequiredError}
|
|
37379
|
+
*/
|
|
37380
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformVersionResponseList>>;
|
|
37335
37381
|
};
|
|
37336
37382
|
/**
|
|
37337
37383
|
* TerraformMainCallsApi - factory interface
|
|
@@ -37373,6 +37419,13 @@ export declare const TerraformMainCallsApiFactory: (configuration?: Configuratio
|
|
|
37373
37419
|
* @throws {RequiredError}
|
|
37374
37420
|
*/
|
|
37375
37421
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<CommitResponseList>;
|
|
37422
|
+
/**
|
|
37423
|
+
*
|
|
37424
|
+
* @summary List available Terraform versions
|
|
37425
|
+
* @param {*} [options] Override http request option.
|
|
37426
|
+
* @throws {RequiredError}
|
|
37427
|
+
*/
|
|
37428
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): AxiosPromise<TerraformVersionResponseList>;
|
|
37376
37429
|
};
|
|
37377
37430
|
/**
|
|
37378
37431
|
* TerraformMainCallsApi - object-oriented interface
|
|
@@ -37420,6 +37473,14 @@ export declare class TerraformMainCallsApi extends BaseAPI {
|
|
|
37420
37473
|
* @memberof TerraformMainCallsApi
|
|
37421
37474
|
*/
|
|
37422
37475
|
listTerraformCommit(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommitResponseList, any, {}>>;
|
|
37476
|
+
/**
|
|
37477
|
+
*
|
|
37478
|
+
* @summary List available Terraform versions
|
|
37479
|
+
* @param {*} [options] Override http request option.
|
|
37480
|
+
* @throws {RequiredError}
|
|
37481
|
+
* @memberof TerraformMainCallsApi
|
|
37482
|
+
*/
|
|
37483
|
+
listTerraformVersions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformVersionResponseList, any, {}>>;
|
|
37423
37484
|
}
|
|
37424
37485
|
/**
|
|
37425
37486
|
* TerraformsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -39213,6 +39213,36 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
39213
39213
|
options: localVarRequestOptions,
|
|
39214
39214
|
};
|
|
39215
39215
|
}),
|
|
39216
|
+
/**
|
|
39217
|
+
*
|
|
39218
|
+
* @summary List available Terraform versions
|
|
39219
|
+
* @param {*} [options] Override http request option.
|
|
39220
|
+
* @throws {RequiredError}
|
|
39221
|
+
*/
|
|
39222
|
+
listTerraformVersions: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
39223
|
+
const localVarPath = `/terraform/available-versions`;
|
|
39224
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39225
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39226
|
+
let baseOptions;
|
|
39227
|
+
if (configuration) {
|
|
39228
|
+
baseOptions = configuration.baseOptions;
|
|
39229
|
+
}
|
|
39230
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
39231
|
+
const localVarHeaderParameter = {};
|
|
39232
|
+
const localVarQueryParameter = {};
|
|
39233
|
+
// authentication ApiKeyAuth required
|
|
39234
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
39235
|
+
// authentication bearerAuth required
|
|
39236
|
+
// http bearer authentication required
|
|
39237
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
39238
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39239
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39240
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39241
|
+
return {
|
|
39242
|
+
url: toPathString(localVarUrlObj),
|
|
39243
|
+
options: localVarRequestOptions,
|
|
39244
|
+
};
|
|
39245
|
+
}),
|
|
39216
39246
|
};
|
|
39217
39247
|
};
|
|
39218
39248
|
/**
|
|
@@ -39289,6 +39319,21 @@ export const TerraformMainCallsApiFp = function (configuration) {
|
|
|
39289
39319
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39290
39320
|
});
|
|
39291
39321
|
},
|
|
39322
|
+
/**
|
|
39323
|
+
*
|
|
39324
|
+
* @summary List available Terraform versions
|
|
39325
|
+
* @param {*} [options] Override http request option.
|
|
39326
|
+
* @throws {RequiredError}
|
|
39327
|
+
*/
|
|
39328
|
+
listTerraformVersions(options) {
|
|
39329
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39330
|
+
var _a, _b, _c;
|
|
39331
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTerraformVersions(options);
|
|
39332
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39333
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformMainCallsApi.listTerraformVersions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39334
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39335
|
+
});
|
|
39336
|
+
},
|
|
39292
39337
|
};
|
|
39293
39338
|
};
|
|
39294
39339
|
/**
|
|
@@ -39341,6 +39386,15 @@ export const TerraformMainCallsApiFactory = function (configuration, basePath, a
|
|
|
39341
39386
|
listTerraformCommit(terraformId, options) {
|
|
39342
39387
|
return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
|
|
39343
39388
|
},
|
|
39389
|
+
/**
|
|
39390
|
+
*
|
|
39391
|
+
* @summary List available Terraform versions
|
|
39392
|
+
* @param {*} [options] Override http request option.
|
|
39393
|
+
* @throws {RequiredError}
|
|
39394
|
+
*/
|
|
39395
|
+
listTerraformVersions(options) {
|
|
39396
|
+
return localVarFp.listTerraformVersions(options).then((request) => request(axios, basePath));
|
|
39397
|
+
},
|
|
39344
39398
|
};
|
|
39345
39399
|
};
|
|
39346
39400
|
/**
|
|
@@ -39397,6 +39451,16 @@ export class TerraformMainCallsApi extends BaseAPI {
|
|
|
39397
39451
|
listTerraformCommit(terraformId, options) {
|
|
39398
39452
|
return TerraformMainCallsApiFp(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
39399
39453
|
}
|
|
39454
|
+
/**
|
|
39455
|
+
*
|
|
39456
|
+
* @summary List available Terraform versions
|
|
39457
|
+
* @param {*} [options] Override http request option.
|
|
39458
|
+
* @throws {RequiredError}
|
|
39459
|
+
* @memberof TerraformMainCallsApi
|
|
39460
|
+
*/
|
|
39461
|
+
listTerraformVersions(options) {
|
|
39462
|
+
return TerraformMainCallsApiFp(this.configuration).listTerraformVersions(options).then((request) => request(this.axios, this.basePath));
|
|
39463
|
+
}
|
|
39400
39464
|
}
|
|
39401
39465
|
/**
|
|
39402
39466
|
* TerraformsApi - axios parameter creator
|