qovery-ws-typescript-axios 0.1.665 → 0.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
@@ -65,25 +65,25 @@ export interface ApplicationStatusDto {
65
65
  /**
66
66
  *
67
67
  * @export
68
- * @interface ArgoCdAppStatusDto
68
+ * @interface ArgocdAppStatusDto
69
69
  */
70
- export interface ArgoCdAppStatusDto {
70
+ export interface ArgocdAppStatusDto {
71
71
  /**
72
72
  *
73
73
  * @type {string}
74
- * @memberof ArgoCdAppStatusDto
74
+ * @memberof ArgocdAppStatusDto
75
75
  */
76
76
  'id': string;
77
77
  /**
78
78
  *
79
79
  * @type {Array<PodStatusDto>}
80
- * @memberof ArgoCdAppStatusDto
80
+ * @memberof ArgocdAppStatusDto
81
81
  */
82
82
  'pods': Array<PodStatusDto>;
83
83
  /**
84
84
  *
85
85
  * @type {ServiceStateDto}
86
- * @memberof ArgoCdAppStatusDto
86
+ * @memberof ArgocdAppStatusDto
87
87
  */
88
88
  'state': ServiceStateDto;
89
89
  }
@@ -175,7 +175,7 @@ export const BlueprintPreviewResultOneOf2TypeEnum = {
175
175
  export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
176
176
 
177
177
  /**
178
- * The preview did not complete in time. `message` names the step that ran out of time and after how long, when the engine got far enough to report it; it is absent when nothing did — the engine went quiet, or the gateway stopped waiting first.
178
+ * The preview did not complete in time. `message` names the step that ran out, and is absent when nothing reported one — the engine went quiet, or this gateway stopped waiting first.
179
179
  * @export
180
180
  * @interface BlueprintPreviewResultOneOf3
181
181
  */
@@ -312,6 +312,12 @@ export interface ClusterComputedStatusDto {
312
312
  * @memberof ClusterComputedStatusDto
313
313
  */
314
314
  'qovery_components_in_failure': Array<QoveryComponentInFailure>;
315
+ /**
316
+ *
317
+ * @type {ClusterQuotaWarningDto}
318
+ * @memberof ClusterComputedStatusDto
319
+ */
320
+ 'quota_warning'?: ClusterQuotaWarningDto | null;
315
321
  }
316
322
 
317
323
 
@@ -474,6 +480,79 @@ export interface ClusterNodeDto {
474
480
  */
475
481
  'unschedulable': boolean;
476
482
  }
483
+ /**
484
+ *
485
+ * @export
486
+ * @interface ClusterQuotaWarningDto
487
+ */
488
+ export interface ClusterQuotaWarningDto {
489
+ /**
490
+ *
491
+ * @type {number}
492
+ * @memberof ClusterQuotaWarningDto
493
+ */
494
+ 'detected_at': number;
495
+ /**
496
+ *
497
+ * @type {number}
498
+ * @memberof ClusterQuotaWarningDto
499
+ */
500
+ 'last_seen_at': number;
501
+ /**
502
+ *
503
+ * @type {string}
504
+ * @memberof ClusterQuotaWarningDto
505
+ */
506
+ 'message': string;
507
+ /**
508
+ *
509
+ * @type {string}
510
+ * @memberof ClusterQuotaWarningDto
511
+ */
512
+ 'provider': string;
513
+ /**
514
+ *
515
+ * @type {string}
516
+ * @memberof ClusterQuotaWarningDto
517
+ */
518
+ 'quota_code': string;
519
+ /**
520
+ *
521
+ * @type {string}
522
+ * @memberof ClusterQuotaWarningDto
523
+ */
524
+ 'quota_name'?: string | null;
525
+ /**
526
+ *
527
+ * @type {string}
528
+ * @memberof ClusterQuotaWarningDto
529
+ */
530
+ 'region'?: string | null;
531
+ /**
532
+ *
533
+ * @type {string}
534
+ * @memberof ClusterQuotaWarningDto
535
+ */
536
+ 'resource'?: string | null;
537
+ /**
538
+ *
539
+ * @type {string}
540
+ * @memberof ClusterQuotaWarningDto
541
+ */
542
+ 'source': string;
543
+ /**
544
+ *
545
+ * @type {string}
546
+ * @memberof ClusterQuotaWarningDto
547
+ */
548
+ 'status': string;
549
+ /**
550
+ *
551
+ * @type {string}
552
+ * @memberof ClusterQuotaWarningDto
553
+ */
554
+ 'suggested_action': string;
555
+ }
477
556
  /**
478
557
  *
479
558
  * @export
@@ -688,10 +767,10 @@ export interface EnvironmentStatusDto {
688
767
  'applications': Array<ApplicationStatusDto>;
689
768
  /**
690
769
  *
691
- * @type {Array<ArgoCdAppStatusDto>}
770
+ * @type {Array<ArgocdAppStatusDto>}
692
771
  * @memberof EnvironmentStatusDto
693
772
  */
694
- 'argocd_apps': Array<ArgoCdAppStatusDto>;
773
+ 'argocd_apps': Array<ArgocdAppStatusDto>;
695
774
  /**
696
775
  *
697
776
  * @type {Array<ApplicationStatusDto>}
@@ -987,6 +1066,12 @@ export interface NodeConditionDto {
987
1066
  * @interface NodeDto
988
1067
  */
989
1068
  export interface NodeDto {
1069
+ /**
1070
+ *
1071
+ * @type {string}
1072
+ * @memberof NodeDto
1073
+ */
1074
+ 'kubelet_version': string;
990
1075
  /**
991
1076
  *
992
1077
  * @type {string}
@@ -2104,7 +2189,8 @@ export const ServiceStateDto = {
2104
2189
  STOPPING: 'STOPPING',
2105
2190
  STOPPED: 'STOPPED',
2106
2191
  COMPLETED: 'COMPLETED',
2107
- WARNING: 'WARNING'
2192
+ WARNING: 'WARNING',
2193
+ UNAVAILABLE: 'UNAVAILABLE'
2108
2194
  } as const;
2109
2195
 
2110
2196
  export type ServiceStateDto = typeof ServiceStateDto[keyof typeof ServiceStateDto];
@@ -3077,6 +3163,7 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
3077
3163
  * @param {string} project
3078
3164
  * @param {string} environment
3079
3165
  * @param {string} service
3166
+ * @param {ServiceType | null} serviceType
3080
3167
  * @param {string | null} podName
3081
3168
  * @param {string | null} deploymentId
3082
3169
  * @param {string | null} query
@@ -3085,7 +3172,7 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
3085
3172
  * @param {*} [options] Override http request option.
3086
3173
  * @throws {RequiredError}
3087
3174
  */
3088
- handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3175
+ handleServiceLogsRequest: async (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3089
3176
  // verify required parameter 'organization' is not null or undefined
3090
3177
  assertParamExists('handleServiceLogsRequest', 'organization', organization)
3091
3178
  // verify required parameter 'cluster' is not null or undefined
@@ -3096,6 +3183,8 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
3096
3183
  assertParamExists('handleServiceLogsRequest', 'environment', environment)
3097
3184
  // verify required parameter 'service' is not null or undefined
3098
3185
  assertParamExists('handleServiceLogsRequest', 'service', service)
3186
+ // verify required parameter 'serviceType' is not null or undefined
3187
+ assertParamExists('handleServiceLogsRequest', 'serviceType', serviceType)
3099
3188
  // verify required parameter 'podName' is not null or undefined
3100
3189
  assertParamExists('handleServiceLogsRequest', 'podName', podName)
3101
3190
  // verify required parameter 'deploymentId' is not null or undefined
@@ -3112,6 +3201,7 @@ export const LogsApiAxiosParamCreator = function (configuration?: Configuration)
3112
3201
  .replace(`{${"project"}}`, encodeURIComponent(String(project)))
3113
3202
  .replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
3114
3203
  .replace(`{${"service"}}`, encodeURIComponent(String(service)))
3204
+ .replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)))
3115
3205
  .replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
3116
3206
  .replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
3117
3207
  .replace(`{${"query"}}`, encodeURIComponent(String(query)))
@@ -3173,6 +3263,7 @@ export const LogsApiFp = function(configuration?: Configuration) {
3173
3263
  * @param {string} project
3174
3264
  * @param {string} environment
3175
3265
  * @param {string} service
3266
+ * @param {ServiceType | null} serviceType
3176
3267
  * @param {string | null} podName
3177
3268
  * @param {string | null} deploymentId
3178
3269
  * @param {string | null} query
@@ -3181,8 +3272,8 @@ export const LogsApiFp = function(configuration?: Configuration) {
3181
3272
  * @param {*} [options] Override http request option.
3182
3273
  * @throws {RequiredError}
3183
3274
  */
3184
- async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
3185
- const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options);
3275
+ async handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>> {
3276
+ const localVarAxiosArgs = await localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options);
3186
3277
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3187
3278
  const localVarOperationServerBasePath = operationServerMap['LogsApi.handleServiceLogsRequest']?.[localVarOperationServerIndex]?.url;
3188
3279
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3218,6 +3309,7 @@ export const LogsApiFactory = function (configuration?: Configuration, basePath?
3218
3309
  * @param {string} project
3219
3310
  * @param {string} environment
3220
3311
  * @param {string} service
3312
+ * @param {ServiceType | null} serviceType
3221
3313
  * @param {string | null} podName
3222
3314
  * @param {string | null} deploymentId
3223
3315
  * @param {string | null} query
@@ -3226,8 +3318,8 @@ export const LogsApiFactory = function (configuration?: Configuration, basePath?
3226
3318
  * @param {*} [options] Override http request option.
3227
3319
  * @throws {RequiredError}
3228
3320
  */
3229
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
3230
- return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
3321
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto> {
3322
+ return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
3231
3323
  },
3232
3324
  };
3233
3325
  };
@@ -3262,6 +3354,7 @@ export class LogsApi extends BaseAPI {
3262
3354
  * @param {string} project
3263
3355
  * @param {string} environment
3264
3356
  * @param {string} service
3357
+ * @param {ServiceType | null} serviceType
3265
3358
  * @param {string | null} podName
3266
3359
  * @param {string | null} deploymentId
3267
3360
  * @param {string | null} query
@@ -3271,8 +3364,8 @@ export class LogsApi extends BaseAPI {
3271
3364
  * @throws {RequiredError}
3272
3365
  * @memberof LogsApi
3273
3366
  */
3274
- public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) {
3275
- return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
3367
+ public handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) {
3368
+ return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
3276
3369
  }
3277
3370
  }
3278
3371
 
@@ -3831,10 +3924,11 @@ export const ShellApiAxiosParamCreator = function (configuration?: Configuration
3831
3924
  * @param {Array<string>} command
3832
3925
  * @param {number} ttyWidth
3833
3926
  * @param {number} ttyHeight
3927
+ * @param {ServiceType | null} serviceType
3834
3928
  * @param {*} [options] Override http request option.
3835
3929
  * @throws {RequiredError}
3836
3930
  */
3837
- handleShellExec: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3931
+ handleShellExec: async (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3838
3932
  // verify required parameter 'organization' is not null or undefined
3839
3933
  assertParamExists('handleShellExec', 'organization', organization)
3840
3934
  // verify required parameter 'cluster' is not null or undefined
@@ -3855,6 +3949,8 @@ export const ShellApiAxiosParamCreator = function (configuration?: Configuration
3855
3949
  assertParamExists('handleShellExec', 'ttyWidth', ttyWidth)
3856
3950
  // verify required parameter 'ttyHeight' is not null or undefined
3857
3951
  assertParamExists('handleShellExec', 'ttyHeight', ttyHeight)
3952
+ // verify required parameter 'serviceType' is not null or undefined
3953
+ assertParamExists('handleShellExec', 'serviceType', serviceType)
3858
3954
  const localVarPath = `/shell/exec`
3859
3955
  .replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
3860
3956
  .replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
@@ -3865,7 +3961,8 @@ export const ShellApiAxiosParamCreator = function (configuration?: Configuration
3865
3961
  .replace(`{${"container_name"}}`, encodeURIComponent(String(containerName)))
3866
3962
  .replace(`{${"command"}}`, encodeURIComponent(String(command)))
3867
3963
  .replace(`{${"tty_width"}}`, encodeURIComponent(String(ttyWidth)))
3868
- .replace(`{${"tty_height"}}`, encodeURIComponent(String(ttyHeight)));
3964
+ .replace(`{${"tty_height"}}`, encodeURIComponent(String(ttyHeight)))
3965
+ .replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)));
3869
3966
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3870
3967
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3871
3968
  let baseOptions;
@@ -3910,11 +4007,12 @@ export const ShellApiFp = function(configuration?: Configuration) {
3910
4007
  * @param {Array<string>} command
3911
4008
  * @param {number} ttyWidth
3912
4009
  * @param {number} ttyHeight
4010
+ * @param {ServiceType | null} serviceType
3913
4011
  * @param {*} [options] Override http request option.
3914
4012
  * @throws {RequiredError}
3915
4013
  */
3916
- async handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
3917
- const localVarAxiosArgs = await localVarAxiosParamCreator.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options);
4014
+ async handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
4015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options);
3918
4016
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3919
4017
  const localVarOperationServerBasePath = operationServerMap['ShellApi.handleShellExec']?.[localVarOperationServerIndex]?.url;
3920
4018
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3941,11 +4039,12 @@ export const ShellApiFactory = function (configuration?: Configuration, basePath
3941
4039
  * @param {Array<string>} command
3942
4040
  * @param {number} ttyWidth
3943
4041
  * @param {number} ttyHeight
4042
+ * @param {ServiceType | null} serviceType
3944
4043
  * @param {*} [options] Override http request option.
3945
4044
  * @throws {RequiredError}
3946
4045
  */
3947
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): AxiosPromise<string> {
3948
- return localVarFp.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options).then((request) => request(axios, basePath));
4046
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): AxiosPromise<string> {
4047
+ return localVarFp.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options).then((request) => request(axios, basePath));
3949
4048
  },
3950
4049
  };
