@kohost/api-client 3.0.0-beta.70 → 3.0.0-beta.71

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.
@@ -8471,7 +8471,6 @@ var require_switch = __commonJS({
8471
8471
  $ref: "definitions.json#/definitions/watts"
8472
8472
  }
8473
8473
  },
8474
- additionalProperties: false,
8475
8474
  required: ["id", "type", "state", "driver"]
8476
8475
  };
8477
8476
  }
@@ -8599,7 +8598,6 @@ var require_alarm = __commonJS({
8599
8598
  $ref: "definitions.json#/definitions/watts"
8600
8599
  }
8601
8600
  },
8602
- additionalProperties: false,
8603
8601
  required: ["id", "type", "areas", "zones", "driver"]
8604
8602
  };
8605
8603
  }
@@ -8688,7 +8686,6 @@ var require_dimmer = __commonJS({
8688
8686
  $ref: "definitions.json#/definitions/watts"
8689
8687
  }
8690
8688
  },
8691
- additionalProperties: false,
8692
8689
  required: ["id", "type", "level", "driver"]
8693
8690
  };
8694
8691
  }
@@ -8794,7 +8791,6 @@ var require_lock = __commonJS({
8794
8791
  $ref: "definitions.json#/definitions/watts"
8795
8792
  }
8796
8793
  },
8797
- additionalProperties: false,
8798
8794
  required: ["id", "type", "state", "driver"]
8799
8795
  };
8800
8796
  }
@@ -9120,7 +9116,6 @@ var require_windowCovering = __commonJS({
9120
9116
  $ref: "definitions.json#/definitions/watts"
9121
9117
  }
9122
9118
  },
9123
- additionalProperties: false,
9124
9119
  required: ["id", "type", "position", "driver"]
9125
9120
  };
9126
9121
  }
@@ -9870,7 +9865,6 @@ var require_courtesy = __commonJS({
9870
9865
  $ref: "definitions.json#/definitions/watts"
9871
9866
  }
9872
9867
  },
9873
- additionalProperties: false,
9874
9868
  required: ["id", "type", "driver", "supportedStates", "state"]
9875
9869
  };
9876
9870
  }
@@ -14253,7 +14247,6 @@ var require_gateway = __commonJS({
14253
14247
  $ref: "definitions.json#/definitions/watts"
14254
14248
  }
14255
14249
  },
14256
- additionalProperties: false,
14257
14250
  required: ["id", "type", "status", "driver"]
14258
14251
  };
14259
14252
  }
@@ -15444,6 +15437,10 @@ var require_property = __commonJS({
15444
15437
  type: "string"
15445
15438
  },
15446
15439
  type: {
15440
+ type: "string",
15441
+ default: "property"
15442
+ },
15443
+ discriminator: {
15447
15444
  type: "string",
15448
15445
  enum: ["hospitality", "education", "commercial"]
15449
15446
  },
@@ -15454,10 +15451,10 @@ var require_property = __commonJS({
15454
15451
  type: "string"
15455
15452
  },
15456
15453
  hostname: {
15457
- type: "string"
15454
+ type: ["string", "null"]
15458
15455
  },
15459
15456
  organization: {
15460
- type: "string",
15457
+ type: ["string", "null"],
15461
15458
  description: "Reference (id) to the organization that owns this property"
15462
15459
  },
15463
15460
  checkInTime: {
@@ -15467,311 +15464,293 @@ var require_property = __commonJS({
15467
15464
  type: "string"
15468
15465
  },
15469
15466
  address: {
15470
- type: "object",
15471
- properties: {
15472
- street: {
15473
- type: "string"
15474
- },
15475
- city: {
15476
- type: "string"
15477
- },
15478
- state: {
15479
- type: "string"
15480
- },
15481
- zip: {
15482
- type: "string"
15483
- },
15484
- country: {
15485
- type: "string"
15467
+ $ref: "definitions.json#/definitions/address"
15468
+ }
15469
+ },
15470
+ latitude: {
15471
+ type: "number"
15472
+ },
15473
+ longitude: {
15474
+ type: "number"
15475
+ },
15476
+ appManifest: {
15477
+ type: "object",
15478
+ properties: {
15479
+ name: {
15480
+ type: "string"
15481
+ },
15482
+ short_name: {
15483
+ type: "string"
15484
+ },
15485
+ scope: {
15486
+ type: "string"
15487
+ },
15488
+ start_url: {
15489
+ type: "string"
15490
+ },
15491
+ themeColor: {
15492
+ type: "string"
15493
+ },
15494
+ backgroundColor: {
15495
+ type: "string"
15496
+ },
15497
+ display: {
15498
+ type: "string",
15499
+ enum: ["fullscreen", "standalone", "minimal-ui", "browser"],
15500
+ default: "fullscreen"
15501
+ },
15502
+ orientation: {
15503
+ type: "string",
15504
+ enum: ["portrait", "landscape"],
15505
+ default: "portrait"
15506
+ },
15507
+ splash: {
15508
+ type: "object",
15509
+ properties: {
15510
+ src: {
15511
+ type: "string"
15512
+ },
15513
+ type: {
15514
+ type: "string"
15515
+ },
15516
+ sizes: {
15517
+ type: "string"
15518
+ }
15486
15519
  }
15487
- }
15488
- },
15489
- latitude: {
15490
- type: "number"
15491
- },
15492
- longitude: {
15493
- type: "number"
15494
- },
15495
- appManifest: {
15496
- type: "object",
15497
- properties: {
15498
- name: {
15499
- type: "string"
15500
- },
15501
- short_name: {
15502
- type: "string"
15503
- },
15504
- scope: {
15505
- type: "string"
15506
- },
15507
- start_url: {
15508
- type: "string"
15509
- },
15510
- themeColor: {
15511
- type: "string"
15512
- },
15513
- backgroundColor: {
15514
- type: "string"
15515
- },
15516
- display: {
15517
- type: "string",
15518
- enum: ["fullscreen", "standalone", "minimal-ui", "browser"],
15519
- default: "fullscreen"
15520
- },
15521
- orientation: {
15522
- type: "string",
15523
- enum: ["portrait", "landscape"],
15524
- default: "portrait"
15525
- },
15526
- splash: {
15520
+ },
15521
+ icons: {
15522
+ type: "array",
15523
+ items: {
15527
15524
  type: "object",
15528
15525
  properties: {
15529
15526
  src: {
15530
15527
  type: "string"
15531
15528
  },
15532
- type: {
15533
- type: "string"
15534
- },
15535
15529
  sizes: {
15536
15530
  type: "string"
15537
- }
15538
- }
15539
- },
15540
- icons: {
15541
- type: "array",
15542
- items: {
15543
- type: "object",
15544
- properties: {
15545
- src: {
15546
- type: "string"
15547
- },
15548
- sizes: {
15549
- type: "string"
15550
- },
15551
- type: {
15552
- type: "string"
15553
- }
15554
- }
15555
- }
15556
- },
15557
- logo: {
15558
- type: "object",
15559
- properties: {
15560
- src: {
15561
- type: "string"
15562
15531
  },
15563
15532
  type: {
15564
15533
  type: "string"
15565
- },
15566
- sizes: {
15567
- type: "string"
15568
15534
  }
15569
15535
  }
15570
15536
  }
15571
15537
  },
15572
- default: {
15573
- name: "Kohost",
15574
- short_name: "Kohost",
15575
- start_url: "/",
15576
- scope: "/",
15577
- display: "fullscreen",
15578
- orientation: "portrait",
15579
- theme_color: "#1d1f22",
15580
- background_color: "#1d1f22",
15581
- icons: [
15582
- {
15583
- src: "https://cdn.kohost.app/defaultIcon.png",
15584
- sizes: "512x512",
15585
- type: "image/png"
15538
+ logo: {
15539
+ type: "object",
15540
+ properties: {
15541
+ src: {
15542
+ type: "string"
15543
+ },
15544
+ type: {
15545
+ type: "string"
15546
+ },
15547
+ sizes: {
15548
+ type: "string"
15586
15549
  }
15587
- ],
15588
- splash: {
15589
- src: "https://cdn.kohost.app/defaultSplash.jpg",
15590
- sizes: "1500x800",
15591
- type: "image/jpg"
15592
- },
15593
- logo: {
15594
- src: "https://cdn.kohost.app/defaultLogo.png",
15595
- sizes: "300x75",
15596
- type: "image/png"
15597
15550
  }
15598
15551
  }
15599
15552
  },
15600
- appFeatures: {
15601
- type: "object",
15602
- properties: {
15603
- RoomControl: {
15604
- type: "object",
15605
- properties: {
15606
- commonAreas: {
15607
- type: "object",
15608
- properties: {
15609
- spaces: {
15610
- type: "array",
15611
- items: {
15612
- type: "string"
15613
- }
15553
+ default: {
15554
+ name: "Kohost",
15555
+ short_name: "Kohost",
15556
+ start_url: "/",
15557
+ scope: "/",
15558
+ display: "fullscreen",
15559
+ orientation: "portrait",
15560
+ theme_color: "#1d1f22",
15561
+ background_color: "#1d1f22",
15562
+ icons: [
15563
+ {
15564
+ src: "https://cdn.kohost.app/defaultIcon.png",
15565
+ sizes: "512x512",
15566
+ type: "image/png"
15567
+ }
15568
+ ],
15569
+ splash: {
15570
+ src: "https://cdn.kohost.app/defaultSplash.jpg",
15571
+ sizes: "1500x800",
15572
+ type: "image/jpg"
15573
+ },
15574
+ logo: {
15575
+ src: "https://cdn.kohost.app/defaultLogo.png",
15576
+ sizes: "300x75",
15577
+ type: "image/png"
15578
+ }
15579
+ }
15580
+ },
15581
+ appFeatures: {
15582
+ type: "object",
15583
+ properties: {
15584
+ RoomControl: {
15585
+ type: "object",
15586
+ properties: {
15587
+ commonAreas: {
15588
+ type: "object",
15589
+ properties: {
15590
+ spaces: {
15591
+ type: "array",
15592
+ items: {
15593
+ type: "string"
15614
15594
  }
15615
15595
  }
15616
15596
  }
15617
- },
15618
- additionalProperties: false
15619
- },
15620
- CheckIn: {
15621
- properties: {
15622
- payment: {},
15623
- identification: {},
15624
- earlyCheckIn: {
15625
- type: "object",
15626
- required: ["dynamic"],
15627
- properties: {
15628
- dynamic: {
15629
- type: "boolean",
15630
- default: false
15631
- },
15632
- minimumPrice: {
15633
- type: "number",
15634
- default: 10
15635
- },
15636
- maximumPrice: {
15637
- type: "number",
15638
- default: 50
15639
- },
15640
- priceRatioPerHour: {
15641
- type: "number",
15642
- default: 0.1
15643
- }
15644
- }
15645
- },
15646
- roomUpgrades: {}
15647
15597
  }
15648
15598
  },
15649
- CheckOut: {
15650
- properties: {
15651
- lateCheckOut: {
15652
- type: "object",
15653
- required: ["dynamic"],
15654
- properties: {
15655
- dynamic: {
15656
- type: "boolean",
15657
- default: false
15658
- },
15659
- minimumPrice: {
15660
- type: "number",
15661
- default: 10
15662
- },
15663
- maximumPrice: {
15664
- type: "number",
15665
- default: 50
15666
- },
15667
- priceRatioPerHour: {
15668
- type: "number",
15669
- default: 0.1
15670
- }
15599
+ additionalProperties: false
15600
+ },
15601
+ CheckIn: {
15602
+ properties: {
15603
+ payment: {},
15604
+ identification: {},
15605
+ earlyCheckIn: {
15606
+ type: "object",
15607
+ required: ["dynamic"],
15608
+ properties: {
15609
+ dynamic: {
15610
+ type: "boolean",
15611
+ default: false
15612
+ },
15613
+ minimumPrice: {
15614
+ type: "number",
15615
+ default: 10
15616
+ },
15617
+ maximumPrice: {
15618
+ type: "number",
15619
+ default: 50
15620
+ },
15621
+ priceRatioPerHour: {
15622
+ type: "number",
15623
+ default: 0.1
15624
+ }
15625
+ }
15626
+ },
15627
+ roomUpgrades: {}
15628
+ }
15629
+ },
15630
+ CheckOut: {
15631
+ properties: {
15632
+ lateCheckOut: {
15633
+ type: "object",
15634
+ required: ["dynamic"],
15635
+ properties: {
15636
+ dynamic: {
15637
+ type: "boolean",
15638
+ default: false
15639
+ },
15640
+ minimumPrice: {
15641
+ type: "number",
15642
+ default: 10
15643
+ },
15644
+ maximumPrice: {
15645
+ type: "number",
15646
+ default: 50
15647
+ },
15648
+ priceRatioPerHour: {
15649
+ type: "number",
15650
+ default: 0.1
15671
15651
  }
15672
15652
  }
15673
15653
  }
15674
- },
15675
- Concierge: {},
15676
- DigitalKey: {
15677
- type: "object",
15678
- properties: {
15679
- system: {
15680
- type: "string",
15681
- enum: ["salto"]
15682
- },
15683
- systemOnline: {
15684
- type: "boolean",
15685
- default: false
15686
- },
15687
- enableApp: {
15688
- type: "boolean"
15689
- },
15690
- branding: {
15691
- type: "object",
15692
- properties: {
15693
- logo: {
15654
+ }
15655
+ },
15656
+ Concierge: {},
15657
+ DigitalKey: {
15658
+ type: "object",
15659
+ properties: {
15660
+ system: {
15661
+ type: "string",
15662
+ enum: ["salto"]
15663
+ },
15664
+ systemOnline: {
15665
+ type: "boolean",
15666
+ default: false
15667
+ },
15668
+ enableApp: {
15669
+ type: "boolean"
15670
+ },
15671
+ branding: {
15672
+ type: "object",
15673
+ properties: {
15674
+ logo: {
15675
+ type: "string",
15676
+ format: "uri"
15677
+ },
15678
+ gradient: {
15679
+ type: "array",
15680
+ items: {
15694
15681
  type: "string",
15695
- format: "uri"
15682
+ pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15696
15683
  },
15697
- gradient: {
15698
- type: "array",
15699
- items: {
15700
- type: "string",
15701
- pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15702
- },
15703
- minItems: 2,
15704
- maxItems: 2
15684
+ minItems: 2,
15685
+ maxItems: 2
15686
+ },
15687
+ highlightedGradient: {
15688
+ type: "array",
15689
+ items: {
15690
+ type: "string",
15691
+ pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15705
15692
  },
15706
- highlightedGradient: {
15707
- type: "array",
15708
- items: {
15709
- type: "string",
15710
- pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15711
- },
15712
- minItems: 2,
15713
- maxItems: 3
15714
- }
15693
+ minItems: 2,
15694
+ maxItems: 3
15715
15695
  }
15716
15696
  }
15717
15697
  }
15718
- },
15719
- Elevator: {}
15698
+ }
15720
15699
  },
15721
- additionalProperties: false,
15722
- default: {
15723
- RoomControl: {}
15724
- }
15700
+ Elevator: {}
15725
15701
  },
15726
- notifications: {
15727
- type: "object",
15728
- properties: {
15729
- email: {
15730
- type: "object",
15731
- properties: {
15732
- enabled: {
15733
- type: "boolean"
15734
- }
15735
- },
15736
- additionalProperties: false
15737
- },
15738
- sms: {
15739
- type: "object",
15740
- properties: {
15741
- enabled: {
15742
- type: "boolean"
15743
- }
15744
- },
15745
- additionalProperties: false
15702
+ additionalProperties: false,
15703
+ default: {
15704
+ RoomControl: {}
15705
+ }
15706
+ },
15707
+ notifications: {
15708
+ type: "object",
15709
+ properties: {
15710
+ email: {
15711
+ type: "object",
15712
+ properties: {
15713
+ enabled: {
15714
+ type: "boolean"
15715
+ }
15746
15716
  },
15747
- push: {
15748
- type: "object",
15749
- properties: {
15750
- enabled: {
15751
- type: "boolean"
15752
- }
15753
- },
15754
- additionalProperties: false
15755
- }
15717
+ additionalProperties: false
15756
15718
  },
15757
- additionalProperties: false,
15758
- default: {
15759
- email: {
15760
- enabled: false
15719
+ sms: {
15720
+ type: "object",
15721
+ properties: {
15722
+ enabled: {
15723
+ type: "boolean"
15724
+ }
15761
15725
  },
15762
- sms: {
15763
- enabled: false
15726
+ additionalProperties: false
15727
+ },
15728
+ push: {
15729
+ type: "object",
15730
+ properties: {
15731
+ enabled: {
15732
+ type: "boolean"
15733
+ }
15764
15734
  },
15765
- push: {
15766
- enabled: false
15767
- }
15735
+ additionalProperties: false
15768
15736
  }
15769
15737
  },
15770
- credentials: {
15771
- type: "object",
15772
- additionalProperties: true
15773
- },
15774
- additionalProperties: false
15738
+ additionalProperties: false,
15739
+ default: {
15740
+ email: {
15741
+ enabled: false
15742
+ },
15743
+ sms: {
15744
+ enabled: false
15745
+ },
15746
+ push: {
15747
+ enabled: false
15748
+ }
15749
+ }
15750
+ },
15751
+ credentials: {
15752
+ type: "object",
15753
+ additionalProperties: true
15775
15754
  }
15776
15755
  };
15777
15756
  }
@@ -15828,8 +15807,12 @@ var require_organization = __commonJS({
15828
15807
  id: {
15829
15808
  $ref: "definitions.json#/definitions/id"
15830
15809
  },
15810
+ type: {
15811
+ type: "string",
15812
+ default: "organization"
15813
+ },
15831
15814
  accountNumber: {
15832
- type: "number",
15815
+ type: ["number", "null"],
15833
15816
  minimum: 1e4
15834
15817
  },
15835
15818
  name: {