qovery-typescript-axios 1.1.663 → 1.1.665

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
@@ -9166,6 +9179,12 @@ export interface GitTokenRequest {
9166
9179
  * @memberof GitTokenRequest
9167
9180
  */
9168
9181
  'workspace'?: string;
9182
+ /**
9183
+ * custom git api url for the given git provider/type. I.e: Self-hosted version of Gitlab
9184
+ * @type {string}
9185
+ * @memberof GitTokenRequest
9186
+ */
9187
+ 'git_api_url'?: string;
9169
9188
  }
9170
9189
 
9171
9190
 
@@ -9229,6 +9248,12 @@ export interface GitTokenResponse {
9229
9248
  * @memberof GitTokenResponse
9230
9249
  */
9231
9250
  'associated_services_count': number;
9251
+ /**
9252
+ *
9253
+ * @type {string}
9254
+ * @memberof GitTokenResponse
9255
+ */
9256
+ 'git_api_url': string;
9232
9257
  }
9233
9258
 
9234
9259
 
@@ -28544,10 +28569,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
28544
28569
  * @param {string} [timeout]
28545
28570
  * @param {string} [dedup]
28546
28571
  * @param {string} [partialResponse]
28572
+ * @param {string} [maxSourceResolution]
28547
28573
  * @param {*} [options] Override http request option.
28548
28574
  * @throws {RequiredError}
28549
28575
  */
28550
- 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> => {
28576
+ getClusterMetrics: async (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28551
28577
  // verify required parameter 'clusterId' is not null or undefined
28552
28578
  assertParamExists('getClusterMetrics', 'clusterId', clusterId)
28553
28579
  // verify required parameter 'endpoint' is not null or undefined
@@ -28610,6 +28636,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
28610
28636
  localVarQueryParameter['partial_response'] = partialResponse;
28611
28637
  }
28612
28638
 
28639
+ if (maxSourceResolution !== undefined) {
28640
+ localVarQueryParameter['max_source_resolution'] = maxSourceResolution;
28641
+ }
28642
+
28613
28643
 
28614
28644
 
28615
28645
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29454,11 +29484,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
29454
29484
  * @param {string} [timeout]
29455
29485
  * @param {string} [dedup]
29456
29486
  * @param {string} [partialResponse]
29487
+ * @param {string} [maxSourceResolution]
29457
29488
  * @param {*} [options] Override http request option.
29458
29489
  * @throws {RequiredError}
29459
29490
  */
29460
- 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>> {
29461
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options);
29491
+ async getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>> {
29492
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options);
29462
29493
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29463
29494
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterMetrics']?.[localVarOperationServerIndex]?.url;
29464
29495
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29813,11 +29844,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
29813
29844
  * @param {string} [timeout]
29814
29845
  * @param {string} [dedup]
29815
29846
  * @param {string} [partialResponse]
29847
+ * @param {string} [maxSourceResolution]
29816
29848
  * @param {*} [options] Override http request option.
29817
29849
  * @throws {RequiredError}
29818
29850
  */
29819
- 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> {
29820
- return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(axios, basePath));
29851
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse> {
29852
+ return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options).then((request) => request(axios, basePath));
29821
29853
  },
29822
29854
  /**
29823
29855
  *
@@ -30144,12 +30176,13 @@ export class ClustersApi extends BaseAPI {
30144
30176
  * @param {string} [timeout]
30145
30177
  * @param {string} [dedup]
30146
30178
  * @param {string} [partialResponse]
30179
+ * @param {string} [maxSourceResolution]
30147
30180
  * @param {*} [options] Override http request option.
30148
30181
  * @throws {RequiredError}
30149
30182
  * @memberof ClustersApi
30150
30183
  */
30151
- public getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, options?: RawAxiosRequestConfig) {
30152
- return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options).then((request) => request(this.axios, this.basePath));
30184
+ public getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig) {
30185
+ return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options).then((request) => request(this.axios, this.basePath));
30153
30186
  }
30154
30187
 
30155
30188
  /**
@@ -36747,6 +36780,96 @@ export class DatabasesApi extends BaseAPI {
36747
36780
  */
36748
36781
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
36749
36782
  return {
36783
+ /**
36784
+ * Fetch cluster logs
36785
+ * @summary Fetch cluster logs
36786
+ * @param {string} clusterId
36787
+ * @param {string} endpoint
36788
+ * @param {string} query
36789
+ * @param {string} [start]
36790
+ * @param {string} [end]
36791
+ * @param {string} [limit]
36792
+ * @param {string} [since]
36793
+ * @param {string} [step]
36794
+ * @param {string} [interval]
36795
+ * @param {string} [direction]
36796
+ * @param {*} [options] Override http request option.
36797
+ * @throws {RequiredError}
36798
+ */
36799
+ 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> => {
36800
+ // verify required parameter 'clusterId' is not null or undefined
36801
+ assertParamExists('getClusterLogs', 'clusterId', clusterId)
36802
+ // verify required parameter 'endpoint' is not null or undefined
36803
+ assertParamExists('getClusterLogs', 'endpoint', endpoint)
36804
+ // verify required parameter 'query' is not null or undefined
36805
+ assertParamExists('getClusterLogs', 'query', query)
36806
+ const localVarPath = `/cluster/{clusterId}/logs`
36807
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
36808
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36809
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36810
+ let baseOptions;
36811
+ if (configuration) {
36812
+ baseOptions = configuration.baseOptions;
36813
+ }
36814
+
36815
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36816
+ const localVarHeaderParameter = {} as any;
36817
+ const localVarQueryParameter = {} as any;
36818
+
36819
+ // authentication ApiKeyAuth required
36820
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36821
+
36822
+ // authentication bearerAuth required
36823
+ // http bearer authentication required
36824
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
36825
+
36826
+ if (endpoint !== undefined) {
36827
+ localVarQueryParameter['endpoint'] = endpoint;
36828
+ }
36829
+
36830
+ if (query !== undefined) {
36831
+ localVarQueryParameter['query'] = query;
36832
+ }
36833
+
36834
+ if (start !== undefined) {
36835
+ localVarQueryParameter['start'] = start;
36836
+ }
36837
+
36838
+ if (end !== undefined) {
36839
+ localVarQueryParameter['end'] = end;
36840
+ }
36841
+
36842
+ if (limit !== undefined) {
36843
+ localVarQueryParameter['limit'] = limit;
36844
+ }
36845
+
36846
+ if (since !== undefined) {
36847
+ localVarQueryParameter['since'] = since;
36848
+ }
36849
+
36850
+ if (step !== undefined) {
36851
+ localVarQueryParameter['step'] = step;
36852
+ }
36853
+
36854
+ if (interval !== undefined) {
36855
+ localVarQueryParameter['interval'] = interval;
36856
+ }
36857
+
36858
+ if (direction !== undefined) {
36859
+ localVarQueryParameter['direction'] = direction;
36860
+ }
36861
+
36862
+
36863
+
36864
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36865
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36866
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36867
+
36868
+ return {
36869
+ url: toPathString(localVarUrlObj),
36870
+ options: localVarRequestOptions,
36871
+ };
36872
+ },
36750
36873
  /**
36751
36874
  *
36752
36875
  * @summary Get cluster token by clusterId
@@ -36842,6 +36965,28 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
36842
36965
  export const DefaultApiFp = function(configuration?: Configuration) {
36843
36966
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
36844
36967
  return {
36968
+ /**
36969
+ * Fetch cluster logs
36970
+ * @summary Fetch cluster logs
36971
+ * @param {string} clusterId
36972
+ * @param {string} endpoint
36973
+ * @param {string} query
36974
+ * @param {string} [start]
36975
+ * @param {string} [end]
36976
+ * @param {string} [limit]
36977
+ * @param {string} [since]
36978
+ * @param {string} [step]
36979
+ * @param {string} [interval]
36980
+ * @param {string} [direction]
36981
+ * @param {*} [options] Override http request option.
36982
+ * @throws {RequiredError}
36983
+ */
36984
+ 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>> {
36985
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
36986
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36987
+ const localVarOperationServerBasePath = operationServerMap['DefaultApi.getClusterLogs']?.[localVarOperationServerIndex]?.url;
36988
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36989
+ },
36845
36990
  /**
36846
36991
  *
36847
36992
  * @summary Get cluster token by clusterId
@@ -36878,6 +37023,25 @@ export const DefaultApiFp = function(configuration?: Configuration) {
36878
37023
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36879
37024
  const localVarFp = DefaultApiFp(configuration)
36880
37025
  return {
37026
+ /**
37027
+ * Fetch cluster logs
37028
+ * @summary Fetch cluster logs
37029
+ * @param {string} clusterId
37030
+ * @param {string} endpoint
37031
+ * @param {string} query
37032
+ * @param {string} [start]
37033
+ * @param {string} [end]
37034
+ * @param {string} [limit]
37035
+ * @param {string} [since]
37036
+ * @param {string} [step]
37037
+ * @param {string} [interval]
37038
+ * @param {string} [direction]
37039
+ * @param {*} [options] Override http request option.
37040
+ * @throws {RequiredError}
37041
+ */
37042
+ 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> {
37043
+ return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
37044
+ },
36881
37045
  /**
36882
37046
  *
36883
37047
  * @summary Get cluster token by clusterId
@@ -36908,6 +37072,27 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
36908
37072
  * @extends {BaseAPI}
36909
37073
  */
36910
37074
  export class DefaultApi extends BaseAPI {
37075
+ /**
37076
+ * Fetch cluster logs
37077
+ * @summary Fetch cluster logs
37078
+ * @param {string} clusterId
37079
+ * @param {string} endpoint
37080
+ * @param {string} query
37081
+ * @param {string} [start]
37082
+ * @param {string} [end]
37083
+ * @param {string} [limit]
37084
+ * @param {string} [since]
37085
+ * @param {string} [step]
37086
+ * @param {string} [interval]
37087
+ * @param {string} [direction]
37088
+ * @param {*} [options] Override http request option.
37089
+ * @throws {RequiredError}
37090
+ * @memberof DefaultApi
37091
+ */
37092
+ public getClusterLogs(clusterId: string, endpoint: string, query: string, start?: string, end?: string, limit?: string, since?: string, step?: string, interval?: string, direction?: string, options?: RawAxiosRequestConfig) {
37093
+ return DefaultApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
37094
+ }
37095
+
36911
37096
  /**
36912
37097
  *
36913
37098
  * @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
@@ -8890,6 +8903,12 @@ export interface GitTokenRequest {
8890
8903
  * @memberof GitTokenRequest
8891
8904
  */
8892
8905
  'workspace'?: string;
8906
+ /**
8907
+ * custom git api url for the given git provider/type. I.e: Self-hosted version of Gitlab
8908
+ * @type {string}
8909
+ * @memberof GitTokenRequest
8910
+ */
8911
+ 'git_api_url'?: string;
8893
8912
  }
8894
8913
  /**
8895
8914
  *
@@ -8951,6 +8970,12 @@ export interface GitTokenResponse {
8951
8970
  * @memberof GitTokenResponse
8952
8971
  */
8953
8972
  'associated_services_count': number;
8973
+ /**
8974
+ *
8975
+ * @type {string}
8976
+ * @memberof GitTokenResponse
8977
+ */
8978
+ 'git_api_url': string;
8954
8979
  }