3951
4050
  };
@@ -3969,12 +4068,13 @@ export class ShellApi extends BaseAPI {
3969
4068
  * @param {Array<string>} command
3970
4069
  * @param {number} ttyWidth
3971
4070
  * @param {number} ttyHeight
4071
+ * @param {ServiceType | null} serviceType
3972
4072
  * @param {*} [options] Override http request option.
3973
4073
  * @throws {RequiredError}
3974
4074
  * @memberof ShellApi
3975
4075
  */
3976
- public handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig) {
3977
- return ShellApiFp(this.configuration).handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options).then((request) => request(this.axios, this.basePath));
4076
+ public handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig) {
4077
+ return ShellApiFp(this.configuration).handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options).then((request) => request(this.axios, this.basePath));
3978
4078
  }
3979
4079
  }
3980
4080
 
package/dist/api.d.ts CHANGED
@@ -53,25 +53,25 @@ export interface ApplicationStatusDto {
53
53
  /**
54
54
  *
55
55
  * @export
56
- * @interface ArgoCdAppStatusDto
56
+ * @interface ArgocdAppStatusDto
57
57
  */
58
- export interface ArgoCdAppStatusDto {
58
+ export interface ArgocdAppStatusDto {
59
59
  /**
60
60
  *
61
61
  * @type {string}
62
- * @memberof ArgoCdAppStatusDto
62
+ * @memberof ArgocdAppStatusDto
63
63
  */
64
64
  'id': string;
65
65
  /**
66
66
  *
67
67
  * @type {Array<PodStatusDto>}
68
- * @memberof ArgoCdAppStatusDto
68
+ * @memberof ArgocdAppStatusDto
69
69
  */
70
70
  'pods': Array<PodStatusDto>;
71
71
  /**
72
72
  *
73
73
  * @type {ServiceStateDto}
74
- * @memberof ArgoCdAppStatusDto
74
+ * @memberof ArgocdAppStatusDto
75
75
  */
76
76
  'state': ServiceStateDto;
77
77
  }
@@ -151,7 +151,7 @@ export declare const BlueprintPreviewResultOneOf2TypeEnum: {
151
151
  };
152
152
  export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
153
153
  /**
154
- * The preview did not complete in time. `message` names the step that ran out of time and after how long, when the engine got far enough to report it; it is absent when nothing did — the engine went quiet, or the gateway stopped waiting first.
154
+ * The preview did not complete in time. `message` names the step that ran out, and is absent when nothing reported one — the engine went quiet, or this gateway stopped waiting first.
155
155
  * @export
156
156
  * @interface BlueprintPreviewResultOneOf3
157
157
  */
@@ -285,6 +285,12 @@ export interface ClusterComputedStatusDto {
285
285
  * @memberof ClusterComputedStatusDto
286
286
  */
287
287
  'qovery_components_in_failure': Array<QoveryComponentInFailure>;
288
+ /**
289
+ *
290
+ * @type {ClusterQuotaWarningDto}
291
+ * @memberof ClusterComputedStatusDto
292
+ */
293
+ 'quota_warning'?: ClusterQuotaWarningDto | null;
288
294
  }
289
295
  /**
290
296
  *
@@ -449,6 +455,79 @@ export interface ClusterNodeDto {
449
455
  */
450
456
  'unschedulable': boolean;
451
457
  }
458
+ /**
459
+ *
460
+ * @export
461
+ * @interface ClusterQuotaWarningDto
462
+ */
463
+ export interface ClusterQuotaWarningDto {
464
+ /**
465
+ *
466
+ * @type {number}
467
+ * @memberof ClusterQuotaWarningDto
468
+ */
469
+ 'detected_at': number;
470
+ /**
471
+ *
472
+ * @type {number}
473
+ * @memberof ClusterQuotaWarningDto
474
+ */
475
+ 'last_seen_at': number;
476
+ /**
477
+ *
478
+ * @type {string}
479
+ * @memberof ClusterQuotaWarningDto
480
+ */
481
+ 'message': string;
482
+ /**
483
+ *
484
+ * @type {string}
485
+ * @memberof ClusterQuotaWarningDto
486
+ */
487
+ 'provider': string;
488
+ /**
489
+ *
490
+ * @type {string}
491
+ * @memberof ClusterQuotaWarningDto
492
+ */
493
+ 'quota_code': string;
494
+ /**
495
+ *
496
+ * @type {string}
497
+ * @memberof ClusterQuotaWarningDto
498
+ */
499
+ 'quota_name'?: string | null;
500
+ /**
501
+ *
502
+ * @type {string}
503
+ * @memberof ClusterQuotaWarningDto
504
+ */
505
+ 'region'?: string | null;
506
+ /**
507
+ *
508
+ * @type {string}
509
+ * @memberof ClusterQuotaWarningDto
510
+ */
511
+ 'resource'?: string | null;
512
+ /**
513
+ *
514
+ * @type {string}
515
+ * @memberof ClusterQuotaWarningDto
516
+ */
517
+ 'source': string;
518
+ /**
519
+ *
520
+ * @type {string}
521
+ * @memberof ClusterQuotaWarningDto
522
+ */
523
+ 'status': string;
524
+ /**
525
+ *
526
+ * @type {string}
527
+ * @memberof ClusterQuotaWarningDto
528
+ */
529
+ 'suggested_action': string;
530
+ }
452
531
  /**
453
532
  *
454
533
  * @export
@@ -651,10 +730,10 @@ export interface EnvironmentStatusDto {
651
730
  'applications': Array<ApplicationStatusDto>;
652
731
  /**
653
732
  *
654
- * @type {Array<ArgoCdAppStatusDto>}
733
+ * @type {Array<ArgocdAppStatusDto>}
655
734
  * @memberof EnvironmentStatusDto
656
735
  */
657
- 'argocd_apps': Array<ArgoCdAppStatusDto>;
736
+ 'argocd_apps': Array<ArgocdAppStatusDto>;
658
737
  /**
659
738
  *
660
739
  * @type {Array<ApplicationStatusDto>}
@@ -946,6 +1025,12 @@ export interface NodeConditionDto {
946
1025
  * @interface NodeDto
947
1026
  */
948
1027
  export interface NodeDto {
1028
+ /**
1029
+ *
1030
+ * @type {string}
1031
+ * @memberof NodeDto
1032
+ */
1033
+ 'kubelet_version': string;
949
1034
  /**
950
1035
  *
951
1036
  * @type {string}
@@ -2049,6 +2134,7 @@ export declare const ServiceStateDto: {
2049
2134
  readonly STOPPED: "STOPPED";
2050
2135
  readonly COMPLETED: "COMPLETED";
2051
2136
  readonly WARNING: "WARNING";
2137
+ readonly UNAVAILABLE: "UNAVAILABLE";
2052
2138
  };
2053
2139
  export type ServiceStateDto = typeof ServiceStateDto[keyof typeof ServiceStateDto];
2054
2140
  /**
@@ -2583,6 +2669,7 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
2583
2669
  * @param {string} project
2584
2670
  * @param {string} environment
2585
2671
  * @param {string} service
2672
+ * @param {ServiceType | null} serviceType
2586
2673
  * @param {string | null} podName
2587
2674
  * @param {string | null} deploymentId
2588
2675
  * @param {string | null} query
@@ -2591,7 +2678,7 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
2591
2678
  * @param {*} [options] Override http request option.
2592
2679
  * @throws {RequiredError}
2593
2680
  */
2594
- handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2681
+ handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2595
2682
  };
2596
2683
  /**
2597
2684
  * LogsApi - functional programming interface
@@ -2617,6 +2704,7 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
2617
2704
  * @param {string} project
2618
2705
  * @param {string} environment
2619
2706
  * @param {string} service
2707
+ * @param {ServiceType | null} serviceType
2620
2708
  * @param {string | null} podName
2621
2709
  * @param {string | null} deploymentId
2622
2710
  * @param {string | null} query
@@ -2625,7 +2713,7 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
2625
2713
  * @param {*} [options] Override http request option.
2626
2714
  * @throws {RequiredError}
2627
2715
  */
2628
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
2716
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
2629
2717
  };
