qovery-typescript-axios 1.1.664 → 1.1.666

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 CHANGED
@@ -3502,6 +3502,19 @@ export interface ClusterLogsMessage {
3502
3502
  */
3503
3503
  'safe_message'?: string;
3504
3504
  }
3505
+ /**
3506
+ *
3507
+ * @export
3508
+ * @interface ClusterLogsResponse
3509
+ */
3510
+ export interface ClusterLogsResponse {
3511
+ /**
3512
+ *
3513
+ * @type {string}
3514
+ * @memberof ClusterLogsResponse
3515
+ */
3516
+ 'response'?: string;
3517
+ }
3505
3518
  /**
3506
3519
  *
3507
3520
  * @export
@@ -28556,10 +28569,13 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
28556
28569
  * @param {string} [timeout]
28557
28570
  * @param {string} [dedup]
28558
28571
  * @param {string} [partialResponse]
28572
+ * @param {string} [maxSourceResolution]
28573
+ * @param {string} [engine]
28574
+ * @param {string} [analyse]
28559
28575
  * @param {*} [options] Override http request option.
28560
28576
  * @throws {RequiredError}
28561
28577
  */
28562
- getClusterMetrics: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28578
+ getClusterMetrics: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28563
28579
  // verify required parameter 'clusterId' is not null or undefined
28564
28580
  assertParamExists('getClusterMetrics', 'clusterId', clusterId)
28565
28581
  // verify required parameter 'endpoint' is not null or undefined
@@ -28622,6 +28638,18 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
28622
28638
  localVarQueryParameter['partial_response'] = partialResponse;
28623
28639
  }
28624
28640
 
28641
+ if (maxSourceResolution !== undefined) {
28642
+ localVarQueryParameter['max_source_resolution'] = maxSourceResolution;
28643
+ }
28644
+
28645
+ if (engine !== undefined) {
28646
+ localVarQueryParameter['engine'] = engine;
28647
+ }
28648
+
28649
+ if (analyse !== undefined) {
28650
+ localVarQueryParameter['analyse'] = analyse;
28651
+ }
28652
+
28625
28653
 
28626
28654
 
28627
28655
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29466,11 +29494,14 @@ export const ClustersApiFp = function(configuration?: Configuration) {
29466
29494
  * @param {string} [timeout]
29467
29495
  * @param {string} [dedup]
29468
29496
  * @param {string} [partialResponse]
29497
+ * @param {string} [maxSourceResolution]
29498
+ * @param {string} [engine]
29499
+ * @param {string} [analyse]
29469
29500
  * @param {*} [options] Override http request option.
29470
29501
  * @throws {RequiredError}
29471
29502
  */
29472
- async getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>> {
29473
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options);
29503
+ async getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>> {
29504
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options);
29474
29505
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29475
29506
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterMetrics']?.[localVarOperationServerIndex]?.url;
29476
29507
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29825,11 +29856,14 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
29825
29856
  * @param {string} [timeout]
29826
29857
  * @param {string} [dedup]
29827
29858
  * @param {string} [partialResponse]
29859
+ * @param {string} [maxSourceResolution]
29860
+ * @param {string} [engine]
29861
+ * @param {string} [analyse]
29828
29862
  * @param {*} [options] Override http request option.
29829
29863
  * @throws {RequiredError}
29830
29864
  */
29831
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse> {
29832
- return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(axios, basePath));
29865
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse> {
29866
+ return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options).then((request) => request(axios, basePath));
29833
29867
  },
29834
29868
  /**
29835
29869
  *
@@ -30156,12 +30190,15 @@ export class ClustersApi extends BaseAPI {
30156
30190
  * @param {string} [timeout]
30157
30191
  * @param {string} [dedup]
30158
30192
  * @param {string} [partialResponse]
30193
+ * @param {string} [maxSourceResolution]
30194
+ * @param {string} [engine]
30195
+ * @param {string} [analyse]
30159
30196
  * @param {*} [options] Override http request option.
30160
30197
  * @throws {RequiredError}
30161
30198
  * @memberof ClustersApi
30162
30199
  */
30163
- public getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig) {
30164
- return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(this.axios, this.basePath));
30200
+ public getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig) {
30201
+ return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options).then((request) => request(this.axios, this.basePath));
30165
30202
  }
30166
30203
 
30167
30204
  /**
@@ -36759,6 +36796,96 @@ export class DatabasesApi extends BaseAPI {
36759
36796
  */
