qovery-typescript-axios 1.1.159 → 1.1.160
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 +15 -7
- package/dist/api.d.ts +8 -4
- package/dist/api.js +14 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -32037,10 +32037,11 @@ export const EnvironmentLogsApiAxiosParamCreator = function (configuration?: Con
|
|
|
32037
32037
|
* This returns the last 1000 environment deployment logs v2
|
|
32038
32038
|
* @summary List environment deployment logs v2
|
|
32039
32039
|
* @param {string} environmentId Environment ID
|
|
32040
|
+
* @param {string} [version]
|
|
32040
32041
|
* @param {*} [options] Override http request option.
|
|
32041
32042
|
* @throws {RequiredError}
|
|
32042
32043
|
*/
|
|
32043
|
-
listEnvironmentLogs: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32044
|
+
listEnvironmentLogs: async (environmentId: string, version?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32044
32045
|
// verify required parameter 'environmentId' is not null or undefined
|
|
32045
32046
|
assertParamExists('listEnvironmentLogs', 'environmentId', environmentId)
|
|
32046
32047
|
const localVarPath = `/environment/{environmentId}/logs`
|
|
@@ -32060,6 +32061,10 @@ export const EnvironmentLogsApiAxiosParamCreator = function (configuration?: Con
|
|
|
32060
32061
|
// http bearer authentication required
|
|
32061
32062
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32062
32063
|
|
|
32064
|
+
if (version !== undefined) {
|
|
32065
|
+
localVarQueryParameter['version'] = version;
|
|
32066
|
+
}
|
|
32067
|
+
|
|
32063
32068
|
|
|
32064
32069
|
|
|
32065
32070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -32096,11 +32101,12 @@ export const EnvironmentLogsApiFp = function(configuration?: Configuration) {
|
|
|
32096
32101
|
* This returns the last 1000 environment deployment logs v2
|
|
32097
32102
|
* @summary List environment deployment logs v2
|
|
32098
32103
|
* @param {string} environmentId Environment ID
|
|
32104
|
+
* @param {string} [version]
|
|
32099
32105
|
* @param {*} [options] Override http request option.
|
|
32100
32106
|
* @throws {RequiredError}
|
|
32101
32107
|
*/
|
|
32102
|
-
async listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>> {
|
|
32103
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentLogs(environmentId, options);
|
|
32108
|
+
async listEnvironmentLogs(environmentId: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>> {
|
|
32109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentLogs(environmentId, version, options);
|
|
32104
32110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32105
32111
|
},
|
|
32106
32112
|
}
|
|
@@ -32127,11 +32133,12 @@ export const EnvironmentLogsApiFactory = function (configuration?: Configuration
|
|
|
32127
32133
|
* This returns the last 1000 environment deployment logs v2
|
|
32128
32134
|
* @summary List environment deployment logs v2
|
|
32129
32135
|
* @param {string} environmentId Environment ID
|
|
32136
|
+
* @param {string} [version]
|
|
32130
32137
|
* @param {*} [options] Override http request option.
|
|
32131
32138
|
* @throws {RequiredError}
|
|
32132
32139
|
*/
|
|
32133
|
-
listEnvironmentLogs(environmentId: string, options?: any): AxiosPromise<Array<EnvironmentLogs>> {
|
|
32134
|
-
return localVarFp.listEnvironmentLogs(environmentId, options).then((request) => request(axios, basePath));
|
|
32140
|
+
listEnvironmentLogs(environmentId: string, version?: string, options?: any): AxiosPromise<Array<EnvironmentLogs>> {
|
|
32141
|
+
return localVarFp.listEnvironmentLogs(environmentId, version, options).then((request) => request(axios, basePath));
|
|
32135
32142
|
},
|
|
32136
32143
|
};
|
|
32137
32144
|
};
|
|
@@ -32159,12 +32166,13 @@ export class EnvironmentLogsApi extends BaseAPI {
|
|
|
32159
32166
|
* This returns the last 1000 environment deployment logs v2
|
|
32160
32167
|
* @summary List environment deployment logs v2
|
|
32161
32168
|
* @param {string} environmentId Environment ID
|
|
32169
|
+
* @param {string} [version]
|
|
32162
32170
|
* @param {*} [options] Override http request option.
|
|
32163
32171
|
* @throws {RequiredError}
|
|
32164
32172
|
* @memberof EnvironmentLogsApi
|
|
32165
32173
|
*/
|
|
32166
|
-
public listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig) {
|
|
32167
|
-
return EnvironmentLogsApiFp(this.configuration).listEnvironmentLogs(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
32174
|
+
public listEnvironmentLogs(environmentId: string, version?: string, options?: AxiosRequestConfig) {
|
|
32175
|
+
return EnvironmentLogsApiFp(this.configuration).listEnvironmentLogs(environmentId, version, options).then((request) => request(this.axios, this.basePath));
|
|
32168
32176
|
}
|
|
32169
32177
|
}
|
|
32170
32178
|
|
package/dist/api.d.ts
CHANGED
|
@@ -22403,10 +22403,11 @@ export declare const EnvironmentLogsApiAxiosParamCreator: (configuration?: Confi
|
|
|
22403
22403
|
* This returns the last 1000 environment deployment logs v2
|
|
22404
22404
|
* @summary List environment deployment logs v2
|
|
22405
22405
|
* @param {string} environmentId Environment ID
|
|
22406
|
+
* @param {string} [version]
|
|
22406
22407
|
* @param {*} [options] Override http request option.
|
|
22407
22408
|
* @throws {RequiredError}
|
|
22408
22409
|
*/
|
|
22409
|
-
listEnvironmentLogs: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22410
|
+
listEnvironmentLogs: (environmentId: string, version?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22410
22411
|
};
|
|
22411
22412
|
/**
|
|
22412
22413
|
* EnvironmentLogsApi - functional programming interface
|
|
@@ -22425,10 +22426,11 @@ export declare const EnvironmentLogsApiFp: (configuration?: Configuration) => {
|
|
|
22425
22426
|
* This returns the last 1000 environment deployment logs v2
|
|
22426
22427
|
* @summary List environment deployment logs v2
|
|
22427
22428
|
* @param {string} environmentId Environment ID
|
|
22429
|
+
* @param {string} [version]
|
|
22428
22430
|
* @param {*} [options] Override http request option.
|
|
22429
22431
|
* @throws {RequiredError}
|
|
22430
22432
|
*/
|
|
22431
|
-
listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>>;
|
|
22433
|
+
listEnvironmentLogs(environmentId: string, version?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>>;
|
|
22432
22434
|
};
|
|
22433
22435
|
/**
|
|
22434
22436
|
* EnvironmentLogsApi - factory interface
|
|
@@ -22447,10 +22449,11 @@ export declare const EnvironmentLogsApiFactory: (configuration?: Configuration,
|
|
|
22447
22449
|
* This returns the last 1000 environment deployment logs v2
|
|
22448
22450
|
* @summary List environment deployment logs v2
|
|
22449
22451
|
* @param {string} environmentId Environment ID
|
|
22452
|
+
* @param {string} [version]
|
|
22450
22453
|
* @param {*} [options] Override http request option.
|
|
22451
22454
|
* @throws {RequiredError}
|
|
22452
22455
|
*/
|
|
22453
|
-
listEnvironmentLogs(environmentId: string, options?: any): AxiosPromise<Array<EnvironmentLogs>>;
|
|
22456
|
+
listEnvironmentLogs(environmentId: string, version?: string, options?: any): AxiosPromise<Array<EnvironmentLogs>>;
|
|
22454
22457
|
};
|
|
22455
22458
|
/**
|
|
22456
22459
|
* EnvironmentLogsApi - object-oriented interface
|
|
@@ -22472,11 +22475,12 @@ export declare class EnvironmentLogsApi extends BaseAPI {
|
|
|
22472
22475
|
* This returns the last 1000 environment deployment logs v2
|
|
22473
22476
|
* @summary List environment deployment logs v2
|
|
22474
22477
|
* @param {string} environmentId Environment ID
|
|
22478
|
+
* @param {string} [version]
|
|
22475
22479
|
* @param {*} [options] Override http request option.
|
|
22476
22480
|
* @throws {RequiredError}
|
|
22477
22481
|
* @memberof EnvironmentLogsApi
|
|
22478
22482
|
*/
|
|
22479
|
-
listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentLogs[]>>;
|
|
22483
|
+
listEnvironmentLogs(environmentId: string, version?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentLogs[]>>;
|
|
22480
22484
|
}
|
|
22481
22485
|
/**
|
|
22482
22486
|
* EnvironmentMainCallsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -18078,10 +18078,11 @@ const EnvironmentLogsApiAxiosParamCreator = function (configuration) {
|
|
|
18078
18078
|
* This returns the last 1000 environment deployment logs v2
|
|
18079
18079
|
* @summary List environment deployment logs v2
|
|
18080
18080
|
* @param {string} environmentId Environment ID
|
|
18081
|
+
* @param {string} [version]
|
|
18081
18082
|
* @param {*} [options] Override http request option.
|
|
18082
18083
|
* @throws {RequiredError}
|
|
18083
18084
|
*/
|
|
18084
|
-
listEnvironmentLogs: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
18085
|
+
listEnvironmentLogs: (environmentId, version, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
18085
18086
|
// verify required parameter 'environmentId' is not null or undefined
|
|
18086
18087
|
(0, common_1.assertParamExists)('listEnvironmentLogs', 'environmentId', environmentId);
|
|
18087
18088
|
const localVarPath = `/environment/{environmentId}/logs`
|
|
@@ -18098,6 +18099,9 @@ const EnvironmentLogsApiAxiosParamCreator = function (configuration) {
|
|
|
18098
18099
|
// authentication bearerAuth required
|
|
18099
18100
|
// http bearer authentication required
|
|
18100
18101
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18102
|
+
if (version !== undefined) {
|
|
18103
|
+
localVarQueryParameter['version'] = version;
|
|
18104
|
+
}
|
|
18101
18105
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18102
18106
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18103
18107
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -18133,12 +18137,13 @@ const EnvironmentLogsApiFp = function (configuration) {
|
|
|
18133
18137
|
* This returns the last 1000 environment deployment logs v2
|
|
18134
18138
|
* @summary List environment deployment logs v2
|
|
18135
18139
|
* @param {string} environmentId Environment ID
|
|
18140
|
+
* @param {string} [version]
|
|
18136
18141
|
* @param {*} [options] Override http request option.
|
|
18137
18142
|
* @throws {RequiredError}
|
|
18138
18143
|
*/
|
|
18139
|
-
listEnvironmentLogs(environmentId, options) {
|
|
18144
|
+
listEnvironmentLogs(environmentId, version, options) {
|
|
18140
18145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18141
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentLogs(environmentId, options);
|
|
18146
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentLogs(environmentId, version, options);
|
|
18142
18147
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18143
18148
|
});
|
|
18144
18149
|
},
|
|
@@ -18166,11 +18171,12 @@ const EnvironmentLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
18166
18171
|
* This returns the last 1000 environment deployment logs v2
|
|
18167
18172
|
* @summary List environment deployment logs v2
|
|
18168
18173
|
* @param {string} environmentId Environment ID
|
|
18174
|
+
* @param {string} [version]
|
|
18169
18175
|
* @param {*} [options] Override http request option.
|
|
18170
18176
|
* @throws {RequiredError}
|
|
18171
18177
|
*/
|
|
18172
|
-
listEnvironmentLogs(environmentId, options) {
|
|
18173
|
-
return localVarFp.listEnvironmentLogs(environmentId, options).then((request) => request(axios, basePath));
|
|
18178
|
+
listEnvironmentLogs(environmentId, version, options) {
|
|
18179
|
+
return localVarFp.listEnvironmentLogs(environmentId, version, options).then((request) => request(axios, basePath));
|
|
18174
18180
|
},
|
|
18175
18181
|
};
|
|
18176
18182
|
};
|
|
@@ -18197,12 +18203,13 @@ class EnvironmentLogsApi extends base_1.BaseAPI {
|
|
|
18197
18203
|
* This returns the last 1000 environment deployment logs v2
|
|
18198
18204
|
* @summary List environment deployment logs v2
|
|
18199
18205
|
* @param {string} environmentId Environment ID
|
|
18206
|
+
* @param {string} [version]
|
|
18200
18207
|
* @param {*} [options] Override http request option.
|
|
18201
18208
|
* @throws {RequiredError}
|
|
18202
18209
|
* @memberof EnvironmentLogsApi
|
|
18203
18210
|
*/
|
|
18204
|
-
listEnvironmentLogs(environmentId, options) {
|
|
18205
|
-
return (0, exports.EnvironmentLogsApiFp)(this.configuration).listEnvironmentLogs(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
18211
|
+
listEnvironmentLogs(environmentId, version, options) {
|
|
18212
|
+
return (0, exports.EnvironmentLogsApiFp)(this.configuration).listEnvironmentLogs(environmentId, version, options).then((request) => request(this.axios, this.basePath));
|
|
18206
18213
|
}
|
|
18207
18214
|
}
|
|
18208
18215
|
exports.EnvironmentLogsApi = EnvironmentLogsApi;
|