2630
2718
  /**
2631
2719
  * LogsApi - factory interface
@@ -2651,6 +2739,7 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
2651
2739
  * @param {string} project
2652
2740
  * @param {string} environment
2653
2741
  * @param {string} service
2742
+ * @param {ServiceType | null} serviceType
2654
2743
  * @param {string | null} podName
2655
2744
  * @param {string | null} deploymentId
2656
2745
  * @param {string | null} query
@@ -2659,7 +2748,7 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
2659
2748
  * @param {*} [options] Override http request option.
2660
2749
  * @throws {RequiredError}
2661
2750
  */
2662
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
2751
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
2663
2752
  };
2664
2753
  /**
2665
2754
  * LogsApi - object-oriented interface
@@ -2688,6 +2777,7 @@ export declare class LogsApi extends BaseAPI {
2688
2777
  * @param {string} project
2689
2778
  * @param {string} environment
2690
2779
  * @param {string} service
2780
+ * @param {ServiceType | null} serviceType
2691
2781
  * @param {string | null} podName
2692
2782
  * @param {string | null} deploymentId
2693
2783
  * @param {string | null} query
@@ -2697,7 +2787,7 @@ export declare class LogsApi extends BaseAPI {
2697
2787
  * @throws {RequiredError}
2698
2788
  * @memberof LogsApi
2699
2789
  */
2700
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
2790
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
2701
2791
  }
2702
2792
  /**
2703
2793
  * RemoteDebugApi - axios parameter creator
@@ -3004,10 +3094,11 @@ export declare const ShellApiAxiosParamCreator: (configuration?: Configuration)
3004
3094
  * @param {Array<string>} command
3005
3095
  * @param {number} ttyWidth
3006
3096
  * @param {number} ttyHeight
3097
+ * @param {ServiceType | null} serviceType
3007
3098
  * @param {*} [options] Override http request option.
3008
3099
  * @throws {RequiredError}
3009
3100
  */
3010
- handleShellExec: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3101
+ handleShellExec: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3011
3102
  };
3012
3103
  /**
3013
3104
  * ShellApi - functional programming interface
@@ -3026,10 +3117,11 @@ export declare const ShellApiFp: (configuration?: Configuration) => {
3026
3117
  * @param {Array<string>} command
3027
3118
  * @param {number} ttyWidth
3028
3119
  * @param {number} ttyHeight
3120
+ * @param {ServiceType | null} serviceType
3029
3121
  * @param {*} [options] Override http request option.
3030
3122
  * @throws {RequiredError}
3031
3123
  */
3032
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
3124
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
3033
3125
  };
3034
3126
  /**
3035
3127
  * ShellApi - factory interface
@@ -3048,10 +3140,11 @@ export declare const ShellApiFactory: (configuration?: Configuration, basePath?:
3048
3140
  * @param {Array<string>} command
3049
3141
  * @param {number} ttyWidth
3050
3142
  * @param {number} ttyHeight
3143
+ * @param {ServiceType | null} serviceType
3051
3144
  * @param {*} [options] Override http request option.
3052
3145
  * @throws {RequiredError}
3053
3146
  */
3054
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3147
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3055
3148
  };
3056
3149
  /**
3057
3150
  * ShellApi - object-oriented interface
@@ -3072,9 +3165,10 @@ export declare class ShellApi extends BaseAPI {
3072
3165
  * @param {Array<string>} command
3073
3166
  * @param {number} ttyWidth
3074
3167
  * @param {number} ttyHeight
3168
+ * @param {ServiceType | null} serviceType
3075
3169
  * @param {*} [options] Override http request option.
3076
3170
  * @throws {RequiredError}
3077
3171
  * @memberof ShellApi
3078
3172
  */
3079
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
3173
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
3080
3174
  }
package/dist/api.js CHANGED
@@ -125,7 +125,8 @@ exports.ServiceStateDto = {
125
125
  STOPPING: 'STOPPING',
126
126
  STOPPED: 'STOPPED',
127
127
  COMPLETED: 'COMPLETED',
128
- WARNING: 'WARNING'
128
+ WARNING: 'WARNING',
129
+ UNAVAILABLE: 'UNAVAILABLE'
129
130
  };
130
131
  /**
131
132
  *
@@ -1000,6 +1001,7 @@ const LogsApiAxiosParamCreator = function (configuration) {
1000
1001
  * @param {string} project
1001
1002
  * @param {string} environment
1002
1003
  * @param {string} service
1004
+ * @param {ServiceType | null} serviceType
1003
1005
  * @param {string | null} podName
1004
1006
  * @param {string | null} deploymentId
1005
1007
  * @param {string | null} query
@@ -1008,7 +1010,7 @@ const LogsApiAxiosParamCreator = function (configuration) {
1008
1010
  * @param {*} [options] Override http request option.
1009
1011
  * @throws {RequiredError}
1010
1012
  */
1011
- handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options = {}) {
1013
+ handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, serviceType_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, serviceType_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options = {}) {
1012
1014
  // verify required parameter 'organization' is not null or undefined
1013
1015
  (0, common_1.assertParamExists)('handleServiceLogsRequest', 'organization', organization);
1014
1016
  // verify required parameter 'cluster' is not null or undefined
@@ -1019,6 +1021,8 @@ const LogsApiAxiosParamCreator = function (configuration) {
1019
1021
  (0, common_1.assertParamExists)('handleServiceLogsRequest', 'environment', environment);
1020
1022
  // verify required parameter 'service' is not null or undefined
1021
1023
  (0, common_1.assertParamExists)('handleServiceLogsRequest', 'service', service);
1024
+ // verify required parameter 'serviceType' is not null or undefined
1025
+ (0, common_1.assertParamExists)('handleServiceLogsRequest', 'serviceType', serviceType);
1022
1026
  // verify required parameter 'podName' is not null or undefined
1023
1027
  (0, common_1.assertParamExists)('handleServiceLogsRequest', 'podName', podName);
1024
1028
  // verify required parameter 'deploymentId' is not null or undefined
@@ -1035,6 +1039,7 @@ const LogsApiAxiosParamCreator = function (configuration) {
1035
1039
  .replace(`{${"project"}}`, encodeURIComponent(String(project)))
1036
1040
  .replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
1037
1041
  .replace(`{${"service"}}`, encodeURIComponent(String(service)))
1042
+ .replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)))
1038
1043
  .replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
1039
1044
  .replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
1040
1045
  .replace(`{${"query"}}`, encodeURIComponent(String(query)))
@@ -1094,6 +1099,7 @@ const LogsApiFp = function (configuration) {
1094
1099
  * @param {string} project
1095
1100
  * @param {string} environment
1096
1101
  * @param {string} service
1102
+ * @param {ServiceType | null} serviceType
1097
1103
  * @param {string | null} podName
1098
1104
  * @param {string | null} deploymentId
1099
1105
  * @param {string | null} query
@@ -1102,10 +1108,10 @@ const LogsApiFp = function (configuration) {
1102
1108
  * @param {*} [options] Override http request option.
1103
1109
  * @throws {RequiredError}
1104
1110
  */
1105
- handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
1111
+ handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options) {
1106
1112
  return __awaiter(this, void 0, void 0, function* () {
1107
1113
  var _a, _b, _c;
1108
- const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options);
1114
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options);
1109
1115
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1110
1116
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1111
1117
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1142,6 +1148,7 @@ const LogsApiFactory = function (configuration, basePath, axios) {
1142
1148
  * @param {string} project
1143
1149
  * @param {string} environment
1144
1150
  * @param {string} service
1151
+ * @param {ServiceType | null} serviceType
1145
1152
  * @param {string | null} podName
1146
1153
  * @param {string | null} deploymentId
1147
1154
  * @param {string | null} query
@@ -1150,8 +1157,8 @@ const LogsApiFactory = function (configuration, basePath, axios) {
1150
1157
  * @param {*} [options] Override http request option.
1151
1158
  * @throws {RequiredError}
1152
1159
  */
1153
- handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
1154
- return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
1160
+ handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options) {
1161
+ return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
1155
1162
  },
1156
1163
  };
1157
1164
  };
@@ -1185,6 +1192,7 @@ class LogsApi extends base_1.BaseAPI {
1185
1192
  * @param {string} project
1186
1193
  * @param {string} environment
1187
1194
  * @param {string} service
1195
+ * @param {ServiceType | null} serviceType
1188
1196
  * @param {string | null} podName
1189
1197
  * @param {string | null} deploymentId
1190
1198
  * @param {string | null} query
@@ -1194,8 +1202,8 @@ class LogsApi extends base_1.BaseAPI {
1194
1202
  * @throws {RequiredError}
1195
1203
  * @memberof LogsApi
1196
1204
  */
1197
- handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
1198
- return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
1205
+ handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options) {
1206
+ return (0, exports.LogsApiFp)(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
1199
1207
  }
1200
1208
  }
1201
1209
  exports.LogsApi = LogsApi;
@@ -1736,10 +1744,11 @@ const ShellApiAxiosParamCreator = function (configuration) {
1736
1744
  * @param {Array<string>} command
1737
1745
  * @param {number} ttyWidth
1738
1746
  * @param {number} ttyHeight
1747
+ * @param {ServiceType | null} serviceType
1739
1748
  * @param {*} [options] Override http request option.
1740
1749
  * @throws {RequiredError}
1741
1750
  */
1742
- handleShellExec: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options = {}) {
1751
+ handleShellExec: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, serviceType_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, serviceType_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options = {}) {
1743
1752
  // verify required parameter 'organization' is not null or undefined
1744
1753
  (0, common_1.assertParamExists)('handleShellExec', 'organization', organization);
1745
1754
  // verify required parameter 'cluster' is not null or undefined
@@ -1760,6 +1769,8 @@ const ShellApiAxiosParamCreator = function (configuration) {
1760
1769
  (0, common_1.assertParamExists)('handleShellExec', 'ttyWidth', ttyWidth);
1761
1770
  // verify required parameter 'ttyHeight' is not null or undefined
1762
1771
  (0, common_1.assertParamExists)('handleShellExec', 'ttyHeight', ttyHeight);
1772
+ // verify required parameter 'serviceType' is not null or undefined
1773
+ (0, common_1.assertParamExists)('handleShellExec', 'serviceType', serviceType);
1763
1774
  const localVarPath = `/shell/exec`
1764
1775
  .replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
1765
1776
  .replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
@@ -1770,7 +1781,8 @@ const ShellApiAxiosParamCreator = function (configuration) {
1770
1781
  .replace(`{${"container_name"}}`, encodeURIComponent(String(containerName)))
1771
1782
  .replace(`{${"command"}}`, encodeURIComponent(String(command)))
1772
1783
  .replace(`{${"tty_width"}}`, encodeURIComponent(String(ttyWidth)))
1773
- .replace(`{${"tty_height"}}`, encodeURIComponent(String(ttyHeight)));
1784
+ .replace(`{${"tty_height"}}`, encodeURIComponent(String(ttyHeight)))
1785
+ .replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)));
1774
1786
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1775
1787
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1776
1788
  let baseOptions;
@@ -1810,13 +1822,14 @@ const ShellApiFp = function (configuration) {
1810
1822
  * @param {Array<string>} command
1811
1823
  * @param {number} ttyWidth
1812
1824
  * @param {number} ttyHeight
1825
+ * @param {ServiceType | null} serviceType
1813
1826
  * @param {*} [options] Override http request option.
1814
1827
  * @throws {RequiredError}
1815
1828
  */
1816
- handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options) {
1829
+ handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options) {
1817
1830
  return __awaiter(this, void 0, void 0, function* () {
1818
1831
  var _a, _b, _c;
1819
- const localVarAxiosArgs = yield localVarAxiosParamCreator.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options);
1832
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options);
1820
1833
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1821
1834
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ShellApi.handleShellExec']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1822
1835
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1844,11 +1857,12 @@ const ShellApiFactory = function (configuration, basePath, axios) {
1844
1857
  * @param {Array<string>} command
1845
1858
  * @param {number} ttyWidth
1846
1859
  * @param {number} ttyHeight
1860
+ * @param {ServiceType | null} serviceType
1847
1861
  * @param {*} [options] Override http request option.
1848
1862
  * @throws {RequiredError}
1849
1863
  */
1850
- handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options) {
1851
- return localVarFp.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options).then((request) => request(axios, basePath));
1864
+ handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options) {
1865
+ return localVarFp.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options).then((request) => request(axios, basePath));
1852
1866
  },
1853
1867
  };
1854
1868
  };
@@ -1872,12 +1886,13 @@ class ShellApi extends base_1.BaseAPI {
1872
1886
  * @param {Array<string>} command
1873
1887
  * @param {number} ttyWidth
1874
1888
  * @param {number} ttyHeight
1889
+ * @param {ServiceType | null} serviceType
1875
1890
  * @param {*} [options] Override http request option.
1876
1891
  * @throws {RequiredError}
1877
1892
  * @memberof ShellApi
1878
1893
  */
1879
- handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options) {
1880
- return (0, exports.ShellApiFp)(this.configuration).handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options).then((request) => request(this.axios, this.basePath));
1894
+ handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options) {
1895
+ return (0, exports.ShellApiFp)(this.configuration).handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options).then((request) => request(this.axios, this.basePath));
1881
1896
  }
1882
1897
  }
1883
1898
  exports.ShellApi = ShellApi;
package/dist/esm/api.d.ts CHANGED
@@ -53,25 +53,25 @@ export interface ApplicationStatusDto {
53
53
  /**
54
54
  *
55
55
  * @export
56
- * @interface ArgoCdAppStatusDto
56
+ * @interface ArgocdAppStatusDto
57
57
  */
58
- export interface ArgoCdAppStatusDto {
58
+ export interface ArgocdAppStatusDto {
59
59
  /**
60
60
  *
61
61
  * @type {string}
62
- * @memberof ArgoCdAppStatusDto
62
+ * @memberof ArgocdAppStatusDto
63
63
  */
64
64
  'id': string;
65
65
  /**
66
66
  *
67
67
  * @type {Array<PodStatusDto>}
68
- * @memberof ArgoCdAppStatusDto
68
+ * @memberof ArgocdAppStatusDto
69
69
  */
70
70
  'pods': Array<PodStatusDto>;
71
71
  /**
72
72
  *
73
73
  * @type {ServiceStateDto}
74
- * @memberof ArgoCdAppStatusDto
74
+ * @memberof ArgocdAppStatusDto
75
75
  */
76
76
  'state': ServiceStateDto;
77
77
  }
@@ -151,7 +151,7 @@ export declare const BlueprintPreviewResultOneOf2TypeEnum: {
151
151
  };
152
152
  export type BlueprintPreviewResultOneOf2TypeEnum = typeof BlueprintPreviewResultOneOf2TypeEnum[keyof typeof BlueprintPreviewResultOneOf2TypeEnum];
153
153
  /**
154
- * The preview did not complete in time. `message` names the step that ran out of time and after how long, when the engine got far enough to report it; it is absent when nothing did — the engine went quiet, or the gateway stopped waiting first.
154
+ * The preview did not complete in time. `message` names the step that ran out, and is absent when nothing reported one — the engine went quiet, or this gateway stopped waiting first.
155
155
  * @export
156
156
  * @interface BlueprintPreviewResultOneOf3
157
157
  */
@@ -285,6 +285,12 @@ export interface ClusterComputedStatusDto {
285
285
  * @memberof ClusterComputedStatusDto
286
286
  */
287
287
  'qovery_components_in_failure': Array<QoveryComponentInFailure>;
288
+ /**
289
+ *
290
+ * @type {ClusterQuotaWarningDto}
291
+ * @memberof ClusterComputedStatusDto
292
+ */
293
+ 'quota_warning'?: ClusterQuotaWarningDto | null;
288
294
  }
289
295
  /**
290
296
  *
@@ -449,6 +455,79 @@ export interface ClusterNodeDto {
449
455
  */
450
456
  'unschedulable': boolean;
451
457
  }
458
+ /**
459
+ *
460
+ * @export
461
+ * @interface ClusterQuotaWarningDto
462
+ */
463
+ export interface ClusterQuotaWarningDto {
464
+ /**
465
+ *
466
+ * @type {number}
467
+ * @memberof ClusterQuotaWarningDto
468
+ */
469
+ 'detected_at': number;
470
+ /**
471
+ *
472
+ * @type {number}
473
+ * @memberof ClusterQuotaWarningDto
474
+ */
475
+ 'last_seen_at': number;
476
+ /**
477
+ *
478
+ * @type {string}
479
+ * @memberof ClusterQuotaWarningDto
480
+ */
481
+ 'message': string;
482
+ /**
483
+ *
484
+ * @type {string}
485
+ * @memberof ClusterQuotaWarningDto
486
+ */
487
+ 'provider': string;
488
+ /**
489
+ *
490
+ * @type {string}
491
+ * @memberof ClusterQuotaWarningDto
492
+ */
493
+ 'quota_code': string;
494
+ /**
495
+ *
496
+ * @type {string}
497
+ * @memberof ClusterQuotaWarningDto
498
+ */
499
+ 'quota_name'?: string | null;
500
+ /**
501
+ *
502
+ * @type {string}
503
+ * @memberof ClusterQuotaWarningDto
504
+ */
505
+ 'region'?: string | null;
506
+ /**
507
+ *
508
+ * @type {string}
509
+ * @memberof ClusterQuotaWarningDto
510
+ */
511
+ 'resource'?: string | null;
512
+ /**
513
+ *
514
+ * @type {string}
515
+ * @memberof ClusterQuotaWarningDto
516
+ */
517
+ 'source': string;
518
+ /**
519
+ *
520
+ * @type {string}
521
+ * @memberof ClusterQuotaWarningDto
522
+ */
523
+ 'status': string;
524
+ /**
525
+ *
526
+ * @type {string}
527
+ * @memberof ClusterQuotaWarningDto
528
+ */
529
+ 'suggested_action': string;
530
+ }
452
531
  /**
453
532
  *
454
533
  * @export
@@ -651,10 +730,10 @@ export interface EnvironmentStatusDto {
651
730
  'applications': Array<ApplicationStatusDto>;
652
731
  /**
653
732
  *
654
- * @type {Array<ArgoCdAppStatusDto>}
733
+ * @type {Array<ArgocdAppStatusDto>}
655
734
  * @memberof EnvironmentStatusDto
656
735
  */
657
- 'argocd_apps': Array<ArgoCdAppStatusDto>;
736
+ 'argocd_apps': Array<ArgocdAppStatusDto>;
658
737
  /**
659
738
  *
660
739
  * @type {Array<ApplicationStatusDto>}
@@ -946,6 +1025,12 @@ export interface NodeConditionDto {
946
1025
  * @interface NodeDto
947
1026
  */
948
1027
  export interface NodeDto {
1028
+ /**
1029
+ *
1030
+ * @type {string}
1031
+ * @memberof NodeDto
1032
+ */
1033
+ 'kubelet_version': string;
949
1034
  /**
950
1035
  *
951
1036
  * @type {string}
@@ -2049,6 +2134,7 @@ export declare const ServiceStateDto: {
2049
2134
  readonly STOPPED: "STOPPED";
2050
2135
  readonly COMPLETED: "COMPLETED";
2051
2136
  readonly WARNING: "WARNING";
2137
+ readonly UNAVAILABLE: "UNAVAILABLE";
2052
2138
  };
2053
2139
  export type ServiceStateDto = typeof ServiceStateDto[keyof typeof ServiceStateDto];
2054
2140
  /**
@@ -2583,6 +2669,7 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
2583
2669
  * @param {string} project
2584
2670
  * @param {string} environment
2585
2671
  * @param {string} service
2672
+ * @param {ServiceType | null} serviceType
2586
2673
  * @param {string | null} podName
2587
2674
  * @param {string | null} deploymentId
2588
2675
  * @param {string | null} query
@@ -2591,7 +2678,7 @@ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) =
2591
2678
  * @param {*} [options] Override http request option.
2592
2679
  * @throws {RequiredError}
2593
2680
  */
2594
- handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2681
+ handleServiceLogsRequest: (organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2595
2682
  };
2596
2683
  /**
2597
2684
  * LogsApi - functional programming interface
@@ -2617,6 +2704,7 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
2617
2704
  * @param {string} project
2618
2705
  * @param {string} environment
2619
2706
  * @param {string} service
2707
+ * @param {ServiceType | null} serviceType
2620
2708
  * @param {string | null} podName
2621
2709
  * @param {string | null} deploymentId
2622
2710
  * @param {string | null} query
@@ -2625,7 +2713,7 @@ export declare const LogsApiFp: (configuration?: Configuration) => {
2625
2713
  * @param {*} [options] Override http request option.
2626
2714
  * @throws {RequiredError}
2627
2715
  */
2628
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
2716
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceLogResponseDto>>;
2629
2717
  };
2630
2718
  /**
2631
2719
  * LogsApi - factory interface
@@ -2651,6 +2739,7 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
2651
2739
  * @param {string} project
2652
2740
  * @param {string} environment
2653
2741
  * @param {string} service
2742
+ * @param {ServiceType | null} serviceType
2654
2743
  * @param {string | null} podName
2655
2744
  * @param {string | null} deploymentId
2656
2745
  * @param {string | null} query
@@ -2659,7 +2748,7 @@ export declare const LogsApiFactory: (configuration?: Configuration, basePath?:
2659
2748
  * @param {*} [options] Override http request option.
2660
2749
  * @throws {RequiredError}
2661
2750
  */
2662
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
2751
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): AxiosPromise<ServiceLogResponseDto>;
2663
2752
  };
