waldur-js-client 1.0.4-dev.46 → 1.0.4-dev.47

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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +10 -13
  2. package/package.json +1 -1
@@ -2751,7 +2751,7 @@ export type KeycloakGroup = {
2751
2751
  /**
2752
2752
  * Get the name of the cluster or project
2753
2753
  */
2754
- readonly scope_name: string;
2754
+ readonly scope_name: string | null;
2755
2755
  role: string;
2756
2756
  readonly created: string;
2757
2757
  readonly modified: string;
@@ -7445,14 +7445,15 @@ export type RancherClusterTemplateNode = {
7445
7445
  min_ram: number;
7446
7446
  system_volume_size: number;
7447
7447
  preferred_volume_type?: string;
7448
- readonly roles: Array<RolesEnum>;
7448
+ role: RoleEnum;
7449
7449
  };
7450
7450
  export type RancherCreateNode = {
7451
7451
  cluster: string;
7452
+ role: RoleEnum;
7452
7453
  };
7453
7454
  export type RancherCreateNodeRequest = {
7454
7455
  cluster: string;
7455
- roles: Array<RolesEnum>;
7456
+ role: RoleEnum;
7456
7457
  system_volume_size?: number;
7457
7458
  system_volume_type?: string | null;
7458
7459
  memory?: number;
@@ -7577,6 +7578,7 @@ export type RancherNestedNamespace = {
7577
7578
  };
7578
7579
  export type RancherNestedNode = {
7579
7580
  readonly url?: string;
7581
+ role?: RoleEnum;
7580
7582
  readonly instance?: string;
7581
7583
  readonly created?: string;
7582
7584
  readonly modified?: string;
@@ -7584,9 +7586,6 @@ export type RancherNestedNode = {
7584
7586
  readonly error_message?: string;
7585
7587
  error_traceback?: string;
7586
7588
  backend_id?: string;
7587
- readonly controlplane_role?: boolean;
7588
- readonly etcd_role?: boolean;
7589
- readonly worker_role?: boolean;
7590
7589
  /**
7591
7590
  * Initial data for instance creating.
7592
7591
  */
@@ -7617,7 +7616,7 @@ export type RancherNestedNodeRequest = {
7617
7616
  data_volumes?: Array<DataVolumeRequest>;
7618
7617
  memory?: number;
7619
7618
  cpu?: number;
7620
- roles: Array<RolesEnum>;
7619
+ role: RoleEnum;
7621
7620
  error_traceback?: string;
7622
7621
  backend_id?: string;
7623
7622
  };
@@ -7651,9 +7650,7 @@ export type RancherNode = {
7651
7650
  readonly instance_name: string;
7652
7651
  readonly instance_uuid: string;
7653
7652
  readonly instance_marketplace_uuid: string;
7654
- controlplane_role?: boolean;
7655
- etcd_role?: boolean;
7656
- worker_role?: boolean;
7653
+ role: RoleEnum;
7657
7654
  readonly k8s_version: string;
7658
7655
  readonly docker_version: string;
7659
7656
  readonly cpu_allocated: number | null;
@@ -7762,7 +7759,7 @@ export type RancherTemplateBaseQuestion = {
7762
7759
  description?: string;
7763
7760
  variable: string;
7764
7761
  required?: boolean;
7765
- validate?: unknown;
7762
+ validate_?: unknown;
7766
7763
  type: RancherTemplateQuestionType;
7767
7764
  default?: string | null;
7768
7765
  group?: string;
@@ -7773,7 +7770,7 @@ export type RancherTemplateQuestion = {
7773
7770
  description?: string;
7774
7771
  variable: string;
7775
7772
  required?: boolean;
7776
- validate?: unknown;
7773
+ validate_?: unknown;
7777
7774
  type: RancherTemplateQuestionType;
7778
7775
  default?: string | null;
7779
7776
  group?: string;
@@ -8380,6 +8377,7 @@ export type RoleDetails = {
8380
8377
  is_active?: boolean;
8381
8378
  content_type?: RoleType;
8382
8379
  };
8380
+ export type RoleEnum = 'agent' | 'server';
8383
8381
  export type RoleModifyRequest = {
8384
8382
  name: string;
8385
8383
  description?: string;
@@ -8416,7 +8414,6 @@ export type RoleTemplate = {
8416
8414
  readonly settings: string;
8417
8415
  };
8418
8416
  export type RoleType = 'customer' | 'service_provider' | 'call_organizer' | 'project' | 'offering' | 'call' | 'proposal';
8419
- export type RolesEnum = 'controlplane' | 'etcd' | 'worker';
8420
8417
  export type RoundReviewer = {
8421
8418
  readonly full_name: string;
8422
8419
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "1.0.4-dev.46",
3
+ "version": "1.0.4-dev.47",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",