36760
36797
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
36761
36798
  return {
36799
+ /**
36800
+ * Fetch cluster logs
36801
+ * @summary Fetch cluster logs
36802
+ * @param {string} clusterId
36803
+ * @param {string} endpoint
36804
+ * @param {string} query
36805
+ * @param {string} [start]
36806
+ * @param {string} [end]
36807
+ * @param {string} [limit]
36808
+ * @param {string} [since]
36809
+ * @param {string} [step]
36810
+ * @param {string} [interval]
36811
+ * @param {string} [direction]
36812
+ * @param {*} [options] Override http request option.
36813
+ * @throws {RequiredError}
36814
+ */
36815
+ getClusterLogs: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36816
+ // verify required parameter 'clusterId' is not null or undefined
36817
+ assertParamExists('getClusterLogs', 'clusterId', clusterId)
36818
+ // verify required parameter 'endpoint' is not null or undefined
36819
+ assertParamExists('getClusterLogs', 'endpoint', endpoint)
36820
+ // verify required parameter 'query' is not null or undefined
36821
+ assertParamExists('getClusterLogs', 'query', query)
36822
+ const localVarPath = `/cluster/{clusterId}/logs`
36823
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
36824
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36825
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36826
+ let baseOptions;
36827
+ if (configuration) {
36828
+ baseOptions = configuration.baseOptions;
36829
+ }
36830
+
36831
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36832
+ const localVarHeaderParameter = {} as any;
36833
+ const localVarQueryParameter = {} as any;
36834
+
36835
+ // authentication ApiKeyAuth required
36836
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36837
+
36838
+ // authentication bearerAuth required
36839
+ // http bearer authentication required
36840
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36841
+
36842
+ if (endpoint !== undefined) {
36843
+ localVarQueryParameter['endpoint'] = endpoint;
36844
+ }
36845
+
36846
+ if (query !== undefined) {
36847
+ localVarQueryParameter['query'] = query;
36848
+ }
36849
+
36850
+ if (start !== undefined) {
36851
+ localVarQueryParameter['start'] = start;
36852
+ }
36853
+
36854
+ if (end !== undefined) {
36855
+ localVarQueryParameter['end'] = end;
36856
+ }
36857
+
36858
+ if (limit !== undefined) {
36859
+ localVarQueryParameter['limit'] = limit;
36860
+ }
36861
+
36862
+ if (since !== undefined) {
36863
+ localVarQueryParameter['since'] = since;
36864
+ }
36865
+
36866
+ if (step !== undefined) {
36867
+ localVarQueryParameter['step'] = step;
36868
+ }
36869
+
36870
+ if (interval !== undefined) {
36871
+ localVarQueryParameter['interval'] = interval;
36872
+ }
36873
+
36874
+ if (direction !== undefined) {
36875
+ localVarQueryParameter['direction'] = direction;
36876
+ }
36877
+
36878
+
36879
+
36880
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36881
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36882
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36883
+
36884
+ return {
36885
+ url: toPathString(localVarUrlObj),
36886
+ options: localVarRequestOptions,
36887
+ };
36888
+ },
36762
36889
  /**
36763
36890
  *
36764
36891
  * @summary Get cluster token by clusterId
@@ -36854,6 +36981,28 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
36854
36981
  export const DefaultApiFp = function(configuration?: Configuration) {
36855
36982
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
36856
36983
  return {
36984
+ /**
36985
+ * Fetch cluster logs
36986
+ * @summary Fetch cluster logs
36987
+ * @param {string} clusterId
36988
+ * @param {string} endpoint
36989
+ * @param {string} query
36990
+ * @param {string} [start]
36991
+ * @param {string} [end]
36992
+ * @param {string} [limit]
36993
+ * @param {string} [since]
36994
+ * @param {string} [step]
36995
+ * @param {string} [interval]
36996
+ * @param {string} [direction]
36997
+ * @param {*} [options] Override http request option.
36998
+ * @throws {RequiredError}
36999
+ */
37000
+ async getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>> {
37001
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
37002
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37003
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.getClusterLogs']?.[localVarOperationServerIndex]?.url;
37004
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37005
+ },
36857
37006
  /**
36858
37007
  *
36859
37008
  * @summary Get cluster token by clusterId
@@ -36890,6 +37039,25 @@ export const DefaultApiFp = function(configuration?: Configuration) {
36890
37039
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36891
37040
  const localVarFp = DefaultApiFp(configuration)
36892
37041
  return {
37042
+ /**
37043
+ * Fetch cluster logs
37044
+ * @summary Fetch cluster logs
37045
+ * @param {string} clusterId
37046
+ * @param {string} endpoint
37047
+ * @param {string} query
37048
+ * @param {string} [start]
37049
+ * @param {string} [end]
37050
+ * @param {string} [limit]
37051
+ * @param {string} [since]
37052
+ * @param {string} [step]
37053
+ * @param {string} [interval]
37054
+ * @param {string} [direction]
37055
+ * @param {*} [options] Override http request option.
37056
+ * @throws {RequiredError}
37057
+ */
37058
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse> {
37059
+ return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
37060
+ },
36893
37061
  /**
36894
37062
  *
36895
37063
  * @summary Get cluster token by clusterId
@@ -36920,6 +37088,27 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
36920
37088
  * @extends {BaseAPI}
36921
37089
  */
36922
37090
  export class DefaultApi extends BaseAPI {
37091
+ /**
37092
+ * Fetch cluster logs
37093
+ * @summary Fetch cluster logs
37094
+ * @param {string} clusterId
37095
+ * @param {string} endpoint
37096
+ * @param {string} query
37097
+ * @param {string} [start]
37098
+ * @param {string} [end]
37099
+ * @param {string} [limit]
37100
+ * @param {string} [since]
37101
+ * @param {string} [step]
37102
+ * @param {string} [interval]
37103
+ * @param {string} [direction]
37104
+ * @param {*} [options] Override http request option.
37105
+ * @throws {RequiredError}
37106
+ * @memberof DefaultApi
37107
+ */
37108
+ public getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) {
37109
+ return DefaultApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
37110
+ }
37111
+
36923
37112
  /**
36924
37113
  *
36925
37114
  * @summary Get cluster token by clusterId
package/dist/api.d.ts CHANGED
@@ -3410,6 +3410,19 @@ export interface ClusterLogsMessage {
3410
3410
  */
3411
3411
  'safe_message'?: string;
3412
3412
  }