8955
8980
  /**
8956
8981
  *
@@ -22364,10 +22389,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
22364
22389
  * @param {string} [timeout]
22365
22390
  * @param {string} [dedup]
22366
22391
  * @param {string} [partialResponse]
22392
+ * @param {string} [maxSourceResolution]
22367
22393
  * @param {*} [options] Override http request option.
22368
22394
  * @throws {RequiredError}
22369
22395
  */
22370
- 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>;
22396
+ getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22371
22397
  /**
22372
22398
  *
22373
22399
  * @summary Know if a cluster is ready to be deployed or not
@@ -22619,10 +22645,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
22619
22645
  * @param {string} [timeout]
22620
22646
  * @param {string} [dedup]
22621
22647
  * @param {string} [partialResponse]
22648
+ * @param {string} [maxSourceResolution]
22622
22649
  * @param {*} [options] Override http request option.
22623
22650
  * @throws {RequiredError}
22624
22651
  */
22625
- 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>>;
22652
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
22626
22653
  /**
22627
22654
  *
22628
22655
  * @summary Know if a cluster is ready to be deployed or not
@@ -22874,10 +22901,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
22874
22901
  * @param {string} [timeout]
22875
22902
  * @param {string} [dedup]
22876
22903
  * @param {string} [partialResponse]
22904
+ * @param {string} [maxSourceResolution]
22877
22905
  * @param {*} [options] Override http request option.
22878
22906
  * @throws {RequiredError}
22879
22907
  */
22880
- 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>;
22908
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
22881
22909
  /**
22882
22910
  *
22883
22911
  * @summary Know if a cluster is ready to be deployed or not
@@ -23141,11 +23169,12 @@ export declare class ClustersApi extends BaseAPI {
23141
23169
  * @param {string} [timeout]
23142
23170
  * @param {string} [dedup]
23143
23171
  * @param {string} [partialResponse]
23172
+ * @param {string} [maxSourceResolution]
23144
23173
  * @param {*} [options] Override http request option.
23145
23174
  * @throws {RequiredError}
23146
23175
  * @memberof ClustersApi
23147
23176
  */
23148
- 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>>;
23177
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any>>;
23149
23178
  /**
23150
23179
  *
23151
23180
  * @summary Know if a cluster is ready to be deployed or not
@@ -26252,6 +26281,23 @@ export declare class DatabasesApi extends BaseAPI {
26252
26281
  * @export
26253
26282
  */
26254
26283
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
26284
+ /**
26285
+ * Fetch cluster logs
26286
+ * @summary Fetch cluster logs
26287
+ * @param {string} clusterId
26288
+ * @param {string} endpoint
26289
+ * @param {string} query
26290
+ * @param {string} [start]
26291
+ * @param {string} [end]
26292
+ * @param {string} [limit]
26293
+ * @param {string} [since]
26294
+ * @param {string} [step]
26295
+ * @param {string} [interval]
26296
+ * @param {string} [direction]
26297
+ * @param {*} [options] Override http request option.
26298
+ * @throws {RequiredError}
26299
+ */
26300
+ 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>;
26255
26301
  /**
26256
26302
  *
26257
26303
  * @summary Get cluster token by clusterId
@@ -26274,6 +26320,23 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26274
26320
  * @export
26275
26321
  */
26276
26322
  export declare const DefaultApiFp: (configuration?: Configuration) => {
26323
+ /**
26324
+ * Fetch cluster logs
26325
+ * @summary Fetch cluster logs
26326
+ * @param {string} clusterId
26327
+ * @param {string} endpoint
26328
+ * @param {string} query
26329
+ * @param {string} [start]
26330
+ * @param {string} [end]
26331
+ * @param {string} [limit]
26332
+ * @param {string} [since]
26333
+ * @param {string} [step]
26334
+ * @param {string} [interval]
26335
+ * @param {string} [direction]
26336
+ * @param {*} [options] Override http request option.
26337
+ * @throws {RequiredError}
26338
+ */
26339
+ 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>>;
26277
26340
  /**
26278
26341
  *
26279
26342
  * @summary Get cluster token by clusterId
@@ -26296,6 +26359,23 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
26296
26359
  * @export
26297
26360
  */
26298
26361
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26362
+ /**
26363
+ * Fetch cluster logs
26364
+ * @summary Fetch cluster logs
26365
+ * @param {string} clusterId
26366
+ * @param {string} endpoint
26367
+ * @param {string} query
26368
+ * @param {string} [start]
26369
+ * @param {string} [end]
26370
+ * @param {string} [limit]
26371
+ * @param {string} [since]
26372
+ * @param {string} [step]
26373
+ * @param {string} [interval]
26374
+ * @param {string} [direction]
26375
+ * @param {*} [options] Override http request option.
26376
+ * @throws {RequiredError}
26377
+ */
26378
+ 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>;
26299
26379
  /**
26300
26380
  *
26301
26381
  * @summary Get cluster token by clusterId
@@ -26320,6 +26400,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
26320
26400
  * @extends {BaseAPI}
26321
26401
  */
26322
26402
  export declare class DefaultApi extends BaseAPI {
26403
+ /**
26404
+ * Fetch cluster logs
26405
+ * @summary Fetch cluster logs
26406
+ * @param {string} clusterId
26407
+ * @param {string} endpoint
26408
+ * @param {string} query
26409
+ * @param {string} [start]
26410
+ * @param {string} [end]
26411
+ * @param {string} [limit]
26412
+ * @param {string} [since]
26413
+ * @param {string} [step]
26414
+ * @param {string} [interval]
26415
+ * @param {string} [direction]
26416
+ * @param {*} [options] Override http request option.
26417
+ * @throws {RequiredError}
26418
+ * @memberof DefaultApi
26419
+ */
26420
+ 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>>;
26323
26421
  /**
26324
26422
  *
26325
26423
  * @summary Get cluster token by clusterId
package/dist/api.js CHANGED
@@ -10390,10 +10390,11 @@ const ClustersApiAxiosParamCreator = function (configuration) {
10390
10390
  * @param {string} [timeout]
10391
10391
  * @param {string} [dedup]
10392
10392
  * @param {string} [partialResponse]
10393
+ * @param {string} [maxSourceResolution]
10393
10394
  * @param {*} [options] Override http request option.
10394
10395
  * @throws {RequiredError}
10395
10396
  */
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 = {}) {
10397
+ getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_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, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options = {}) {
10397
10398
  // verify required parameter 'clusterId' is not null or undefined
10398
10399
  (0, common_1.assertParamExists)('getClusterMetrics', 'clusterId', clusterId);
10399
10400
  // verify required parameter 'endpoint' is not null or undefined
@@ -10443,6 +10444,9 @@ const ClustersApiAxiosParamCreator = function (configuration) {
10443
10444
  if (partialResponse !== undefined) {
10444
10445
  localVarQueryParameter['partial_response'] = partialResponse;
10445
10446
  }
10447
+ if (maxSourceResolution !== undefined) {
10448
+ localVarQueryParameter['max_source_resolution'] = maxSourceResolution;
10449
+ }
10446
10450
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10447
10451
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10448
10452
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -11206,13 +11210,14 @@ const ClustersApiFp = function (configuration) {
11206
11210
  * @param {string} [timeout]
11207
11211
  * @param {string} [dedup]
11208
11212
  * @param {string} [partialResponse]
11213
+ * @param {string} [maxSourceResolution]
11209
11214
  * @param {*} [options] Override http request option.
11210
11215
  * @throws {RequiredError}
11211
11216
  */
11212
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11217
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options) {
11213
11218
  return __awaiter(this, void 0, void 0, function* () {
11214
11219
  var _a, _b, _c;
11215
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options);
11220
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options);
11216
11221
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11217
11222
  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
11223
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11613,11 +11618,12 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
11613
11618
  * @param {string} [timeout]
11614
11619
  * @param {string} [dedup]
11615
11620
  * @param {string} [partialResponse]
11621
+ * @param {string} [maxSourceResolution]
11616
11622
  * @param {*} [options] Override http request option.
11617
11623
  * @throws {RequiredError}
11618
11624
  */
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));
11625
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options) {
11626
+ return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options).then((request) => request(axios, basePath));
11621
11627
  },
11622
11628
  /**
11623
11629
  *
@@ -11934,12 +11940,13 @@ class ClustersApi extends base_1.BaseAPI {
11934
11940
  * @param {string} [timeout]
11935
11941
  * @param {string} [dedup]
11936
11942
  * @param {string} [partialResponse]
11943
+ * @param {string} [maxSourceResolution]
11937
11944
  * @param {*} [options] Override http request option.
11938
11945
  * @throws {RequiredError}
11939
11946
  * @memberof ClustersApi
11940
11947
  */
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));
11948
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options) {
11949
+ return (0, exports.ClustersApiFp)(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options).then((request) => request(this.axios, this.basePath));
11943
11950
  }
11944
11951
  /**
11945
11952
  *
@@ -18113,6 +18120,80 @@ exports.DatabasesApi = DatabasesApi;
18113
18120
  */
18114
18121
  const DefaultApiAxiosParamCreator = function (configuration) {
18115
18122
  return {
18123
+ /**
18124
+ * Fetch cluster logs
18125
+ * @summary Fetch cluster logs
18126
+ * @param {string} clusterId
18127
+ * @param {string} endpoint
18128
+ * @param {string} query
18129
+ * @param {string} [start]
18130
+ * @param {string} [end]
18131
+ * @param {string} [limit]
18132
+ * @param {string} [since]
18133
+ * @param {string} [step]
18134
+ * @param {string} [interval]
18135
+ * @param {string} [direction]
18136
+ * @param {*} [options] Override http request option.
18137
+ * @throws {RequiredError}
18138
+ */
18139
+ 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 = {}) {
18140
+ // verify required parameter 'clusterId' is not null or undefined
18141
+ (0, common_1.assertParamExists)('getClusterLogs', 'clusterId', clusterId);
18142
+ // verify required parameter 'endpoint' is not null or undefined
18143
+ (0, common_1.assertParamExists)('getClusterLogs', 'endpoint', endpoint);
18144
+ // verify required parameter 'query' is not null or undefined
18145
+ (0, common_1.assertParamExists)('getClusterLogs', 'query', query);
18146
+ const localVarPath = `/cluster/{clusterId}/logs`
18147
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
18148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18149
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18150
+ let baseOptions;
18151
+ if (configuration) {
18152
+ baseOptions = configuration.baseOptions;
18153
+ }
18154
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
18155
+ const localVarHeaderParameter = {};
18156
+ const localVarQueryParameter = {};
18157
+ // authentication ApiKeyAuth required
18158
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
18159
+ // authentication bearerAuth required
18160
+ // http bearer authentication required
18161
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
18162
+ if (endpoint !== undefined) {
18163
+ localVarQueryParameter['endpoint'] = endpoint;
18164
+ }
18165
+ if (query !== undefined) {
18166
+ localVarQueryParameter['query'] = query;
18167
+ }
18168
+ if (start !== undefined) {
18169
+ localVarQueryParameter['start'] = start;
18170
+ }
18171
+ if (end !== undefined) {
18172
+ localVarQueryParameter['end'] = end;
18173
+ }
18174
+ if (limit !== undefined) {
18175
+ localVarQueryParameter['limit'] = limit;
18176
+ }
18177
+ if (since !== undefined) {
18178
+ localVarQueryParameter['since'] = since;
18179
+ }
18180
+ if (step !== undefined) {
18181
+ localVarQueryParameter['step'] = step;
18182
+ }
18183
+ if (interval !== undefined) {
18184
+ localVarQueryParameter['interval'] = interval;
18185
+ }
18186
+ if (direction !== undefined) {
18187
+ localVarQueryParameter['direction'] = direction;
18188
+ }
18189
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18190
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18191
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18192
+ return {
18193
+ url: (0, common_1.toPathString)(localVarUrlObj),
18194
+ options: localVarRequestOptions,
18195
+ };
18196
+ }),
18116
18197
  /**
18117
18198
  *
18118
18199
  * @summary Get cluster token by clusterId
@@ -18193,6 +18274,31 @@ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
18193
18274
  const DefaultApiFp = function (configuration) {
18194
18275
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
18195
18276
  return {
18277
+ /**
18278
+ * Fetch cluster logs
18279
+ * @summary Fetch cluster logs
18280
+ * @param {string} clusterId
18281
+ * @param {string} endpoint
18282
+ * @param {string} query
18283
+ * @param {string} [start]
18284
+ * @param {string} [end]
18285
+ * @param {string} [limit]
18286
+ * @param {string} [since]
18287
+ * @param {string} [step]
18288
+ * @param {string} [interval]
18289
+ * @param {string} [direction]
18290
+ * @param {*} [options] Override http request option.
18291
+ * @throws {RequiredError}
18292
+ */
18293
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18294
+ return __awaiter(this, void 0, void 0, function* () {
18295
+ var _a, _b, _c;
18296
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
18297
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18298
+ 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;
18299
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18300
+ });
18301
+ },
18196
18302
  /**
18197
18303
  *
18198
18304
  * @summary Get cluster token by clusterId
@@ -18235,6 +18341,25 @@ exports.DefaultApiFp = DefaultApiFp;
18235
18341
  const DefaultApiFactory = function (configuration, basePath, axios) {
18236
18342
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
18237
18343
  return {
18344
+ /**
18345
+ * Fetch cluster logs
18346
+ * @summary Fetch cluster logs
18347
+ * @param {string} clusterId
18348
+ * @param {string} endpoint
18349
+ * @param {string} query
18350
+ * @param {string} [start]
18351
+ * @param {string} [end]
18352
+ * @param {string} [limit]
18353
+ * @param {string} [since]
18354
+ * @param {string} [step]
18355
+ * @param {string} [interval]
18356
+ * @param {string} [direction]
18357
+ * @param {*} [options] Override http request option.
18358
+ * @throws {RequiredError}
18359
+ */
18360
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18361
+ return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
18362
+ },
18238
18363
  /**
18239
18364
  *
18240
18365
  * @summary Get cluster token by clusterId
@@ -18265,6 +18390,26 @@ exports.DefaultApiFactory = DefaultApiFactory;
18265
18390
  * @extends {BaseAPI}
18266
18391
  */
18267
18392
  class DefaultApi extends base_1.BaseAPI {
18393
+ /**
18394
+ * Fetch cluster logs
18395
+ * @summary Fetch cluster logs
18396
+ * @param {string} clusterId
18397
+ * @param {string} endpoint
18398
+ * @param {string} query
18399
+ * @param {string} [start]
18400
+ * @param {string} [end]
18401
+ * @param {string} [limit]
18402
+ * @param {string} [since]
18403
+ * @param {string} [step]
18404
+ * @param {string} [interval]
18405
+ * @param {string} [direction]
18406
+ * @param {*} [options] Override http request option.
18407
+ * @throws {RequiredError}
18408
+ * @memberof DefaultApi
18409
+ */
18410
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18411
+ 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));
18412
+ }
18268
18413
  /**
18269
18414
  *
18270
18415
  * @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
@@ -8890,6 +8903,12 @@ export interface GitTokenRequest {
8890
8903
  * @memberof GitTokenRequest
8891
8904
  */
8892
8905
  'workspace'?: string;
8906
+ /**
8907
+ * custom git api url for the given git provider/type. I.e: Self-hosted version of Gitlab
8908
+ * @type {string}
8909
+ * @memberof GitTokenRequest
8910
+ */
8911
+ 'git_api_url'?: string;
8893
8912
  }
8894
8913
  /**
8895
8914
  *
@@ -8951,6 +8970,12 @@ export interface GitTokenResponse {
8951
8970
  * @memberof GitTokenResponse
8952
8971
  */
8953
8972
  'associated_services_count': number;
8973
+ /**
8974
+ *
8975
+ * @type {string}
8976
+ * @memberof GitTokenResponse
8977
+ */
8978
+ 'git_api_url': string;
8954
8979
  }
8955
8980
  /**
8956
8981
  *
@@ -22364,10 +22389,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
22364
22389
  * @param {string} [timeout]
22365
22390
  * @param {string} [dedup]
22366
22391
  * @param {string} [partialResponse]
22392
+ * @param {string} [maxSourceResolution]
22367
22393
  * @param {*} [options] Override http request option.
22368
22394
  * @throws {RequiredError}
22369
22395
  */
22370
- 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>;
22396
+ getClusterMetrics: (clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22371
22397
  /**
22372
22398
  *
22373
22399
  * @summary Know if a cluster is ready to be deployed or not
@@ -22619,10 +22645,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
22619
22645
  * @param {string} [timeout]
22620
22646
  * @param {string} [dedup]
22621
22647
  * @param {string} [partialResponse]
22648
+ * @param {string} [maxSourceResolution]
22622
22649
  * @param {*} [options] Override http request option.
22623
22650
  * @throws {RequiredError}
22624
22651
  */
22625
- 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>>;
22652
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterMetricsResponse>>;
22626
22653
  /**
22627
22654
  *
22628
22655
  * @summary Know if a cluster is ready to be deployed or not
@@ -22874,10 +22901,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
22874
22901
  * @param {string} [timeout]
22875
22902
  * @param {string} [dedup]
22876
22903
  * @param {string} [partialResponse]
22904
+ * @param {string} [maxSourceResolution]
22877
22905
  * @param {*} [options] Override http request option.
22878
22906
  * @throws {RequiredError}
22879
22907
  */
22880
- 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>;
22908
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterMetricsResponse>;
22881
22909
  /**
22882
22910
  *
22883
22911
  * @summary Know if a cluster is ready to be deployed or not
@@ -23141,11 +23169,12 @@ export declare class ClustersApi extends BaseAPI {
23141
23169
  * @param {string} [timeout]
23142
23170
  * @param {string} [dedup]
23143
23171
  * @param {string} [partialResponse]
23172
+ * @param {string} [maxSourceResolution]
23144
23173
  * @param {*} [options] Override http request option.
23145
23174
  * @throws {RequiredError}
23146
23175
  * @memberof ClustersApi
23147
23176
  */
23148
- 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>>;
23177
+ getClusterMetrics(clusterId: string, endpoint: string, query: string, start?: string, end?: string, step?: string, time?: string, timeout?: string, dedup?: string, partialResponse?: string, maxSourceResolution?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterMetricsResponse, any>>;
23149
23178
  /**
23150
23179
  *
23151
23180
  * @summary Know if a cluster is ready to be deployed or not
@@ -26252,6 +26281,23 @@ export declare class DatabasesApi extends BaseAPI {
26252
26281
  * @export
26253
26282
  */
26254
26283
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
26284
+ /**
26285
+ * Fetch cluster logs
26286
+ * @summary Fetch cluster logs
26287
+ * @param {string} clusterId
26288
+ * @param {string} endpoint
26289
+ * @param {string} query
26290
+ * @param {string} [start]
26291
+ * @param {string} [end]
26292
+ * @param {string} [limit]
26293
+ * @param {string} [since]
26294
+ * @param {string} [step]
26295
+ * @param {string} [interval]
26296
+ * @param {string} [direction]
26297
+ * @param {*} [options] Override http request option.
26298
+ * @throws {RequiredError}
26299
+ */
26300
+ 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>;
26255
26301
  /**
26256
26302
  *
26257
26303
  * @summary Get cluster token by clusterId
@@ -26274,6 +26320,23 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26274
26320
  * @export
26275
26321
  */
26276
26322
  export declare const DefaultApiFp: (configuration?: Configuration) => {
26323
+ /**
26324
+ * Fetch cluster logs
26325
+ * @summary Fetch cluster logs
26326
+ * @param {string} clusterId
26327
+ * @param {string} endpoint
26328
+ * @param {string} query
26329
+ * @param {string} [start]
26330
+ * @param {string} [end]
26331
+ * @param {string} [limit]
26332
+ * @param {string} [since]
26333
+ * @param {string} [step]
26334
+ * @param {string} [interval]
26335
+ * @param {string} [direction]
26336
+ * @param {*} [options] Override http request option.
26337
+ * @throws {RequiredError}
26338
+ */
26339
+ 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>>;
26277
26340
  /**
26278
26341
  *
26279
26342
  * @summary Get cluster token by clusterId
@@ -26296,6 +26359,23 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
26296
26359
  * @export
26297
26360
  */
26298
26361
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26362
+ /**
26363
+ * Fetch cluster logs
26364
+ * @summary Fetch cluster logs
26365
+ * @param {string} clusterId
26366
+ * @param {string} endpoint
26367
+ * @param {string} query
26368
+ * @param {string} [start]
26369
+ * @param {string} [end]
26370
+ * @param {string} [limit]
26371
+ * @param {string} [since]
26372
+ * @param {string} [step]
26373
+ * @param {string} [interval]
26374
+ * @param {string} [direction]
26375
+ * @param {*} [options] Override http request option.
26376
+ * @throws {RequiredError}
26377
+ */
26378
+ 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>;
26299
26379
  /**
26300
26380
  *
26301
26381
  * @summary Get cluster token by clusterId
@@ -26320,6 +26400,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
26320
26400
  * @extends {BaseAPI}
26321
26401
  */
26322
26402
  export declare class DefaultApi extends BaseAPI {
26403
+ /**
26404
+ * Fetch cluster logs
26405
+ * @summary Fetch cluster logs
26406
+ * @param {string} clusterId
26407
+ * @param {string} endpoint
26408
+ * @param {string} query
26409
+ * @param {string} [start]
26410
+ * @param {string} [end]
26411
+ * @param {string} [limit]
26412
+ * @param {string} [since]
26413
+ * @param {string} [step]
26414
+ * @param {string} [interval]
26415
+ * @param {string} [direction]
26416
+ * @param {*} [options] Override http request option.
26417
+ * @throws {RequiredError}
26418
+ * @memberof DefaultApi
26419
+ */
26420
+ 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>>;
26323
26421
  /**
26324
26422
  *
26325
26423
  * @summary Get cluster token by clusterId
package/dist/esm/api.js CHANGED
@@ -10318,10 +10318,11 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
10318
10318
  * @param {string} [timeout]
10319
10319
  * @param {string} [dedup]
10320
10320
  * @param {string} [partialResponse]
10321
+ * @param {string} [maxSourceResolution]
10321
10322
  * @param {*} [options] Override http request option.
10322
10323
  * @throws {RequiredError}
10323
10324
  */
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 = {}) {
10325
+ getClusterMetrics: (clusterId_1, endpoint_1, query_1, start_1, end_1, step_1, time_1, timeout_1, dedup_1, partialResponse_1, maxSourceResolution_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, ...args_1], void 0, function* (clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options = {}) {
10325
10326
  // verify required parameter 'clusterId' is not null or undefined
10326
10327
  assertParamExists('getClusterMetrics', 'clusterId', clusterId);
10327
10328
  // verify required parameter 'endpoint' is not null or undefined
@@ -10371,6 +10372,9 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
10371
10372
  if (partialResponse !== undefined) {
10372
10373
  localVarQueryParameter['partial_response'] = partialResponse;
10373
10374
  }
10375
+ if (maxSourceResolution !== undefined) {
10376
+ localVarQueryParameter['max_source_resolution'] = maxSourceResolution;
10377
+ }
10374
10378
  setSearchParams(localVarUrlObj, localVarQueryParameter);
10375
10379
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10376
10380
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -11133,13 +11137,14 @@ export const ClustersApiFp = function (configuration) {
11133
11137
  * @param {string} [timeout]
11134
11138
  * @param {string} [dedup]
11135
11139
  * @param {string} [partialResponse]
11140
+ * @param {string} [maxSourceResolution]
11136
11141
  * @param {*} [options] Override http request option.
11137
11142
  * @throws {RequiredError}
11138
11143
  */
11139
- getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options) {
11144
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options) {
11140
11145
  return __awaiter(this, void 0, void 0, function* () {
11141
11146
  var _a, _b, _c;
11142
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, options);
11147
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options);
11143
11148
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11144
11149
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.getClusterMetrics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11145
11150
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11539,11 +11544,12 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
11539
11544
  * @param {string} [timeout]
11540
11545
  * @param {string} [dedup]
11541
11546
  * @param {string} [partialResponse]
11547
+ * @param {string} [maxSourceResolution]
11542
11548
  * @param {*} [options] Override http request option.
11543
11549
  * @throws {RequiredError}
11544
11550
  */
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));
11551
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options) {
11552
+ return localVarFp.getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options).then((request) => request(axios, basePath));
11547
11553
  },
11548
11554
  /**
11549
11555
  *
@@ -11859,12 +11865,13 @@ export class ClustersApi extends BaseAPI {
11859
11865
  * @param {string} [timeout]
11860
11866
  * @param {string} [dedup]
11861
11867
  * @param {string} [partialResponse]
11868
+ * @param {string} [maxSourceResolution]
11862
11869
  * @param {*} [options] Override http request option.
11863
11870
  * @throws {RequiredError}
11864
11871
  * @memberof ClustersApi
11865
11872
  */
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));
11873
+ getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options) {
11874
+ return ClustersApiFp(this.configuration).getClusterMetrics(clusterId, endpoint, query, start, end, step, time, timeout, dedup, partialResponse, maxSourceResolution, options).then((request) => request(this.axios, this.basePath));
11868
11875
  }
11869
11876
  /**
11870
11877
  *
@@ -17977,6 +17984,80 @@ export class DatabasesApi extends BaseAPI {
17977
17984
  */
17978
17985
  export const DefaultApiAxiosParamCreator = function (configuration) {
17979
17986
  return {
17987
+ /**
17988
+ * Fetch cluster logs
17989
+ * @summary Fetch cluster logs
17990
+ * @param {string} clusterId
17991
+ * @param {string} endpoint
17992
+ * @param {string} query
17993
+ * @param {string} [start]
17994
+ * @param {string} [end]
17995
+ * @param {string} [limit]
17996
+ * @param {string} [since]
17997
+ * @param {string} [step]
17998
+ * @param {string} [interval]
17999
+ * @param {string} [direction]
18000
+ * @param {*} [options] Override http request option.
18001
+ * @throws {RequiredError}
18002
+ */
18003
+ 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 = {}) {
18004
+ // verify required parameter 'clusterId' is not null or undefined
18005
+ assertParamExists('getClusterLogs', 'clusterId', clusterId);
18006
+ // verify required parameter 'endpoint' is not null or undefined
18007
+ assertParamExists('getClusterLogs', 'endpoint', endpoint);
18008
+ // verify required parameter 'query' is not null or undefined
18009
+ assertParamExists('getClusterLogs', 'query', query);
18010
+ const localVarPath = `/cluster/{clusterId}/logs`
18011
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
18012
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18013
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18014
+ let baseOptions;
18015
+ if (configuration) {
18016
+ baseOptions = configuration.baseOptions;
18017
+ }
18018
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
18019
+ const localVarHeaderParameter = {};
18020
+ const localVarQueryParameter = {};
18021
+ // authentication ApiKeyAuth required
18022
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
18023
+ // authentication bearerAuth required
18024
+ // http bearer authentication required
18025
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
18026
+ if (endpoint !== undefined) {
18027
+ localVarQueryParameter['endpoint'] = endpoint;
18028
+ }
18029
+ if (query !== undefined) {
18030
+ localVarQueryParameter['query'] = query;
18031
+ }
18032
+ if (start !== undefined) {
18033
+ localVarQueryParameter['start'] = start;
18034
+ }
18035
+ if (end !== undefined) {
18036
+ localVarQueryParameter['end'] = end;
18037
+ }
18038
+ if (limit !== undefined) {
18039
+ localVarQueryParameter['limit'] = limit;
18040
+ }
18041
+ if (since !== undefined) {
18042
+ localVarQueryParameter['since'] = since;
18043
+ }
18044
+ if (step !== undefined) {
18045
+ localVarQueryParameter['step'] = step;
18046
+ }
18047
+ if (interval !== undefined) {
18048
+ localVarQueryParameter['interval'] = interval;
18049
+ }
18050
+ if (direction !== undefined) {
18051
+ localVarQueryParameter['direction'] = direction;
18052
+ }
18053
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18054
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18055
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18056
+ return {
18057
+ url: toPathString(localVarUrlObj),
18058
+ options: localVarRequestOptions,
18059
+ };
18060
+ }),
17980
18061
  /**
17981
18062
  *
17982
18063
  * @summary Get cluster token by clusterId
@@ -18056,6 +18137,31 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
18056
18137
  export const DefaultApiFp = function (configuration) {
18057
18138
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
18058
18139
  return {
18140
+ /**
18141
+ * Fetch cluster logs
18142
+ * @summary Fetch cluster logs
18143
+ * @param {string} clusterId
18144
+ * @param {string} endpoint
18145
+ * @param {string} query
18146
+ * @param {string} [start]
18147
+ * @param {string} [end]
18148
+ * @param {string} [limit]
18149
+ * @param {string} [since]
18150
+ * @param {string} [step]
18151
+ * @param {string} [interval]
18152
+ * @param {string} [direction]
18153
+ * @param {*} [options] Override http request option.
18154
+ * @throws {RequiredError}
18155
+ */
18156
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18157
+ return __awaiter(this, void 0, void 0, function* () {
18158
+ var _a, _b, _c;
18159
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options);
18160
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18161
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getClusterLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18162
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18163
+ });
18164
+ },
18059
18165
  /**
18060
18166
  *
18061
18167
  * @summary Get cluster token by clusterId
@@ -18097,6 +18203,25 @@ export const DefaultApiFp = function (configuration) {
18097
18203
  export const DefaultApiFactory = function (configuration, basePath, axios) {
18098
18204
  const localVarFp = DefaultApiFp(configuration);
18099
18205
  return {
18206
+ /**
18207
+ * Fetch cluster logs
18208
+ * @summary Fetch cluster logs
18209
+ * @param {string} clusterId
18210
+ * @param {string} endpoint
18211
+ * @param {string} query
18212
+ * @param {string} [start]
18213
+ * @param {string} [end]
18214
+ * @param {string} [limit]
18215
+ * @param {string} [since]
18216
+ * @param {string} [step]
18217
+ * @param {string} [interval]
18218
+ * @param {string} [direction]
18219
+ * @param {*} [options] Override http request option.
18220
+ * @throws {RequiredError}
18221
+ */
18222
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18223
+ return localVarFp.getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(axios, basePath));
18224
+ },
18100
18225
  /**
18101
18226
  *
18102
18227
  * @summary Get cluster token by clusterId
@@ -18126,6 +18251,26 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
18126
18251
  * @extends {BaseAPI}
18127
18252
  */
18128
18253
  export class DefaultApi extends BaseAPI {
18254
+ /**
18255
+ * Fetch cluster logs
18256
+ * @summary Fetch cluster logs
18257
+ * @param {string} clusterId
18258
+ * @param {string} endpoint
18259
+ * @param {string} query
18260
+ * @param {string} [start]
18261
+ * @param {string} [end]
18262
+ * @param {string} [limit]
18263
+ * @param {string} [since]
18264
+ * @param {string} [step]
18265
+ * @param {string} [interval]
18266
+ * @param {string} [direction]
18267
+ * @param {*} [options] Override http request option.
18268
+ * @throws {RequiredError}
18269
+ * @memberof DefaultApi
18270
+ */
18271
+ getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options) {
18272
+ return DefaultApiFp(this.configuration).getClusterLogs(clusterId, endpoint, query, start, end, limit, since, step, interval, direction, options).then((request) => request(this.axios, this.basePath));
18273
+ }
18129
18274
  /**
18130
18275
  *
18131
18276
  * @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.663",
3
+ "version": "v1.1.665",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {