qovery-ws-typescript-axios 0.1.378 → 0.1.380
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 -8
- package/dist/api.d.ts +8 -4
- package/dist/api.js +15 -8
- package/dist/esm/api.d.ts +8 -4
- package/dist/esm/api.js +15 -8
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2400,10 +2400,11 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2400
2400
|
* @param {string | null} deploymentId
|
|
2401
2401
|
* @param {string | null} query
|
|
2402
2402
|
* @param {string | null} start
|
|
2403
|
+
* @param {number | null} limit
|
|
2403
2404
|
* @param {*} [options] Override http request option.
|
|
2404
2405
|
* @throws {RequiredError}
|
|
2405
2406
|
*/
|
|
2406
|
-
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2407
|
+
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2407
2408
|
// verify required parameter 'organization' is not null or undefined
|
|
2408
2409
|
assertParamExists('handleServiceLogsRequest', 'organization', organization)
|
|
2409
2410
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -2422,6 +2423,8 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2422
2423
|
assertParamExists('handleServiceLogsRequest', 'query', query)
|
|
2423
2424
|
// verify required parameter 'start' is not null or undefined
|
|
2424
2425
|
assertParamExists('handleServiceLogsRequest', 'start', start)
|
|
2426
|
+
// verify required parameter 'limit' is not null or undefined
|
|
2427
|
+
assertParamExists('handleServiceLogsRequest', 'limit', limit)
|
|
2425
2428
|
const localVarPath = `/service/logs`
|
|
2426
2429
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
2427
2430
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
@@ -2431,7 +2434,8 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2431
2434
|
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
2432
2435
|
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
2433
2436
|
.replace(`{${"query"}}`, encodeURIComponent(String(query)))
|
|
2434
|
-
.replace(`{${"start"}}`, encodeURIComponent(String(start)))
|
|
2437
|
+
.replace(`{${"start"}}`, encodeURIComponent(String(start)))
|
|
2438
|
+
.replace(`{${"limit"}}`, encodeURIComponent(String(limit)));
|
|
2435
2439
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2436
2440
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2437
2441
|
let baseOptions;
|
|
@@ -2492,11 +2496,12 @@ export const LogsApiFp = function(configuration?: Configuration) {
|
|
|
2492
2496
|
* @param {string | null} deploymentId
|
|
2493
2497
|
* @param {string | null} query
|
|
2494
2498
|
* @param {string | null} start
|
|
2499
|
+
* @param {number | null} limit
|
|
2495
2500
|
* @param {*} [options] Override http request option.
|
|
2496
2501
|
* @throws {RequiredError}
|
|
2497
2502
|
*/
|
|
2498
|
-
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
2499
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options);
|
|
2503
|
+
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
2504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options);
|
|
2500
2505
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2501
2506
|
const localVarOperationServerBasePath = operationServerMap['LogsApi.handleServiceLogsRequest']?.[localVarOperationServerIndex]?.url;
|
|
2502
2507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2536,11 +2541,12 @@ export const LogsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2536
2541
|
* @param {string | null} deploymentId
|
|
2537
2542
|
* @param {string | null} query
|
|
2538
2543
|
* @param {string | null} start
|
|
2544
|
+
* @param {number | null} limit
|
|
2539
2545
|
* @param {*} [options] Override http request option.
|
|
2540
2546
|
* @throws {RequiredError}
|
|
2541
2547
|
*/
|
|
2542
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
|
|
2543
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(axios, basePath));
|
|
2548
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
|
|
2549
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
|
|
2544
2550
|
},
|
|
2545
2551
|
};
|
|
2546
2552
|
};
|
|
@@ -2579,12 +2585,13 @@ export class LogsApi extends BaseAPI {
|
|
|
2579
2585
|
* @param {string | null} deploymentId
|
|
2580
2586
|
* @param {string | null} query
|
|
2581
2587
|
* @param {string | null} start
|
|
2588
|
+
* @param {number | null} limit
|
|
2582
2589
|
* @param {*} [options] Override http request option.
|
|
2583
2590
|
* @throws {RequiredError}
|
|
2584
2591
|
* @memberof LogsApi
|
|
2585
2592
|
*/
|
|
2586
|
-
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig) {
|
|
2587
|
-
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(this.axios, this.basePath));
|
|
2593
|
+
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) {
|
|
2594
|
+
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
|
|
2588
2595
|
}
|
|
2589
2596
|
}
|
|
2590
2597
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2044,10 +2044,11 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2044
2044
|
* @param {string | null} deploymentId
|
|
2045
2045
|
* @param {string | null} query
|
|
2046
2046
|
* @param {string | null} start
|
|
2047
|
+
* @param {number | null} limit
|
|
2047
2048
|
* @param {*} [options] Override http request option.
|
|
2048
2049
|
* @throws {RequiredError}
|
|
2049
2050
|
*/
|
|
2050
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2051
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2051
2052
|
};
|
|
2052
2053
|
/**
|
|
2053
2054
|
* LogsApi - functional programming interface
|
|
@@ -2077,10 +2078,11 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
2077
2078
|
* @param {string | null} deploymentId
|
|
2078
2079
|
* @param {string | null} query
|
|
2079
2080
|
* @param {string | null} start
|
|
2081
|
+
* @param {number | null} limit
|
|
2080
2082
|
* @param {*} [options] Override http request option.
|
|
2081
2083
|
* @throws {RequiredError}
|
|
2082
2084
|
*/
|
|
2083
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2085
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2084
2086
|
};
|
|
2085
2087
|
/**
|
|
2086
2088
|
* LogsApi - factory interface
|
|
@@ -2110,10 +2112,11 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2110
2112
|
* @param {string | null} deploymentId
|
|
2111
2113
|
* @param {string | null} query
|
|
2112
2114
|
* @param {string | null} start
|
|
2115
|
+
* @param {number | null} limit
|
|
2113
2116
|
* @param {*} [options] Override http request option.
|
|
2114
2117
|
* @throws {RequiredError}
|
|
2115
2118
|
*/
|
|
2116
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2119
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2117
2120
|
};
|
|
2118
2121
|
/**
|
|
2119
2122
|
* LogsApi - object-oriented interface
|
|
@@ -2146,11 +2149,12 @@ export declare class LogsApi extends BaseAPI {
|
|
|
2146
2149
|
* @param {string | null} deploymentId
|
|
2147
2150
|
* @param {string | null} query
|
|
2148
2151
|
* @param {string | null} start
|
|
2152
|
+
* @param {number | null} limit
|
|
2149
2153
|
* @param {*} [options] Override http request option.
|
|
2150
2154
|
* @throws {RequiredError}
|
|
2151
2155
|
* @memberof LogsApi
|
|
2152
2156
|
*/
|
|
2153
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
|
|
2157
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
|
|
2154
2158
|
}
|
|
2155
2159
|
/**
|
|
2156
2160
|
* RemoteDebugApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -729,10 +729,11 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
729
729
|
* @param {string | null} deploymentId
|
|
730
730
|
* @param {string | null} query
|
|
731
731
|
* @param {string | null} start
|
|
732
|
+
* @param {number | null} limit
|
|
732
733
|
* @param {*} [options] Override http request option.
|
|
733
734
|
* @throws {RequiredError}
|
|
734
735
|
*/
|
|
735
|
-
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, options = {}) {
|
|
736
|
+
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options = {}) {
|
|
736
737
|
// verify required parameter 'organization' is not null or undefined
|
|
737
738
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'organization', organization);
|
|
738
739
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -751,6 +752,8 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
751
752
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'query', query);
|
|
752
753
|
// verify required parameter 'start' is not null or undefined
|
|
753
754
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'start', start);
|
|
755
|
+
// verify required parameter 'limit' is not null or undefined
|
|
756
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'limit', limit);
|
|
754
757
|
const localVarPath = `/service/logs`
|
|
755
758
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
756
759
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
@@ -760,7 +763,8 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
760
763
|
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
761
764
|
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
762
765
|
.replace(`{${"query"}}`, encodeURIComponent(String(query)))
|
|
763
|
-
.replace(`{${"start"}}`, encodeURIComponent(String(start)))
|
|
766
|
+
.replace(`{${"start"}}`, encodeURIComponent(String(start)))
|
|
767
|
+
.replace(`{${"limit"}}`, encodeURIComponent(String(limit)));
|
|
764
768
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
765
769
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
766
770
|
let baseOptions;
|
|
@@ -819,13 +823,14 @@ const LogsApiFp = function (configuration) {
|
|
|
819
823
|
* @param {string | null} deploymentId
|
|
820
824
|
* @param {string | null} query
|
|
821
825
|
* @param {string | null} start
|
|
826
|
+
* @param {number | null} limit
|
|
822
827
|
* @param {*} [options] Override http request option.
|
|
823
828
|
* @throws {RequiredError}
|
|
824
829
|
*/
|
|
825
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
830
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
|
|
826
831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
827
832
|
var _a, _b, _c;
|
|
828
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options);
|
|
833
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options);
|
|
829
834
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
830
835
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
831
836
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -866,11 +871,12 @@ const LogsApiFactory = function (configuration, basePath, axios) {
|
|
|
866
871
|
* @param {string | null} deploymentId
|
|
867
872
|
* @param {string | null} query
|
|
868
873
|
* @param {string | null} start
|
|
874
|
+
* @param {number | null} limit
|
|
869
875
|
* @param {*} [options] Override http request option.
|
|
870
876
|
* @throws {RequiredError}
|
|
871
877
|
*/
|
|
872
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
873
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(axios, basePath));
|
|
878
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
|
|
879
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
|
|
874
880
|
},
|
|
875
881
|
};
|
|
876
882
|
};
|
|
@@ -908,12 +914,13 @@ class LogsApi extends base_1.BaseAPI {
|
|
|
908
914
|
* @param {string | null} deploymentId
|
|
909
915
|
* @param {string | null} query
|
|
910
916
|
* @param {string | null} start
|
|
917
|
+
* @param {number | null} limit
|
|
911
918
|
* @param {*} [options] Override http request option.
|
|
912
919
|
* @throws {RequiredError}
|
|
913
920
|
* @memberof LogsApi
|
|
914
921
|
*/
|
|
915
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
916
|
-
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(this.axios, this.basePath));
|
|
922
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
|
|
923
|
+
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
|
|
917
924
|
}
|
|
918
925
|
}
|
|
919
926
|
exports.LogsApi = LogsApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2044,10 +2044,11 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2044
2044
|
* @param {string | null} deploymentId
|
|
2045
2045
|
* @param {string | null} query
|
|
2046
2046
|
* @param {string | null} start
|
|
2047
|
+
* @param {number | null} limit
|
|
2047
2048
|
* @param {*} [options] Override http request option.
|
|
2048
2049
|
* @throws {RequiredError}
|
|
2049
2050
|
*/
|
|
2050
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2051
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2051
2052
|
};
|
|
2052
2053
|
/**
|
|
2053
2054
|
* LogsApi - functional programming interface
|
|
@@ -2077,10 +2078,11 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
2077
2078
|
* @param {string | null} deploymentId
|
|
2078
2079
|
* @param {string | null} query
|
|
2079
2080
|
* @param {string | null} start
|
|
2081
|
+
* @param {number | null} limit
|
|
2080
2082
|
* @param {*} [options] Override http request option.
|
|
2081
2083
|
* @throws {RequiredError}
|
|
2082
2084
|
*/
|
|
2083
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2085
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2084
2086
|
};
|
|
2085
2087
|
/**
|
|
2086
2088
|
* LogsApi - factory interface
|
|
@@ -2110,10 +2112,11 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2110
2112
|
* @param {string | null} deploymentId
|
|
2111
2113
|
* @param {string | null} query
|
|
2112
2114
|
* @param {string | null} start
|
|
2115
|
+
* @param {number | null} limit
|
|
2113
2116
|
* @param {*} [options] Override http request option.
|
|
2114
2117
|
* @throws {RequiredError}
|
|
2115
2118
|
*/
|
|
2116
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2119
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2117
2120
|
};
|
|
2118
2121
|
/**
|
|
2119
2122
|
* LogsApi - object-oriented interface
|
|
@@ -2146,11 +2149,12 @@ export declare class LogsApi extends BaseAPI {
|
|
|
2146
2149
|
* @param {string | null} deploymentId
|
|
2147
2150
|
* @param {string | null} query
|
|
2148
2151
|
* @param {string | null} start
|
|
2152
|
+
* @param {number | null} limit
|
|
2149
2153
|
* @param {*} [options] Override http request option.
|
|
2150
2154
|
* @throws {RequiredError}
|
|
2151
2155
|
* @memberof LogsApi
|
|
2152
2156
|
*/
|
|
2153
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
|
|
2157
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
|
|
2154
2158
|
}
|
|
2155
2159
|
/**
|
|
2156
2160
|
* RemoteDebugApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -710,10 +710,11 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
710
710
|
* @param {string | null} deploymentId
|
|
711
711
|
* @param {string | null} query
|
|
712
712
|
* @param {string | null} start
|
|
713
|
+
* @param {number | null} limit
|
|
713
714
|
* @param {*} [options] Override http request option.
|
|
714
715
|
* @throws {RequiredError}
|
|
715
716
|
*/
|
|
716
|
-
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, options = {}) {
|
|
717
|
+
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options = {}) {
|
|
717
718
|
// verify required parameter 'organization' is not null or undefined
|
|
718
719
|
assertParamExists('handleServiceLogsRequest', 'organization', organization);
|
|
719
720
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -732,6 +733,8 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
732
733
|
assertParamExists('handleServiceLogsRequest', 'query', query);
|
|
733
734
|
// verify required parameter 'start' is not null or undefined
|
|
734
735
|
assertParamExists('handleServiceLogsRequest', 'start', start);
|
|
736
|
+
// verify required parameter 'limit' is not null or undefined
|
|
737
|
+
assertParamExists('handleServiceLogsRequest', 'limit', limit);
|
|
735
738
|
const localVarPath = `/service/logs`
|
|
736
739
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
737
740
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
@@ -741,7 +744,8 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
741
744
|
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
742
745
|
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
|
|
743
746
|
.replace(`{${"query"}}`, encodeURIComponent(String(query)))
|
|
744
|
-
.replace(`{${"start"}}`, encodeURIComponent(String(start)))
|
|
747
|
+
.replace(`{${"start"}}`, encodeURIComponent(String(start)))
|
|
748
|
+
.replace(`{${"limit"}}`, encodeURIComponent(String(limit)));
|
|
745
749
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
746
750
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
747
751
|
let baseOptions;
|
|
@@ -799,13 +803,14 @@ export const LogsApiFp = function (configuration) {
|
|
|
799
803
|
* @param {string | null} deploymentId
|
|
800
804
|
* @param {string | null} query
|
|
801
805
|
* @param {string | null} start
|
|
806
|
+
* @param {number | null} limit
|
|
802
807
|
* @param {*} [options] Override http request option.
|
|
803
808
|
* @throws {RequiredError}
|
|
804
809
|
*/
|
|
805
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
810
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
|
|
806
811
|
return __awaiter(this, void 0, void 0, function* () {
|
|
807
812
|
var _a, _b, _c;
|
|
808
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options);
|
|
813
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options);
|
|
809
814
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
810
815
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
811
816
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -845,11 +850,12 @@ export const LogsApiFactory = function (configuration, basePath, axios) {
|
|
|
845
850
|
* @param {string | null} deploymentId
|
|
846
851
|
* @param {string | null} query
|
|
847
852
|
* @param {string | null} start
|
|
853
|
+
* @param {number | null} limit
|
|
848
854
|
* @param {*} [options] Override http request option.
|
|
849
855
|
* @throws {RequiredError}
|
|
850
856
|
*/
|
|
851
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
852
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(axios, basePath));
|
|
857
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
|
|
858
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
|
|
853
859
|
},
|
|
854
860
|
};
|
|
855
861
|
};
|
|
@@ -886,12 +892,13 @@ export class LogsApi extends BaseAPI {
|
|
|
886
892
|
* @param {string | null} deploymentId
|
|
887
893
|
* @param {string | null} query
|
|
888
894
|
* @param {string | null} start
|
|
895
|
+
* @param {number | null} limit
|
|
889
896
|
* @param {*} [options] Override http request option.
|
|
890
897
|
* @throws {RequiredError}
|
|
891
898
|
* @memberof LogsApi
|
|
892
899
|
*/
|
|
893
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options) {
|
|
894
|
-
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, options).then((request) => request(this.axios, this.basePath));
|
|
900
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
|
|
901
|
+
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
|
|
895
902
|
}
|
|
896
903
|
}
|
|
897
904
|
/**
|