qovery-typescript-axios 1.1.158 → 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 +33 -31
- package/dist/api.d.ts +26 -28
- package/dist/api.js +14 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -11483,6 +11483,12 @@ export interface ProbeTypeGrpc {
|
|
|
11483
11483
|
* @memberof ProbeTypeGrpc
|
|
11484
11484
|
*/
|
|
11485
11485
|
'service'?: string | null;
|
|
11486
|
+
/**
|
|
11487
|
+
*
|
|
11488
|
+
* @type {number}
|
|
11489
|
+
* @memberof ProbeTypeGrpc
|
|
11490
|
+
*/
|
|
11491
|
+
'port'?: number;
|
|
11486
11492
|
}
|
|
11487
11493
|
/**
|
|
11488
11494
|
*
|
|
@@ -11502,6 +11508,12 @@ export interface ProbeTypeHttp {
|
|
|
11502
11508
|
* @memberof ProbeTypeHttp
|
|
11503
11509
|
*/
|
|
11504
11510
|
'scheme'?: string;
|
|
11511
|
+
/**
|
|
11512
|
+
*
|
|
11513
|
+
* @type {number}
|
|
11514
|
+
* @memberof ProbeTypeHttp
|
|
11515
|
+
*/
|
|
11516
|
+
'port'?: number;
|
|
11505
11517
|
}
|
|
11506
11518
|
/**
|
|
11507
11519
|
*
|
|
@@ -11509,6 +11521,12 @@ export interface ProbeTypeHttp {
|
|
|
11509
11521
|
* @interface ProbeTypeTcp
|
|
11510
11522
|
*/
|
|
11511
11523
|
export interface ProbeTypeTcp {
|
|
11524
|
+
/**
|
|
11525
|
+
*
|
|
11526
|
+
* @type {number}
|
|
11527
|
+
* @memberof ProbeTypeTcp
|
|
11528
|
+
*/
|
|
11529
|
+
'port'?: number;
|
|
11512
11530
|
/**
|
|
11513
11531
|
*
|
|
11514
11532
|
* @type {string}
|
|
@@ -12588,18 +12606,6 @@ export interface ServicePort {
|
|
|
12588
12606
|
* @memberof ServicePort
|
|
12589
12607
|
*/
|
|
12590
12608
|
'is_default'?: boolean;
|
|
12591
|
-
/**
|
|
12592
|
-
* is port to use for probe readiness check
|
|
12593
|
-
* @type {boolean}
|
|
12594
|
-
* @memberof ServicePort
|
|
12595
|
-
*/
|
|
12596
|
-
'has_readiness_probe'?: boolean;
|
|
12597
|
-
/**
|
|
12598
|
-
* is port to use for probe liveness check
|
|
12599
|
-
* @type {boolean}
|
|
12600
|
-
* @memberof ServicePort
|
|
12601
|
-
*/
|
|
12602
|
-
'has_liveness_probe'?: boolean;
|
|
12603
12609
|
/**
|
|
12604
12610
|
*
|
|
12605
12611
|
* @type {PortProtocolEnum}
|
|
@@ -12656,18 +12662,6 @@ export interface ServicePortRequestPorts {
|
|
|
12656
12662
|
* @memberof ServicePortRequestPorts
|
|
12657
12663
|
*/
|
|
12658
12664
|
'is_default'?: boolean;
|
|
12659
|
-
/**
|
|
12660
|
-
* is port to use for probe readiness check
|
|
12661
|
-
* @type {boolean}
|
|
12662
|
-
* @memberof ServicePortRequestPorts
|
|
12663
|
-
*/
|
|
12664
|
-
'has_readiness_probe'?: boolean;
|
|
12665
|
-
/**
|
|
12666
|
-
* is port to use for probe liveness check
|
|
12667
|
-
* @type {boolean}
|
|
12668
|
-
* @memberof ServicePortRequestPorts
|
|
12669
|
-
*/
|
|
12670
|
-
'has_liveness_probe'?: boolean;
|
|
12671
12665
|
/**
|
|
12672
12666
|
*
|
|
12673
12667
|
* @type {PortProtocolEnum}
|
|
@@ -32043,10 +32037,11 @@ export const EnvironmentLogsApiAxiosParamCreator = function (configuration?: Con
|
|
|
32043
32037
|
* This returns the last 1000 environment deployment logs v2
|
|
32044
32038
|
* @summary List environment deployment logs v2
|
|
32045
32039
|
* @param {string} environmentId Environment ID
|
|
32040
|
+
* @param {string} [version]
|
|
32046
32041
|
* @param {*} [options] Override http request option.
|
|
32047
32042
|
* @throws {RequiredError}
|
|
32048
32043
|
*/
|
|
32049
|
-
listEnvironmentLogs: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32044
|
+
listEnvironmentLogs: async (environmentId: string, version?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32050
32045
|
// verify required parameter 'environmentId' is not null or undefined
|
|
32051
32046
|
assertParamExists('listEnvironmentLogs', 'environmentId', environmentId)
|
|
32052
32047
|
const localVarPath = `/environment/{environmentId}/logs`
|
|
@@ -32066,6 +32061,10 @@ export const EnvironmentLogsApiAxiosParamCreator = function (configuration?: Con
|
|
|
32066
32061
|
// http bearer authentication required
|
|
32067
32062
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32068
32063
|
|
|
32064
|
+
if (version !== undefined) {
|
|
32065
|
+
localVarQueryParameter['version'] = version;
|
|
32066
|
+
}
|
|
32067
|
+
|
|
32069
32068
|
|
|
32070
32069
|
|
|
32071
32070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -32102,11 +32101,12 @@ export const EnvironmentLogsApiFp = function(configuration?: Configuration) {
|
|
|
32102
32101
|
* This returns the last 1000 environment deployment logs v2
|
|
32103
32102
|
* @summary List environment deployment logs v2
|
|
32104
32103
|
* @param {string} environmentId Environment ID
|
|
32104
|
+
* @param {string} [version]
|
|
32105
32105
|
* @param {*} [options] Override http request option.
|
|
32106
32106
|
* @throws {RequiredError}
|
|
32107
32107
|
*/
|
|
32108
|
-
async listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EnvironmentLogs>>> {
|
|
32109
|
-
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);
|
|
32110
32110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32111
32111
|
},
|
|
32112
32112
|
}
|
|
@@ -32133,11 +32133,12 @@ export const EnvironmentLogsApiFactory = function (configuration?: Configuration
|
|
|
32133
32133
|
* This returns the last 1000 environment deployment logs v2
|
|
32134
32134
|
* @summary List environment deployment logs v2
|
|
32135
32135
|
* @param {string} environmentId Environment ID
|
|
32136
|
+
* @param {string} [version]
|
|
32136
32137
|
* @param {*} [options] Override http request option.
|
|
32137
32138
|
* @throws {RequiredError}
|
|
32138
32139
|
*/
|
|
32139
|
-
listEnvironmentLogs(environmentId: string, options?: any): AxiosPromise<Array<EnvironmentLogs>> {
|
|
32140
|
-
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));
|
|
32141
32142
|
},
|
|
32142
32143
|
};
|
|
32143
32144
|
};
|
|
@@ -32165,12 +32166,13 @@ export class EnvironmentLogsApi extends BaseAPI {
|
|
|
32165
32166
|
* This returns the last 1000 environment deployment logs v2
|
|
32166
32167
|
* @summary List environment deployment logs v2
|
|
32167
32168
|
* @param {string} environmentId Environment ID
|
|
32169
|
+
* @param {string} [version]
|
|
32168
32170
|
* @param {*} [options] Override http request option.
|
|
32169
32171
|
* @throws {RequiredError}
|
|
32170
32172
|
* @memberof EnvironmentLogsApi
|
|
32171
32173
|
*/
|
|
32172
|
-
public listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig) {
|
|
32173
|
-
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));
|
|
32174
32176
|
}
|
|
32175
32177
|
}
|
|
32176
32178
|
|
package/dist/api.d.ts
CHANGED
|
@@ -11394,6 +11394,12 @@ export interface ProbeTypeGrpc {
|
|
|
11394
11394
|
* @memberof ProbeTypeGrpc
|
|
11395
11395
|
*/
|
|
11396
11396
|
'service'?: string | null;
|
|
11397
|
+
/**
|
|
11398
|
+
*
|
|
11399
|
+
* @type {number}
|
|
11400
|
+
* @memberof ProbeTypeGrpc
|
|
11401
|
+
*/
|
|
11402
|
+
'port'?: number;
|
|
11397
11403
|
}
|
|
11398
11404
|
/**
|
|
11399
11405
|
*
|
|
@@ -11413,6 +11419,12 @@ export interface ProbeTypeHttp {
|
|
|
11413
11419
|
* @memberof ProbeTypeHttp
|
|
11414
11420
|
*/
|
|
11415
11421
|
'scheme'?: string;
|
|
11422
|
+
/**
|
|
11423
|
+
*
|
|
11424
|
+
* @type {number}
|
|
11425
|
+
* @memberof ProbeTypeHttp
|
|
11426
|
+
*/
|
|
11427
|
+
'port'?: number;
|
|
11416
11428
|
}
|
|
11417
11429
|
/**
|
|
11418
11430
|
*
|
|
@@ -11420,6 +11432,12 @@ export interface ProbeTypeHttp {
|
|
|
11420
11432
|
* @interface ProbeTypeTcp
|
|
11421
11433
|
*/
|
|
11422
11434
|
export interface ProbeTypeTcp {
|
|
11435
|
+
/**
|
|
11436
|
+
*
|
|
11437
|
+
* @type {number}
|
|
11438
|
+
* @memberof ProbeTypeTcp
|
|
11439
|
+
*/
|
|
11440
|
+
'port'?: number;
|
|
11423
11441
|
/**
|
|
11424
11442
|
*
|
|
11425
11443
|
* @type {string}
|
|
@@ -12495,18 +12513,6 @@ export interface ServicePort {
|
|
|
12495
12513
|
* @memberof ServicePort
|
|
12496
12514
|
*/
|
|
12497
12515
|
'is_default'?: boolean;
|
|
12498
|
-
/**
|
|
12499
|
-
* is port to use for probe readiness check
|
|
12500
|
-
* @type {boolean}
|
|
12501
|
-
* @memberof ServicePort
|
|
12502
|
-
*/
|
|
12503
|
-
'has_readiness_probe'?: boolean;
|
|
12504
|
-
/**
|
|
12505
|
-
* is port to use for probe liveness check
|
|
12506
|
-
* @type {boolean}
|
|
12507
|
-
* @memberof ServicePort
|
|
12508
|
-
*/
|
|
12509
|
-
'has_liveness_probe'?: boolean;
|
|
12510
12516
|
/**
|
|
12511
12517
|
*
|
|
12512
12518
|
* @type {PortProtocolEnum}
|
|
@@ -12563,18 +12569,6 @@ export interface ServicePortRequestPorts {
|
|
|
12563
12569
|
* @memberof ServicePortRequestPorts
|
|
12564
12570
|
*/
|
|
12565
12571
|
'is_default'?: boolean;
|
|
12566
|
-
/**
|
|
12567
|
-
* is port to use for probe readiness check
|
|
12568
|
-
* @type {boolean}
|
|
12569
|
-
* @memberof ServicePortRequestPorts
|
|
12570
|
-
*/
|
|
12571
|
-
'has_readiness_probe'?: boolean;
|
|
12572
|
-
/**
|
|
12573
|
-
* is port to use for probe liveness check
|
|
12574
|
-
* @type {boolean}
|
|
12575
|
-
* @memberof ServicePortRequestPorts
|
|
12576
|
-
*/
|
|
12577
|
-
'has_liveness_probe'?: boolean;
|
|
12578
12572
|
/**
|
|
12579
12573
|
*
|
|
12580
12574
|
* @type {PortProtocolEnum}
|
|
@@ -22409,10 +22403,11 @@ export declare const EnvironmentLogsApiAxiosParamCreator: (configuration?: Confi
|
|
|
22409
22403
|
* This returns the last 1000 environment deployment logs v2
|
|
22410
22404
|
* @summary List environment deployment logs v2
|
|
22411
22405
|
* @param {string} environmentId Environment ID
|
|
22406
|
+
* @param {string} [version]
|
|
22412
22407
|
* @param {*} [options] Override http request option.
|
|
22413
22408
|
* @throws {RequiredError}
|
|
22414
22409
|
*/
|
|
22415
|
-
listEnvironmentLogs: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22410
|
+
listEnvironmentLogs: (environmentId: string, version?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22416
22411
|
};
|
|
22417
22412
|
/**
|
|
22418
22413
|
* EnvironmentLogsApi - functional programming interface
|
|
@@ -22431,10 +22426,11 @@ export declare const EnvironmentLogsApiFp: (configuration?: Configuration) => {
|
|
|
22431
22426
|
* This returns the last 1000 environment deployment logs v2
|
|
22432
22427
|
* @summary List environment deployment logs v2
|
|
22433
22428
|
* @param {string} environmentId Environment ID
|
|
22429
|
+
* @param {string} [version]
|
|
22434
22430
|
* @param {*} [options] Override http request option.
|
|
22435
22431
|
* @throws {RequiredError}
|
|
22436
22432
|
*/
|
|
22437
|
-
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>>>;
|
|
22438
22434
|
};
|
|
22439
22435
|
/**
|
|
22440
22436
|
* EnvironmentLogsApi - factory interface
|
|
@@ -22453,10 +22449,11 @@ export declare const EnvironmentLogsApiFactory: (configuration?: Configuration,
|
|
|
22453
22449
|
* This returns the last 1000 environment deployment logs v2
|
|
22454
22450
|
* @summary List environment deployment logs v2
|
|
22455
22451
|
* @param {string} environmentId Environment ID
|
|
22452
|
+
* @param {string} [version]
|
|
22456
22453
|
* @param {*} [options] Override http request option.
|
|
22457
22454
|
* @throws {RequiredError}
|
|
22458
22455
|
*/
|
|
22459
|
-
listEnvironmentLogs(environmentId: string, options?: any): AxiosPromise<Array<EnvironmentLogs>>;
|
|
22456
|
+
listEnvironmentLogs(environmentId: string, version?: string, options?: any): AxiosPromise<Array<EnvironmentLogs>>;
|
|
22460
22457
|
};
|
|
22461
22458
|
/**
|
|
22462
22459
|
* EnvironmentLogsApi - object-oriented interface
|
|
@@ -22478,11 +22475,12 @@ export declare class EnvironmentLogsApi extends BaseAPI {
|
|
|
22478
22475
|
* This returns the last 1000 environment deployment logs v2
|
|
22479
22476
|
* @summary List environment deployment logs v2
|
|
22480
22477
|
* @param {string} environmentId Environment ID
|
|
22478
|
+
* @param {string} [version]
|
|
22481
22479
|
* @param {*} [options] Override http request option.
|
|
22482
22480
|
* @throws {RequiredError}
|
|
22483
22481
|
* @memberof EnvironmentLogsApi
|
|
22484
22482
|
*/
|
|
22485
|
-
listEnvironmentLogs(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentLogs[]>>;
|
|
22483
|
+
listEnvironmentLogs(environmentId: string, version?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentLogs[]>>;
|
|
22486
22484
|
}
|
|
22487
22485
|
/**
|
|
22488
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;
|