qovery-typescript-axios 1.1.49 → 1.1.50
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 +108 -0
- package/dist/api.d.ts +70 -0
- package/dist/api.js +66 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7282,6 +7282,43 @@ export interface InlineObject {
|
|
|
7282
7282
|
*/
|
|
7283
7283
|
'user_id': string;
|
|
7284
7284
|
}
|
|
7285
|
+
/**
|
|
7286
|
+
*
|
|
7287
|
+
* @export
|
|
7288
|
+
* @interface InlineResponse200
|
|
7289
|
+
*/
|
|
7290
|
+
export interface InlineResponse200 {
|
|
7291
|
+
/**
|
|
7292
|
+
*
|
|
7293
|
+
* @type {Status}
|
|
7294
|
+
* @memberof InlineResponse200
|
|
7295
|
+
*/
|
|
7296
|
+
'environment'?: Status;
|
|
7297
|
+
/**
|
|
7298
|
+
*
|
|
7299
|
+
* @type {Array<Status>}
|
|
7300
|
+
* @memberof InlineResponse200
|
|
7301
|
+
*/
|
|
7302
|
+
'applications'?: Array<Status>;
|
|
7303
|
+
/**
|
|
7304
|
+
*
|
|
7305
|
+
* @type {Array<Status>}
|
|
7306
|
+
* @memberof InlineResponse200
|
|
7307
|
+
*/
|
|
7308
|
+
'containers'?: Array<Status>;
|
|
7309
|
+
/**
|
|
7310
|
+
*
|
|
7311
|
+
* @type {Array<Status>}
|
|
7312
|
+
* @memberof InlineResponse200
|
|
7313
|
+
*/
|
|
7314
|
+
'jobs'?: Array<Status>;
|
|
7315
|
+
/**
|
|
7316
|
+
*
|
|
7317
|
+
* @type {Array<Status>}
|
|
7318
|
+
* @memberof InlineResponse200
|
|
7319
|
+
*/
|
|
7320
|
+
'databases'?: Array<Status>;
|
|
7321
|
+
}
|
|
7285
7322
|
/**
|
|
7286
7323
|
*
|
|
7287
7324
|
* @export
|
|
@@ -29941,6 +29978,44 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
|
|
|
29941
29978
|
|
|
29942
29979
|
|
|
29943
29980
|
|
|
29981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29983
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29984
|
+
|
|
29985
|
+
return {
|
|
29986
|
+
url: toPathString(localVarUrlObj),
|
|
29987
|
+
options: localVarRequestOptions,
|
|
29988
|
+
};
|
|
29989
|
+
},
|
|
29990
|
+
/**
|
|
29991
|
+
*
|
|
29992
|
+
* @summary Get environment statuses with services status
|
|
29993
|
+
* @param {string} environmentId Environment ID
|
|
29994
|
+
* @param {*} [options] Override http request option.
|
|
29995
|
+
* @throws {RequiredError}
|
|
29996
|
+
*/
|
|
29997
|
+
getEnvironmentStatuses: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29998
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
29999
|
+
assertParamExists('getEnvironmentStatuses', 'environmentId', environmentId)
|
|
30000
|
+
const localVarPath = `/environment/{environmentId}/statuses`
|
|
30001
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
30002
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30003
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30004
|
+
let baseOptions;
|
|
30005
|
+
if (configuration) {
|
|
30006
|
+
baseOptions = configuration.baseOptions;
|
|
30007
|
+
}
|
|
30008
|
+
|
|
30009
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30010
|
+
const localVarHeaderParameter = {} as any;
|
|
30011
|
+
const localVarQueryParameter = {} as any;
|
|
30012
|
+
|
|
30013
|
+
// authentication bearerAuth required
|
|
30014
|
+
// http bearer authentication required
|
|
30015
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30016
|
+
|
|
30017
|
+
|
|
30018
|
+
|
|
29944
30019
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29945
30020
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29946
30021
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -30005,6 +30080,17 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
|
|
|
30005
30080
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatus(environmentId, options);
|
|
30006
30081
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30007
30082
|
},
|
|
30083
|
+
/**
|
|
30084
|
+
*
|
|
30085
|
+
* @summary Get environment statuses with services status
|
|
30086
|
+
* @param {string} environmentId Environment ID
|
|
30087
|
+
* @param {*} [options] Override http request option.
|
|
30088
|
+
* @throws {RequiredError}
|
|
30089
|
+
*/
|
|
30090
|
+
async getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
30091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatuses(environmentId, options);
|
|
30092
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30093
|
+
},
|
|
30008
30094
|
}
|
|
30009
30095
|
};
|
|
30010
30096
|
|
|
@@ -30056,6 +30142,16 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
|
|
|
30056
30142
|
getEnvironmentStatus(environmentId: string, options?: any): AxiosPromise<Status> {
|
|
30057
30143
|
return localVarFp.getEnvironmentStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
30058
30144
|
},
|
|
30145
|
+
/**
|
|
30146
|
+
*
|
|
30147
|
+
* @summary Get environment statuses with services status
|
|
30148
|
+
* @param {string} environmentId Environment ID
|
|
30149
|
+
* @param {*} [options] Override http request option.
|
|
30150
|
+
* @throws {RequiredError}
|
|
30151
|
+
*/
|
|
30152
|
+
getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200> {
|
|
30153
|
+
return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
|
|
30154
|
+
},
|
|
30059
30155
|
};
|
|
30060
30156
|
};
|
|
30061
30157
|
|
|
@@ -30114,6 +30210,18 @@ export class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
30114
30210
|
public getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
30115
30211
|
return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30116
30212
|
}
|
|
30213
|
+
|
|
30214
|
+
/**
|
|
30215
|
+
*
|
|
30216
|
+
* @summary Get environment statuses with services status
|
|
30217
|
+
* @param {string} environmentId Environment ID
|
|
30218
|
+
* @param {*} [options] Override http request option.
|
|
30219
|
+
* @throws {RequiredError}
|
|
30220
|
+
* @memberof EnvironmentMainCallsApi
|
|
30221
|
+
*/
|
|
30222
|
+
public getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig) {
|
|
30223
|
+
return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatuses(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30224
|
+
}
|
|
30117
30225
|
}
|
|
30118
30226
|
|
|
30119
30227
|
|
package/dist/api.d.ts
CHANGED
|
@@ -7231,6 +7231,43 @@ export interface InlineObject {
|
|
|
7231
7231
|
*/
|
|
7232
7232
|
'user_id': string;
|
|
7233
7233
|
}
|
|
7234
|
+
/**
|
|
7235
|
+
*
|
|
7236
|
+
* @export
|
|
7237
|
+
* @interface InlineResponse200
|
|
7238
|
+
*/
|
|
7239
|
+
export interface InlineResponse200 {
|
|
7240
|
+
/**
|
|
7241
|
+
*
|
|
7242
|
+
* @type {Status}
|
|
7243
|
+
* @memberof InlineResponse200
|
|
7244
|
+
*/
|
|
7245
|
+
'environment'?: Status;
|
|
7246
|
+
/**
|
|
7247
|
+
*
|
|
7248
|
+
* @type {Array<Status>}
|
|
7249
|
+
* @memberof InlineResponse200
|
|
7250
|
+
*/
|
|
7251
|
+
'applications'?: Array<Status>;
|
|
7252
|
+
/**
|
|
7253
|
+
*
|
|
7254
|
+
* @type {Array<Status>}
|
|
7255
|
+
* @memberof InlineResponse200
|
|
7256
|
+
*/
|
|
7257
|
+
'containers'?: Array<Status>;
|
|
7258
|
+
/**
|
|
7259
|
+
*
|
|
7260
|
+
* @type {Array<Status>}
|
|
7261
|
+
* @memberof InlineResponse200
|
|
7262
|
+
*/
|
|
7263
|
+
'jobs'?: Array<Status>;
|
|
7264
|
+
/**
|
|
7265
|
+
*
|
|
7266
|
+
* @type {Array<Status>}
|
|
7267
|
+
* @memberof InlineResponse200
|
|
7268
|
+
*/
|
|
7269
|
+
'databases'?: Array<Status>;
|
|
7270
|
+
}
|
|
7234
7271
|
/**
|
|
7235
7272
|
*
|
|
7236
7273
|
* @export
|
|
@@ -20691,6 +20728,14 @@ export declare const EnvironmentMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
20691
20728
|
* @throws {RequiredError}
|
|
20692
20729
|
*/
|
|
20693
20730
|
getEnvironmentStatus: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20731
|
+
/**
|
|
20732
|
+
*
|
|
20733
|
+
* @summary Get environment statuses with services status
|
|
20734
|
+
* @param {string} environmentId Environment ID
|
|
20735
|
+
* @param {*} [options] Override http request option.
|
|
20736
|
+
* @throws {RequiredError}
|
|
20737
|
+
*/
|
|
20738
|
+
getEnvironmentStatuses: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
20694
20739
|
};
|
|
20695
20740
|
/**
|
|
20696
20741
|
* EnvironmentMainCallsApi - functional programming interface
|
|
@@ -20730,6 +20775,14 @@ export declare const EnvironmentMainCallsApiFp: (configuration?: Configuration)
|
|
|
20730
20775
|
* @throws {RequiredError}
|
|
20731
20776
|
*/
|
|
20732
20777
|
getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
20778
|
+
/**
|
|
20779
|
+
*
|
|
20780
|
+
* @summary Get environment statuses with services status
|
|
20781
|
+
* @param {string} environmentId Environment ID
|
|
20782
|
+
* @param {*} [options] Override http request option.
|
|
20783
|
+
* @throws {RequiredError}
|
|
20784
|
+
*/
|
|
20785
|
+
getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
20733
20786
|
};
|
|
20734
20787
|
/**
|
|
20735
20788
|
* EnvironmentMainCallsApi - factory interface
|
|
@@ -20769,6 +20822,14 @@ export declare const EnvironmentMainCallsApiFactory: (configuration?: Configurat
|
|
|
20769
20822
|
* @throws {RequiredError}
|
|
20770
20823
|
*/
|
|
20771
20824
|
getEnvironmentStatus(environmentId: string, options?: any): AxiosPromise<Status>;
|
|
20825
|
+
/**
|
|
20826
|
+
*
|
|
20827
|
+
* @summary Get environment statuses with services status
|
|
20828
|
+
* @param {string} environmentId Environment ID
|
|
20829
|
+
* @param {*} [options] Override http request option.
|
|
20830
|
+
* @throws {RequiredError}
|
|
20831
|
+
*/
|
|
20832
|
+
getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200>;
|
|
20772
20833
|
};
|
|
20773
20834
|
/**
|
|
20774
20835
|
* EnvironmentMainCallsApi - object-oriented interface
|
|
@@ -20814,6 +20875,15 @@ export declare class EnvironmentMainCallsApi extends BaseAPI {
|
|
|
20814
20875
|
* @memberof EnvironmentMainCallsApi
|
|
20815
20876
|
*/
|
|
20816
20877
|
getEnvironmentStatus(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
20878
|
+
/**
|
|
20879
|
+
*
|
|
20880
|
+
* @summary Get environment statuses with services status
|
|
20881
|
+
* @param {string} environmentId Environment ID
|
|
20882
|
+
* @param {*} [options] Override http request option.
|
|
20883
|
+
* @throws {RequiredError}
|
|
20884
|
+
* @memberof EnvironmentMainCallsApi
|
|
20885
|
+
*/
|
|
20886
|
+
getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200>>;
|
|
20817
20887
|
}
|
|
20818
20888
|
/**
|
|
20819
20889
|
* EnvironmentSecretApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -17282,6 +17282,38 @@ const EnvironmentMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
17282
17282
|
options: localVarRequestOptions,
|
|
17283
17283
|
};
|
|
17284
17284
|
}),
|
|
17285
|
+
/**
|
|
17286
|
+
*
|
|
17287
|
+
* @summary Get environment statuses with services status
|
|
17288
|
+
* @param {string} environmentId Environment ID
|
|
17289
|
+
* @param {*} [options] Override http request option.
|
|
17290
|
+
* @throws {RequiredError}
|
|
17291
|
+
*/
|
|
17292
|
+
getEnvironmentStatuses: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17293
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
17294
|
+
(0, common_1.assertParamExists)('getEnvironmentStatuses', 'environmentId', environmentId);
|
|
17295
|
+
const localVarPath = `/environment/{environmentId}/statuses`
|
|
17296
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17298
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17299
|
+
let baseOptions;
|
|
17300
|
+
if (configuration) {
|
|
17301
|
+
baseOptions = configuration.baseOptions;
|
|
17302
|
+
}
|
|
17303
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17304
|
+
const localVarHeaderParameter = {};
|
|
17305
|
+
const localVarQueryParameter = {};
|
|
17306
|
+
// authentication bearerAuth required
|
|
17307
|
+
// http bearer authentication required
|
|
17308
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17309
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17310
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17311
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17312
|
+
return {
|
|
17313
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17314
|
+
options: localVarRequestOptions,
|
|
17315
|
+
};
|
|
17316
|
+
}),
|
|
17285
17317
|
};
|
|
17286
17318
|
};
|
|
17287
17319
|
exports.EnvironmentMainCallsApiAxiosParamCreator = EnvironmentMainCallsApiAxiosParamCreator;
|
|
@@ -17345,6 +17377,19 @@ const EnvironmentMainCallsApiFp = function (configuration) {
|
|
|
17345
17377
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17346
17378
|
});
|
|
17347
17379
|
},
|
|
17380
|
+
/**
|
|
17381
|
+
*
|
|
17382
|
+
* @summary Get environment statuses with services status
|
|
17383
|
+
* @param {string} environmentId Environment ID
|
|
17384
|
+
* @param {*} [options] Override http request option.
|
|
17385
|
+
* @throws {RequiredError}
|
|
17386
|
+
*/
|
|
17387
|
+
getEnvironmentStatuses(environmentId, options) {
|
|
17388
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17389
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentStatuses(environmentId, options);
|
|
17390
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17391
|
+
});
|
|
17392
|
+
},
|
|
17348
17393
|
};
|
|
17349
17394
|
};
|
|
17350
17395
|
exports.EnvironmentMainCallsApiFp = EnvironmentMainCallsApiFp;
|
|
@@ -17396,6 +17441,16 @@ const EnvironmentMainCallsApiFactory = function (configuration, basePath, axios)
|
|
|
17396
17441
|
getEnvironmentStatus(environmentId, options) {
|
|
17397
17442
|
return localVarFp.getEnvironmentStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
17398
17443
|
},
|
|
17444
|
+
/**
|
|
17445
|
+
*
|
|
17446
|
+
* @summary Get environment statuses with services status
|
|
17447
|
+
* @param {string} environmentId Environment ID
|
|
17448
|
+
* @param {*} [options] Override http request option.
|
|
17449
|
+
* @throws {RequiredError}
|
|
17450
|
+
*/
|
|
17451
|
+
getEnvironmentStatuses(environmentId, options) {
|
|
17452
|
+
return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
|
|
17453
|
+
},
|
|
17399
17454
|
};
|
|
17400
17455
|
};
|
|
17401
17456
|
exports.EnvironmentMainCallsApiFactory = EnvironmentMainCallsApiFactory;
|
|
@@ -17451,6 +17506,17 @@ class EnvironmentMainCallsApi extends base_1.BaseAPI {
|
|
|
17451
17506
|
getEnvironmentStatus(environmentId, options) {
|
|
17452
17507
|
return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17453
17508
|
}
|
|
17509
|
+
/**
|
|
17510
|
+
*
|
|
17511
|
+
* @summary Get environment statuses with services status
|
|
17512
|
+
* @param {string} environmentId Environment ID
|
|
17513
|
+
* @param {*} [options] Override http request option.
|
|
17514
|
+
* @throws {RequiredError}
|
|
17515
|
+
* @memberof EnvironmentMainCallsApi
|
|
17516
|
+
*/
|
|
17517
|
+
getEnvironmentStatuses(environmentId, options) {
|
|
17518
|
+
return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatuses(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17519
|
+
}
|
|
17454
17520
|
}
|
|
17455
17521
|
exports.EnvironmentMainCallsApi = EnvironmentMainCallsApi;
|
|
17456
17522
|
/**
|