3413
+ /**
3414
+ *
3415
+ * @export
3416
+ * @interface ClusterLogsResponse
3417
+ */
3418
+ export interface ClusterLogsResponse {
3419
+ /**
3420
+ *
3421
+ * @type {string}
3422
+ * @memberof ClusterLogsResponse
3423
+ */
3424
+ 'response'?: string;
3425
+ }
3413
3426
  /**
3414
3427
  *
3415
3428
  * @export
@@ -22376,10 +22389,13 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
22376
22389
  * @param {string} [timeout]
22377
22390
  * @param {string} [dedup]
22378
22391
  * @param {string} [partialResponse]
22392
+ * @param {string} [maxSourceResolution]
22393
+ * @param {string} [engine]
22394
+ * @param {string} [analyse]
22379
22395
  * @param {*} [options] Override http request option.
22380
22396
  * @throws {RequiredError}
22381
22397
  */
22382
- getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22398
+ getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22383
22399
  /**
22384
22400
  *
22385
22401
  * @summary Know if a cluster is ready to be deployed or not
@@ -22631,10 +22647,13 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
22631
22647
  * @param {string} [timeout]
22632
22648
  * @param {string} [dedup]
22633
22649
  * @param {string} [partialResponse]
22650
+ * @param {string} [maxSourceResolution]
22651
+ * @param {string} [engine]
22652
+ * @param {string} [analyse]
22634
22653
  * @param {*} [options] Override http request option.
22635
22654
  * @throws {RequiredError}
22636
22655
  */
22637
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
22656
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
22638
22657
  /**
22639
22658
  *
22640
22659
  * @summary Know if a cluster is ready to be deployed or not
@@ -22886,10 +22905,13 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
22886
22905
  * @param {string} [timeout]
22887
22906
  * @param {string} [dedup]
22888
22907
  * @param {string} [partialResponse]
22908
+ * @param {string} [maxSourceResolution]
22909
+ * @param {string} [engine]
22910
+ * @param {string} [analyse]
22889
22911
  * @param {*} [options] Override http request option.
22890
22912
  * @throws {RequiredError}
22891
22913
  */
22892
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
22914
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
22893
22915
  /**
22894
22916
  *
22895
22917
  * @summary Know if a cluster is ready to be deployed or not
@@ -23153,11 +23175,14 @@ export declare class ClustersApi extends BaseAPI {
23153
23175
  * @param {string} [timeout]
23154
23176
  * @param {string} [dedup]
23155
23177
  * @param {string} [partialResponse]
23178
+ * @param {string} [maxSourceResolution]
23179
+ * @param {string} [engine]
23180
+ * @param {string} [analyse]
23156
23181
  * @param {*} [options] Override http request option.
23157
23182
  * @throws {RequiredError}
23158
23183
  * @memberof ClustersApi
23159
23184
  */
23160
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any>>;
23185
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any>>;
23161
23186
  /**
23162
23187
  *
23163
23188
  * @summary Know if a cluster is ready to be deployed or not
@@ -26264,6 +26289,23 @@ export declare class DatabasesApi extends BaseAPI {
26264
26289
  * @export
26265
26290
  */
26266
26291
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
26292
+ /**
26293
+ * Fetch cluster logs
26294
+ * @summary Fetch cluster logs
26295
+ * @param {string} clusterId
26296
+ * @param {string} endpoint
26297
+ * @param {string} query
26298
+ * @param {string} [start]
26299
+ * @param {string} [end]
26300
+ * @param {string} [limit]
26301
+ * @param {string} [since]
26302
+ * @param {string} [step]
26303
+ * @param {string} [interval]
26304
+ * @param {string} [direction]
26305
+ * @param {*} [options] Override http request option.
26306
+ * @throws {RequiredError}
26307
+ */
26308
+ getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26267
26309
  /**
26268
26310
  *
26269
26311
  * @summary Get cluster token by clusterId
@@ -26286,6 +26328,23 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26286
26328
  * @export
26287
26329
  */
