@seamapi/types 1.288.1 → 1.289.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 +70 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +87 -41
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +20 -20
- package/lib/seam/connect/models/acs/metadata/salto.d.ts +12 -12
- package/lib/seam/connect/models/acs/metadata/salto.js +4 -4
- package/lib/seam/connect/models/acs/metadata/salto.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +30 -0
- package/lib/seam/connect/openapi.js +58 -12
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +37 -21
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/metadata/salto.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +73 -12
- package/src/lib/seam/connect/route-types.ts +37 -21
package/dist/connect.d.cts
CHANGED
|
@@ -794,29 +794,29 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
794
794
|
door_name: z.ZodString;
|
|
795
795
|
locked_state: z.ZodString;
|
|
796
796
|
lock_type: z.ZodString;
|
|
797
|
-
online: z.ZodBoolean
|
|
797
|
+
online: z.ZodOptional<z.ZodBoolean>;
|
|
798
798
|
battery_level: z.ZodString;
|
|
799
|
-
left_open_alarm: z.ZodBoolean
|
|
800
|
-
intrusion_alarm: z.ZodBoolean
|
|
801
|
-
privacy_mode: z.ZodBoolean
|
|
799
|
+
left_open_alarm: z.ZodOptional<z.ZodBoolean>;
|
|
800
|
+
intrusion_alarm: z.ZodOptional<z.ZodBoolean>;
|
|
801
|
+
privacy_mode: z.ZodOptional<z.ZodBoolean>;
|
|
802
802
|
}, "strip", z.ZodTypeAny, {
|
|
803
803
|
lock_type: string;
|
|
804
804
|
battery_level: string;
|
|
805
805
|
locked_state: string;
|
|
806
806
|
door_name: string;
|
|
807
|
-
online
|
|
808
|
-
left_open_alarm
|
|
809
|
-
intrusion_alarm
|
|
810
|
-
privacy_mode
|
|
807
|
+
online?: boolean | undefined;
|
|
808
|
+
left_open_alarm?: boolean | undefined;
|
|
809
|
+
intrusion_alarm?: boolean | undefined;
|
|
810
|
+
privacy_mode?: boolean | undefined;
|
|
811
811
|
}, {
|
|
812
812
|
lock_type: string;
|
|
813
813
|
battery_level: string;
|
|
814
814
|
locked_state: string;
|
|
815
815
|
door_name: string;
|
|
816
|
-
online
|
|
817
|
-
left_open_alarm
|
|
818
|
-
intrusion_alarm
|
|
819
|
-
privacy_mode
|
|
816
|
+
online?: boolean | undefined;
|
|
817
|
+
left_open_alarm?: boolean | undefined;
|
|
818
|
+
intrusion_alarm?: boolean | undefined;
|
|
819
|
+
privacy_mode?: boolean | undefined;
|
|
820
820
|
}>>;
|
|
821
821
|
dormakaba_community_metadata: z.ZodOptional<z.ZodObject<{
|
|
822
822
|
access_point_name: z.ZodString;
|
|
@@ -858,10 +858,10 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
858
858
|
battery_level: string;
|
|
859
859
|
locked_state: string;
|
|
860
860
|
door_name: string;
|
|
861
|
-
online
|
|
862
|
-
left_open_alarm
|
|
863
|
-
intrusion_alarm
|
|
864
|
-
privacy_mode
|
|
861
|
+
online?: boolean | undefined;
|
|
862
|
+
left_open_alarm?: boolean | undefined;
|
|
863
|
+
intrusion_alarm?: boolean | undefined;
|
|
864
|
+
privacy_mode?: boolean | undefined;
|
|
865
865
|
} | undefined;
|
|
866
866
|
visionline_metadata?: {
|
|
867
867
|
door_name: string;
|
|
@@ -901,10 +901,10 @@ declare const acs_entrance: z.ZodObject<{
|
|
|
901
901
|
battery_level: string;
|
|
902
902
|
locked_state: string;
|
|
903
903
|
door_name: string;
|
|
904
|
-
online
|
|
905
|
-
left_open_alarm
|
|
906
|
-
intrusion_alarm
|
|
907
|
-
privacy_mode
|
|
904
|
+
online?: boolean | undefined;
|
|
905
|
+
left_open_alarm?: boolean | undefined;
|
|
906
|
+
intrusion_alarm?: boolean | undefined;
|
|
907
|
+
privacy_mode?: boolean | undefined;
|
|
908
908
|
} | undefined;
|
|
909
909
|
visionline_metadata?: {
|
|
910
910
|
door_name: string;
|
|
@@ -27696,6 +27696,7 @@ declare const _default: {
|
|
|
27696
27696
|
};
|
|
27697
27697
|
'/thermostats/cool': {
|
|
27698
27698
|
post: {
|
|
27699
|
+
description: string;
|
|
27699
27700
|
operationId: string;
|
|
27700
27701
|
requestBody: {
|
|
27701
27702
|
content: {
|
|
@@ -27703,14 +27704,17 @@ declare const _default: {
|
|
|
27703
27704
|
schema: {
|
|
27704
27705
|
properties: {
|
|
27705
27706
|
cooling_set_point_celsius: {
|
|
27707
|
+
description: string;
|
|
27706
27708
|
format: string;
|
|
27707
27709
|
type: string;
|
|
27708
27710
|
};
|
|
27709
27711
|
cooling_set_point_fahrenheit: {
|
|
27712
|
+
description: string;
|
|
27710
27713
|
format: string;
|
|
27711
27714
|
type: string;
|
|
27712
27715
|
};
|
|
27713
27716
|
device_id: {
|
|
27717
|
+
description: string;
|
|
27714
27718
|
format: string;
|
|
27715
27719
|
type: string;
|
|
27716
27720
|
};
|
|
@@ -27779,6 +27783,7 @@ declare const _default: {
|
|
|
27779
27783
|
'x-fern-sdk-method-name': string;
|
|
27780
27784
|
'x-fern-sdk-return-value': string;
|
|
27781
27785
|
'x-response-key': string;
|
|
27786
|
+
'x-title': string;
|
|
27782
27787
|
};
|
|
27783
27788
|
};
|
|
27784
27789
|
'/thermostats/create_climate_preset': {
|
|
@@ -27947,6 +27952,7 @@ declare const _default: {
|
|
|
27947
27952
|
};
|
|
27948
27953
|
'/thermostats/get': {
|
|
27949
27954
|
post: {
|
|
27955
|
+
description: string;
|
|
27950
27956
|
operationId: string;
|
|
27951
27957
|
requestBody: {
|
|
27952
27958
|
content: {
|
|
@@ -27954,10 +27960,12 @@ declare const _default: {
|
|
|
27954
27960
|
schema: {
|
|
27955
27961
|
properties: {
|
|
27956
27962
|
device_id: {
|
|
27963
|
+
description: string;
|
|
27957
27964
|
format: string;
|
|
27958
27965
|
type: string;
|
|
27959
27966
|
};
|
|
27960
27967
|
name: {
|
|
27968
|
+
description: string;
|
|
27961
27969
|
type: string;
|
|
27962
27970
|
};
|
|
27963
27971
|
};
|
|
@@ -28021,10 +28029,12 @@ declare const _default: {
|
|
|
28021
28029
|
'x-fern-sdk-method-name': string;
|
|
28022
28030
|
'x-fern-sdk-return-value': string;
|
|
28023
28031
|
'x-response-key': string;
|
|
28032
|
+
'x-title': string;
|
|
28024
28033
|
};
|
|
28025
28034
|
};
|
|
28026
28035
|
'/thermostats/heat': {
|
|
28027
28036
|
post: {
|
|
28037
|
+
description: string;
|
|
28028
28038
|
operationId: string;
|
|
28029
28039
|
requestBody: {
|
|
28030
28040
|
content: {
|
|
@@ -28032,14 +28042,17 @@ declare const _default: {
|
|
|
28032
28042
|
schema: {
|
|
28033
28043
|
properties: {
|
|
28034
28044
|
device_id: {
|
|
28045
|
+
description: string;
|
|
28035
28046
|
format: string;
|
|
28036
28047
|
type: string;
|
|
28037
28048
|
};
|
|
28038
28049
|
heating_set_point_celsius: {
|
|
28050
|
+
description: string;
|
|
28039
28051
|
format: string;
|
|
28040
28052
|
type: string;
|
|
28041
28053
|
};
|
|
28042
28054
|
heating_set_point_fahrenheit: {
|
|
28055
|
+
description: string;
|
|
28043
28056
|
format: string;
|
|
28044
28057
|
type: string;
|
|
28045
28058
|
};
|
|
@@ -28108,10 +28121,12 @@ declare const _default: {
|
|
|
28108
28121
|
'x-fern-sdk-method-name': string;
|
|
28109
28122
|
'x-fern-sdk-return-value': string;
|
|
28110
28123
|
'x-response-key': string;
|
|
28124
|
+
'x-title': string;
|
|
28111
28125
|
};
|
|
28112
28126
|
};
|
|
28113
28127
|
'/thermostats/heat_cool': {
|
|
28114
28128
|
post: {
|
|
28129
|
+
description: string;
|
|
28115
28130
|
operationId: string;
|
|
28116
28131
|
requestBody: {
|
|
28117
28132
|
content: {
|
|
@@ -28119,22 +28134,27 @@ declare const _default: {
|
|
|
28119
28134
|
schema: {
|
|
28120
28135
|
properties: {
|
|
28121
28136
|
cooling_set_point_celsius: {
|
|
28137
|
+
description: string;
|
|
28122
28138
|
format: string;
|
|
28123
28139
|
type: string;
|
|
28124
28140
|
};
|
|
28125
28141
|
cooling_set_point_fahrenheit: {
|
|
28142
|
+
description: string;
|
|
28126
28143
|
format: string;
|
|
28127
28144
|
type: string;
|
|
28128
28145
|
};
|
|
28129
28146
|
device_id: {
|
|
28147
|
+
description: string;
|
|
28130
28148
|
format: string;
|
|
28131
28149
|
type: string;
|
|
28132
28150
|
};
|
|
28133
28151
|
heating_set_point_celsius: {
|
|
28152
|
+
description: string;
|
|
28134
28153
|
format: string;
|
|
28135
28154
|
type: string;
|
|
28136
28155
|
};
|
|
28137
28156
|
heating_set_point_fahrenheit: {
|
|
28157
|
+
description: string;
|
|
28138
28158
|
format: string;
|
|
28139
28159
|
type: string;
|
|
28140
28160
|
};
|
|
@@ -28203,10 +28223,12 @@ declare const _default: {
|
|
|
28203
28223
|
'x-fern-sdk-method-name': string;
|
|
28204
28224
|
'x-fern-sdk-return-value': string;
|
|
28205
28225
|
'x-response-key': string;
|
|
28226
|
+
'x-title': string;
|
|
28206
28227
|
};
|
|
28207
28228
|
};
|
|
28208
28229
|
'/thermostats/list': {
|
|
28209
28230
|
post: {
|
|
28231
|
+
description: string;
|
|
28210
28232
|
operationId: string;
|
|
28211
28233
|
requestBody: {
|
|
28212
28234
|
content: {
|
|
@@ -28358,10 +28380,12 @@ declare const _default: {
|
|
|
28358
28380
|
'x-fern-sdk-method-name': string;
|
|
28359
28381
|
'x-fern-sdk-return-value': string;
|
|
28360
28382
|
'x-response-key': string;
|
|
28383
|
+
'x-title': string;
|
|
28361
28384
|
};
|
|
28362
28385
|
};
|
|
28363
28386
|
'/thermostats/off': {
|
|
28364
28387
|
post: {
|
|
28388
|
+
description: string;
|
|
28365
28389
|
operationId: string;
|
|
28366
28390
|
requestBody: {
|
|
28367
28391
|
content: {
|
|
@@ -28369,6 +28393,7 @@ declare const _default: {
|
|
|
28369
28393
|
schema: {
|
|
28370
28394
|
properties: {
|
|
28371
28395
|
device_id: {
|
|
28396
|
+
description: string;
|
|
28372
28397
|
format: string;
|
|
28373
28398
|
type: string;
|
|
28374
28399
|
};
|
|
@@ -28437,6 +28462,7 @@ declare const _default: {
|
|
|
28437
28462
|
'x-fern-sdk-method-name': string;
|
|
28438
28463
|
'x-fern-sdk-return-value': string;
|
|
28439
28464
|
'x-response-key': string;
|
|
28465
|
+
'x-title': string;
|
|
28440
28466
|
};
|
|
28441
28467
|
};
|
|
28442
28468
|
'/thermostats/schedules/create': {
|
|
@@ -28996,6 +29022,7 @@ declare const _default: {
|
|
|
28996
29022
|
};
|
|
28997
29023
|
'/thermostats/set_fan_mode': {
|
|
28998
29024
|
post: {
|
|
29025
|
+
description: string;
|
|
28999
29026
|
operationId: string;
|
|
29000
29027
|
requestBody: {
|
|
29001
29028
|
content: {
|
|
@@ -29003,6 +29030,7 @@ declare const _default: {
|
|
|
29003
29030
|
schema: {
|
|
29004
29031
|
properties: {
|
|
29005
29032
|
device_id: {
|
|
29033
|
+
description: string;
|
|
29006
29034
|
format: string;
|
|
29007
29035
|
type: string;
|
|
29008
29036
|
};
|
|
@@ -29013,6 +29041,7 @@ declare const _default: {
|
|
|
29013
29041
|
'x-deprecated': string;
|
|
29014
29042
|
};
|
|
29015
29043
|
fan_mode_setting: {
|
|
29044
|
+
description: string;
|
|
29016
29045
|
enum: string[];
|
|
29017
29046
|
type: string;
|
|
29018
29047
|
};
|
|
@@ -29081,6 +29110,7 @@ declare const _default: {
|
|
|
29081
29110
|
'x-fern-sdk-method-name': string;
|
|
29082
29111
|
'x-fern-sdk-return-value': string;
|
|
29083
29112
|
'x-response-key': string;
|
|
29113
|
+
'x-title': string;
|
|
29084
29114
|
};
|
|
29085
29115
|
};
|
|
29086
29116
|
'/thermostats/set_temperature_threshold': {
|
|
@@ -35402,11 +35432,11 @@ interface Routes {
|
|
|
35402
35432
|
door_name: string;
|
|
35403
35433
|
locked_state: string;
|
|
35404
35434
|
lock_type: string;
|
|
35405
|
-
online
|
|
35435
|
+
online?: boolean | undefined;
|
|
35406
35436
|
battery_level: string;
|
|
35407
|
-
left_open_alarm
|
|
35408
|
-
intrusion_alarm
|
|
35409
|
-
privacy_mode
|
|
35437
|
+
left_open_alarm?: boolean | undefined;
|
|
35438
|
+
intrusion_alarm?: boolean | undefined;
|
|
35439
|
+
privacy_mode?: boolean | undefined;
|
|
35410
35440
|
} | undefined;
|
|
35411
35441
|
dormakaba_community_metadata?: {
|
|
35412
35442
|
access_point_name: string;
|
|
@@ -36055,11 +36085,11 @@ interface Routes {
|
|
|
36055
36085
|
door_name: string;
|
|
36056
36086
|
locked_state: string;
|
|
36057
36087
|
lock_type: string;
|
|
36058
|
-
online
|
|
36088
|
+
online?: boolean | undefined;
|
|
36059
36089
|
battery_level: string;
|
|
36060
|
-
left_open_alarm
|
|
36061
|
-
intrusion_alarm
|
|
36062
|
-
privacy_mode
|
|
36090
|
+
left_open_alarm?: boolean | undefined;
|
|
36091
|
+
intrusion_alarm?: boolean | undefined;
|
|
36092
|
+
privacy_mode?: boolean | undefined;
|
|
36063
36093
|
} | undefined;
|
|
36064
36094
|
dormakaba_community_metadata?: {
|
|
36065
36095
|
access_point_name: string;
|
|
@@ -38372,11 +38402,11 @@ interface Routes {
|
|
|
38372
38402
|
door_name: string;
|
|
38373
38403
|
locked_state: string;
|
|
38374
38404
|
lock_type: string;
|
|
38375
|
-
online
|
|
38405
|
+
online?: boolean | undefined;
|
|
38376
38406
|
battery_level: string;
|
|
38377
|
-
left_open_alarm
|
|
38378
|
-
intrusion_alarm
|
|
38379
|
-
privacy_mode
|
|
38407
|
+
left_open_alarm?: boolean | undefined;
|
|
38408
|
+
intrusion_alarm?: boolean | undefined;
|
|
38409
|
+
privacy_mode?: boolean | undefined;
|
|
38380
38410
|
} | undefined;
|
|
38381
38411
|
dormakaba_community_metadata?: {
|
|
38382
38412
|
access_point_name: string;
|
|
@@ -38445,11 +38475,11 @@ interface Routes {
|
|
|
38445
38475
|
door_name: string;
|
|
38446
38476
|
locked_state: string;
|
|
38447
38477
|
lock_type: string;
|
|
38448
|
-
online
|
|
38478
|
+
online?: boolean | undefined;
|
|
38449
38479
|
battery_level: string;
|
|
38450
|
-
left_open_alarm
|
|
38451
|
-
intrusion_alarm
|
|
38452
|
-
privacy_mode
|
|
38480
|
+
left_open_alarm?: boolean | undefined;
|
|
38481
|
+
intrusion_alarm?: boolean | undefined;
|
|
38482
|
+
privacy_mode?: boolean | undefined;
|
|
38453
38483
|
} | undefined;
|
|
38454
38484
|
dormakaba_community_metadata?: {
|
|
38455
38485
|
access_point_name: string;
|
|
@@ -39254,11 +39284,11 @@ interface Routes {
|
|
|
39254
39284
|
door_name: string;
|
|
39255
39285
|
locked_state: string;
|
|
39256
39286
|
lock_type: string;
|
|
39257
|
-
online
|
|
39287
|
+
online?: boolean | undefined;
|
|
39258
39288
|
battery_level: string;
|
|
39259
|
-
left_open_alarm
|
|
39260
|
-
intrusion_alarm
|
|
39261
|
-
privacy_mode
|
|
39289
|
+
left_open_alarm?: boolean | undefined;
|
|
39290
|
+
intrusion_alarm?: boolean | undefined;
|
|
39291
|
+
privacy_mode?: boolean | undefined;
|
|
39262
39292
|
} | undefined;
|
|
39263
39293
|
dormakaba_community_metadata?: {
|
|
39264
39294
|
access_point_name: string;
|
|
@@ -50350,8 +50380,11 @@ interface Routes {
|
|
|
50350
50380
|
method: 'POST';
|
|
50351
50381
|
queryParams: {};
|
|
50352
50382
|
jsonBody: {
|
|
50383
|
+
/** ID of the thermostat device. */
|
|
50353
50384
|
device_id: string;
|
|
50385
|
+
/** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
|
|
50354
50386
|
cooling_set_point_celsius?: number | undefined;
|
|
50387
|
+
/** Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters. */
|
|
50355
50388
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
50356
50389
|
sync?: boolean;
|
|
50357
50390
|
};
|
|
@@ -51118,7 +51151,9 @@ interface Routes {
|
|
|
51118
51151
|
queryParams: {};
|
|
51119
51152
|
jsonBody: {};
|
|
51120
51153
|
commonParams: {
|
|
51154
|
+
/** ID of the thermostat device. */
|
|
51121
51155
|
device_id?: string | undefined;
|
|
51156
|
+
/** Name of the thermostat. */
|
|
51122
51157
|
name?: string | undefined;
|
|
51123
51158
|
};
|
|
51124
51159
|
formData: {};
|
|
@@ -51593,8 +51628,11 @@ interface Routes {
|
|
|
51593
51628
|
method: 'POST';
|
|
51594
51629
|
queryParams: {};
|
|
51595
51630
|
jsonBody: {
|
|
51631
|
+
/** ID of the thermostat device. */
|
|
51596
51632
|
device_id: string;
|
|
51633
|
+
/** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
|
|
51597
51634
|
heating_set_point_celsius?: number | undefined;
|
|
51635
|
+
/** Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters. */
|
|
51598
51636
|
heating_set_point_fahrenheit?: number | undefined;
|
|
51599
51637
|
sync?: boolean;
|
|
51600
51638
|
};
|
|
@@ -52328,10 +52366,15 @@ interface Routes {
|
|
|
52328
52366
|
method: 'POST';
|
|
52329
52367
|
queryParams: {};
|
|
52330
52368
|
jsonBody: {
|
|
52369
|
+
/** ID of the thermostat device. */
|
|
52331
52370
|
device_id: string;
|
|
52371
|
+
/** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
|
|
52332
52372
|
heating_set_point_celsius?: number | undefined;
|
|
52373
|
+
/** Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters. */
|
|
52333
52374
|
heating_set_point_fahrenheit?: number | undefined;
|
|
52375
|
+
/** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
|
|
52334
52376
|
cooling_set_point_celsius?: number | undefined;
|
|
52377
|
+
/** Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters. */
|
|
52335
52378
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
52336
52379
|
sync?: boolean;
|
|
52337
52380
|
};
|
|
@@ -54016,6 +54059,7 @@ interface Routes {
|
|
|
54016
54059
|
method: 'POST';
|
|
54017
54060
|
queryParams: {};
|
|
54018
54061
|
jsonBody: {
|
|
54062
|
+
/** ID of the thermostat device. */
|
|
54019
54063
|
device_id: string;
|
|
54020
54064
|
sync?: boolean;
|
|
54021
54065
|
};
|
|
@@ -54866,10 +54910,12 @@ interface Routes {
|
|
|
54866
54910
|
method: 'POST';
|
|
54867
54911
|
queryParams: {};
|
|
54868
54912
|
jsonBody: {
|
|
54913
|
+
/** ID of the thermostat device. */
|
|
54869
54914
|
device_id: string;
|
|
54870
54915
|
/**
|
|
54871
|
-
* @deprecated
|
|
54916
|
+
* @deprecated Use `fan_mode_setting` instead. */
|
|
54872
54917
|
fan_mode?: ('auto' | 'on' | 'circulate') | undefined;
|
|
54918
|
+
/** Fan mode setting of the thermostat. See also [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings). */
|
|
54873
54919
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
54874
54920
|
sync?: boolean;
|
|
54875
54921
|
};
|
|
@@ -62,29 +62,29 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
62
62
|
door_name: z.ZodString;
|
|
63
63
|
locked_state: z.ZodString;
|
|
64
64
|
lock_type: z.ZodString;
|
|
65
|
-
online: z.ZodBoolean
|
|
65
|
+
online: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
battery_level: z.ZodString;
|
|
67
|
-
left_open_alarm: z.ZodBoolean
|
|
68
|
-
intrusion_alarm: z.ZodBoolean
|
|
69
|
-
privacy_mode: z.ZodBoolean
|
|
67
|
+
left_open_alarm: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
intrusion_alarm: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
privacy_mode: z.ZodOptional<z.ZodBoolean>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
online: boolean;
|
|
72
71
|
lock_type: string;
|
|
73
72
|
battery_level: string;
|
|
74
73
|
locked_state: string;
|
|
75
74
|
door_name: string;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
online?: boolean | undefined;
|
|
76
|
+
left_open_alarm?: boolean | undefined;
|
|
77
|
+
intrusion_alarm?: boolean | undefined;
|
|
78
|
+
privacy_mode?: boolean | undefined;
|
|
79
79
|
}, {
|
|
80
|
-
online: boolean;
|
|
81
80
|
lock_type: string;
|
|
82
81
|
battery_level: string;
|
|
83
82
|
locked_state: string;
|
|
84
83
|
door_name: string;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
online?: boolean | undefined;
|
|
85
|
+
left_open_alarm?: boolean | undefined;
|
|
86
|
+
intrusion_alarm?: boolean | undefined;
|
|
87
|
+
privacy_mode?: boolean | undefined;
|
|
88
88
|
}>>;
|
|
89
89
|
dormakaba_community_metadata: z.ZodOptional<z.ZodObject<{
|
|
90
90
|
access_point_name: z.ZodString;
|
|
@@ -122,14 +122,14 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
122
122
|
acs_system_id: string;
|
|
123
123
|
acs_entrance_id: string;
|
|
124
124
|
salto_ks_metadata?: {
|
|
125
|
-
online: boolean;
|
|
126
125
|
lock_type: string;
|
|
127
126
|
battery_level: string;
|
|
128
127
|
locked_state: string;
|
|
129
128
|
door_name: string;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
online?: boolean | undefined;
|
|
130
|
+
left_open_alarm?: boolean | undefined;
|
|
131
|
+
intrusion_alarm?: boolean | undefined;
|
|
132
|
+
privacy_mode?: boolean | undefined;
|
|
133
133
|
} | undefined;
|
|
134
134
|
visionline_metadata?: {
|
|
135
135
|
door_name: string;
|
|
@@ -165,14 +165,14 @@ export declare const acs_entrance: z.ZodObject<{
|
|
|
165
165
|
acs_system_id: string;
|
|
166
166
|
acs_entrance_id: string;
|
|
167
167
|
salto_ks_metadata?: {
|
|
168
|
-
online: boolean;
|
|
169
168
|
lock_type: string;
|
|
170
169
|
battery_level: string;
|
|
171
170
|
locked_state: string;
|
|
172
171
|
door_name: string;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
172
|
+
online?: boolean | undefined;
|
|
173
|
+
left_open_alarm?: boolean | undefined;
|
|
174
|
+
intrusion_alarm?: boolean | undefined;
|
|
175
|
+
privacy_mode?: boolean | undefined;
|
|
176
176
|
} | undefined;
|
|
177
177
|
visionline_metadata?: {
|
|
178
178
|
door_name: string;
|
|
@@ -3,28 +3,28 @@ export declare const acs_entrance_salto_ks_metadata: z.ZodObject<{
|
|
|
3
3
|
door_name: z.ZodString;
|
|
4
4
|
locked_state: z.ZodString;
|
|
5
5
|
lock_type: z.ZodString;
|
|
6
|
-
online: z.ZodBoolean
|
|
6
|
+
online: z.ZodOptional<z.ZodBoolean>;
|
|
7
7
|
battery_level: z.ZodString;
|
|
8
|
-
left_open_alarm: z.ZodBoolean
|
|
9
|
-
intrusion_alarm: z.ZodBoolean
|
|
10
|
-
privacy_mode: z.ZodBoolean
|
|
8
|
+
left_open_alarm: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
intrusion_alarm: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
privacy_mode: z.ZodOptional<z.ZodBoolean>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
online: boolean;
|
|
13
12
|
lock_type: string;
|
|
14
13
|
battery_level: string;
|
|
15
14
|
locked_state: string;
|
|
16
15
|
door_name: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
online?: boolean | undefined;
|
|
17
|
+
left_open_alarm?: boolean | undefined;
|
|
18
|
+
intrusion_alarm?: boolean | undefined;
|
|
19
|
+
privacy_mode?: boolean | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
online: boolean;
|
|
22
21
|
lock_type: string;
|
|
23
22
|
battery_level: string;
|
|
24
23
|
locked_state: string;
|
|
25
24
|
door_name: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
online?: boolean | undefined;
|
|
26
|
+
left_open_alarm?: boolean | undefined;
|
|
27
|
+
intrusion_alarm?: boolean | undefined;
|
|
28
|
+
privacy_mode?: boolean | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
export type AcsEntranceSaltoKSMetadata = z.infer<typeof acs_entrance_salto_ks_metadata>;
|
|
@@ -3,10 +3,10 @@ export const acs_entrance_salto_ks_metadata = z.object({
|
|
|
3
3
|
door_name: z.string(),
|
|
4
4
|
locked_state: z.string(),
|
|
5
5
|
lock_type: z.string(),
|
|
6
|
-
online: z.boolean(),
|
|
6
|
+
online: z.boolean().optional(),
|
|
7
7
|
battery_level: z.string(),
|
|
8
|
-
left_open_alarm: z.boolean(),
|
|
9
|
-
intrusion_alarm: z.boolean(),
|
|
10
|
-
privacy_mode: z.boolean(),
|
|
8
|
+
left_open_alarm: z.boolean().optional(),
|
|
9
|
+
intrusion_alarm: z.boolean().optional(),
|
|
10
|
+
privacy_mode: z.boolean().optional(),
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=salto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"salto.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"salto.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvC,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACvC,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA"}
|