qovery-typescript-axios 1.1.1034 → 1.1.1035
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 +11 -19
- package/dist/api.d.ts +8 -12
- package/dist/api.js +11 -18
- package/dist/esm/api.d.ts +8 -12
- package/dist/esm/api.js +11 -18
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -56761,14 +56761,13 @@ export class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
56761
56761
|
export const EnvironmentExportApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
56762
56762
|
return {
|
|
56763
56763
|
/**
|
|
56764
|
-
*
|
|
56764
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56765
56765
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56766
56766
|
* @param {string} environmentId Environment ID
|
|
56767
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56768
56767
|
* @param {*} [options] Override http request option.
|
|
56769
56768
|
* @throws {RequiredError}
|
|
56770
56769
|
*/
|
|
56771
|
-
exportEnvironmentConfigurationIntoTerraform: async (environmentId: string,
|
|
56770
|
+
exportEnvironmentConfigurationIntoTerraform: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56772
56771
|
// verify required parameter 'environmentId' is not null or undefined
|
|
56773
56772
|
assertParamExists('exportEnvironmentConfigurationIntoTerraform', 'environmentId', environmentId)
|
|
56774
56773
|
const localVarPath = `/environment/{environmentId}/terraformExport`
|
|
@@ -56791,10 +56790,6 @@ export const EnvironmentExportApiAxiosParamCreator = function (configuration?: C
|
|
|
56791
56790
|
// http bearer authentication required
|
|
56792
56791
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56793
56792
|
|
|
56794
|
-
if (exportSecrets !== undefined) {
|
|
56795
|
-
localVarQueryParameter['exportSecrets'] = exportSecrets;
|
|
56796
|
-
}
|
|
56797
|
-
|
|
56798
56793
|
|
|
56799
56794
|
|
|
56800
56795
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -56817,15 +56812,14 @@ export const EnvironmentExportApiFp = function(configuration?: Configuration) {
|
|
|
56817
56812
|
const localVarAxiosParamCreator = EnvironmentExportApiAxiosParamCreator(configuration)
|
|
56818
56813
|
return {
|
|
56819
56814
|
/**
|
|
56820
|
-
*
|
|
56815
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56821
56816
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56822
56817
|
* @param {string} environmentId Environment ID
|
|
56823
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56824
56818
|
* @param {*} [options] Override http request option.
|
|
56825
56819
|
* @throws {RequiredError}
|
|
56826
56820
|
*/
|
|
56827
|
-
async exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
56828
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
56821
|
+
async exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
56822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId, options);
|
|
56829
56823
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
56830
56824
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentExportApi.exportEnvironmentConfigurationIntoTerraform']?.[localVarOperationServerIndex]?.url;
|
|
56831
56825
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -56841,15 +56835,14 @@ export const EnvironmentExportApiFactory = function (configuration?: Configurati
|
|
|
56841
56835
|
const localVarFp = EnvironmentExportApiFp(configuration)
|
|
56842
56836
|
return {
|
|
56843
56837
|
/**
|
|
56844
|
-
*
|
|
56838
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56845
56839
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56846
56840
|
* @param {string} environmentId Environment ID
|
|
56847
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56848
56841
|
* @param {*} [options] Override http request option.
|
|
56849
56842
|
* @throws {RequiredError}
|
|
56850
56843
|
*/
|
|
56851
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
56852
|
-
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
56844
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
56845
|
+
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(axios, basePath));
|
|
56853
56846
|
},
|
|
56854
56847
|
};
|
|
56855
56848
|
};
|
|
@@ -56862,16 +56855,15 @@ export const EnvironmentExportApiFactory = function (configuration?: Configurati
|
|
|
56862
56855
|
*/
|
|
56863
56856
|
export class EnvironmentExportApi extends BaseAPI {
|
|
56864
56857
|
/**
|
|
56865
|
-
*
|
|
56858
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56866
56859
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56867
56860
|
* @param {string} environmentId Environment ID
|
|
56868
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56869
56861
|
* @param {*} [options] Override http request option.
|
|
56870
56862
|
* @throws {RequiredError}
|
|
56871
56863
|
* @memberof EnvironmentExportApi
|
|
56872
56864
|
*/
|
|
56873
|
-
public exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
56874
|
-
return EnvironmentExportApiFp(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
56865
|
+
public exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
56866
|
+
return EnvironmentExportApiFp(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
56875
56867
|
}
|
|
56876
56868
|
}
|
|
56877
56869
|
|
package/dist/api.d.ts
CHANGED
|
@@ -41543,14 +41543,13 @@ export declare class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
41543
41543
|
*/
|
|
41544
41544
|
export declare const EnvironmentExportApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
41545
41545
|
/**
|
|
41546
|
-
*
|
|
41546
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41547
41547
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41548
41548
|
* @param {string} environmentId Environment ID
|
|
41549
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41550
41549
|
* @param {*} [options] Override http request option.
|
|
41551
41550
|
* @throws {RequiredError}
|
|
41552
41551
|
*/
|
|
41553
|
-
exportEnvironmentConfigurationIntoTerraform: (environmentId: string,
|
|
41552
|
+
exportEnvironmentConfigurationIntoTerraform: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41554
41553
|
};
|
|
41555
41554
|
/**
|
|
41556
41555
|
* EnvironmentExportApi - functional programming interface
|
|
@@ -41558,14 +41557,13 @@ export declare const EnvironmentExportApiAxiosParamCreator: (configuration?: Con
|
|
|
41558
41557
|
*/
|
|
41559
41558
|
export declare const EnvironmentExportApiFp: (configuration?: Configuration) => {
|
|
41560
41559
|
/**
|
|
41561
|
-
*
|
|
41560
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41562
41561
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41563
41562
|
* @param {string} environmentId Environment ID
|
|
41564
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41565
41563
|
* @param {*} [options] Override http request option.
|
|
41566
41564
|
* @throws {RequiredError}
|
|
41567
41565
|
*/
|
|
41568
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41566
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
41569
41567
|
};
|
|
41570
41568
|
/**
|
|
41571
41569
|
* EnvironmentExportApi - factory interface
|
|
@@ -41573,14 +41571,13 @@ export declare const EnvironmentExportApiFp: (configuration?: Configuration) =>
|
|
|
41573
41571
|
*/
|
|
41574
41572
|
export declare const EnvironmentExportApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
41575
41573
|
/**
|
|
41576
|
-
*
|
|
41574
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41577
41575
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41578
41576
|
* @param {string} environmentId Environment ID
|
|
41579
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41580
41577
|
* @param {*} [options] Override http request option.
|
|
41581
41578
|
* @throws {RequiredError}
|
|
41582
41579
|
*/
|
|
41583
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41580
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
41584
41581
|
};
|
|
41585
41582
|
/**
|
|
41586
41583
|
* EnvironmentExportApi - object-oriented interface
|
|
@@ -41590,15 +41587,14 @@ export declare const EnvironmentExportApiFactory: (configuration?: Configuration
|
|
|
41590
41587
|
*/
|
|
41591
41588
|
export declare class EnvironmentExportApi extends BaseAPI {
|
|
41592
41589
|
/**
|
|
41593
|
-
*
|
|
41590
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41594
41591
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41595
41592
|
* @param {string} environmentId Environment ID
|
|
41596
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41597
41593
|
* @param {*} [options] Override http request option.
|
|
41598
41594
|
* @throws {RequiredError}
|
|
41599
41595
|
* @memberof EnvironmentExportApi
|
|
41600
41596
|
*/
|
|
41601
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41597
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
41602
41598
|
}
|
|
41603
41599
|
/**
|
|
41604
41600
|
* EnvironmentLogsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -26501,14 +26501,13 @@ exports.EnvironmentDeploymentRuleApi = EnvironmentDeploymentRuleApi;
|
|
|
26501
26501
|
const EnvironmentExportApiAxiosParamCreator = function (configuration) {
|
|
26502
26502
|
return {
|
|
26503
26503
|
/**
|
|
26504
|
-
*
|
|
26504
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26505
26505
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26506
26506
|
* @param {string} environmentId Environment ID
|
|
26507
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26508
26507
|
* @param {*} [options] Override http request option.
|
|
26509
26508
|
* @throws {RequiredError}
|
|
26510
26509
|
*/
|
|
26511
|
-
exportEnvironmentConfigurationIntoTerraform: (environmentId_1,
|
|
26510
|
+
exportEnvironmentConfigurationIntoTerraform: (environmentId_1, ...args_1) => __awaiter(this, [environmentId_1, ...args_1], void 0, function* (environmentId, options = {}) {
|
|
26512
26511
|
// verify required parameter 'environmentId' is not null or undefined
|
|
26513
26512
|
(0, common_1.assertParamExists)('exportEnvironmentConfigurationIntoTerraform', 'environmentId', environmentId);
|
|
26514
26513
|
const localVarPath = `/environment/{environmentId}/terraformExport`
|
|
@@ -26527,9 +26526,6 @@ const EnvironmentExportApiAxiosParamCreator = function (configuration) {
|
|
|
26527
26526
|
// authentication bearerAuth required
|
|
26528
26527
|
// http bearer authentication required
|
|
26529
26528
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
26530
|
-
if (exportSecrets !== undefined) {
|
|
26531
|
-
localVarQueryParameter['exportSecrets'] = exportSecrets;
|
|
26532
|
-
}
|
|
26533
26529
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
26534
26530
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26535
26531
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26549,17 +26545,16 @@ const EnvironmentExportApiFp = function (configuration) {
|
|
|
26549
26545
|
const localVarAxiosParamCreator = (0, exports.EnvironmentExportApiAxiosParamCreator)(configuration);
|
|
26550
26546
|
return {
|
|
26551
26547
|
/**
|
|
26552
|
-
*
|
|
26548
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26553
26549
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26554
26550
|
* @param {string} environmentId Environment ID
|
|
26555
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26556
26551
|
* @param {*} [options] Override http request option.
|
|
26557
26552
|
* @throws {RequiredError}
|
|
26558
26553
|
*/
|
|
26559
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26554
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId, options) {
|
|
26560
26555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26561
26556
|
var _a, _b, _c;
|
|
26562
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26557
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId, options);
|
|
26563
26558
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26564
26559
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentExportApi.exportEnvironmentConfigurationIntoTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26565
26560
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26576,15 +26571,14 @@ const EnvironmentExportApiFactory = function (configuration, basePath, axios) {
|
|
|
26576
26571
|
const localVarFp = (0, exports.EnvironmentExportApiFp)(configuration);
|
|
26577
26572
|
return {
|
|
26578
26573
|
/**
|
|
26579
|
-
*
|
|
26574
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26580
26575
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26581
26576
|
* @param {string} environmentId Environment ID
|
|
26582
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26583
26577
|
* @param {*} [options] Override http request option.
|
|
26584
26578
|
* @throws {RequiredError}
|
|
26585
26579
|
*/
|
|
26586
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26587
|
-
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26580
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId, options) {
|
|
26581
|
+
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(axios, basePath));
|
|
26588
26582
|
},
|
|
26589
26583
|
};
|
|
26590
26584
|
};
|
|
@@ -26597,16 +26591,15 @@ exports.EnvironmentExportApiFactory = EnvironmentExportApiFactory;
|
|
|
26597
26591
|
*/
|
|
26598
26592
|
class EnvironmentExportApi extends base_1.BaseAPI {
|
|
26599
26593
|
/**
|
|
26600
|
-
*
|
|
26594
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26601
26595
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26602
26596
|
* @param {string} environmentId Environment ID
|
|
26603
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26604
26597
|
* @param {*} [options] Override http request option.
|
|
26605
26598
|
* @throws {RequiredError}
|
|
26606
26599
|
* @memberof EnvironmentExportApi
|
|
26607
26600
|
*/
|
|
26608
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26609
|
-
return (0, exports.EnvironmentExportApiFp)(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26601
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId, options) {
|
|
26602
|
+
return (0, exports.EnvironmentExportApiFp)(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
26610
26603
|
}
|
|
26611
26604
|
}
|
|
26612
26605
|
exports.EnvironmentExportApi = EnvironmentExportApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -41543,14 +41543,13 @@ export declare class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
41543
41543
|
*/
|
|
41544
41544
|
export declare const EnvironmentExportApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
41545
41545
|
/**
|
|
41546
|
-
*
|
|
41546
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41547
41547
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41548
41548
|
* @param {string} environmentId Environment ID
|
|
41549
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41550
41549
|
* @param {*} [options] Override http request option.
|
|
41551
41550
|
* @throws {RequiredError}
|
|
41552
41551
|
*/
|
|
41553
|
-
exportEnvironmentConfigurationIntoTerraform: (environmentId: string,
|
|
41552
|
+
exportEnvironmentConfigurationIntoTerraform: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41554
41553
|
};
|
|
41555
41554
|
/**
|
|
41556
41555
|
* EnvironmentExportApi - functional programming interface
|
|
@@ -41558,14 +41557,13 @@ export declare const EnvironmentExportApiAxiosParamCreator: (configuration?: Con
|
|
|
41558
41557
|
*/
|
|
41559
41558
|
export declare const EnvironmentExportApiFp: (configuration?: Configuration) => {
|
|
41560
41559
|
/**
|
|
41561
|
-
*
|
|
41560
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41562
41561
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41563
41562
|
* @param {string} environmentId Environment ID
|
|
41564
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41565
41563
|
* @param {*} [options] Override http request option.
|
|
41566
41564
|
* @throws {RequiredError}
|
|
41567
41565
|
*/
|
|
41568
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41566
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
41569
41567
|
};
|
|
41570
41568
|
/**
|
|
41571
41569
|
* EnvironmentExportApi - factory interface
|
|
@@ -41573,14 +41571,13 @@ export declare const EnvironmentExportApiFp: (configuration?: Configuration) =>
|
|
|
41573
41571
|
*/
|
|
41574
41572
|
export declare const EnvironmentExportApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
41575
41573
|
/**
|
|
41576
|
-
*
|
|
41574
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41577
41575
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41578
41576
|
* @param {string} environmentId Environment ID
|
|
41579
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41580
41577
|
* @param {*} [options] Override http request option.
|
|
41581
41578
|
* @throws {RequiredError}
|
|
41582
41579
|
*/
|
|
41583
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41580
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
41584
41581
|
};
|
|
41585
41582
|
/**
|
|
41586
41583
|
* EnvironmentExportApi - object-oriented interface
|
|
@@ -41590,15 +41587,14 @@ export declare const EnvironmentExportApiFactory: (configuration?: Configuration
|
|
|
41590
41587
|
*/
|
|
41591
41588
|
export declare class EnvironmentExportApi extends BaseAPI {
|
|
41592
41589
|
/**
|
|
41593
|
-
*
|
|
41590
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41594
41591
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41595
41592
|
* @param {string} environmentId Environment ID
|
|
41596
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41597
41593
|
* @param {*} [options] Override http request option.
|
|
41598
41594
|
* @throws {RequiredError}
|
|
41599
41595
|
* @memberof EnvironmentExportApi
|
|
41600
41596
|
*/
|
|
41601
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41597
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
41602
41598
|
}
|
|
41603
41599
|
/**
|
|
41604
41600
|
* EnvironmentLogsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -26310,14 +26310,13 @@ export class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
26310
26310
|
export const EnvironmentExportApiAxiosParamCreator = function (configuration) {
|
|
26311
26311
|
return {
|
|
26312
26312
|
/**
|
|
26313
|
-
*
|
|
26313
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26314
26314
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26315
26315
|
* @param {string} environmentId Environment ID
|
|
26316
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26317
26316
|
* @param {*} [options] Override http request option.
|
|
26318
26317
|
* @throws {RequiredError}
|
|
26319
26318
|
*/
|
|
26320
|
-
exportEnvironmentConfigurationIntoTerraform: (environmentId_1,
|
|
26319
|
+
exportEnvironmentConfigurationIntoTerraform: (environmentId_1, ...args_1) => __awaiter(this, [environmentId_1, ...args_1], void 0, function* (environmentId, options = {}) {
|
|
26321
26320
|
// verify required parameter 'environmentId' is not null or undefined
|
|
26322
26321
|
assertParamExists('exportEnvironmentConfigurationIntoTerraform', 'environmentId', environmentId);
|
|
26323
26322
|
const localVarPath = `/environment/{environmentId}/terraformExport`
|
|
@@ -26336,9 +26335,6 @@ export const EnvironmentExportApiAxiosParamCreator = function (configuration) {
|
|
|
26336
26335
|
// authentication bearerAuth required
|
|
26337
26336
|
// http bearer authentication required
|
|
26338
26337
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
26339
|
-
if (exportSecrets !== undefined) {
|
|
26340
|
-
localVarQueryParameter['exportSecrets'] = exportSecrets;
|
|
26341
|
-
}
|
|
26342
26338
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26343
26339
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26344
26340
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -26357,17 +26353,16 @@ export const EnvironmentExportApiFp = function (configuration) {
|
|
|
26357
26353
|
const localVarAxiosParamCreator = EnvironmentExportApiAxiosParamCreator(configuration);
|
|
26358
26354
|
return {
|
|
26359
26355
|
/**
|
|
26360
|
-
*
|
|
26356
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26361
26357
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26362
26358
|
* @param {string} environmentId Environment ID
|
|
26363
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26364
26359
|
* @param {*} [options] Override http request option.
|
|
26365
26360
|
* @throws {RequiredError}
|
|
26366
26361
|
*/
|
|
26367
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26362
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId, options) {
|
|
26368
26363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26369
26364
|
var _a, _b, _c;
|
|
26370
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId, options);
|
|
26371
26366
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
26372
26367
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentExportApi.exportEnvironmentConfigurationIntoTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
26373
26368
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26383,15 +26378,14 @@ export const EnvironmentExportApiFactory = function (configuration, basePath, ax
|
|
|
26383
26378
|
const localVarFp = EnvironmentExportApiFp(configuration);
|
|
26384
26379
|
return {
|
|
26385
26380
|
/**
|
|
26386
|
-
*
|
|
26381
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26387
26382
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26388
26383
|
* @param {string} environmentId Environment ID
|
|
26389
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26390
26384
|
* @param {*} [options] Override http request option.
|
|
26391
26385
|
* @throws {RequiredError}
|
|
26392
26386
|
*/
|
|
26393
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26394
|
-
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26387
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId, options) {
|
|
26388
|
+
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(axios, basePath));
|
|
26395
26389
|
},
|
|
26396
26390
|
};
|
|
26397
26391
|
};
|
|
@@ -26403,16 +26397,15 @@ export const EnvironmentExportApiFactory = function (configuration, basePath, ax
|
|
|
26403
26397
|
*/
|
|
26404
26398
|
export class EnvironmentExportApi extends BaseAPI {
|
|
26405
26399
|
/**
|
|
26406
|
-
*
|
|
26400
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
26407
26401
|
* @summary Export full environment and its resources into Terraform manifests
|
|
26408
26402
|
* @param {string} environmentId Environment ID
|
|
26409
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
26410
26403
|
* @param {*} [options] Override http request option.
|
|
26411
26404
|
* @throws {RequiredError}
|
|
26412
26405
|
* @memberof EnvironmentExportApi
|
|
26413
26406
|
*/
|
|
26414
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26415
|
-
return EnvironmentExportApiFp(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
26407
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId, options) {
|
|
26408
|
+
return EnvironmentExportApiFp(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
26416
26409
|
}
|
|
26417
26410
|
}
|
|
26418
26411
|
/**
|