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

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.
@@ -14743,6 +14743,10 @@ var require_credential = __commonJS({
14743
14743
  $ref: "definitions.json#/definitions/id"
14744
14744
  },
14745
14745
  type: {
14746
+ type: "string",
14747
+ default: "credential"
14748
+ },
14749
+ discriminator: {
14746
14750
  type: "string",
14747
14751
  enum: ["verificationCode", "token", "mobileKey"]
14748
14752
  },
@@ -15465,292 +15469,292 @@ var require_property = __commonJS({
15465
15469
  },
15466
15470
  address: {
15467
15471
  $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
- }
15519
- }
15520
- },
15521
- icons: {
15522
- type: "array",
15523
- items: {
15472
+ },
15473
+ latitude: {
15474
+ type: "number"
15475
+ },
15476
+ longitude: {
15477
+ type: "number"
15478
+ },
15479
+ appManifest: {
15480
+ type: "object",
15481
+ properties: {
15482
+ name: {
15483
+ type: "string"
15484
+ },
15485
+ short_name: {
15486
+ type: "string"
15487
+ },
15488
+ scope: {
15489
+ type: "string"
15490
+ },
15491
+ start_url: {
15492
+ type: "string"
15493
+ },
15494
+ themeColor: {
15495
+ type: "string"
15496
+ },
15497
+ backgroundColor: {
15498
+ type: "string"
15499
+ },
15500
+ display: {
15501
+ type: "string",
15502
+ enum: ["fullscreen", "standalone", "minimal-ui", "browser"],
15503
+ default: "fullscreen"
15504
+ },
15505
+ orientation: {
15506
+ type: "string",
15507
+ enum: ["portrait", "landscape"],
15508
+ default: "portrait"
15509
+ },
15510
+ splash: {
15524
15511
  type: "object",
15525
15512
  properties: {
15526
15513
  src: {
15527
15514
  type: "string"
15528
15515
  },
15516
+ type: {
15517
+ type: "string"
15518
+ },
15529
15519
  sizes: {
15530
15520
  type: "string"
15521
+ }
15522
+ }
15523
+ },
15524
+ icons: {
15525
+ type: "array",
15526
+ items: {
15527
+ type: "object",
15528
+ properties: {
15529
+ src: {
15530
+ type: "string"
15531
+ },
15532
+ sizes: {
15533
+ type: "string"
15534
+ },
15535
+ type: {
15536
+ type: "string"
15537
+ }
15538
+ }
15539
+ }
15540
+ },
15541
+ logo: {
15542
+ type: "object",
15543
+ properties: {
15544
+ src: {
15545
+ type: "string"
15531
15546
  },
15532
15547
  type: {
15533
15548
  type: "string"
15549
+ },
15550
+ sizes: {
15551
+ type: "string"
15534
15552
  }
15535
15553
  }
15536
15554
  }
15537
15555
  },
15538
- logo: {
15539
- type: "object",
15540
- properties: {
15541
- src: {
15542
- type: "string"
15543
- },
15544
- type: {
15545
- type: "string"
15546
- },
15547
- sizes: {
15548
- type: "string"
15556
+ default: {
15557
+ name: "Kohost",
15558
+ short_name: "Kohost",
15559
+ start_url: "/",
15560
+ scope: "/",
15561
+ display: "fullscreen",
15562
+ orientation: "portrait",
15563
+ theme_color: "#1d1f22",
15564
+ background_color: "#1d1f22",
15565
+ icons: [
15566
+ {
15567
+ src: "https://cdn.kohost.app/defaultIcon.png",
15568
+ sizes: "512x512",
15569
+ type: "image/png"
15549
15570
  }
15550
- }
15551
- }
15552
- },
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",
15571
+ ],
15572
+ splash: {
15573
+ src: "https://cdn.kohost.app/defaultSplash.jpg",
15574
+ sizes: "1500x800",
15575
+ type: "image/jpg"
15576
+ },
15577
+ logo: {
15578
+ src: "https://cdn.kohost.app/defaultLogo.png",
15579
+ sizes: "300x75",
15566
15580
  type: "image/png"
15567
15581
  }
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
15582
  }
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"
15583
+ },
15584
+ appFeatures: {
15585
+ type: "object",
15586
+ properties: {
15587
+ RoomControl: {
15588
+ type: "object",
15589
+ properties: {
15590
+ commonAreas: {
15591
+ type: "object",
15592
+ properties: {
15593
+ spaces: {
15594
+ type: "array",
15595
+ items: {
15596
+ type: "string"
15597
+ }
15594
15598
  }
15595
15599
  }
15596
15600
  }
15597
- }
15601
+ },
15602
+ additionalProperties: false
15598
15603
  },
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
15604
+ CheckIn: {
15605
+ properties: {
15606
+ payment: {},
15607
+ identification: {},
15608
+ earlyCheckIn: {
15609
+ type: "object",
15610
+ required: ["dynamic"],
15611
+ properties: {
15612
+ dynamic: {
15613
+ type: "boolean",
15614
+ default: false
15615
+ },
15616
+ minimumPrice: {
15617
+ type: "number",
15618
+ default: 10
15619
+ },
15620
+ maximumPrice: {
15621
+ type: "number",
15622
+ default: 50
15623
+ },
15624
+ priceRatioPerHour: {
15625
+ type: "number",
15626
+ default: 0.1
15627
+ }
15624
15628
  }
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
15629
+ },
15630
+ roomUpgrades: {}
15631
+ }
15632
+ },
15633
+ CheckOut: {
15634
+ properties: {
15635
+ lateCheckOut: {
15636
+ type: "object",
15637
+ required: ["dynamic"],
15638
+ properties: {
15639
+ dynamic: {
15640
+ type: "boolean",
15641
+ default: false
15642
+ },
15643
+ minimumPrice: {
15644
+ type: "number",
15645
+ default: 10
15646
+ },
15647
+ maximumPrice: {
15648
+ type: "number",
15649
+ default: 50
15650
+ },
15651
+ priceRatioPerHour: {
15652
+ type: "number",
15653
+ default: 0.1
15654
+ }
15651
15655
  }
15652
15656
  }
15653
15657
  }
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: {
15658
+ },
15659
+ Concierge: {},
15660
+ DigitalKey: {
15661
+ type: "object",
15662
+ properties: {
15663
+ system: {
15664
+ type: "string",
15665
+ enum: ["salto"]
15666
+ },
15667
+ systemOnline: {
15668
+ type: "boolean",
15669
+ default: false
15670
+ },
15671
+ enableApp: {
15672
+ type: "boolean"
15673
+ },
15674
+ branding: {
15675
+ type: "object",
15676
+ properties: {
15677
+ logo: {
15681
15678
  type: "string",
15682
- pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15679
+ format: "uri"
15683
15680
  },
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})$"
15681
+ gradient: {
15682
+ type: "array",
15683
+ items: {
15684
+ type: "string",
15685
+ pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15686
+ },
15687
+ minItems: 2,
15688
+ maxItems: 2
15692
15689
  },
15693
- minItems: 2,
15694
- maxItems: 3
15690
+ highlightedGradient: {
15691
+ type: "array",
15692
+ items: {
15693
+ type: "string",
15694
+ pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
15695
+ },
15696
+ minItems: 2,
15697
+ maxItems: 3
15698
+ }
15695
15699
  }
15696
15700
  }
15697
15701
  }
15698
- }
15702
+ },
15703
+ Elevator: {}
15699
15704
  },
