@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.
- package/dist/cjs/schemas/CredentialSchema.d.ts +2 -1
- package/dist/cjs/schemas/PropertySchema.d.ts +98 -0
- package/dist/cjs/schemas/credential.json +4 -0
- package/dist/cjs/schemas/organization.json +1 -1
- package/dist/cjs/schemas/property.json +3 -3
- package/dist/esm/Models.js +249 -245
- package/dist/esm/Models.js.map +2 -2
- package/package.json +1 -1
package/dist/esm/Models.js
CHANGED
|
@@ -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
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
|
|
15475
|
-
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15489
|
-
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
|
-
|
|
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
|
-
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
|
|
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
|
-
|
|
15554
|
-
|
|
15555
|
-
|
|
15556
|
-
|
|
15557
|
-
|
|
15558
|
-
|
|
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
|
-
|
|
15582
|
-
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
15589
|
-
|
|
15590
|
-
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
|
-
|
|
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
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
15603
|
-
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
|
|
15612
|
-
|
|
15613
|
-
|
|
15614
|
-
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
|
|
15618
|
-
|
|
15619
|
-
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
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
|
-
|
|
15628
|
-
}
|
|
15629
|
-
|
|
15630
|
-
|
|
15631
|
-
|
|
15632
|
-
|
|
15633
|
-
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
|
|
15649
|
-
|
|
15650
|
-
|
|
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
|
-
|
|
15657
|
-
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15661
|
-
|
|
15662
|
-
|
|
15663
|
-
|
|
15664
|
-
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
|
|
15671
|
-
|
|
15672
|
-
|
|
15673
|
-
|
|
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
|
-
|
|
15679
|
+
format: "uri"
|
|
15683
15680
|
},
|
|
15684
|
-
|
|
15685
|
-
|
|
15686
|
-
|
|
15687
|
-
|
|
15688
|
-
|
|
15689
|
-
|
|
15690
|
-
|
|
15691
|
-
|
|
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
|
-
|
|
15694
|
-
|
|
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
|
-
|
|
15705
|
+
additionalProperties: false,
|
|
15706
|
+
default: {
|
|
15707
|
+
RoomControl: {}
|
|
15708
|
+
}
|
|
15701
15709
|
},
|
|
15702
|
-
|
|
15703
|
-
|
|
15704
|
-
|
|
15705
|
-
|
|
15706
|
-
|
|
15707
|
-
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
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
|
-
|
|
15718
|
-
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
15722
|
+
sms: {
|
|
15723
|
+
type: "object",
|
|
15724
|
+
properties: {
|
|
15725
|
+
enabled: {
|
|
15726
|
+
type: "boolean"
|
|
15727
|
+
}
|
|
15728
|
+
},
|
|
15729
|
+
additionalProperties: false
|
|
15725
15730
|
},
|
|
15726
|
-
|
|
15731
|
+
push: {
|
|
15732
|
+
type: "object",
|
|
15733
|
+
properties: {
|
|
15734
|
+
enabled: {
|
|
15735
|
+
type: "boolean"
|
|
15736
|
+
}
|
|
15737
|
+
},
|
|
15738
|
+
additionalProperties: false
|
|
15739
|
+
}
|
|
15727
15740
|
},
|
|
15728
|
-
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
enabled:
|
|
15732
|
-
type: "boolean"
|
|
15733
|
-
}
|
|
15741
|
+
additionalProperties: false,
|
|
15742
|
+
default: {
|
|
15743
|
+
email: {
|
|
15744
|
+
enabled: false
|
|
15734
15745
|
},
|
|
15735
|
-
|
|
15746
|
+
sms: {
|
|
15747
|
+
enabled: false
|
|
15748
|
+
},
|
|
15749
|
+
push: {
|
|
15750
|
+
enabled: false
|
|
15751
|
+
}
|
|
15736
15752
|
}
|
|
15737
15753
|
},
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
|
|
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
|
}
|