26288
26330
  export declare const DefaultApiFp: (configuration?: Configuration) => {
26331
+ /**
26332
+ * Fetch cluster logs
26333
+ * @summary Fetch cluster logs
26334
+ * @param {string} clusterId
26335
+ * @param {string} endpoint
26336
+ * @param {string} query
26337
+ * @param {string} [start]
26338
+ * @param {string} [end]
26339
+ * @param {string} [limit]
26340
+ * @param {string} [since]
26341
+ * @param {string} [step]
26342
+ * @param {string} [interval]
26343
+ * @param {string} [direction]
26344
+ * @param {*} [options] Override http request option.
26345
+ * @throws {RequiredError}
26346
+ */
26347
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
26289
26348
  /**
26290
26349
  *
26291
26350
  * @summary Get cluster token by clusterId
@@ -26308,6 +26367,23 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
26308
26367
  * @export
26309
26368
  */
26310
26369
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26370
+ /**
26371
+ * Fetch cluster logs
26372
+ * @summary Fetch cluster logs
26373
+ * @param {string} clusterId
26374
+ * @param {string} endpoint
26375
+ * @param {string} query
26376
+ * @param {string} [start]
26377
+ * @param {string} [end]
26378
+ * @param {string} [limit]
26379
+ * @param {string} [since]
26380
+ * @param {string} [step]
26381
+ * @param {string} [interval]
26382
+ * @param {string} [direction]
26383
+ * @param {*} [options] Override http request option.
26384
+ * @throws {RequiredError}
26385
+ */
26386
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
26311
26387
  /**
26312
26388
  *
26313
26389
  * @summary Get cluster token by clusterId
@@ -26332,6 +26408,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
26332
26408
  * @extends {BaseAPI}
26333
26409
  */
26334
26410
  export declare class DefaultApi extends BaseAPI {
26411
+ /**
26412
+ * Fetch cluster logs
26413
+ * @summary Fetch cluster logs
26414
+ * @param {string} clusterId
26415
+ * @param {string} endpoint
26416
+ * @param {string} query
26417
+ * @param {string} [start]
26418
+ * @param {string} [end]
26419
+ * @param {string} [limit]
26420
+ * @param {string} [since]
26421
+ * @param {string} [step]
26422
+ * @param {string} [interval]
26423
+ * @param {string} [direction]
26424
+ * @param {*} [options] Override http request option.
26425
+ * @throws {RequiredError}
26426
+ * @memberof DefaultApi
26427
+ */
26428
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any>>;
26335
26429
  /**
26336
26430
  *
26337
26431
  * @summary Get cluster token by clusterId
package/dist/api.js CHANGED
@@ -10390,10 +10390,13 @@ const ClustersApiAxiosParamCreator = function (configuration) {
10390
10390
  * @param {string} [timeout]
10391
10391
  * @param {string} [dedup]
10392
10392
  * @param {string} [partialResponse]
10393
+ * @param {string} [maxSourceResolution]
10394
+ * @param {string} [engine]
10395
+ * @param {string} [analyse]
10393
10396
  * @param {*} [options] Override http request option.
10394
10397
  * @throws {RequiredError}
10395
10398
  */
10396
- getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options = {}) {
10399
+ getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyse_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyse_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options = {}) {
10397
10400
  // verify required parameter 'clusterId' is not null or undefined
10398
10401
  (0, common_1.assertParamExists)('getClusterMetrics', 'clusterId', clusterId);
10399
10402
  // verify required parameter 'endpoint' is not null or undefined
@@ -10443,6 +10446,15 @@ const ClustersApiAxiosParamCreator = function (configuration) {
10443
10446
  if (partialResponse !== undefined) {
10444
10447
  localVarQueryParameter['partial_response'] = partialResponse;
10445
10448
  }
10449
+ if (maxSourceResolution !== undefined) {
10450
+ localVarQueryParameter['max_source_resolution'] = maxSourceResolution;
10451
+ }
10452
+ if (engine !== undefined) {
10453
+ localVarQueryParameter['engine'] = engine;
10454
+ }
10455
+ if (analyse !== undefined) {
10456
+ localVarQueryParameter['analyse'] = analyse;
10457
+ }
10446
10458
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10447
10459
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10448
10460
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -11206,13 +11218,16 @@ const ClustersApiFp = function (configuration) {
11206
11218
  * @param {string} [timeout]
11207
11219
  * @param {string} [dedup]
11208
11220
  * @param {string} [partialResponse]
11221
+ * @param {string} [maxSourceResolution]
11222
+ * @param {string} [engine]
11223
+ * @param {string} [analyse]
11209
11224
  * @param {*} [options] Override http request option.
11210
11225
  * @throws {RequiredError}
11211
11226
  */
11212
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11227
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options) {
11213
11228
  return __awaiter(this, void 0, void 0, function* () {
11214
11229
  var _a, _b, _c;
11215
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options);
11230
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options);
11216
11231
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11217
11232
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.getClusterMetrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11218
11233
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11613,11 +11628,14 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
11613
11628
  * @param {string} [timeout]
11614
11629
  * @param {string} [dedup]
11615
11630
  * @param {string} [partialResponse]
11631
+ * @param {string} [maxSourceResolution]
11632
+ * @param {string} [engine]
11633
+ * @param {string} [analyse]
11616
11634
  * @param {*} [options] Override http request option.
11617
11635
  * @throws {RequiredError}
11618
11636
  */
11619
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11620
- return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(axios, basePath));
11637
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options) {
11638
+ return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options).then((request) => request(axios, basePath));
11621
11639
  },
11622
11640
  /**
11623
11641
  *
@@ -11934,12 +11952,15 @@ class ClustersApi extends base_1.BaseAPI {
11934
11952
  * @param {string} [timeout]
11935
11953
  * @param {string} [dedup]
11936
11954
  * @param {string} [partialResponse]
11955
+ * @param {string} [maxSourceResolution]
11956
+ * @param {string} [engine]
11957
+ * @param {string} [analyse]
11937
11958
  * @param {*} [options] Override http request option.
11938
11959
  * @throws {RequiredError}
11939
11960
  * @memberof ClustersApi
11940
11961
  */
11941
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11942
- return (0, exports.ClustersApiFp)(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(this.axios, this.basePath));
11962
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options) {
11963
+ return (0, exports.ClustersApiFp)(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options).then((request) => request(this.axios, this.basePath));
11943
11964
  }
11944
11965
  /**
11945
11966
  *
@@ -18113,6 +18134,80 @@ exports.DatabasesApi = DatabasesApi;
18113
18134
  */
