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

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 +50 -53
  2. package/package.json +1 -1
@@ -784,10 +784,10 @@ export type BookingResource = {
784
784
  readonly category_uuid?: string;
785
785
  readonly category_icon?: string;
786
786
  plan?: string;
787
- plan_unit?: BillingUnit;
788
- readonly plan_name?: string;
789
- readonly plan_uuid?: string;
790
- readonly plan_description?: string;
787
+ plan_unit?: BillingUnit | null;
788
+ readonly plan_name?: string | null;
789
+ readonly plan_uuid?: string | null;
790
+ readonly plan_description?: string | null;
791
791
  readonly attributes?: {};
792
792
  readonly limits?: {
793
793
  [key: string]: number;
@@ -1823,8 +1823,8 @@ export type CustomerOecdCodeStats = {
1823
1823
  export type CustomerPermissionReview = {
1824
1824
  readonly url: string;
1825
1825
  readonly uuid: string;
1826
- readonly reviewer_full_name: string;
1827
- readonly reviewer_uuid: string;
1826
+ readonly reviewer_full_name: string | null;
1827
+ readonly reviewer_uuid: string | null;
1828
1828
  readonly customer_uuid: string;
1829
1829
  readonly customer_name: string;
1830
1830
  readonly is_pending: boolean;
@@ -2207,11 +2207,11 @@ export type FirecrestJob = {
2207
2207
  * Reference to user which submitted job
2208
2208
  */
2209
2209
  readonly user?: string | null;
2210
- readonly user_uuid?: string;
2210
+ readonly user_uuid?: string | null;
2211
2211
  /**
2212
2212
  * Required. 128 characters or fewer. Lowercase letters, numbers and @/./+/-/_ characters
2213
2213
  */
2214
- readonly user_username?: string;
2214
+ readonly user_username?: string | null;
2215
2215
  readonly report?: unknown;
2216
2216
  };
2217
2217
  export type FirecrestJobRequest = {
@@ -2650,20 +2650,20 @@ export type Issue = {
2650
2650
  readonly resolution: string;
2651
2651
  priority?: string;
2652
2652
  caller?: string | null;
2653
- readonly caller_uuid: string;
2654
- readonly caller_full_name: string;
2653
+ readonly caller_uuid: string | null;
2654
+ readonly caller_full_name: string | null;
2655
2655
  readonly reporter: string;
2656
- readonly reporter_uuid: string;
2657
- readonly reporter_name: string;
2656
+ readonly reporter_uuid: string | null;
2657
+ readonly reporter_name: string | null;
2658
2658
  assignee?: string | null;
2659
- readonly assignee_uuid: string;
2660
- readonly assignee_name: string;
2659
+ readonly assignee_uuid: string | null;
2660
+ readonly assignee_name: string | null;
2661
2661
  customer?: string | null;
2662
- readonly customer_uuid: string;
2663
- readonly customer_name: string;
2662
+ readonly customer_uuid: string | null;
2663
+ readonly customer_name: string | null;
2664
2664
  project?: string | null;
2665
- readonly project_uuid: string;
2666
- readonly project_name: string;
2665
+ readonly project_uuid: string | null;
2666
+ readonly project_name: string | null;
2667
2667
  resource?: string;
2668
2668
  readonly resource_type: string;
2669
2669
  readonly resource_name: string;
@@ -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;
@@ -4654,7 +4654,7 @@ export type OpenStackNestedFloatingIp = {
4654
4654
  readonly uuid?: string;
4655
4655
  readonly address?: string | null;
4656
4656
  readonly port_fixed_ips?: Array<OpenStackFixedIp>;
4657
- readonly port_mac_address?: string;
4657
+ readonly port_mac_address?: string | null;
4658
4658
  subnet?: string;
4659
4659
  readonly subnet_uuid?: string;
4660
4660
  readonly subnet_name?: string;
@@ -4673,10 +4673,10 @@ export type OpenStackNestedPort = {
4673
4673
  fixed_ips?: Array<OpenStackFixedIp>;
4674
4674
  readonly mac_address?: string;
4675
4675
  subnet?: string | null;
4676
- readonly subnet_uuid?: string;
4677
- readonly subnet_name?: string;
4678
- readonly subnet_description?: string;
4679
- readonly subnet_cidr?: string;
4676
+ readonly subnet_uuid?: string | null;
4677
+ readonly subnet_name?: string | null;
4678
+ readonly subnet_description?: string | null;
4679
+ readonly subnet_cidr?: string | null;
4680
4680
  readonly allowed_address_pairs?: Array<OpenStackAllowedAddressPair>;
4681
4681
  readonly device_id?: string | null;
4682
4682
  readonly device_owner?: string | null;
@@ -5444,10 +5444,10 @@ export type OrderCreate = {
5444
5444
  readonly category_uuid: string;
5445
5445
  readonly category_icon: string;
5446
5446
  plan?: string;
5447
- plan_unit: BillingUnit;
5448
- readonly plan_name: string;
5449
- readonly plan_uuid: string;
5450
- readonly plan_description: string;
5447
+ plan_unit: BillingUnit | null;
5448
+ readonly plan_name: string | null;
5449
+ readonly plan_uuid: string | null;
5450
+ readonly plan_description: string | null;
5451
5451
  attributes?: unknown;
5452
5452
  limits?: {
5453
5453
  [key: string]: number;
@@ -5527,10 +5527,10 @@ export type OrderDetails = {
5527
5527
  readonly category_uuid?: string;
5528
5528
  readonly category_icon?: string;
5529
5529
  plan?: string;
5530
- plan_unit?: BillingUnit;
5531
- readonly plan_name?: string;
5532
- readonly plan_uuid?: string;
5533
- readonly plan_description?: string;
5530
+ plan_unit?: BillingUnit | null;
5531
+ readonly plan_name?: string | null;
5532
+ readonly plan_uuid?: string | null;
5533
+ readonly plan_description?: string | null;
5534
5534
  /**
5535
5535
  * Get attributes excluding secret attributes, such as username and password.
5536
5536
  */
@@ -6495,8 +6495,8 @@ export type Project = {
6495
6495
  description?: string;
6496
6496
  readonly created?: string;
6497
6497
  type?: string | null;
6498
- readonly type_name?: string;
6499
- readonly type_uuid?: string;
6498
+ readonly type_name?: string | null;
6499
+ readonly type_uuid?: string | null;
6500
6500
  backend_id?: string;
6501
6501
  start_date?: string | null;
6502
6502
  /**
@@ -6583,11 +6583,11 @@ export type ProjectPermissionLog = {
6583
6583
  readonly created?: string;
6584
6584
  expiration_time?: string | null;
6585
6585
  readonly created_by?: string | null;
6586
- readonly created_by_full_name?: string;
6586
+ readonly created_by_full_name?: string | null;
6587
6587
  /**
6588
6588
  * Required. 128 characters or fewer. Lowercase letters, numbers and @/./+/-/_ characters
6589
6589
  */
6590
- readonly created_by_username?: string;
6590
+ readonly created_by_username?: string | null;
6591
6591
  readonly project?: string;
6592
6592
  readonly project_uuid?: string;
6593
6593
  readonly project_name?: 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;
@@ -8014,10 +8011,10 @@ export type Resource = {
8014
8011
  readonly category_uuid?: string;
8015
8012
  readonly category_icon?: string;
8016
8013
  plan?: string;
8017
- plan_unit?: BillingUnit;
8018
- readonly plan_name?: string;
8019
- readonly plan_uuid?: string;
8020
- readonly plan_description?: string;
8014
+ plan_unit?: BillingUnit | null;
8015
+ readonly plan_name?: string | null;
8016
+ readonly plan_uuid?: string | null;
8017
+ readonly plan_description?: string | null;
8021
8018
  readonly attributes?: {};
8022
8019
  readonly limits?: {
8023
8020
  [key: string]: number;
@@ -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;
@@ -8553,7 +8550,7 @@ export type ServiceSettings = {
8553
8550
  */
8554
8551
  shared?: boolean;
8555
8552
  customer?: string | null;
8556
- readonly customer_name?: string;
8553
+ readonly customer_name?: string | null;
8557
8554
  readonly customer_native_name?: string;
8558
8555
  terms_of_services?: string;
8559
8556
  scope?: string | null;
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.48",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",