2664
2753
  /**
2665
2754
  * LogsApi - object-oriented interface
@@ -2688,6 +2777,7 @@ export declare class LogsApi extends BaseAPI {
2688
2777
  * @param {string} project
2689
2778
  * @param {string} environment
2690
2779
  * @param {string} service
2780
+ * @param {ServiceType | null} serviceType
2691
2781
  * @param {string | null} podName
2692
2782
  * @param {string | null} deploymentId
2693
2783
  * @param {string | null} query
@@ -2697,7 +2787,7 @@ export declare class LogsApi extends BaseAPI {
2697
2787
  * @throws {RequiredError}
2698
2788
  * @memberof LogsApi
2699
2789
  */
2700
- handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
2790
+ handleServiceLogsRequest(organization: string, cluster: string, project: string, environment: string, service: string, serviceType: ServiceType | null, podName: string | null, deploymentId: string | null, query: string | null, start: string | null, limit: number | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceLogResponseDto, any, {}>>;
2701
2791
  }
2702
2792
  /**
2703
2793
  * RemoteDebugApi - axios parameter creator
@@ -3004,10 +3094,11 @@ export declare const ShellApiAxiosParamCreator: (configuration?: Configuration)
3004
3094
  * @param {Array<string>} command
3005
3095
  * @param {number} ttyWidth
3006
3096
  * @param {number} ttyHeight
3097
+ * @param {ServiceType | null} serviceType
3007
3098
  * @param {*} [options] Override http request option.
3008
3099
  * @throws {RequiredError}
3009
3100
  */
3010
- handleShellExec: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3101
+ handleShellExec: (organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3011
3102
  };
3012
3103
  /**
3013
3104
  * ShellApi - functional programming interface
@@ -3026,10 +3117,11 @@ export declare const ShellApiFp: (configuration?: Configuration) => {
3026
3117
  * @param {Array<string>} command
3027
3118
  * @param {number} ttyWidth
3028
3119
  * @param {number} ttyHeight
3120
+ * @param {ServiceType | null} serviceType
3029
3121
  * @param {*} [options] Override http request option.
3030
3122
  * @throws {RequiredError}
3031
3123
  */
3032
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
3124
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
3033
3125
  };
3034
3126
  /**
3035
3127
  * ShellApi - factory interface
@@ -3048,10 +3140,11 @@ export declare const ShellApiFactory: (configuration?: Configuration, basePath?:
3048
3140
  * @param {Array<string>} command
3049
3141
  * @param {number} ttyWidth
3050
3142
  * @param {number} ttyHeight
3143
+ * @param {ServiceType | null} serviceType
3051
3144
  * @param {*} [options] Override http request option.
3052
3145
  * @throws {RequiredError}
3053
3146
  */
3054
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3147
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): AxiosPromise<string>;
3055
3148
  };
3056
3149
  /**
3057
3150
  * ShellApi - object-oriented interface
@@ -3072,9 +3165,10 @@ export declare class ShellApi extends BaseAPI {
3072
3165
  * @param {Array<string>} command
3073
3166
  * @param {number} ttyWidth
3074
3167
  * @param {number} ttyHeight
3168
+ * @param {ServiceType | null} serviceType
3075
3169
  * @param {*} [options] Override http request option.
3076
3170
  * @throws {RequiredError}
3077
3171
  * @memberof ShellApi
3078
3172
  */
3079
- handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
3173
+ handleShellExec(organization: string, cluster: string, project: string, environment: string, service: string, podName: string | null, containerName: string | null, command: Array<string>, ttyWidth: number, ttyHeight: number, serviceType: ServiceType | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
3080
3174
  }
package/dist/esm/api.js CHANGED
@@ -121,7 +121,8 @@ export const ServiceStateDto = {
121
121
  STOPPING: 'STOPPING',
122
122
  STOPPED: 'STOPPED',
123
123
  COMPLETED: 'COMPLETED',
124
- WARNING: 'WARNING'
124
+ WARNING: 'WARNING',
125
+ UNAVAILABLE: 'UNAVAILABLE'
125
126
  };
126
127
  /**
127
128
  *
@@ -972,6 +973,7 @@ export const LogsApiAxiosParamCreator = function (configuration) {
972
973
  * @param {string} project
973
974
  * @param {string} environment
974
975
  * @param {string} service
976
+ * @param {ServiceType | null} serviceType
975
977
  * @param {string | null} podName
976
978
  * @param {string | null} deploymentId
977
979
  * @param {string | null} query
@@ -980,7 +982,7 @@ export const LogsApiAxiosParamCreator = function (configuration) {
980
982
  * @param {*} [options] Override http request option.
981
983
  * @throws {RequiredError}
982
984
  */