15700
- Elevator: {}
15705
+ additionalProperties: false,
15706
+ default: {
15707
+ RoomControl: {}
15708
+ }
15701
15709
  },
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
- }
15710
+ notifications: {
15711
+ type: "object",
15712
+ properties: {
15713
+ email: {
15714
+ type: "object",
15715
+ properties: {
15716
+ enabled: {
15717
+ type: "boolean"
15718
+ }
15719
+ },
15720
+ additionalProperties: false
15716
15721
  },
15717
- additionalProperties: false
15718
- },
15719
- sms: {
15720
- type: "object",
15721
- properties: {
15722
- enabled: {
15723
- type: "boolean"
15724
- }
15722
+ sms: {
15723
+ type: "object",
15724
+ properties: {
15725
+ enabled: {
15726
+ type: "boolean"
15727
+ }
15728
+ },
15729
+ additionalProperties: false
15725
15730
  },
15726
- additionalProperties: false
15731
+ push: {
15732
+ type: "object",
15733
+ properties: {
15734
+ enabled: {
15735
+ type: "boolean"
15736
+ }
15737
+ },
15738
+ additionalProperties: false
15739
+ }
15727
15740
  },
15728
- push: {
15729
- type: "object",
15730
- properties: {
15731
- enabled: {
15732
- type: "boolean"
15733
- }
15741
+ additionalProperties: false,
15742
+ default: {
15743
+ email: {
15744
+ enabled: false
15734
15745
  },
15735
- additionalProperties: false
15746
+ sms: {
15747
+ enabled: false
15748
+ },
15749
+ push: {
15750
+ enabled: false
15751
+ }
15736
15752
  }
15737
15753
  },
15738
- additionalProperties: false,
15739
- default: {
15740
- email: {
15741
- enabled: false
15742
- },
15743
- sms: {
15744
- enabled: false
15745
- },
15746
- push: {
15747
- enabled: false
15748
- }
15754
+ credentials: {
15755
+ type: "object",
15756
+ additionalProperties: true
15749
15757
  }
15750
- },
15751
- credentials: {
15752
- type: "object",
15753
- additionalProperties: true
15754
15758
  }
15755
15759
  };
15756
15760
  }