qovery-typescript-axios 1.1.99 → 1.1.101
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 +73 -2
- package/dist/api.d.ts +36 -3
- package/dist/api.js +66 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -29517,7 +29517,7 @@ export const DeploymentStageMainCallsApiFp = function(configuration?: Configurat
|
|
|
29517
29517
|
* @param {*} [options] Override http request option.
|
|
29518
29518
|
* @throws {RequiredError}
|
|
29519
29519
|
*/
|
|
29520
|
-
async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
29520
|
+
async attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>> {
|
|
29521
29521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.attachServiceToDeploymentStage(deploymentStageId, serviceId, options);
|
|
29522
29522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29523
29523
|
},
|
|
@@ -29597,7 +29597,7 @@ export const DeploymentStageMainCallsApiFactory = function (configuration?: Conf
|
|
|
29597
29597
|
* @param {*} [options] Override http request option.
|
|
29598
29598
|
* @throws {RequiredError}
|
|
29599
29599
|
*/
|
|
29600
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<
|
|
29600
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList> {
|
|
29601
29601
|
return localVarFp.attachServiceToDeploymentStage(deploymentStageId, serviceId, options).then((request) => request(axios, basePath));
|
|
29602
29602
|
},
|
|
29603
29603
|
/**
|
|
@@ -30648,6 +30648,44 @@ export const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configura
|
|
|
30648
30648
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30649
30649
|
localVarRequestOptions.data = serializeDataIfNeeded(environmentDeploymentRuleEditRequest, localVarRequestOptions, configuration)
|
|
30650
30650
|
|
|
30651
|
+
return {
|
|
30652
|
+
url: toPathString(localVarUrlObj),
|
|
30653
|
+
options: localVarRequestOptions,
|
|
30654
|
+
};
|
|
30655
|
+
},
|
|
30656
|
+
/**
|
|
30657
|
+
*
|
|
30658
|
+
* @summary Get environment deployment rule
|
|
30659
|
+
* @param {string} environmentId Environment ID
|
|
30660
|
+
* @param {*} [options] Override http request option.
|
|
30661
|
+
* @throws {RequiredError}
|
|
30662
|
+
*/
|
|
30663
|
+
getEnvironmentDeploymentRule: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30664
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
30665
|
+
assertParamExists('getEnvironmentDeploymentRule', 'environmentId', environmentId)
|
|
30666
|
+
const localVarPath = `/environment/{environmentId}/deploymentRule`
|
|
30667
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30668
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30670
|
+
let baseOptions;
|
|
30671
|
+
if (configuration) {
|
|
30672
|
+
baseOptions = configuration.baseOptions;
|
|
30673
|
+
}
|
|
30674
|
+
|
|
30675
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30676
|
+
const localVarHeaderParameter = {} as any;
|
|
30677
|
+
const localVarQueryParameter = {} as any;
|
|
30678
|
+
|
|
30679
|
+
// authentication bearerAuth required
|
|
30680
|
+
// http bearer authentication required
|
|
30681
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30682
|
+
|
|
30683
|
+
|
|
30684
|
+
|
|
30685
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30686
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30687
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30688
|
+
|
|
30651
30689
|
return {
|
|
30652
30690
|
url: toPathString(localVarUrlObj),
|
|
30653
30691
|
options: localVarRequestOptions,
|
|
@@ -30676,6 +30714,17 @@ export const EnvironmentDeploymentRuleApiFp = function(configuration?: Configura
|
|
|
30676
30714
|
const localVarAxiosArgs = await localVarAxiosParamCreator.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options);
|
|
30677
30715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30678
30716
|
},
|
|
30717
|
+
/**
|
|
30718
|
+
*
|
|
30719
|
+
* @summary Get environment deployment rule
|
|
30720
|
+
* @param {string} environmentId Environment ID
|
|
30721
|
+
* @param {*} [options] Override http request option.
|
|
30722
|
+
* @throws {RequiredError}
|
|
30723
|
+
*/
|
|
30724
|
+
async getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>> {
|
|
30725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentDeploymentRule(environmentId, options);
|
|
30726
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30727
|
+
},
|
|
30679
30728
|
}
|
|
30680
30729
|
};
|
|
30681
30730
|
|
|
@@ -30698,6 +30747,16 @@ export const EnvironmentDeploymentRuleApiFactory = function (configuration?: Con
|
|
|
30698
30747
|
editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: any): AxiosPromise<EnvironmentDeploymentRule> {
|
|
30699
30748
|
return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
|
|
30700
30749
|
},
|
|
30750
|
+
/**
|
|
30751
|
+
*
|
|
30752
|
+
* @summary Get environment deployment rule
|
|
30753
|
+
* @param {string} environmentId Environment ID
|
|
30754
|
+
* @param {*} [options] Override http request option.
|
|
30755
|
+
* @throws {RequiredError}
|
|
30756
|
+
*/
|
|
30757
|
+
getEnvironmentDeploymentRule(environmentId: string, options?: any): AxiosPromise<EnvironmentDeploymentRule> {
|
|
30758
|
+
return localVarFp.getEnvironmentDeploymentRule(environmentId, options).then((request) => request(axios, basePath));
|
|
30759
|
+
},
|
|
30701
30760
|
};
|
|
30702
30761
|
};
|
|
30703
30762
|
|
|
@@ -30721,6 +30780,18 @@ export class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
30721
30780
|
public editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig) {
|
|
30722
30781
|
return EnvironmentDeploymentRuleApiFp(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30723
30782
|
}
|
|
30783
|
+
|
|
30784
|
+
/**
|
|
30785
|
+
*
|
|
30786
|
+
* @summary Get environment deployment rule
|
|
30787
|
+
* @param {string} environmentId Environment ID
|
|
30788
|
+
* @param {*} [options] Override http request option.
|
|
30789
|
+
* @throws {RequiredError}
|
|
30790
|
+
* @memberof EnvironmentDeploymentRuleApi
|
|
30791
|
+
*/
|
|
30792
|
+
public getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig) {
|
|
30793
|
+
return EnvironmentDeploymentRuleApiFp(this.configuration).getEnvironmentDeploymentRule(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30794
|
+
}
|
|
30724
30795
|
}
|
|
30725
30796
|
|
|
30726
30797
|
|
package/dist/api.d.ts
CHANGED
|
@@ -20755,7 +20755,7 @@ export declare const DeploymentStageMainCallsApiFp: (configuration?: Configurati
|
|
|
20755
20755
|
* @param {*} [options] Override http request option.
|
|
20756
20756
|
* @throws {RequiredError}
|
|
20757
20757
|
*/
|
|
20758
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
20758
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeploymentStageResponseList>>;
|
|
20759
20759
|
/**
|
|
20760
20760
|
*
|
|
20761
20761
|
* @summary Create environment deployment stage
|
|
@@ -20813,7 +20813,7 @@ export declare const DeploymentStageMainCallsApiFactory: (configuration?: Config
|
|
|
20813
20813
|
* @param {*} [options] Override http request option.
|
|
20814
20814
|
* @throws {RequiredError}
|
|
20815
20815
|
*/
|
|
20816
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<
|
|
20816
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: any): AxiosPromise<DeploymentStageResponseList>;
|
|
20817
20817
|
/**
|
|
20818
20818
|
*
|
|
20819
20819
|
* @summary Create environment deployment stage
|
|
@@ -20874,7 +20874,7 @@ export declare class DeploymentStageMainCallsApi extends BaseAPI {
|
|
|
20874
20874
|
* @throws {RequiredError}
|
|
20875
20875
|
* @memberof DeploymentStageMainCallsApi
|
|
20876
20876
|
*/
|
|
20877
|
-
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
20877
|
+
attachServiceToDeploymentStage(deploymentStageId: string, serviceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentStageResponseList>>;
|
|
20878
20878
|
/**
|
|
20879
20879
|
*
|
|
20880
20880
|
* @summary Create environment deployment stage
|
|
@@ -21367,6 +21367,14 @@ export declare const EnvironmentDeploymentRuleApiAxiosParamCreator: (configurati
|
|
|
21367
21367
|
* @throws {RequiredError}
|
|
21368
21368
|
*/
|
|
21369
21369
|
editEnvironmentDeploymentRule: (environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21370
|
+
/**
|
|
21371
|
+
*
|
|
21372
|
+
* @summary Get environment deployment rule
|
|
21373
|
+
* @param {string} environmentId Environment ID
|
|
21374
|
+
* @param {*} [options] Override http request option.
|
|
21375
|
+
* @throws {RequiredError}
|
|
21376
|
+
*/
|
|
21377
|
+
getEnvironmentDeploymentRule: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21370
21378
|
};
|
|
21371
21379
|
/**
|
|
21372
21380
|
* EnvironmentDeploymentRuleApi - functional programming interface
|
|
@@ -21383,6 +21391,14 @@ export declare const EnvironmentDeploymentRuleApiFp: (configuration?: Configurat
|
|
|
21383
21391
|
* @throws {RequiredError}
|
|
21384
21392
|
*/
|
|
21385
21393
|
editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>>;
|
|
21394
|
+
/**
|
|
21395
|
+
*
|
|
21396
|
+
* @summary Get environment deployment rule
|
|
21397
|
+
* @param {string} environmentId Environment ID
|
|
21398
|
+
* @param {*} [options] Override http request option.
|
|
21399
|
+
* @throws {RequiredError}
|
|
21400
|
+
*/
|
|
21401
|
+
getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>>;
|
|
21386
21402
|
};
|
|
21387
21403
|
/**
|
|
21388
21404
|
* EnvironmentDeploymentRuleApi - factory interface
|
|
@@ -21399,6 +21415,14 @@ export declare const EnvironmentDeploymentRuleApiFactory: (configuration?: Confi
|
|
|
21399
21415
|
* @throws {RequiredError}
|
|
21400
21416
|
*/
|
|
21401
21417
|
editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: any): AxiosPromise<EnvironmentDeploymentRule>;
|
|
21418
|
+
/**
|
|
21419
|
+
*
|
|
21420
|
+
* @summary Get environment deployment rule
|
|
21421
|
+
* @param {string} environmentId Environment ID
|
|
21422
|
+
* @param {*} [options] Override http request option.
|
|
21423
|
+
* @throws {RequiredError}
|
|
21424
|
+
*/
|
|
21425
|
+
getEnvironmentDeploymentRule(environmentId: string, options?: any): AxiosPromise<EnvironmentDeploymentRule>;
|
|
21402
21426
|
};
|
|
21403
21427
|
/**
|
|
21404
21428
|
* EnvironmentDeploymentRuleApi - object-oriented interface
|
|
@@ -21418,6 +21442,15 @@ export declare class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
21418
21442
|
* @memberof EnvironmentDeploymentRuleApi
|
|
21419
21443
|
*/
|
|
21420
21444
|
editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDeploymentRule>>;
|
|
21445
|
+
/**
|
|
21446
|
+
*
|
|
21447
|
+
* @summary Get environment deployment rule
|
|
21448
|
+
* @param {string} environmentId Environment ID
|
|
21449
|
+
* @param {*} [options] Override http request option.
|
|
21450
|
+
* @throws {RequiredError}
|
|
21451
|
+
* @memberof EnvironmentDeploymentRuleApi
|
|
21452
|
+
*/
|
|
21453
|
+
getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDeploymentRule>>;
|
|
21421
21454
|
}
|
|
21422
21455
|
/**
|
|
21423
21456
|
* EnvironmentLogsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -17356,6 +17356,38 @@ const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configuration) {
|
|
|
17356
17356
|
options: localVarRequestOptions,
|
|
17357
17357
|
};
|
|
17358
17358
|
}),
|
|
17359
|
+
/**
|
|
17360
|
+
*
|
|
17361
|
+
* @summary Get environment deployment rule
|
|
17362
|
+
* @param {string} environmentId Environment ID
|
|
17363
|
+
* @param {*} [options] Override http request option.
|
|
17364
|
+
* @throws {RequiredError}
|
|
17365
|
+
*/
|
|
17366
|
+
getEnvironmentDeploymentRule: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17367
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
17368
|
+
(0, common_1.assertParamExists)('getEnvironmentDeploymentRule', 'environmentId', environmentId);
|
|
17369
|
+
const localVarPath = `/environment/{environmentId}/deploymentRule`
|
|
17370
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17371
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17372
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17373
|
+
let baseOptions;
|
|
17374
|
+
if (configuration) {
|
|
17375
|
+
baseOptions = configuration.baseOptions;
|
|
17376
|
+
}
|
|
17377
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17378
|
+
const localVarHeaderParameter = {};
|
|
17379
|
+
const localVarQueryParameter = {};
|
|
17380
|
+
// authentication bearerAuth required
|
|
17381
|
+
// http bearer authentication required
|
|
17382
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17383
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17385
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17386
|
+
return {
|
|
17387
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17388
|
+
options: localVarRequestOptions,
|
|
17389
|
+
};
|
|
17390
|
+
}),
|
|
17359
17391
|
};
|
|
17360
17392
|
};
|
|
17361
17393
|
exports.EnvironmentDeploymentRuleApiAxiosParamCreator = EnvironmentDeploymentRuleApiAxiosParamCreator;
|
|
@@ -17381,6 +17413,19 @@ const EnvironmentDeploymentRuleApiFp = function (configuration) {
|
|
|
17381
17413
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17382
17414
|
});
|
|
17383
17415
|
},
|
|
17416
|
+
/**
|
|
17417
|
+
*
|
|
17418
|
+
* @summary Get environment deployment rule
|
|
17419
|
+
* @param {string} environmentId Environment ID
|
|
17420
|
+
* @param {*} [options] Override http request option.
|
|
17421
|
+
* @throws {RequiredError}
|
|
17422
|
+
*/
|
|
17423
|
+
getEnvironmentDeploymentRule(environmentId, options) {
|
|
17424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17425
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentDeploymentRule(environmentId, options);
|
|
17426
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17427
|
+
});
|
|
17428
|
+
},
|
|
17384
17429
|
};
|
|
17385
17430
|
};
|
|
17386
17431
|
exports.EnvironmentDeploymentRuleApiFp = EnvironmentDeploymentRuleApiFp;
|
|
@@ -17403,6 +17448,16 @@ const EnvironmentDeploymentRuleApiFactory = function (configuration, basePath, a
|
|
|
17403
17448
|
editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
|
|
17404
17449
|
return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
|
|
17405
17450
|
},
|
|
17451
|
+
/**
|
|
17452
|
+
*
|
|
17453
|
+
* @summary Get environment deployment rule
|
|
17454
|
+
* @param {string} environmentId Environment ID
|
|
17455
|
+
* @param {*} [options] Override http request option.
|
|
17456
|
+
* @throws {RequiredError}
|
|
17457
|
+
*/
|
|
17458
|
+
getEnvironmentDeploymentRule(environmentId, options) {
|
|
17459
|
+
return localVarFp.getEnvironmentDeploymentRule(environmentId, options).then((request) => request(axios, basePath));
|
|
17460
|
+
},
|
|
17406
17461
|
};
|
|
17407
17462
|
};
|
|
17408
17463
|
exports.EnvironmentDeploymentRuleApiFactory = EnvironmentDeploymentRuleApiFactory;
|
|
@@ -17426,6 +17481,17 @@ class EnvironmentDeploymentRuleApi extends base_1.BaseAPI {
|
|
|
17426
17481
|
editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
|
|
17427
17482
|
return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17428
17483
|
}
|
|
17484
|
+
/**
|
|
17485
|
+
*
|
|
17486
|
+
* @summary Get environment deployment rule
|
|
17487
|
+
* @param {string} environmentId Environment ID
|
|
17488
|
+
* @param {*} [options] Override http request option.
|
|
17489
|
+
* @throws {RequiredError}
|
|
17490
|
+
* @memberof EnvironmentDeploymentRuleApi
|
|
17491
|
+
*/
|
|
17492
|
+
getEnvironmentDeploymentRule(environmentId, options) {
|
|
17493
|
+
return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).getEnvironmentDeploymentRule(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17494
|
+
}
|
|
17429
17495
|
}
|
|
17430
17496
|
exports.EnvironmentDeploymentRuleApi = EnvironmentDeploymentRuleApi;
|
|
17431
17497
|
/**
|