983
- handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options = {}) {
985
+ handleServiceLogsRequest: (organization_1, cluster_1, project_1, environment_1, service_1, serviceType_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, serviceType_1, podName_1, deploymentId_1, query_1, start_1, limit_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options = {}) {
984
986
  // verify required parameter 'organization' is not null or undefined
985
987
  assertParamExists('handleServiceLogsRequest', 'organization', organization);
986
988
  // verify required parameter 'cluster' is not null or undefined
@@ -991,6 +993,8 @@ export const LogsApiAxiosParamCreator = function (configuration) {
991
993
  assertParamExists('handleServiceLogsRequest', 'environment', environment);
992
994
  // verify required parameter 'service' is not null or undefined
993
995
  assertParamExists('handleServiceLogsRequest', 'service', service);
996
+ // verify required parameter 'serviceType' is not null or undefined
997
+ assertParamExists('handleServiceLogsRequest', 'serviceType', serviceType);
994
998
  // verify required parameter 'podName' is not null or undefined
995
999
  assertParamExists('handleServiceLogsRequest', 'podName', podName);
996
1000
  // verify required parameter 'deploymentId' is not null or undefined
@@ -1007,6 +1011,7 @@ export const LogsApiAxiosParamCreator = function (configuration) {
1007
1011
  .replace(`{${"project"}}`, encodeURIComponent(String(project)))
1008
1012
  .replace(`{${"environment"}}`, encodeURIComponent(String(environment)))
1009
1013
  .replace(`{${"service"}}`, encodeURIComponent(String(service)))
1014
+ .replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)))
1010
1015
  .replace(`{${"pod_name"}}`, encodeURIComponent(String(podName)))
1011
1016
  .replace(`{${"deployment_id"}}`, encodeURIComponent(String(deploymentId)))
1012
1017
  .replace(`{${"query"}}`, encodeURIComponent(String(query)))
@@ -1065,6 +1070,7 @@ export const LogsApiFp = function (configuration) {
1065
1070
  * @param {string} project
1066
1071
  * @param {string} environment
1067
1072
  * @param {string} service
1073
+ * @param {ServiceType | null} serviceType
1068
1074
  * @param {string | null} podName
1069
1075
  * @param {string | null} deploymentId
1070
1076
  * @param {string | null} query
@@ -1073,10 +1079,10 @@ export const LogsApiFp = function (configuration) {
1073
1079
  * @param {*} [options] Override http request option.
1074
1080
  * @throws {RequiredError}
1075
1081
  */
1076
- handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
1082
+ handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options) {
1077
1083
  return __awaiter(this, void 0, void 0, function* () {
1078
1084
  var _a, _b, _c;
1079
- const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options);
1085
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options);
1080
1086
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1081
1087
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LogsApi.handleServiceLogsRequest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1082
1088
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1112,6 +1118,7 @@ export const LogsApiFactory = function (configuration, basePath, axios) {
1112
1118
  * @param {string} project
1113
1119
  * @param {string} environment
1114
1120
  * @param {string} service
1121
+ * @param {ServiceType | null} serviceType
1115
1122
  * @param {string | null} podName
1116
1123
  * @param {string | null} deploymentId
1117
1124
  * @param {string | null} query
@@ -1120,8 +1127,8 @@ export const LogsApiFactory = function (configuration, basePath, axios) {
1120
1127
  * @param {*} [options] Override http request option.
1121
1128
  * @throws {RequiredError}
1122
1129
  */
1123
- handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
1124
- return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
1130
+ handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options) {
1131
+ return localVarFp.handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options).then((request) => request(axios, basePath));
1125
1132
  },
1126
1133
  };
1127
1134
  };
@@ -1154,6 +1161,7 @@ export class LogsApi extends BaseAPI {
1154
1161
  * @param {string} project
1155
1162
  * @param {string} environment
1156
1163
  * @param {string} service
1164
+ * @param {ServiceType | null} serviceType
1157
1165
  * @param {string | null} podName
1158
1166
  * @param {string | null} deploymentId
1159
1167
  * @param {string | null} query
@@ -1163,8 +1171,8 @@ export class LogsApi extends BaseAPI {
1163
1171
  * @throws {RequiredError}
1164
1172
  * @memberof LogsApi
1165
1173
  */
1166
- handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options) {
1167
- return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
1174
+ handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options) {
1175
+ return LogsApiFp(this.configuration).handleServiceLogsRequest(organization, cluster, project, environment, service, serviceType, podName, deploymentId, query, start, limit, options).then((request) => request(this.axios, this.basePath));
1168
1176
  }
1169
1177
  }
1170
1178
  /**
@@ -1688,10 +1696,11 @@ export const ShellApiAxiosParamCreator = function (configuration) {
1688
1696
  * @param {Array<string>} command
1689
1697
  * @param {number} ttyWidth
1690
1698
  * @param {number} ttyHeight
1699
+ * @param {ServiceType | null} serviceType
1691
1700
  * @param {*} [options] Override http request option.
1692
1701
  * @throws {RequiredError}
1693
1702
  */
1694
- handleShellExec: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options = {}) {
1703
+ handleShellExec: (organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, serviceType_1, ...args_1) => __awaiter(this, [organization_1, cluster_1, project_1, environment_1, service_1, podName_1, containerName_1, command_1, ttyWidth_1, ttyHeight_1, serviceType_1, ...args_1], void 0, function* (organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options = {}) {
1695
1704
  // verify required parameter 'organization' is not null or undefined
1696
1705
  assertParamExists('handleShellExec', 'organization', organization);
1697
1706
  // verify required parameter 'cluster' is not null or undefined
@@ -1712,6 +1721,8 @@ export const ShellApiAxiosParamCreator = function (configuration) {
1712
1721
  assertParamExists('handleShellExec', 'ttyWidth', ttyWidth);
1713
1722
  // verify required parameter 'ttyHeight' is not null or undefined
1714
1723
  assertParamExists('handleShellExec', 'ttyHeight', ttyHeight);
1724
+ // verify required parameter 'serviceType' is not null or undefined
1725
+ assertParamExists('handleShellExec', 'serviceType', serviceType);
1715
1726
  const localVarPath = `/shell/exec`
1716
1727
  .replace(`{${"organization"}}`, encodeURIComponent(String(organization)))
1717
1728
  .replace(`{${"cluster"}}`, encodeURIComponent(String(cluster)))
@@ -1722,7 +1733,8 @@ export const ShellApiAxiosParamCreator = function (configuration) {
1722
1733
  .replace(`{${"container_name"}}`, encodeURIComponent(String(containerName)))
1723
1734
  .replace(`{${"command"}}`, encodeURIComponent(String(command)))
1724
1735
  .replace(`{${"tty_width"}}`, encodeURIComponent(String(ttyWidth)))
1725
- .replace(`{${"tty_height"}}`, encodeURIComponent(String(ttyHeight)));
1736
+ .replace(`{${"tty_height"}}`, encodeURIComponent(String(ttyHeight)))
1737
+ .replace(`{${"service_type"}}`, encodeURIComponent(String(serviceType)));
1726
1738
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1727
1739
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1728
1740
  let baseOptions;
@@ -1761,13 +1773,14 @@ export const ShellApiFp = function (configuration) {
1761
1773
  * @param {Array<string>} command
1762
1774
  * @param {number} ttyWidth
1763
1775
  * @param {number} ttyHeight
1776
+ * @param {ServiceType | null} serviceType
1764
1777
  * @param {*} [options] Override http request option.
1765
1778
  * @throws {RequiredError}
1766
1779
  */
1767
- handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options) {
1780
+ handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options) {
1768
1781
  return __awaiter(this, void 0, void 0, function* () {
1769
1782
  var _a, _b, _c;
1770
- const localVarAxiosArgs = yield localVarAxiosParamCreator.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options);
1783
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options);
1771
1784
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1772
1785
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ShellApi.handleShellExec']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1773
1786
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1794,11 +1807,12 @@ export const ShellApiFactory = function (configuration, basePath, axios) {
1794
1807
  * @param {Array<string>} command
1795
1808
  * @param {number} ttyWidth
1796
1809
  * @param {number} ttyHeight
1810
+ * @param {ServiceType | null} serviceType
1797
1811
  * @param {*} [options] Override http request option.
1798
1812
  * @throws {RequiredError}
1799
1813
  */
1800
- handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options) {
1801
- return localVarFp.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options).then((request) => request(axios, basePath));
1814
+ handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options) {
1815
+ return localVarFp.handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options).then((request) => request(axios, basePath));
1802
1816
  },
1803
1817
  };
1804
1818
  };
@@ -1821,11 +1835,12 @@ export class ShellApi extends BaseAPI {
1821
1835
  * @param {Array<string>} command
1822
1836
  * @param {number} ttyWidth
1823
1837
  * @param {number} ttyHeight
1838
+ * @param {ServiceType | null} serviceType
1824
1839
  * @param {*} [options] Override http request option.
1825
1840
  * @throws {RequiredError}
1826
1841
  * @memberof ShellApi
1827
1842
  */
1828
- handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options) {
1829
- return ShellApiFp(this.configuration).handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, options).then((request) => request(this.axios, this.basePath));
1843
+ handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options) {
1844
+ return ShellApiFp(this.configuration).handleShellExec(organization, cluster, project, environment, service, podName, containerName, command, ttyWidth, ttyHeight, serviceType, options).then((request) => request(this.axios, this.basePath));
1830
1845
  }
1831
1846
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-ws-typescript-axios",
3
- "version": "v0.1.665",
3
+ "version": "v0.1.666",
4
4
  "description": "OpenAPI client for qovery-ws-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {