@seamapi/types 1.617.0 → 1.619.0
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/connect.cjs +327 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +387 -0
- package/dist/index.cjs +327 -6
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +6 -6
- package/lib/seam/connect/models/customer/access-grant-resources.js +15 -1
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +22 -22
- package/lib/seam/connect/models/customer/customer-data.js +7 -1
- package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
- package/lib/seam/connect/models/customer/location-resources.d.ts +26 -26
- package/lib/seam/connect/models/customer/location-resources.js +76 -8
- package/lib/seam/connect/models/customer/location-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +10 -10
- package/lib/seam/connect/models/customer/user-identity-resources.js +32 -4
- package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +342 -0
- package/lib/seam/connect/openapi.js +312 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +15 -1
- package/src/lib/seam/connect/models/customer/customer-data.ts +7 -1
- package/src/lib/seam/connect/models/customer/location-resources.ts +76 -8
- package/src/lib/seam/connect/models/customer/user-identity-resources.ts +32 -4
- package/src/lib/seam/connect/openapi.ts +312 -1
- package/src/lib/seam/connect/route-types.ts +67 -0
package/dist/index.cjs
CHANGED
|
@@ -5731,16 +5731,24 @@ var base_user_identity_resource = zod.z.object({
|
|
|
5731
5731
|
phone_number: zod.z.string().optional().describe("Phone number associated with the user identity.")
|
|
5732
5732
|
});
|
|
5733
5733
|
var guest_resource = base_user_identity_resource.extend({
|
|
5734
|
-
guest_key: zod.z.string().
|
|
5734
|
+
guest_key: zod.z.string().min(1).refine((val) => val === val.trim(), {
|
|
5735
|
+
message: "Must not have leading or trailing whitespace"
|
|
5736
|
+
}).describe("Your unique identifier for the guest.")
|
|
5735
5737
|
});
|
|
5736
5738
|
var tenant_resource = base_user_identity_resource.extend({
|
|
5737
|
-
tenant_key: zod.z.string().
|
|
5739
|
+
tenant_key: zod.z.string().min(1).refine((val) => val === val.trim(), {
|
|
5740
|
+
message: "Must not have leading or trailing whitespace"
|
|
5741
|
+
}).describe("Your unique identifier for the tenant.")
|
|
5738
5742
|
});
|
|
5739
5743
|
var resident_resource = base_user_identity_resource.extend({
|
|
5740
|
-
resident_key: zod.z.string().
|
|
5744
|
+
resident_key: zod.z.string().min(1).refine((val) => val === val.trim(), {
|
|
5745
|
+
message: "Must not have leading or trailing whitespace"
|
|
5746
|
+
}).describe("Your unique identifier for the resident.")
|
|
5741
5747
|
});
|
|
5742
5748
|
var user_resource = base_user_identity_resource.extend({
|
|
5743
|
-
user_key: zod.z.string().
|
|
5749
|
+
user_key: zod.z.string().min(1).refine((val) => val === val.trim(), {
|
|
5750
|
+
message: "Must not have leading or trailing whitespace"
|
|
5751
|
+
}).describe("Your unique identifier for the user.")
|
|
5744
5752
|
});
|
|
5745
5753
|
var staff_member_resource = base_user_identity_resource.extend({
|
|
5746
5754
|
staff_member_key: zod.z.string().describe("Your unique identifier for the staff."),
|
|
@@ -5754,7 +5762,9 @@ var staff_member_resource = base_user_identity_resource.extend({
|
|
|
5754
5762
|
Represents a staff member for a specific customer.
|
|
5755
5763
|
`);
|
|
5756
5764
|
var user_identity_resource = base_user_identity_resource.extend({
|
|
5757
|
-
user_identity_key: zod.z.string().
|
|
5765
|
+
user_identity_key: zod.z.string().min(1).refine((val) => val === val.trim(), {
|
|
5766
|
+
message: "Must not have leading or trailing whitespace"
|
|
5767
|
+
}).describe("Your unique identifier for the user identity.")
|
|
5758
5768
|
});
|
|
5759
5769
|
zod.z.union([
|
|
5760
5770
|
guest_resource,
|
|
@@ -31437,6 +31447,7 @@ var openapi_default = {
|
|
|
31437
31447
|
properties: {
|
|
31438
31448
|
access_grant_key: {
|
|
31439
31449
|
description: "Unique key for the access grant within the workspace.",
|
|
31450
|
+
minLength: 1,
|
|
31440
31451
|
type: "string"
|
|
31441
31452
|
},
|
|
31442
31453
|
acs_entrance_ids: {
|
|
@@ -31529,7 +31540,7 @@ var openapi_default = {
|
|
|
31529
31540
|
},
|
|
31530
31541
|
space_keys: {
|
|
31531
31542
|
description: "Set of keys of existing spaces to which access is being granted.",
|
|
31532
|
-
items: { type: "string" },
|
|
31543
|
+
items: { minLength: 1, type: "string" },
|
|
31533
31544
|
type: "array"
|
|
31534
31545
|
},
|
|
31535
31546
|
starts_at: {
|
|
@@ -41223,6 +41234,7 @@ var openapi_default = {
|
|
|
41223
41234
|
},
|
|
41224
41235
|
customer_key: {
|
|
41225
41236
|
description: "Customer key that you want to associate with the new client session.",
|
|
41237
|
+
minLength: 1,
|
|
41226
41238
|
type: "string"
|
|
41227
41239
|
},
|
|
41228
41240
|
expires_at: {
|
|
@@ -41314,6 +41326,7 @@ var openapi_default = {
|
|
|
41314
41326
|
},
|
|
41315
41327
|
customer_key: {
|
|
41316
41328
|
description: "Customer key that you want to associate with the new client session.",
|
|
41329
|
+
minLength: 1,
|
|
41317
41330
|
type: "string"
|
|
41318
41331
|
},
|
|
41319
41332
|
expires_at: {
|
|
@@ -42147,6 +42160,7 @@ var openapi_default = {
|
|
|
42147
42160
|
},
|
|
42148
42161
|
customer_key: {
|
|
42149
42162
|
description: "Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error.",
|
|
42163
|
+
minLength: 1,
|
|
42150
42164
|
type: "string"
|
|
42151
42165
|
},
|
|
42152
42166
|
device_selection_mode: {
|
|
@@ -43479,6 +43493,7 @@ var openapi_default = {
|
|
|
43479
43493
|
properties: {
|
|
43480
43494
|
access_grant_key: {
|
|
43481
43495
|
description: "Your unique identifier for the access grant.",
|
|
43496
|
+
minLength: 1,
|
|
43482
43497
|
type: "string"
|
|
43483
43498
|
},
|
|
43484
43499
|
building_keys: {
|
|
@@ -43569,6 +43584,7 @@ var openapi_default = {
|
|
|
43569
43584
|
properties: {
|
|
43570
43585
|
booking_key: {
|
|
43571
43586
|
description: "Your unique identifier for the booking.",
|
|
43587
|
+
minLength: 1,
|
|
43572
43588
|
type: "string"
|
|
43573
43589
|
},
|
|
43574
43590
|
building_keys: {
|
|
@@ -43659,6 +43675,7 @@ var openapi_default = {
|
|
|
43659
43675
|
properties: {
|
|
43660
43676
|
building_key: {
|
|
43661
43677
|
description: "Your unique identifier for the building.",
|
|
43678
|
+
minLength: 1,
|
|
43662
43679
|
type: "string"
|
|
43663
43680
|
},
|
|
43664
43681
|
name: {
|
|
@@ -43677,6 +43694,7 @@ var openapi_default = {
|
|
|
43677
43694
|
properties: {
|
|
43678
43695
|
common_area_key: {
|
|
43679
43696
|
description: "Your unique identifier for the common area.",
|
|
43697
|
+
minLength: 1,
|
|
43680
43698
|
type: "string"
|
|
43681
43699
|
},
|
|
43682
43700
|
name: {
|
|
@@ -43685,6 +43703,7 @@ var openapi_default = {
|
|
|
43685
43703
|
},
|
|
43686
43704
|
parent_site_key: {
|
|
43687
43705
|
description: "Your unique identifier for the site.",
|
|
43706
|
+
minLength: 1,
|
|
43688
43707
|
type: "string"
|
|
43689
43708
|
}
|
|
43690
43709
|
},
|
|
@@ -43695,6 +43714,7 @@ var openapi_default = {
|
|
|
43695
43714
|
},
|
|
43696
43715
|
customer_key: {
|
|
43697
43716
|
description: "Your unique identifier for the customer.",
|
|
43717
|
+
minLength: 1,
|
|
43698
43718
|
type: "string"
|
|
43699
43719
|
},
|
|
43700
43720
|
facilities: {
|
|
@@ -43703,6 +43723,7 @@ var openapi_default = {
|
|
|
43703
43723
|
properties: {
|
|
43704
43724
|
facility_key: {
|
|
43705
43725
|
description: "Your unique identifier for the facility.",
|
|
43726
|
+
minLength: 1,
|
|
43706
43727
|
type: "string"
|
|
43707
43728
|
},
|
|
43708
43729
|
name: {
|
|
@@ -43725,6 +43746,7 @@ var openapi_default = {
|
|
|
43725
43746
|
},
|
|
43726
43747
|
guest_key: {
|
|
43727
43748
|
description: "Your unique identifier for the guest.",
|
|
43749
|
+
minLength: 1,
|
|
43728
43750
|
type: "string"
|
|
43729
43751
|
},
|
|
43730
43752
|
name: {
|
|
@@ -43747,6 +43769,7 @@ var openapi_default = {
|
|
|
43747
43769
|
properties: {
|
|
43748
43770
|
listing_key: {
|
|
43749
43771
|
description: "Your unique identifier for the listing.",
|
|
43772
|
+
minLength: 1,
|
|
43750
43773
|
type: "string"
|
|
43751
43774
|
},
|
|
43752
43775
|
name: {
|
|
@@ -43769,6 +43792,7 @@ var openapi_default = {
|
|
|
43769
43792
|
},
|
|
43770
43793
|
property_key: {
|
|
43771
43794
|
description: "Your unique identifier for the property.",
|
|
43795
|
+
minLength: 1,
|
|
43772
43796
|
type: "string"
|
|
43773
43797
|
}
|
|
43774
43798
|
},
|
|
@@ -43787,6 +43811,7 @@ var openapi_default = {
|
|
|
43787
43811
|
},
|
|
43788
43812
|
property_listing_key: {
|
|
43789
43813
|
description: "Your unique identifier for the property listing.",
|
|
43814
|
+
minLength: 1,
|
|
43790
43815
|
type: "string"
|
|
43791
43816
|
}
|
|
43792
43817
|
},
|
|
@@ -43842,6 +43867,7 @@ var openapi_default = {
|
|
|
43842
43867
|
},
|
|
43843
43868
|
reservation_key: {
|
|
43844
43869
|
description: "Your unique identifier for the reservation.",
|
|
43870
|
+
minLength: 1,
|
|
43845
43871
|
type: "string"
|
|
43846
43872
|
},
|
|
43847
43873
|
resident_key: {
|
|
@@ -43903,6 +43929,7 @@ var openapi_default = {
|
|
|
43903
43929
|
},
|
|
43904
43930
|
resident_key: {
|
|
43905
43931
|
description: "Your unique identifier for the resident.",
|
|
43932
|
+
minLength: 1,
|
|
43906
43933
|
type: "string"
|
|
43907
43934
|
}
|
|
43908
43935
|
},
|
|
@@ -43921,10 +43948,12 @@ var openapi_default = {
|
|
|
43921
43948
|
},
|
|
43922
43949
|
parent_site_key: {
|
|
43923
43950
|
description: "Your unique identifier for the site.",
|
|
43951
|
+
minLength: 1,
|
|
43924
43952
|
type: "string"
|
|
43925
43953
|
},
|
|
43926
43954
|
room_key: {
|
|
43927
43955
|
description: "Your unique identifier for the room.",
|
|
43956
|
+
minLength: 1,
|
|
43928
43957
|
type: "string"
|
|
43929
43958
|
}
|
|
43930
43959
|
},
|
|
@@ -43943,6 +43972,7 @@ var openapi_default = {
|
|
|
43943
43972
|
},
|
|
43944
43973
|
site_key: {
|
|
43945
43974
|
description: "Your unique identifier for the site.",
|
|
43975
|
+
minLength: 1,
|
|
43946
43976
|
type: "string"
|
|
43947
43977
|
}
|
|
43948
43978
|
},
|
|
@@ -43961,6 +43991,7 @@ var openapi_default = {
|
|
|
43961
43991
|
},
|
|
43962
43992
|
space_key: {
|
|
43963
43993
|
description: "Your unique identifier for the space.",
|
|
43994
|
+
minLength: 1,
|
|
43964
43995
|
type: "string"
|
|
43965
43996
|
}
|
|
43966
43997
|
},
|
|
@@ -44024,6 +44055,7 @@ var openapi_default = {
|
|
|
44024
44055
|
},
|
|
44025
44056
|
tenant_key: {
|
|
44026
44057
|
description: "Your unique identifier for the tenant.",
|
|
44058
|
+
minLength: 1,
|
|
44027
44059
|
type: "string"
|
|
44028
44060
|
}
|
|
44029
44061
|
},
|
|
@@ -44042,10 +44074,12 @@ var openapi_default = {
|
|
|
44042
44074
|
},
|
|
44043
44075
|
parent_site_key: {
|
|
44044
44076
|
description: "Your unique identifier for the site.",
|
|
44077
|
+
minLength: 1,
|
|
44045
44078
|
type: "string"
|
|
44046
44079
|
},
|
|
44047
44080
|
unit_key: {
|
|
44048
44081
|
description: "Your unique identifier for the unit.",
|
|
44082
|
+
minLength: 1,
|
|
44049
44083
|
type: "string"
|
|
44050
44084
|
}
|
|
44051
44085
|
},
|
|
@@ -44072,6 +44106,7 @@ var openapi_default = {
|
|
|
44072
44106
|
},
|
|
44073
44107
|
user_identity_key: {
|
|
44074
44108
|
description: "Your unique identifier for the user identity.",
|
|
44109
|
+
minLength: 1,
|
|
44075
44110
|
type: "string"
|
|
44076
44111
|
}
|
|
44077
44112
|
},
|
|
@@ -44098,6 +44133,7 @@ var openapi_default = {
|
|
|
44098
44133
|
},
|
|
44099
44134
|
user_key: {
|
|
44100
44135
|
description: "Your unique identifier for the user.",
|
|
44136
|
+
minLength: 1,
|
|
44101
44137
|
type: "string"
|
|
44102
44138
|
}
|
|
44103
44139
|
},
|
|
@@ -44495,6 +44531,7 @@ var openapi_default = {
|
|
|
44495
44531
|
properties: {
|
|
44496
44532
|
access_grant_key: {
|
|
44497
44533
|
description: "Your unique identifier for the access grant.",
|
|
44534
|
+
minLength: 1,
|
|
44498
44535
|
type: "string"
|
|
44499
44536
|
},
|
|
44500
44537
|
building_keys: {
|
|
@@ -44585,6 +44622,7 @@ var openapi_default = {
|
|
|
44585
44622
|
properties: {
|
|
44586
44623
|
booking_key: {
|
|
44587
44624
|
description: "Your unique identifier for the booking.",
|
|
44625
|
+
minLength: 1,
|
|
44588
44626
|
type: "string"
|
|
44589
44627
|
},
|
|
44590
44628
|
building_keys: {
|
|
@@ -44675,6 +44713,7 @@ var openapi_default = {
|
|
|
44675
44713
|
properties: {
|
|
44676
44714
|
building_key: {
|
|
44677
44715
|
description: "Your unique identifier for the building.",
|
|
44716
|
+
minLength: 1,
|
|
44678
44717
|
type: "string"
|
|
44679
44718
|
},
|
|
44680
44719
|
name: {
|
|
@@ -44693,6 +44732,7 @@ var openapi_default = {
|
|
|
44693
44732
|
properties: {
|
|
44694
44733
|
common_area_key: {
|
|
44695
44734
|
description: "Your unique identifier for the common area.",
|
|
44735
|
+
minLength: 1,
|
|
44696
44736
|
type: "string"
|
|
44697
44737
|
},
|
|
44698
44738
|
name: {
|
|
@@ -44701,6 +44741,7 @@ var openapi_default = {
|
|
|
44701
44741
|
},
|
|
44702
44742
|
parent_site_key: {
|
|
44703
44743
|
description: "Your unique identifier for the site.",
|
|
44744
|
+
minLength: 1,
|
|
44704
44745
|
type: "string"
|
|
44705
44746
|
}
|
|
44706
44747
|
},
|
|
@@ -44711,6 +44752,7 @@ var openapi_default = {
|
|
|
44711
44752
|
},
|
|
44712
44753
|
customer_key: {
|
|
44713
44754
|
description: "Your unique identifier for the customer.",
|
|
44755
|
+
minLength: 1,
|
|
44714
44756
|
type: "string"
|
|
44715
44757
|
},
|
|
44716
44758
|
facilities: {
|
|
@@ -44719,6 +44761,7 @@ var openapi_default = {
|
|
|
44719
44761
|
properties: {
|
|
44720
44762
|
facility_key: {
|
|
44721
44763
|
description: "Your unique identifier for the facility.",
|
|
44764
|
+
minLength: 1,
|
|
44722
44765
|
type: "string"
|
|
44723
44766
|
},
|
|
44724
44767
|
name: {
|
|
@@ -44741,6 +44784,7 @@ var openapi_default = {
|
|
|
44741
44784
|
},
|
|
44742
44785
|
guest_key: {
|
|
44743
44786
|
description: "Your unique identifier for the guest.",
|
|
44787
|
+
minLength: 1,
|
|
44744
44788
|
type: "string"
|
|
44745
44789
|
},
|
|
44746
44790
|
name: {
|
|
@@ -44763,6 +44807,7 @@ var openapi_default = {
|
|
|
44763
44807
|
properties: {
|
|
44764
44808
|
listing_key: {
|
|
44765
44809
|
description: "Your unique identifier for the listing.",
|
|
44810
|
+
minLength: 1,
|
|
44766
44811
|
type: "string"
|
|
44767
44812
|
},
|
|
44768
44813
|
name: {
|
|
@@ -44785,6 +44830,7 @@ var openapi_default = {
|
|
|
44785
44830
|
},
|
|
44786
44831
|
property_key: {
|
|
44787
44832
|
description: "Your unique identifier for the property.",
|
|
44833
|
+
minLength: 1,
|
|
44788
44834
|
type: "string"
|
|
44789
44835
|
}
|
|
44790
44836
|
},
|
|
@@ -44803,6 +44849,7 @@ var openapi_default = {
|
|
|
44803
44849
|
},
|
|
44804
44850
|
property_listing_key: {
|
|
44805
44851
|
description: "Your unique identifier for the property listing.",
|
|
44852
|
+
minLength: 1,
|
|
44806
44853
|
type: "string"
|
|
44807
44854
|
}
|
|
44808
44855
|
},
|
|
@@ -44858,6 +44905,7 @@ var openapi_default = {
|
|
|
44858
44905
|
},
|
|
44859
44906
|
reservation_key: {
|
|
44860
44907
|
description: "Your unique identifier for the reservation.",
|
|
44908
|
+
minLength: 1,
|
|
44861
44909
|
type: "string"
|
|
44862
44910
|
},
|
|
44863
44911
|
resident_key: {
|
|
@@ -44919,6 +44967,7 @@ var openapi_default = {
|
|
|
44919
44967
|
},
|
|
44920
44968
|
resident_key: {
|
|
44921
44969
|
description: "Your unique identifier for the resident.",
|
|
44970
|
+
minLength: 1,
|
|
44922
44971
|
type: "string"
|
|
44923
44972
|
}
|
|
44924
44973
|
},
|
|
@@ -44937,10 +44986,12 @@ var openapi_default = {
|
|
|
44937
44986
|
},
|
|
44938
44987
|
parent_site_key: {
|
|
44939
44988
|
description: "Your unique identifier for the site.",
|
|
44989
|
+
minLength: 1,
|
|
44940
44990
|
type: "string"
|
|
44941
44991
|
},
|
|
44942
44992
|
room_key: {
|
|
44943
44993
|
description: "Your unique identifier for the room.",
|
|
44994
|
+
minLength: 1,
|
|
44944
44995
|
type: "string"
|
|
44945
44996
|
}
|
|
44946
44997
|
},
|
|
@@ -44959,6 +45010,7 @@ var openapi_default = {
|
|
|
44959
45010
|
},
|
|
44960
45011
|
site_key: {
|
|
44961
45012
|
description: "Your unique identifier for the site.",
|
|
45013
|
+
minLength: 1,
|
|
44962
45014
|
type: "string"
|
|
44963
45015
|
}
|
|
44964
45016
|
},
|
|
@@ -44977,6 +45029,7 @@ var openapi_default = {
|
|
|
44977
45029
|
},
|
|
44978
45030
|
space_key: {
|
|
44979
45031
|
description: "Your unique identifier for the space.",
|
|
45032
|
+
minLength: 1,
|
|
44980
45033
|
type: "string"
|
|
44981
45034
|
}
|
|
44982
45035
|
},
|
|
@@ -45036,6 +45089,7 @@ var openapi_default = {
|
|
|
45036
45089
|
},
|
|
45037
45090
|
tenant_key: {
|
|
45038
45091
|
description: "Your unique identifier for the tenant.",
|
|
45092
|
+
minLength: 1,
|
|
45039
45093
|
type: "string"
|
|
45040
45094
|
}
|
|
45041
45095
|
},
|
|
@@ -45054,10 +45108,12 @@ var openapi_default = {
|
|
|
45054
45108
|
},
|
|
45055
45109
|
parent_site_key: {
|
|
45056
45110
|
description: "Your unique identifier for the site.",
|
|
45111
|
+
minLength: 1,
|
|
45057
45112
|
type: "string"
|
|
45058
45113
|
},
|
|
45059
45114
|
unit_key: {
|
|
45060
45115
|
description: "Your unique identifier for the unit.",
|
|
45116
|
+
minLength: 1,
|
|
45061
45117
|
type: "string"
|
|
45062
45118
|
}
|
|
45063
45119
|
},
|
|
@@ -45084,6 +45140,7 @@ var openapi_default = {
|
|
|
45084
45140
|
},
|
|
45085
45141
|
user_identity_key: {
|
|
45086
45142
|
description: "Your unique identifier for the user identity.",
|
|
45143
|
+
minLength: 1,
|
|
45087
45144
|
type: "string"
|
|
45088
45145
|
}
|
|
45089
45146
|
},
|
|
@@ -45110,6 +45167,7 @@ var openapi_default = {
|
|
|
45110
45167
|
},
|
|
45111
45168
|
user_key: {
|
|
45112
45169
|
description: "Your unique identifier for the user.",
|
|
45170
|
+
minLength: 1,
|
|
45113
45171
|
type: "string"
|
|
45114
45172
|
}
|
|
45115
45173
|
},
|
|
@@ -53080,6 +53138,69 @@ var openapi_default = {
|
|
|
53080
53138
|
},
|
|
53081
53139
|
type: "object"
|
|
53082
53140
|
},
|
|
53141
|
+
climate_rules: {
|
|
53142
|
+
properties: {
|
|
53143
|
+
rules: {
|
|
53144
|
+
properties: {
|
|
53145
|
+
delete_on_reservation_end: {
|
|
53146
|
+
properties: { enabled: { type: "boolean" } },
|
|
53147
|
+
required: ["enabled"],
|
|
53148
|
+
type: "object"
|
|
53149
|
+
},
|
|
53150
|
+
reservation_created: {
|
|
53151
|
+
properties: {
|
|
53152
|
+
enabled: { type: "boolean" },
|
|
53153
|
+
fallback_preset: {
|
|
53154
|
+
properties: {
|
|
53155
|
+
fan_mode: {
|
|
53156
|
+
enum: ["on", "auto", "circulate"],
|
|
53157
|
+
type: "string"
|
|
53158
|
+
},
|
|
53159
|
+
is_override_allowed: { type: "boolean" },
|
|
53160
|
+
mode: {
|
|
53161
|
+
enum: ["heat", "cool", "auto"],
|
|
53162
|
+
type: "string"
|
|
53163
|
+
},
|
|
53164
|
+
override_period_minutes: {
|
|
53165
|
+
format: "float",
|
|
53166
|
+
type: "number"
|
|
53167
|
+
},
|
|
53168
|
+
temperature: {
|
|
53169
|
+
format: "float",
|
|
53170
|
+
type: "number"
|
|
53171
|
+
},
|
|
53172
|
+
temperature_unit: {
|
|
53173
|
+
enum: ["celsius", "fahrenheit"],
|
|
53174
|
+
type: "string"
|
|
53175
|
+
}
|
|
53176
|
+
},
|
|
53177
|
+
required: [
|
|
53178
|
+
"mode",
|
|
53179
|
+
"temperature",
|
|
53180
|
+
"temperature_unit",
|
|
53181
|
+
"fan_mode",
|
|
53182
|
+
"is_override_allowed",
|
|
53183
|
+
"override_period_minutes"
|
|
53184
|
+
],
|
|
53185
|
+
type: "object"
|
|
53186
|
+
},
|
|
53187
|
+
occupied_preset_key: { type: "string" }
|
|
53188
|
+
},
|
|
53189
|
+
required: ["enabled"],
|
|
53190
|
+
type: "object"
|
|
53191
|
+
},
|
|
53192
|
+
update_on_time_change: {
|
|
53193
|
+
properties: { enabled: { type: "boolean" } },
|
|
53194
|
+
required: ["enabled"],
|
|
53195
|
+
type: "object"
|
|
53196
|
+
}
|
|
53197
|
+
},
|
|
53198
|
+
type: "object"
|
|
53199
|
+
}
|
|
53200
|
+
},
|
|
53201
|
+
required: ["rules"],
|
|
53202
|
+
type: "object"
|
|
53203
|
+
},
|
|
53083
53204
|
ok: { type: "boolean" }
|
|
53084
53205
|
},
|
|
53085
53206
|
required: ["ok"],
|
|
@@ -53206,6 +53327,69 @@ var openapi_default = {
|
|
|
53206
53327
|
},
|
|
53207
53328
|
type: "object"
|
|
53208
53329
|
},
|
|
53330
|
+
climate_rules: {
|
|
53331
|
+
properties: {
|
|
53332
|
+
rules: {
|
|
53333
|
+
properties: {
|
|
53334
|
+
delete_on_reservation_end: {
|
|
53335
|
+
properties: { enabled: { type: "boolean" } },
|
|
53336
|
+
required: ["enabled"],
|
|
53337
|
+
type: "object"
|
|
53338
|
+
},
|
|
53339
|
+
reservation_created: {
|
|
53340
|
+
properties: {
|
|
53341
|
+
enabled: { type: "boolean" },
|
|
53342
|
+
fallback_preset: {
|
|
53343
|
+
properties: {
|
|
53344
|
+
fan_mode: {
|
|
53345
|
+
enum: ["on", "auto", "circulate"],
|
|
53346
|
+
type: "string"
|
|
53347
|
+
},
|
|
53348
|
+
is_override_allowed: { type: "boolean" },
|
|
53349
|
+
mode: {
|
|
53350
|
+
enum: ["heat", "cool", "auto"],
|
|
53351
|
+
type: "string"
|
|
53352
|
+
},
|
|
53353
|
+
override_period_minutes: {
|
|
53354
|
+
format: "float",
|
|
53355
|
+
type: "number"
|
|
53356
|
+
},
|
|
53357
|
+
temperature: {
|
|
53358
|
+
format: "float",
|
|
53359
|
+
type: "number"
|
|
53360
|
+
},
|
|
53361
|
+
temperature_unit: {
|
|
53362
|
+
enum: ["celsius", "fahrenheit"],
|
|
53363
|
+
type: "string"
|
|
53364
|
+
}
|
|
53365
|
+
},
|
|
53366
|
+
required: [
|
|
53367
|
+
"mode",
|
|
53368
|
+
"temperature",
|
|
53369
|
+
"temperature_unit",
|
|
53370
|
+
"fan_mode",
|
|
53371
|
+
"is_override_allowed",
|
|
53372
|
+
"override_period_minutes"
|
|
53373
|
+
],
|
|
53374
|
+
type: "object"
|
|
53375
|
+
},
|
|
53376
|
+
occupied_preset_key: { type: "string" }
|
|
53377
|
+
},
|
|
53378
|
+
required: ["enabled"],
|
|
53379
|
+
type: "object"
|
|
53380
|
+
},
|
|
53381
|
+
update_on_time_change: {
|
|
53382
|
+
properties: { enabled: { type: "boolean" } },
|
|
53383
|
+
required: ["enabled"],
|
|
53384
|
+
type: "object"
|
|
53385
|
+
}
|
|
53386
|
+
},
|
|
53387
|
+
type: "object"
|
|
53388
|
+
}
|
|
53389
|
+
},
|
|
53390
|
+
required: ["rules"],
|
|
53391
|
+
type: "object"
|
|
53392
|
+
},
|
|
53209
53393
|
ok: { type: "boolean" }
|
|
53210
53394
|
},
|
|
53211
53395
|
required: ["ok"],
|
|
@@ -53325,6 +53509,69 @@ var openapi_default = {
|
|
|
53325
53509
|
}
|
|
53326
53510
|
},
|
|
53327
53511
|
type: "object"
|
|
53512
|
+
},
|
|
53513
|
+
climate_rules: {
|
|
53514
|
+
description: "Climate automation rules configuration.",
|
|
53515
|
+
properties: {
|
|
53516
|
+
rules: {
|
|
53517
|
+
properties: {
|
|
53518
|
+
delete_on_reservation_end: {
|
|
53519
|
+
properties: { enabled: { type: "boolean" } },
|
|
53520
|
+
required: ["enabled"],
|
|
53521
|
+
type: "object"
|
|
53522
|
+
},
|
|
53523
|
+
reservation_created: {
|
|
53524
|
+
properties: {
|
|
53525
|
+
enabled: { type: "boolean" },
|
|
53526
|
+
fallback_preset: {
|
|
53527
|
+
properties: {
|
|
53528
|
+
fan_mode: {
|
|
53529
|
+
enum: ["on", "auto", "circulate"],
|
|
53530
|
+
type: "string"
|
|
53531
|
+
},
|
|
53532
|
+
is_override_allowed: { type: "boolean" },
|
|
53533
|
+
mode: {
|
|
53534
|
+
enum: ["heat", "cool", "auto"],
|
|
53535
|
+
type: "string"
|
|
53536
|
+
},
|
|
53537
|
+
override_period_minutes: {
|
|
53538
|
+
format: "float",
|
|
53539
|
+
type: "number"
|
|
53540
|
+
},
|
|
53541
|
+
temperature: {
|
|
53542
|
+
format: "float",
|
|
53543
|
+
type: "number"
|
|
53544
|
+
},
|
|
53545
|
+
temperature_unit: {
|
|
53546
|
+
enum: ["celsius", "fahrenheit"],
|
|
53547
|
+
type: "string"
|
|
53548
|
+
}
|
|
53549
|
+
},
|
|
53550
|
+
required: [
|
|
53551
|
+
"mode",
|
|
53552
|
+
"temperature",
|
|
53553
|
+
"temperature_unit",
|
|
53554
|
+
"fan_mode",
|
|
53555
|
+
"is_override_allowed",
|
|
53556
|
+
"override_period_minutes"
|
|
53557
|
+
],
|
|
53558
|
+
type: "object"
|
|
53559
|
+
},
|
|
53560
|
+
occupied_preset_key: { type: "string" }
|
|
53561
|
+
},
|
|
53562
|
+
required: ["enabled"],
|
|
53563
|
+
type: "object"
|
|
53564
|
+
},
|
|
53565
|
+
update_on_time_change: {
|
|
53566
|
+
properties: { enabled: { type: "boolean" } },
|
|
53567
|
+
required: ["enabled"],
|
|
53568
|
+
type: "object"
|
|
53569
|
+
}
|
|
53570
|
+
},
|
|
53571
|
+
type: "object"
|
|
53572
|
+
}
|
|
53573
|
+
},
|
|
53574
|
+
type: "object"
|
|
53328
53575
|
}
|
|
53329
53576
|
},
|
|
53330
53577
|
type: "object"
|
|
@@ -53453,6 +53700,69 @@ var openapi_default = {
|
|
|
53453
53700
|
}
|
|
53454
53701
|
},
|
|
53455
53702
|
type: "object"
|
|
53703
|
+
},
|
|
53704
|
+
climate_rules: {
|
|
53705
|
+
description: "Climate automation rules configuration.",
|
|
53706
|
+
properties: {
|
|
53707
|
+
rules: {
|
|
53708
|
+
properties: {
|
|
53709
|
+
delete_on_reservation_end: {
|
|
53710
|
+
properties: { enabled: { type: "boolean" } },
|
|
53711
|
+
required: ["enabled"],
|
|
53712
|
+
type: "object"
|
|
53713
|
+
},
|
|
53714
|
+
reservation_created: {
|
|
53715
|
+
properties: {
|
|
53716
|
+
enabled: { type: "boolean" },
|
|
53717
|
+
fallback_preset: {
|
|
53718
|
+
properties: {
|
|
53719
|
+
fan_mode: {
|
|
53720
|
+
enum: ["on", "auto", "circulate"],
|
|
53721
|
+
type: "string"
|
|
53722
|
+
},
|
|
53723
|
+
is_override_allowed: { type: "boolean" },
|
|
53724
|
+
mode: {
|
|
53725
|
+
enum: ["heat", "cool", "auto"],
|
|
53726
|
+
type: "string"
|
|
53727
|
+
},
|
|
53728
|
+
override_period_minutes: {
|
|
53729
|
+
format: "float",
|
|
53730
|
+
type: "number"
|
|
53731
|
+
},
|
|
53732
|
+
temperature: {
|
|
53733
|
+
format: "float",
|
|
53734
|
+
type: "number"
|
|
53735
|
+
},
|
|
53736
|
+
temperature_unit: {
|
|
53737
|
+
enum: ["celsius", "fahrenheit"],
|
|
53738
|
+
type: "string"
|
|
53739
|
+
}
|
|
53740
|
+
},
|
|
53741
|
+
required: [
|
|
53742
|
+
"mode",
|
|
53743
|
+
"temperature",
|
|
53744
|
+
"temperature_unit",
|
|
53745
|
+
"fan_mode",
|
|
53746
|
+
"is_override_allowed",
|
|
53747
|
+
"override_period_minutes"
|
|
53748
|
+
],
|
|
53749
|
+
type: "object"
|
|
53750
|
+
},
|
|
53751
|
+
occupied_preset_key: { type: "string" }
|
|
53752
|
+
},
|
|
53753
|
+
required: ["enabled"],
|
|
53754
|
+
type: "object"
|
|
53755
|
+
},
|
|
53756
|
+
update_on_time_change: {
|
|
53757
|
+
properties: { enabled: { type: "boolean" } },
|
|
53758
|
+
required: ["enabled"],
|
|
53759
|
+
type: "object"
|
|
53760
|
+
}
|
|
53761
|
+
},
|
|
53762
|
+
type: "object"
|
|
53763
|
+
}
|
|
53764
|
+
},
|
|
53765
|
+
type: "object"
|
|
53456
53766
|
}
|
|
53457
53767
|
},
|
|
53458
53768
|
type: "object"
|
|
@@ -56809,6 +57119,7 @@ var openapi_default = {
|
|
|
56809
57119
|
},
|
|
56810
57120
|
customer_key: {
|
|
56811
57121
|
description: "Customer key for which you want to create the space.",
|
|
57122
|
+
minLength: 1,
|
|
56812
57123
|
type: "string"
|
|
56813
57124
|
},
|
|
56814
57125
|
device_ids: {
|
|
@@ -57703,6 +58014,7 @@ var openapi_default = {
|
|
|
57703
58014
|
},
|
|
57704
58015
|
customer_key: {
|
|
57705
58016
|
description: "Customer key for which you want to update the space.",
|
|
58017
|
+
minLength: 1,
|
|
57706
58018
|
type: "string"
|
|
57707
58019
|
},
|
|
57708
58020
|
device_ids: {
|
|
@@ -57775,6 +58087,7 @@ var openapi_default = {
|
|
|
57775
58087
|
},
|
|
57776
58088
|
customer_key: {
|
|
57777
58089
|
description: "Customer key for which you want to update the space.",
|
|
58090
|
+
minLength: 1,
|
|
57778
58091
|
type: "string"
|
|
57779
58092
|
},
|
|
57780
58093
|
device_ids: {
|
|
@@ -60962,6 +61275,7 @@ var openapi_default = {
|
|
|
60962
61275
|
properties: {
|
|
60963
61276
|
customer_key: {
|
|
60964
61277
|
description: "Customer key for which you want to connect accounts.",
|
|
61278
|
+
minLength: 1,
|
|
60965
61279
|
type: "string"
|
|
60966
61280
|
}
|
|
60967
61281
|
},
|
|
@@ -61031,6 +61345,7 @@ var openapi_default = {
|
|
|
61031
61345
|
required: true,
|
|
61032
61346
|
schema: {
|
|
61033
61347
|
description: "Customer key for which you want to create a new building block magic link.",
|
|
61348
|
+
minLength: 1,
|
|
61034
61349
|
type: "string"
|
|
61035
61350
|
}
|
|
61036
61351
|
},
|
|
@@ -61048,6 +61363,7 @@ var openapi_default = {
|
|
|
61048
61363
|
},
|
|
61049
61364
|
space_key: {
|
|
61050
61365
|
description: "Your unique identifier for the space.",
|
|
61366
|
+
minLength: 1,
|
|
61051
61367
|
type: "string"
|
|
61052
61368
|
}
|
|
61053
61369
|
},
|
|
@@ -61111,6 +61427,7 @@ var openapi_default = {
|
|
|
61111
61427
|
},
|
|
61112
61428
|
customer_key: {
|
|
61113
61429
|
description: "Customer key for which you want to create a new building block magic link.",
|
|
61430
|
+
minLength: 1,
|
|
61114
61431
|
type: "string"
|
|
61115
61432
|
},
|
|
61116
61433
|
spaces: {
|
|
@@ -61123,6 +61440,7 @@ var openapi_default = {
|
|
|
61123
61440
|
},
|
|
61124
61441
|
space_key: {
|
|
61125
61442
|
description: "Your unique identifier for the space.",
|
|
61443
|
+
minLength: 1,
|
|
61126
61444
|
type: "string"
|
|
61127
61445
|
}
|
|
61128
61446
|
},
|
|
@@ -61183,6 +61501,7 @@ var openapi_default = {
|
|
|
61183
61501
|
properties: {
|
|
61184
61502
|
customer_key: {
|
|
61185
61503
|
description: "Customer key for which you want to manage devices.",
|
|
61504
|
+
minLength: 1,
|
|
61186
61505
|
type: "string"
|
|
61187
61506
|
}
|
|
61188
61507
|
},
|
|
@@ -61237,6 +61556,7 @@ var openapi_default = {
|
|
|
61237
61556
|
properties: {
|
|
61238
61557
|
customer_key: {
|
|
61239
61558
|
description: "Customer key for which you want to organize spaces.",
|
|
61559
|
+
minLength: 1,
|
|
61240
61560
|
type: "string"
|
|
61241
61561
|
},
|
|
61242
61562
|
spaces: {
|
|
@@ -61249,6 +61569,7 @@ var openapi_default = {
|
|
|
61249
61569
|
},
|
|
61250
61570
|
space_key: {
|
|
61251
61571
|
description: "Your unique identifier for the space.",
|
|
61572
|
+
minLength: 1,
|
|
61252
61573
|
type: "string"
|
|
61253
61574
|
}
|
|
61254
61575
|
},
|