qovery-typescript-axios 1.1.91 → 1.1.93
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 +12 -78
- package/dist/api.d.ts +12 -37
- package/dist/api.js +0 -73
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5871,6 +5871,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
5871
5871
|
* @memberof DeploymentStageServiceResponse
|
|
5872
5872
|
*/
|
|
5873
5873
|
'service_id'?: string;
|
|
5874
|
+
/**
|
|
5875
|
+
* type of the service (i.e APPLICATION, JOB, DATABASE, ...)
|
|
5876
|
+
* @type {string}
|
|
5877
|
+
* @memberof DeploymentStageServiceResponse
|
|
5878
|
+
*/
|
|
5879
|
+
'service_type'?: string;
|
|
5874
5880
|
}
|
|
5875
5881
|
/**
|
|
5876
5882
|
*
|
|
@@ -5884,6 +5890,12 @@ export interface DeploymentStageServiceResponseAllOf {
|
|
|
5884
5890
|
* @memberof DeploymentStageServiceResponseAllOf
|
|
5885
5891
|
*/
|
|
5886
5892
|
'service_id'?: string;
|
|
5893
|
+
/**
|
|
5894
|
+
* type of the service (i.e APPLICATION, JOB, DATABASE, ...)
|
|
5895
|
+
* @type {string}
|
|
5896
|
+
* @memberof DeploymentStageServiceResponseAllOf
|
|
5897
|
+
*/
|
|
5898
|
+
'service_type'?: string;
|
|
5887
5899
|
}
|
|
5888
5900
|
/**
|
|
5889
5901
|
*
|
|
@@ -21486,48 +21498,6 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
21486
21498
|
|
|
21487
21499
|
|
|
21488
21500
|
|
|
21489
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21490
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21491
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21492
|
-
|
|
21493
|
-
return {
|
|
21494
|
-
url: toPathString(localVarUrlObj),
|
|
21495
|
-
options: localVarRequestOptions,
|
|
21496
|
-
};
|
|
21497
|
-
},
|
|
21498
|
-
/**
|
|
21499
|
-
* allows to update cluster version
|
|
21500
|
-
* @summary Update a cluster Version
|
|
21501
|
-
* @param {string} organizationId Organization ID
|
|
21502
|
-
* @param {string} clusterId Cluster ID
|
|
21503
|
-
* @param {*} [options] Override http request option.
|
|
21504
|
-
* @throws {RequiredError}
|
|
21505
|
-
*/
|
|
21506
|
-
updateCluster: async (organizationId: string, clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21507
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
21508
|
-
assertParamExists('updateCluster', 'organizationId', organizationId)
|
|
21509
|
-
// verify required parameter 'clusterId' is not null or undefined
|
|
21510
|
-
assertParamExists('updateCluster', 'clusterId', clusterId)
|
|
21511
|
-
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/update`
|
|
21512
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
21513
|
-
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
21514
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21515
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21516
|
-
let baseOptions;
|
|
21517
|
-
if (configuration) {
|
|
21518
|
-
baseOptions = configuration.baseOptions;
|
|
21519
|
-
}
|
|
21520
|
-
|
|
21521
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21522
|
-
const localVarHeaderParameter = {} as any;
|
|
21523
|
-
const localVarQueryParameter = {} as any;
|
|
21524
|
-
|
|
21525
|
-
// authentication bearerAuth required
|
|
21526
|
-
// http bearer authentication required
|
|
21527
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21528
|
-
|
|
21529
|
-
|
|
21530
|
-
|
|
21531
21501
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21532
21502
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21533
21503
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -21751,18 +21721,6 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
21751
21721
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopCluster(organizationId, clusterId, options);
|
|
21752
21722
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21753
21723
|
},
|
|
21754
|
-
/**
|
|
21755
|
-
* allows to update cluster version
|
|
21756
|
-
* @summary Update a cluster Version
|
|
21757
|
-
* @param {string} organizationId Organization ID
|
|
21758
|
-
* @param {string} clusterId Cluster ID
|
|
21759
|
-
* @param {*} [options] Override http request option.
|
|
21760
|
-
* @throws {RequiredError}
|
|
21761
|
-
*/
|
|
21762
|
-
async updateCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>> {
|
|
21763
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCluster(organizationId, clusterId, options);
|
|
21764
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
21765
|
-
},
|
|
21766
21724
|
}
|
|
21767
21725
|
};
|
|
21768
21726
|
|
|
@@ -21960,17 +21918,6 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
21960
21918
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
21961
21919
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
21962
21920
|
},
|
|
21963
|
-
/**
|
|
21964
|
-
* allows to update cluster version
|
|
21965
|
-
* @summary Update a cluster Version
|
|
21966
|
-
* @param {string} organizationId Organization ID
|
|
21967
|
-
* @param {string} clusterId Cluster ID
|
|
21968
|
-
* @param {*} [options] Override http request option.
|
|
21969
|
-
* @throws {RequiredError}
|
|
21970
|
-
*/
|
|
21971
|
-
updateCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
21972
|
-
return localVarFp.updateCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
21973
|
-
},
|
|
21974
21921
|
};
|
|
21975
21922
|
};
|
|
21976
21923
|
|
|
@@ -22201,19 +22148,6 @@ export class ClustersApi extends BaseAPI {
|
|
|
22201
22148
|
public stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
|
|
22202
22149
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
22203
22150
|
}
|
|
22204
|
-
|
|
22205
|
-
/**
|
|
22206
|
-
* allows to update cluster version
|
|
22207
|
-
* @summary Update a cluster Version
|
|
22208
|
-
* @param {string} organizationId Organization ID
|
|
22209
|
-
* @param {string} clusterId Cluster ID
|
|
22210
|
-
* @param {*} [options] Override http request option.
|
|
22211
|
-
* @throws {RequiredError}
|
|
22212
|
-
* @memberof ClustersApi
|
|
22213
|
-
*/
|
|
22214
|
-
public updateCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
|
|
22215
|
-
return ClustersApiFp(this.configuration).updateCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
22216
|
-
}
|
|
22217
22151
|
}
|
|
22218
22152
|
|
|
22219
22153
|
|
package/dist/api.d.ts
CHANGED
|
@@ -5826,6 +5826,12 @@ export interface DeploymentStageServiceResponse {
|
|
|
5826
5826
|
* @memberof DeploymentStageServiceResponse
|
|
5827
5827
|
*/
|
|
5828
5828
|
'service_id'?: string;
|
|
5829
|
+
/**
|
|
5830
|
+
* type of the service (i.e APPLICATION, JOB, DATABASE, ...)
|
|
5831
|
+
* @type {string}
|
|
5832
|
+
* @memberof DeploymentStageServiceResponse
|
|
5833
|
+
*/
|
|
5834
|
+
'service_type'?: string;
|
|
5829
5835
|
}
|
|
5830
5836
|
/**
|
|
5831
5837
|
*
|
|
@@ -5839,6 +5845,12 @@ export interface DeploymentStageServiceResponseAllOf {
|
|
|
5839
5845
|
* @memberof DeploymentStageServiceResponseAllOf
|
|
5840
5846
|
*/
|
|
5841
5847
|
'service_id'?: string;
|
|
5848
|
+
/**
|
|
5849
|
+
* type of the service (i.e APPLICATION, JOB, DATABASE, ...)
|
|
5850
|
+
* @type {string}
|
|
5851
|
+
* @memberof DeploymentStageServiceResponseAllOf
|
|
5852
|
+
*/
|
|
5853
|
+
'service_type'?: string;
|
|
5842
5854
|
}
|
|
5843
5855
|
/**
|
|
5844
5856
|
*
|
|
@@ -16665,15 +16677,6 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
16665
16677
|
* @throws {RequiredError}
|
|
16666
16678
|
*/
|
|
16667
16679
|
stopCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16668
|
-
/**
|
|
16669
|
-
* allows to update cluster version
|
|
16670
|
-
* @summary Update a cluster Version
|
|
16671
|
-
* @param {string} organizationId Organization ID
|
|
16672
|
-
* @param {string} clusterId Cluster ID
|
|
16673
|
-
* @param {*} [options] Override http request option.
|
|
16674
|
-
* @throws {RequiredError}
|
|
16675
|
-
*/
|
|
16676
|
-
updateCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
16677
16680
|
};
|
|
16678
16681
|
/**
|
|
16679
16682
|
* ClustersApi - functional programming interface
|
|
@@ -16833,15 +16836,6 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
16833
16836
|
* @throws {RequiredError}
|
|
16834
16837
|
*/
|
|
16835
16838
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
16836
|
-
/**
|
|
16837
|
-
* allows to update cluster version
|
|
16838
|
-
* @summary Update a cluster Version
|
|
16839
|
-
* @param {string} organizationId Organization ID
|
|
16840
|
-
* @param {string} clusterId Cluster ID
|
|
16841
|
-
* @param {*} [options] Override http request option.
|
|
16842
|
-
* @throws {RequiredError}
|
|
16843
|
-
*/
|
|
16844
|
-
updateCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterStatus>>;
|
|
16845
16839
|
};
|
|
16846
16840
|
/**
|
|
16847
16841
|
* ClustersApi - factory interface
|
|
@@ -17001,15 +16995,6 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
17001
16995
|
* @throws {RequiredError}
|
|
17002
16996
|
*/
|
|
17003
16997
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
17004
|
-
/**
|
|
17005
|
-
* allows to update cluster version
|
|
17006
|
-
* @summary Update a cluster Version
|
|
17007
|
-
* @param {string} organizationId Organization ID
|
|
17008
|
-
* @param {string} clusterId Cluster ID
|
|
17009
|
-
* @param {*} [options] Override http request option.
|
|
17010
|
-
* @throws {RequiredError}
|
|
17011
|
-
*/
|
|
17012
|
-
updateCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus>;
|
|
17013
16998
|
};
|
|
17014
16999
|
/**
|
|
17015
17000
|
* ClustersApi - object-oriented interface
|
|
@@ -17188,16 +17173,6 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
17188
17173
|
* @memberof ClustersApi
|
|
17189
17174
|
*/
|
|
17190
17175
|
stopCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus>>;
|
|
17191
|
-
/**
|
|
17192
|
-
* allows to update cluster version
|
|
17193
|
-
* @summary Update a cluster Version
|
|
17194
|
-
* @param {string} organizationId Organization ID
|
|
17195
|
-
* @param {string} clusterId Cluster ID
|
|
17196
|
-
* @param {*} [options] Override http request option.
|
|
17197
|
-
* @throws {RequiredError}
|
|
17198
|
-
* @memberof ClustersApi
|
|
17199
|
-
*/
|
|
17200
|
-
updateCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterStatus>>;
|
|
17201
17176
|
}
|
|
17202
17177
|
/**
|
|
17203
17178
|
* ContainerActionsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -8787,42 +8787,6 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8787
8787
|
options: localVarRequestOptions,
|
|
8788
8788
|
};
|
|
8789
8789
|
}),
|
|
8790
|
-
/**
|
|
8791
|
-
* allows to update cluster version
|
|
8792
|
-
* @summary Update a cluster Version
|
|
8793
|
-
* @param {string} organizationId Organization ID
|
|
8794
|
-
* @param {string} clusterId Cluster ID
|
|
8795
|
-
* @param {*} [options] Override http request option.
|
|
8796
|
-
* @throws {RequiredError}
|
|
8797
|
-
*/
|
|
8798
|
-
updateCluster: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8799
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
8800
|
-
(0, common_1.assertParamExists)('updateCluster', 'organizationId', organizationId);
|
|
8801
|
-
// verify required parameter 'clusterId' is not null or undefined
|
|
8802
|
-
(0, common_1.assertParamExists)('updateCluster', 'clusterId', clusterId);
|
|
8803
|
-
const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/update`
|
|
8804
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
8805
|
-
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
8806
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8807
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8808
|
-
let baseOptions;
|
|
8809
|
-
if (configuration) {
|
|
8810
|
-
baseOptions = configuration.baseOptions;
|
|
8811
|
-
}
|
|
8812
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8813
|
-
const localVarHeaderParameter = {};
|
|
8814
|
-
const localVarQueryParameter = {};
|
|
8815
|
-
// authentication bearerAuth required
|
|
8816
|
-
// http bearer authentication required
|
|
8817
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8818
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8819
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8820
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8821
|
-
return {
|
|
8822
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8823
|
-
options: localVarRequestOptions,
|
|
8824
|
-
};
|
|
8825
|
-
}),
|
|
8826
8790
|
};
|
|
8827
8791
|
};
|
|
8828
8792
|
exports.ClustersApiAxiosParamCreator = ClustersApiAxiosParamCreator;
|
|
@@ -9071,20 +9035,6 @@ const ClustersApiFp = function (configuration) {
|
|
|
9071
9035
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9072
9036
|
});
|
|
9073
9037
|
},
|
|
9074
|
-
/**
|
|
9075
|
-
* allows to update cluster version
|
|
9076
|
-
* @summary Update a cluster Version
|
|
9077
|
-
* @param {string} organizationId Organization ID
|
|
9078
|
-
* @param {string} clusterId Cluster ID
|
|
9079
|
-
* @param {*} [options] Override http request option.
|
|
9080
|
-
* @throws {RequiredError}
|
|
9081
|
-
*/
|
|
9082
|
-
updateCluster(organizationId, clusterId, options) {
|
|
9083
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9084
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCluster(organizationId, clusterId, options);
|
|
9085
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9086
|
-
});
|
|
9087
|
-
},
|
|
9088
9038
|
};
|
|
9089
9039
|
};
|
|
9090
9040
|
exports.ClustersApiFp = ClustersApiFp;
|
|
@@ -9282,17 +9232,6 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
9282
9232
|
stopCluster(organizationId, clusterId, options) {
|
|
9283
9233
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9284
9234
|
},
|
|
9285
|
-
/**
|
|
9286
|
-
* allows to update cluster version
|
|
9287
|
-
* @summary Update a cluster Version
|
|
9288
|
-
* @param {string} organizationId Organization ID
|
|
9289
|
-
* @param {string} clusterId Cluster ID
|
|
9290
|
-
* @param {*} [options] Override http request option.
|
|
9291
|
-
* @throws {RequiredError}
|
|
9292
|
-
*/
|
|
9293
|
-
updateCluster(organizationId, clusterId, options) {
|
|
9294
|
-
return localVarFp.updateCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9295
|
-
},
|
|
9296
9235
|
};
|
|
9297
9236
|
};
|
|
9298
9237
|
exports.ClustersApiFactory = ClustersApiFactory;
|
|
@@ -9507,18 +9446,6 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
9507
9446
|
stopCluster(organizationId, clusterId, options) {
|
|
9508
9447
|
return (0, exports.ClustersApiFp)(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9509
9448
|
}
|
|
9510
|
-
/**
|
|
9511
|
-
* allows to update cluster version
|
|
9512
|
-
* @summary Update a cluster Version
|
|
9513
|
-
* @param {string} organizationId Organization ID
|
|
9514
|
-
* @param {string} clusterId Cluster ID
|
|
9515
|
-
* @param {*} [options] Override http request option.
|
|
9516
|
-
* @throws {RequiredError}
|
|
9517
|
-
* @memberof ClustersApi
|
|
9518
|
-
*/
|
|
9519
|
-
updateCluster(organizationId, clusterId, options) {
|
|
9520
|
-
return (0, exports.ClustersApiFp)(this.configuration).updateCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9521
|
-
}
|
|
9522
9449
|
}
|
|
9523
9450
|
exports.ClustersApi = ClustersApi;
|
|
9524
9451
|
/**
|