18114
18135
  const DefaultApiAxiosParamCreator = function (configuration) {
18115
18136
  return {
18137
+ /**
18138
+ * Fetch cluster logs
18139
+ * @summary Fetch cluster logs
18140
+ * @param {string} clusterId
18141
+ * @param {string} endpoint
18142
+ * @param {string} query
18143
+ * @param {string} [start]
18144
+ * @param {string} [end]
18145
+ * @param {string} [limit]
18146
+ * @param {string} [since]
18147
+ * @param {string} [step]
18148
+ * @param {string} [interval]
18149
+ * @param {string} [direction]
18150
+ * @param {*} [options] Override http request option.
18151
+ * @throws {RequiredError}
18152
+ */
18153
+ getClusterLogs: (clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options = {}) {
18154
+ // verify required parameter 'clusterId' is not null or undefined
18155
+ (0, common_1.assertParamExists)('getClusterLogs', 'clusterId', clusterId);
18156
+ // verify required parameter 'endpoint' is not null or undefined
18157
+ (0, common_1.assertParamExists)('getClusterLogs', 'endpoint', endpoint);
18158
+ // verify required parameter 'query' is not null or undefined
18159
+ (0, common_1.assertParamExists)('getClusterLogs', 'query', query);
18160
+ const localVarPath = `/cluster/{clusterId}/logs`
18161
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
18162
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18163
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18164
+ let baseOptions;
18165
+ if (configuration) {
18166
+ baseOptions = configuration.baseOptions;
18167
+ }
18168
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
18169
+ const localVarHeaderParameter = {};
18170
+ const localVarQueryParameter = {};
18171
+ // authentication ApiKeyAuth required
18172
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
18173
+ // authentication bearerAuth required
18174
+ // http bearer authentication required
18175
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
18176
+ if (endpoint !== undefined) {
18177
+ localVarQueryParameter['endpoint'] = endpoint;
18178
+ }
18179
+ if (query !== undefined) {
18180
+ localVarQueryParameter['query'] = query;
18181
+ }
18182
+ if (start !== undefined) {
18183
+ localVarQueryParameter['start'] = start;
18184
+ }
18185
+ if (end !== undefined) {
18186
+ localVarQueryParameter['end'] = end;
18187
+ }
18188
+ if (limit !== undefined) {
18189
+ localVarQueryParameter['limit'] = limit;
18190
+ }
18191
+ if (since !== undefined) {
18192
+ localVarQueryParameter['since'] = since;
18193
+ }
18194
+ if (step !== undefined) {
18195
+ localVarQueryParameter['step'] = step;
18196
+ }
18197
+ if (interval !== undefined) {
18198
+ localVarQueryParameter['interval'] = interval;
18199
+ }
18200
+ if (direction !== undefined) {
18201
+ localVarQueryParameter['direction'] = direction;
18202
+ }
18203
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18204
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18205
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18206
+ return {
18207
+ url: (0, common_1.toPathString)(localVarUrlObj),
18208
+ options: localVarRequestOptions,
18209
+ };
18210
+ }),
18116
18211
  /**
18117
18212
  *
18118
18213
  * @summary Get cluster token by clusterId
@@ -18193,6 +18288,31 @@ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
18193
18288
  const DefaultApiFp = function (configuration) {
18194
18289
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
18195
18290
  return {
18291
+ /**
18292
+ * Fetch cluster logs
18293
+ * @summary Fetch cluster logs
18294
+ * @param {string} clusterId
18295
+ * @param {string} endpoint
18296
+ * @param {string} query
18297
+ * @param {string} [start]
18298
+ * @param {string} [end]
18299
+ * @param {string} [limit]
18300
+ * @param {string} [since]
18301
+ * @param {string} [step]
18302
+ * @param {string} [interval]
18303
+ * @param {string} [direction]
18304
+ * @param {*} [options] Override http request option.
18305
+ * @throws {RequiredError}
18306
+ */
18307
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18308
+ return __awaiter(this, void 0, void 0, function* () {
18309
+ var _a, _b, _c;
18310
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
18311
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18312
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getClusterLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18313
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18314
+ });
18315
+ },
18196
18316
  /**
18197
18317
  *
18198
18318
  * @summary Get cluster token by clusterId
@@ -18235,6 +18355,25 @@ exports.DefaultApiFp = DefaultApiFp;
18235
18355
  const DefaultApiFactory = function (configuration, basePath, axios) {
18236
18356
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
18237
18357
  return {
18358
+ /**
18359
+ * Fetch cluster logs
18360
+ * @summary Fetch cluster logs
18361
+ * @param {string} clusterId
18362
+ * @param {string} endpoint
18363
+ * @param {string} query
18364
+ * @param {string} [start]
18365
+ * @param {string} [end]
18366
+ * @param {string} [limit]
18367
+ * @param {string} [since]
18368
+ * @param {string} [step]
18369
+ * @param {string} [interval]
18370
+ * @param {string} [direction]
18371
+ * @param {*} [options] Override http request option.
18372
+ * @throws {RequiredError}
18373
+ */
18374
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18375
+ return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
18376
+ },
18238
18377
  /**
18239
18378
  *
18240
18379
  * @summary Get cluster token by clusterId
@@ -18265,6 +18404,26 @@ exports.DefaultApiFactory = DefaultApiFactory;
18265
18404
  * @extends {BaseAPI}
18266
18405
  */
18267
18406
  class DefaultApi extends base_1.BaseAPI {
18407
+ /**
18408
+ * Fetch cluster logs
18409
+ * @summary Fetch cluster logs
18410
+ * @param {string} clusterId
18411
+ * @param {string} endpoint
18412
+ * @param {string} query
18413
+ * @param {string} [start]
18414
+ * @param {string} [end]
18415
+ * @param {string} [limit]
18416
+ * @param {string} [since]
18417
+ * @param {string} [step]
18418
+ * @param {string} [interval]
18419
+ * @param {string} [direction]
18420
+ * @param {*} [options] Override http request option.
18421
+ * @throws {RequiredError}
18422
+ * @memberof DefaultApi
18423
+ */
18424
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18425
+ return (0, exports.DefaultApiFp)(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
18426
+ }
18268
18427
  /**
18269
18428
  *
18270
18429
  * @summary Get cluster token by clusterId
package/dist/esm/api.d.ts CHANGED
@@ -3410,6 +3410,19 @@ export interface ClusterLogsMessage {
3410
3410
  */
3411
3411
  'safe_message'?: string;
3412
3412
  }
3413
+ /**
3414
+ *
3415
+ * @export
3416
+ * @interface ClusterLogsResponse
3417
+ */
3418
+ export interface ClusterLogsResponse {
3419
+ /**
3420
+ *
3421
+ * @type {string}
3422
+ * @memberof ClusterLogsResponse
3423
+ */
3424
+ 'response'?: string;
3425
+ }
3413
3426
  /**
3414
3427
  *
3415
3428
  * @export
@@ -22376,10 +22389,13 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
22376
22389
  * @param {string} [timeout]
22377
22390
  * @param {string} [dedup]
22378
22391
  * @param {string} [partialResponse]
22392
+ * @param {string} [maxSourceResolution]
22393
+ * @param {string} [engine]
22394
+ * @param {string} [analyse]
22379
22395
  * @param {*} [options] Override http request option.
22380
22396
  * @throws {RequiredError}
22381
22397
  */
22382
- getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22398
+ getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22383
22399
  /**
22384
22400
  *
22385
22401
  * @summary Know if a cluster is ready to be deployed or not
@@ -22631,10 +22647,13 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
22631
22647
  * @param {string} [timeout]
22632
22648
  * @param {string} [dedup]
22633
22649
  * @param {string} [partialResponse]
22650
+ * @param {string} [maxSourceResolution]
22651
+ * @param {string} [engine]
22652
+ * @param {string} [analyse]
22634
22653
  * @param {*} [options] Override http request option.
22635
22654
  * @throws {RequiredError}
22636
22655
  */
22637
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
22656
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
22638
22657
  /**
22639
22658
  *
22640
22659
  * @summary Know if a cluster is ready to be deployed or not
@@ -22886,10 +22905,13 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
22886
22905
  * @param {string} [timeout]
22887
22906
  * @param {string} [dedup]
22888
22907
  * @param {string} [partialResponse]
22908
+ * @param {string} [maxSourceResolution]
22909
+ * @param {string} [engine]
22910
+ * @param {string} [analyse]
22889
22911
  * @param {*} [options] Override http request option.
22890
22912
  * @throws {RequiredError}
22891
22913
  */
22892
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
22914
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
22893
22915
  /**
22894
22916
  *
22895
22917
  * @summary Know if a cluster is ready to be deployed or not
@@ -23153,11 +23175,14 @@ export declare class ClustersApi extends BaseAPI {
23153
23175
  * @param {string} [timeout]
23154
23176
  * @param {string} [dedup]
23155
23177
  * @param {string} [partialResponse]
23178
+ * @param {string} [maxSourceResolution]
23179
+ * @param {string} [engine]
23180
+ * @param {string} [analyse]
23156
23181
  * @param {*} [options] Override http request option.
23157
23182
  * @throws {RequiredError}
23158
23183
  * @memberof ClustersApi
23159
23184
  */
23160
- getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any>>;
23185
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, engine?: string, analyse?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any>>;
23161
23186
  /**
23162
23187
  *
23163
23188
  * @summary Know if a cluster is ready to be deployed or not
@@ -26264,6 +26289,23 @@ export declare class DatabasesApi extends BaseAPI {
26264
26289
  * @export
26265
26290
  */
26266
26291
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
26292
+ /**
26293
+ * Fetch cluster logs
26294
+ * @summary Fetch cluster logs
26295
+ * @param {string} clusterId
26296
+ * @param {string} endpoint
26297
+ * @param {string} query
26298
+ * @param {string} [start]
26299
+ * @param {string} [end]
26300
+ * @param {string} [limit]
26301
+ * @param {string} [since]
26302
+ * @param {string} [step]
26303
+ * @param {string} [interval]
26304
+ * @param {string} [direction]
26305
+ * @param {*} [options] Override http request option.
26306
+ * @throws {RequiredError}
26307
+ */
26308
+ getClusterLogs: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26267
26309
  /**
26268
26310
  *
26269
26311
  * @summary Get cluster token by clusterId
@@ -26286,6 +26328,23 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26286
26328
  * @export
26287
26329
  */
26288
26330
  export declare const DefaultApiFp: (configuration?: Configuration) => {
26331
+ /**
26332
+ * Fetch cluster logs
26333
+ * @summary Fetch cluster logs
26334
+ * @param {string} clusterId
26335
+ * @param {string} endpoint
26336
+ * @param {string} query
26337
+ * @param {string} [start]
26338
+ * @param {string} [end]
26339
+ * @param {string} [limit]
26340
+ * @param {string} [since]
26341
+ * @param {string} [step]
26342
+ * @param {string} [interval]
26343
+ * @param {string} [direction]
26344
+ * @param {*} [options] Override http request option.
26345
+ * @throws {RequiredError}
26346
+ */
26347
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLogsResponse>>;
26289
26348
  /**
26290
26349
  *
26291
26350
  * @summary Get cluster token by clusterId
@@ -26308,6 +26367,23 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
26308
26367
  * @export
26309
26368
  */
26310
26369
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26370
+ /**
26371
+ * Fetch cluster logs
26372
+ * @summary Fetch cluster logs
26373
+ * @param {string} clusterId
26374
+ * @param {string} endpoint
26375
+ * @param {string} query
26376
+ * @param {string} [start]
26377
+ * @param {string} [end]
26378
+ * @param {string} [limit]
26379
+ * @param {string} [since]
26380
+ * @param {string} [step]
26381
+ * @param {string} [interval]
26382
+ * @param {string} [direction]
26383
+ * @param {*} [options] Override http request option.
26384
+ * @throws {RequiredError}
26385
+ */
26386
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterLogsResponse>;
26311
26387
  /**
26312
26388
  *
26313
26389
  * @summary Get cluster token by clusterId
@@ -26332,6 +26408,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
26332
26408
  * @extends {BaseAPI}
26333
26409
  */
26334
26410
  export declare class DefaultApi extends BaseAPI {
26411
+ /**
26412
+ * Fetch cluster logs
26413
+ * @summary Fetch cluster logs
26414
+ * @param {string} clusterId
26415
+ * @param {string} endpoint
26416
+ * @param {string} query
26417
+ * @param {string} [start]
26418
+ * @param {string} [end]
26419
+ * @param {string} [limit]
26420
+ * @param {string} [since]
26421
+ * @param {string} [step]
26422
+ * @param {string} [interval]
26423
+ * @param {string} [direction]
26424
+ * @param {*} [options] Override http request option.
26425
+ * @throws {RequiredError}
26426
+ * @memberof DefaultApi
26427
+ */
26428
+ getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterLogsResponse, any>>;
26335
26429
  /**
26336
26430
  *
26337
26431
  * @summary Get cluster token by clusterId
package/dist/esm/api.js CHANGED
@@ -10318,10 +10318,13 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
10318
10318
  * @param {string} [timeout]
10319
10319
  * @param {string} [dedup]
10320
10320
  * @param {string} [partialResponse]
10321
+ * @param {string} [maxSourceResolution]
10322
+ * @param {string} [engine]
10323
+ * @param {string} [analyse]
10321
10324
  * @param {*} [options] Override http request option.
10322
10325
  * @throws {RequiredError}
10323
10326
  */
10324
- getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options = {}) {
10327
+ getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyse_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_1, engine_1, analyse_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options = {}) {
10325
10328
  // verify required parameter 'clusterId' is not null or undefined
10326
10329
  assertParamExists('getClusterMetrics', 'clusterId', clusterId);
10327
10330
  // verify required parameter 'endpoint' is not null or undefined
@@ -10371,6 +10374,15 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
10371
10374
  if (partialResponse !== undefined) {
10372
10375
  localVarQueryParameter['partial_response'] = partialResponse;
10373
10376
  }
10377
+ if (maxSourceResolution !== undefined) {
10378
+ localVarQueryParameter['max_source_resolution'] = maxSourceResolution;
10379
+ }
10380
+ if (engine !== undefined) {
10381
+ localVarQueryParameter['engine'] = engine;
10382
+ }
10383
+ if (analyse !== undefined) {
10384
+ localVarQueryParameter['analyse'] = analyse;
10385
+ }
10374
10386
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10375
10387
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10376
10388
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -11133,13 +11145,16 @@ export const ClustersApiFp = function (configuration) {
11133
11145
  * @param {string} [timeout]
11134
11146
  * @param {string} [dedup]
11135
11147
  * @param {string} [partialResponse]
11148
+ * @param {string} [maxSourceResolution]
11149
+ * @param {string} [engine]
11150
+ * @param {string} [analyse]
11136
11151
  * @param {*} [options] Override http request option.
11137
11152
  * @throws {RequiredError}
11138
11153
  */
11139
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11154
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options) {
11140
11155
  return __awaiter(this, void 0, void 0, function* () {
11141
11156
  var _a, _b, _c;
11142
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options);
11157
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options);
11143
11158
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11144
11159
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.getClusterMetrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11145
11160
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11539,11 +11554,14 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
11539
11554
  * @param {string} [timeout]
11540
11555
  * @param {string} [dedup]
11541
11556
  * @param {string} [partialResponse]
11557
+ * @param {string} [maxSourceResolution]
11558
+ * @param {string} [engine]
11559
+ * @param {string} [analyse]
11542
11560
  * @param {*} [options] Override http request option.
11543
11561
  * @throws {RequiredError}
11544
11562
  */
11545
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11546
- return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(axios, basePath));
11563
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options) {
11564
+ return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options).then((request) => request(axios, basePath));
11547
11565
  },
11548
11566
  /**
11549
11567
  *
@@ -11859,12 +11877,15 @@ export class ClustersApi extends BaseAPI {
11859
11877
  * @param {string} [timeout]
11860
11878
  * @param {string} [dedup]
11861
11879
  * @param {string} [partialResponse]
11880
+ * @param {string} [maxSourceResolution]
11881
+ * @param {string} [engine]
11882
+ * @param {string} [analyse]
11862
11883
  * @param {*} [options] Override http request option.
11863
11884
  * @throws {RequiredError}
11864
11885
  * @memberof ClustersApi
11865
11886
  */
11866
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11867
- return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(this.axios, this.basePath));
11887
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options) {
11888
+ return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, engine, analyse, options).then((request) => request(this.axios, this.basePath));
11868
11889
  }
11869
11890
  /**
11870
11891
  *
@@ -17977,6 +17998,80 @@ export class DatabasesApi extends BaseAPI {
17977
17998
  */
17978
17999
  export const DefaultApiAxiosParamCreator = function (configuration) {
17979
18000
  return {
18001
+ /**
18002
+ * Fetch cluster logs
18003
+ * @summary Fetch cluster logs
18004
+ * @param {string} clusterId
18005
+ * @param {string} endpoint
18006
+ * @param {string} query
18007
+ * @param {string} [start]
18008
+ * @param {string} [end]
18009
+ * @param {string} [limit]
18010
+ * @param {string} [since]
18011
+ * @param {string} [step]
18012
+ * @param {string} [interval]
18013
+ * @param {string} [direction]
18014
+ * @param {*} [options] Override http request option.
18015
+ * @throws {RequiredError}
18016
+ */
18017
+ getClusterLogs: (clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1) => __awaiter(this, [clusterId_1, endpoint_1, query_1, start_1, end_1, limit_1, since_1, step_1, interval_1, direction_1, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options = {}) {
18018
+ // verify required parameter 'clusterId' is not null or undefined
18019
+ assertParamExists('getClusterLogs', 'clusterId', clusterId);
18020
+ // verify required parameter 'endpoint' is not null or undefined
18021
+ assertParamExists('getClusterLogs', 'endpoint', endpoint);
18022
+ // verify required parameter 'query' is not null or undefined
18023
+ assertParamExists('getClusterLogs', 'query', query);
18024
+ const localVarPath = `/cluster/{clusterId}/logs`
18025
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
18026
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18027
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18028
+ let baseOptions;
18029
+ if (configuration) {
18030
+ baseOptions = configuration.baseOptions;
18031
+ }
18032
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
18033
+ const localVarHeaderParameter = {};
18034
+ const localVarQueryParameter = {};
18035
+ // authentication ApiKeyAuth required
18036
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
18037
+ // authentication bearerAuth required
18038
+ // http bearer authentication required
18039
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
18040
+ if (endpoint !== undefined) {
18041
+ localVarQueryParameter['endpoint'] = endpoint;
18042
+ }
18043
+ if (query !== undefined) {
18044
+ localVarQueryParameter['query'] = query;
18045
+ }
18046
+ if (start !== undefined) {
18047
+ localVarQueryParameter['start'] = start;
18048
+ }
18049
+ if (end !== undefined) {
18050
+ localVarQueryParameter['end'] = end;
18051
+ }
18052
+ if (limit !== undefined) {
18053
+ localVarQueryParameter['limit'] = limit;
18054
+ }
18055
+ if (since !== undefined) {
18056
+ localVarQueryParameter['since'] = since;
18057
+ }
18058
+ if (step !== undefined) {
18059
+ localVarQueryParameter['step'] = step;
18060
+ }
18061
+ if (interval !== undefined) {
18062
+ localVarQueryParameter['interval'] = interval;
18063
+ }
18064
+ if (direction !== undefined) {
18065
+ localVarQueryParameter['direction'] = direction;
18066
+ }
18067
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18068
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18069
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18070
+ return {
18071
+ url: toPathString(localVarUrlObj),
18072
+ options: localVarRequestOptions,
18073
+ };
18074
+ }),
17980
18075
  /**
17981
18076
  *
17982
18077
  * @summary Get cluster token by clusterId
@@ -18056,6 +18151,31 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
18056
18151
  export const DefaultApiFp = function (configuration) {
18057
18152
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
18058
18153
  return {
18154
+ /**
18155
+ * Fetch cluster logs
18156
+ * @summary Fetch cluster logs
18157
+ * @param {string} clusterId
18158
+ * @param {string} endpoint
18159
+ * @param {string} query
18160
+ * @param {string} [start]
18161
+ * @param {string} [end]
18162
+ * @param {string} [limit]
18163
+ * @param {string} [since]
18164
+ * @param {string} [step]
18165
+ * @param {string} [interval]
18166
+ * @param {string} [direction]
18167
+ * @param {*} [options] Override http request option.
18168
+ * @throws {RequiredError}
18169
+ */
18170
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18171
+ return __awaiter(this, void 0, void 0, function* () {
18172
+ var _a, _b, _c;
18173
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
18174
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18175
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getClusterLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18176
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18177
+ });
18178
+ },
18059
18179
  /**
18060
18180
  *
18061
18181
  * @summary Get cluster token by clusterId
@@ -18097,6 +18217,25 @@ export const DefaultApiFp = function (configuration) {
18097
18217
  export const DefaultApiFactory = function (configuration, basePath, axios) {
18098
18218
  const localVarFp = DefaultApiFp(configuration);
18099
18219
  return {
18220
+ /**
18221
+ * Fetch cluster logs
18222
+ * @summary Fetch cluster logs
18223
+ * @param {string} clusterId
18224
+ * @param {string} endpoint
18225
+ * @param {string} query
18226
+ * @param {string} [start]
18227
+ * @param {string} [end]
18228
+ * @param {string} [limit]
18229
+ * @param {string} [since]
18230
+ * @param {string} [step]
18231
+ * @param {string} [interval]
18232
+ * @param {string} [direction]
18233
+ * @param {*} [options] Override http request option.
18234
+ * @throws {RequiredError}
18235
+ */
18236
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18237
+ return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
18238
+ },
18100
18239
  /**
18101
18240
  *
18102
18241
  * @summary Get cluster token by clusterId
@@ -18126,6 +18265,26 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
18126
18265
  * @extends {BaseAPI}
18127
18266
  */
18128
18267
  export class DefaultApi extends BaseAPI {
18268
+ /**
18269
+ * Fetch cluster logs
18270
+ * @summary Fetch cluster logs
18271
+ * @param {string} clusterId
18272
+ * @param {string} endpoint
18273
+ * @param {string} query
18274
+ * @param {string} [start]
18275
+ * @param {string} [end]
18276
+ * @param {string} [limit]
18277
+ * @param {string} [since]
18278
+ * @param {string} [step]
18279
+ * @param {string} [interval]
18280
+ * @param {string} [direction]
18281
+ * @param {*} [options] Override http request option.
18282
+ * @throws {RequiredError}
18283
+ * @memberof DefaultApi
18284
+ */
18285
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18286
+ return DefaultApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
18287
+ }
18129
18288
  /**
18130
18289
  *
18131
18290
  * @summary Get cluster token by clusterId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.664",
3
+ "version": "v1.1.666",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {