qovery-ws-typescript-axios 0.1.342 → 0.1.344
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
|
@@ -2412,10 +2412,11 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2412
2412
|
* @param {string} environment
|
|
2413
2413
|
* @param {string} service
|
|
2414
2414
|
* @param {string | null} podName
|
|
2415
|
+
* @param {string | null} deploymentId
|
|
2415
2416
|
* @param {*} [options] Override http request option.
|
|
2416
2417
|
* @throws {RequiredError}
|
|
2417
2418
|
*/
|
|
2418
|
-
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2419
|
+
handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2419
2420
|
// verify required parameter 'organization' is not null or undefined
|
|
2420
2421
|
assertParamExists('handleServiceLogsRequest', 'organization', organization)
|
|
2421
2422
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -2428,13 +2429,16 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2428
2429
|
assertParamExists('handleServiceLogsRequest', 'service', service)
|
|
2429
2430
|
// verify required parameter 'podName' is not null or undefined
|
|
2430
2431
|
assertParamExists('handleServiceLogsRequest', 'podName', podName)
|
|
2432
|
+
// verify required parameter 'deploymentId' is not null or undefined
|
|
2433
|
+
assertParamExists('handleServiceLogsRequest', 'deploymentId', deploymentId)
|
|
2431
2434
|
const localVarPath = `/service/logs`
|
|
2432
2435
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
2433
2436
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
2434
2437
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
2435
2438
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
2436
2439
|
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
2437
|
-
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
2440
|
+
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
2441
|
+
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)));
|
|
2438
2442
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2439
2443
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2440
2444
|
let baseOptions;
|
|
@@ -2492,11 +2496,12 @@ export const LogsApiFp = function(configuration?: Configuration) {
|
|
|
2492
2496
|
* @param {string} environment
|
|
2493
2497
|
* @param {string} service
|
|
2494
2498
|
* @param {string | null} podName
|
|
2499
|
+
* @param {string | null} deploymentId
|
|
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, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
2499
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options);
|
|
2503
|
+
async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
|
|
2504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, 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);
|
|
@@ -2533,11 +2538,12 @@ export const LogsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
2533
2538
|
* @param {string} environment
|
|
2534
2539
|
* @param {string} service
|
|
2535
2540
|
* @param {string | null} podName
|
|
2541
|
+
* @param {string | null} deploymentId
|
|
2536
2542
|
* @param {*} [options] Override http request option.
|
|
2537
2543
|
* @throws {RequiredError}
|
|
2538
2544
|
*/
|
|
2539
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
|
|
2540
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options).then((request) => request(axios, basePath));
|
|
2545
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
|
|
2546
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(axios, basePath));
|
|
2541
2547
|
},
|
|
2542
2548
|
};
|
|
2543
2549
|
};
|
|
@@ -2573,12 +2579,13 @@ export class LogsApi extends BaseAPI {
|
|
|
2573
2579
|
* @param {string} environment
|
|
2574
2580
|
* @param {string} service
|
|
2575
2581
|
* @param {string | null} podName
|
|
2582
|
+
* @param {string | null} deploymentId
|
|
2576
2583
|
* @param {*} [options] Override http request option.
|
|
2577
2584
|
* @throws {RequiredError}
|
|
2578
2585
|
* @memberof LogsApi
|
|
2579
2586
|
*/
|
|
2580
|
-
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig) {
|
|
2581
|
-
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options).then((request) => request(this.axios, this.basePath));
|
|
2587
|
+
public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig) {
|
|
2588
|
+
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
2582
2589
|
}
|
|
2583
2590
|
}
|
|
2584
2591
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2052,10 +2052,11 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2052
2052
|
* @param {string} environment
|
|
2053
2053
|
* @param {string} service
|
|
2054
2054
|
* @param {string | null} podName
|
|
2055
|
+
* @param {string | null} deploymentId
|
|
2055
2056
|
* @param {*} [options] Override http request option.
|
|
2056
2057
|
* @throws {RequiredError}
|
|
2057
2058
|
*/
|
|
2058
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2059
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2059
2060
|
};
|
|
2060
2061
|
/**
|
|
2061
2062
|
* LogsApi - functional programming interface
|
|
@@ -2082,10 +2083,11 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
2082
2083
|
* @param {string} environment
|
|
2083
2084
|
* @param {string} service
|
|
2084
2085
|
* @param {string | null} podName
|
|
2086
|
+
* @param {string | null} deploymentId
|
|
2085
2087
|
* @param {*} [options] Override http request option.
|
|
2086
2088
|
* @throws {RequiredError}
|
|
2087
2089
|
*/
|
|
2088
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2090
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2089
2091
|
};
|
|
2090
2092
|
/**
|
|
2091
2093
|
* LogsApi - factory interface
|
|
@@ -2112,10 +2114,11 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2112
2114
|
* @param {string} environment
|
|
2113
2115
|
* @param {string} service
|
|
2114
2116
|
* @param {string | null} podName
|
|
2117
|
+
* @param {string | null} deploymentId
|
|
2115
2118
|
* @param {*} [options] Override http request option.
|
|
2116
2119
|
* @throws {RequiredError}
|
|
2117
2120
|
*/
|
|
2118
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2121
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2119
2122
|
};
|
|
2120
2123
|
/**
|
|
2121
2124
|
* LogsApi - object-oriented interface
|
|
@@ -2145,11 +2148,12 @@ export declare class LogsApi extends BaseAPI {
|
|
|
2145
2148
|
* @param {string} environment
|
|
2146
2149
|
* @param {string} service
|
|
2147
2150
|
* @param {string | null} podName
|
|
2151
|
+
* @param {string | null} deploymentId
|
|
2148
2152
|
* @param {*} [options] Override http request option.
|
|
2149
2153
|
* @throws {RequiredError}
|
|
2150
2154
|
* @memberof LogsApi
|
|
2151
2155
|
*/
|
|
2152
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2156
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2153
2157
|
}
|
|
2154
2158
|
/**
|
|
2155
2159
|
* RemoteDebugApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -726,10 +726,11 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
726
726
|
* @param {string} environment
|
|
727
727
|
* @param {string} service
|
|
728
728
|
* @param {string | null} podName
|
|
729
|
+
* @param {string | null} deploymentId
|
|
729
730
|
* @param {*} [options] Override http request option.
|
|
730
731
|
* @throws {RequiredError}
|
|
731
732
|
*/
|
|
732
|
-
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, options = {}) {
|
|
733
|
+
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, options = {}) {
|
|
733
734
|
// verify required parameter 'organization' is not null or undefined
|
|
734
735
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'organization', organization);
|
|
735
736
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -742,13 +743,16 @@ const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
742
743
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'service', service);
|
|
743
744
|
// verify required parameter 'podName' is not null or undefined
|
|
744
745
|
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'podName', podName);
|
|
746
|
+
// verify required parameter 'deploymentId' is not null or undefined
|
|
747
|
+
(0, common_1.assertParamExists)('handleServiceLogsRequest', 'deploymentId', deploymentId);
|
|
745
748
|
const localVarPath = `/service/logs`
|
|
746
749
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
747
750
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
748
751
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
749
752
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
750
753
|
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
751
|
-
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
754
|
+
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
755
|
+
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)));
|
|
752
756
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
753
757
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
754
758
|
let baseOptions;
|
|
@@ -804,13 +808,14 @@ const LogsApiFp = function (configuration) {
|
|
|
804
808
|
* @param {string} environment
|
|
805
809
|
* @param {string} service
|
|
806
810
|
* @param {string | null} podName
|
|
811
|
+
* @param {string | null} deploymentId
|
|
807
812
|
* @param {*} [options] Override http request option.
|
|
808
813
|
* @throws {RequiredError}
|
|
809
814
|
*/
|
|
810
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options) {
|
|
815
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
811
816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
812
817
|
var _a, _b, _c;
|
|
813
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options);
|
|
818
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options);
|
|
814
819
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
815
820
|
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;
|
|
816
821
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -848,11 +853,12 @@ const LogsApiFactory = function (configuration, basePath, axios) {
|
|
|
848
853
|
* @param {string} environment
|
|
849
854
|
* @param {string} service
|
|
850
855
|
* @param {string | null} podName
|
|
856
|
+
* @param {string | null} deploymentId
|
|
851
857
|
* @param {*} [options] Override http request option.
|
|
852
858
|
* @throws {RequiredError}
|
|
853
859
|
*/
|
|
854
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options) {
|
|
855
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options).then((request) => request(axios, basePath));
|
|
860
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
861
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(axios, basePath));
|
|
856
862
|
},
|
|
857
863
|
};
|
|
858
864
|
};
|
|
@@ -887,12 +893,13 @@ class LogsApi extends base_1.BaseAPI {
|
|
|
887
893
|
* @param {string} environment
|
|
888
894
|
* @param {string} service
|
|
889
895
|
* @param {string | null} podName
|
|
896
|
+
* @param {string | null} deploymentId
|
|
890
897
|
* @param {*} [options] Override http request option.
|
|
891
898
|
* @throws {RequiredError}
|
|
892
899
|
* @memberof LogsApi
|
|
893
900
|
*/
|
|
894
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options) {
|
|
895
|
-
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options).then((request) => request(this.axios, this.basePath));
|
|
901
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
902
|
+
return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
896
903
|
}
|
|
897
904
|
}
|
|
898
905
|
exports.LogsApi = LogsApi;
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2052,10 +2052,11 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
2052
2052
|
* @param {string} environment
|
|
2053
2053
|
* @param {string} service
|
|
2054
2054
|
* @param {string | null} podName
|
|
2055
|
+
* @param {string | null} deploymentId
|
|
2055
2056
|
* @param {*} [options] Override http request option.
|
|
2056
2057
|
* @throws {RequiredError}
|
|
2057
2058
|
*/
|
|
2058
|
-
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2059
|
+
handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2059
2060
|
};
|
|
2060
2061
|
/**
|
|
2061
2062
|
* LogsApi - functional programming interface
|
|
@@ -2082,10 +2083,11 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
|
|
|
2082
2083
|
* @param {string} environment
|
|
2083
2084
|
* @param {string} service
|
|
2084
2085
|
* @param {string | null} podName
|
|
2086
|
+
* @param {string | null} deploymentId
|
|
2085
2087
|
* @param {*} [options] Override http request option.
|
|
2086
2088
|
* @throws {RequiredError}
|
|
2087
2089
|
*/
|
|
2088
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2090
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
|
|
2089
2091
|
};
|
|
2090
2092
|
/**
|
|
2091
2093
|
* LogsApi - factory interface
|
|
@@ -2112,10 +2114,11 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2112
2114
|
* @param {string} environment
|
|
2113
2115
|
* @param {string} service
|
|
2114
2116
|
* @param {string | null} podName
|
|
2117
|
+
* @param {string | null} deploymentId
|
|
2115
2118
|
* @param {*} [options] Override http request option.
|
|
2116
2119
|
* @throws {RequiredError}
|
|
2117
2120
|
*/
|
|
2118
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2121
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
|
|
2119
2122
|
};
|
|
2120
2123
|
/**
|
|
2121
2124
|
* LogsApi - object-oriented interface
|
|
@@ -2145,11 +2148,12 @@ export declare class LogsApi extends BaseAPI {
|
|
|
2145
2148
|
* @param {string} environment
|
|
2146
2149
|
* @param {string} service
|
|
2147
2150
|
* @param {string | null} podName
|
|
2151
|
+
* @param {string | null} deploymentId
|
|
2148
2152
|
* @param {*} [options] Override http request option.
|
|
2149
2153
|
* @throws {RequiredError}
|
|
2150
2154
|
* @memberof LogsApi
|
|
2151
2155
|
*/
|
|
2152
|
-
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2156
|
+
handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any>>;
|
|
2153
2157
|
}
|
|
2154
2158
|
/**
|
|
2155
2159
|
* RemoteDebugApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -707,10 +707,11 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
707
707
|
* @param {string} environment
|
|
708
708
|
* @param {string} service
|
|
709
709
|
* @param {string | null} podName
|
|
710
|
+
* @param {string | null} deploymentId
|
|
710
711
|
* @param {*} [options] Override http request option.
|
|
711
712
|
* @throws {RequiredError}
|
|
712
713
|
*/
|
|
713
|
-
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, options = {}) {
|
|
714
|
+
handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, options = {}) {
|
|
714
715
|
// verify required parameter 'organization' is not null or undefined
|
|
715
716
|
assertParamExists('handleServiceLogsRequest', 'organization', organization);
|
|
716
717
|
// verify required parameter 'cluster' is not null or undefined
|
|
@@ -723,13 +724,16 @@ export const LogsApiAxiosParamCreator = function (configuration) {
|
|
|
723
724
|
assertParamExists('handleServiceLogsRequest', 'service', service);
|
|
724
725
|
// verify required parameter 'podName' is not null or undefined
|
|
725
726
|
assertParamExists('handleServiceLogsRequest', 'podName', podName);
|
|
727
|
+
// verify required parameter 'deploymentId' is not null or undefined
|
|
728
|
+
assertParamExists('handleServiceLogsRequest', 'deploymentId', deploymentId);
|
|
726
729
|
const localVarPath = `/service/logs`
|
|
727
730
|
.replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
|
|
728
731
|
.replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
|
|
729
732
|
.replace(`{${"project"}}`, encodeURIComponent(String(project)))
|
|
730
733
|
.replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
|
|
731
734
|
.replace(`{${"service"}}`, encodeURIComponent(String(service)))
|
|
732
|
-
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
735
|
+
.replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
|
|
736
|
+
.replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)));
|
|
733
737
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
734
738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
735
739
|
let baseOptions;
|
|
@@ -784,13 +788,14 @@ export const LogsApiFp = function (configuration) {
|
|
|
784
788
|
* @param {string} environment
|
|
785
789
|
* @param {string} service
|
|
786
790
|
* @param {string | null} podName
|
|
791
|
+
* @param {string | null} deploymentId
|
|
787
792
|
* @param {*} [options] Override http request option.
|
|
788
793
|
* @throws {RequiredError}
|
|
789
794
|
*/
|
|
790
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options) {
|
|
795
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
791
796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
792
797
|
var _a, _b, _c;
|
|
793
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options);
|
|
798
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options);
|
|
794
799
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
795
800
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
796
801
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -827,11 +832,12 @@ export const LogsApiFactory = function (configuration, basePath, axios) {
|
|
|
827
832
|
* @param {string} environment
|
|
828
833
|
* @param {string} service
|
|
829
834
|
* @param {string | null} podName
|
|
835
|
+
* @param {string | null} deploymentId
|
|
830
836
|
* @param {*} [options] Override http request option.
|
|
831
837
|
* @throws {RequiredError}
|
|
832
838
|
*/
|
|
833
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options) {
|
|
834
|
-
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options).then((request) => request(axios, basePath));
|
|
839
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
840
|
+
return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(axios, basePath));
|
|
835
841
|
},
|
|
836
842
|
};
|
|
837
843
|
};
|
|
@@ -865,12 +871,13 @@ export class LogsApi extends BaseAPI {
|
|
|
865
871
|
* @param {string} environment
|
|
866
872
|
* @param {string} service
|
|
867
873
|
* @param {string | null} podName
|
|
874
|
+
* @param {string | null} deploymentId
|
|
868
875
|
* @param {*} [options] Override http request option.
|
|
869
876
|
* @throws {RequiredError}
|
|
870
877
|
* @memberof LogsApi
|
|
871
878
|
*/
|
|
872
|
-
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options) {
|
|
873
|
-
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, options).then((request) => request(this.axios, this.basePath));
|
|
879
|
+
handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options) {
|
|
880
|
+
return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, options).then((request) => request(this.axios, this.basePath));
|
|
874
881
|
}
|
|
875
882
|
}
|
|
876
883
|
/**
|