Skip to content

Commit db2ab70

Browse files
author
qovery
committed
See Qovery/qovery-openapi-spec@a0a95f6 from refs/heads/main
1 parent 15085b9 commit db2ab70

File tree

2 files changed

+40
-8
lines changed

2 files changed

+40
-8
lines changed

api.ts

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8722,6 +8722,30 @@ export interface GetClusterKubernetesEvents200ResponseResultsInner {
87228722
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
87238723
*/
87248724
'type'?: string;
8725+
/**
8726+
*
8727+
* @type {string}
8728+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
8729+
*/
8730+
'reporting_component'?: string;
8731+
/**
8732+
*
8733+
* @type {number}
8734+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
8735+
*/
8736+
'count'?: number;
8737+
/**
8738+
*
8739+
* @type {string}
8740+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
8741+
*/
8742+
'first_occurrence'?: string;
8743+
/**
8744+
*
8745+
* @type {string}
8746+
* @memberof GetClusterKubernetesEvents200ResponseResultsInner
8747+
*/
8748+
'last_occurrence'?: string;
87258749
}
87268750
/**
87278751
*
@@ -28092,10 +28116,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
2809228116
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
2809328117
* @param {string} [nodeName] The name of the node to fetch event from
2809428118
* @param {string} [podName] The name of the pod to fetch event from
28119+
* @param {string} [reportingComponent] The name of the reporting component used to filter events.
2809528120
* @param {*} [options] Override http request option.
2809628121
* @throws {RequiredError}
2809728122
*/
28098-
getClusterKubernetesEvents: async (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28123+
getClusterKubernetesEvents: async (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2809928124
// verify required parameter 'clusterId' is not null or undefined
2810028125
assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId)
2810128126
// verify required parameter 'fromDateTime' is not null or undefined
@@ -28138,6 +28163,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
2813828163
localVarQueryParameter['pod_name'] = podName;
2813928164
}
2814028165

28166+
if (reportingComponent !== undefined) {
28167+
localVarQueryParameter['reporting_component'] = reportingComponent;
28168+
}
28169+
2814128170

2814228171

2814328172
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29049,11 +29078,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
2904929078
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
2905029079
* @param {string} [nodeName] The name of the node to fetch event from
2905129080
* @param {string} [podName] The name of the pod to fetch event from
29081+
* @param {string} [reportingComponent] The name of the reporting component used to filter events.
2905229082
* @param {*} [options] Override http request option.
2905329083
* @throws {RequiredError}
2905429084
*/
29055-
async getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
29056-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options);
29085+
async getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
29086+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options);
2905729087
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2905829088
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterKubernetesEvents']?.[localVarOperationServerIndex]?.url;
2905929089
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29410,11 +29440,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
2941029440
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
2941129441
* @param {string} [nodeName] The name of the node to fetch event from
2941229442
* @param {string} [podName] The name of the pod to fetch event from
29443+
* @param {string} [reportingComponent] The name of the reporting component used to filter events.
2941329444
* @param {*} [options] Override http request option.
2941429445
* @throws {RequiredError}
2941529446
*/
29416-
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetClusterKubernetesEvents200Response> {
29417-
return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(axios, basePath));
29447+
getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetClusterKubernetesEvents200Response> {
29448+
return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options).then((request) => request(axios, basePath));
2941829449
},
2941929450
/**
2942029451
* Fetch cluster metrics
@@ -29738,12 +29769,13 @@ export class ClustersApi extends BaseAPI {
2973829769
* @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
2973929770
* @param {string} [nodeName] The name of the node to fetch event from
2974029771
* @param {string} [podName] The name of the pod to fetch event from
29772+
* @param {string} [reportingComponent] The name of the reporting component used to filter events.
2974129773
* @param {*} [options] Override http request option.
2974229774
* @throws {RequiredError}
2974329775
* @memberof ClustersApi
2974429776
*/
29745-
public getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: RawAxiosRequestConfig) {
29746-
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(this.axios, this.basePath));
29777+
public getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig) {
29778+
return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options).then((request) => request(this.axios, this.basePath));
2974729779
}
2974829780

2974929781
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qovery-typescript-axios",
3-
"version": "v1.1.633",
3+
"version": "1.0.3",
44
"description": "OpenAPI client for qovery-typescript-axios",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)