@seamapi/types 1.210.0 → 1.211.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.d.cts +2793 -1343
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
|
@@ -3,7 +3,7 @@ import { access_code_capability_properties, access_code_code_constraint } from '
|
|
|
3
3
|
import { lock_capability_properties } from './lock.js';
|
|
4
4
|
import { thermostat_capability_properties } from './thermostat.js';
|
|
5
5
|
export { access_code_capability_properties, access_code_code_constraint, lock_capability_properties, thermostat_capability_properties, };
|
|
6
|
-
export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
6
|
+
export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
|
|
7
7
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
8
8
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9
9
|
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
@@ -28,6 +28,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
28
28
|
max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
29
29
|
supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
30
30
|
has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
+
}, {
|
|
31
32
|
locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
32
33
|
keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
33
34
|
level: z.ZodNumber;
|
|
@@ -37,7 +38,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
37
38
|
level: number;
|
|
38
39
|
}>>>;
|
|
39
40
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
40
|
-
}
|
|
41
|
+
}>, "strip", z.ZodTypeAny, {
|
|
41
42
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
42
43
|
code_constraints?: ({
|
|
43
44
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
@@ -74,6 +75,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
74
75
|
} | undefined;
|
|
75
76
|
door_open?: boolean | undefined;
|
|
76
77
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
78
|
+
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
77
82
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
78
83
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
79
84
|
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -142,15 +147,16 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
142
147
|
heating_set_point_fahrenheit?: number | undefined;
|
|
143
148
|
}>>>;
|
|
144
149
|
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
-
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
146
|
-
name: z.ZodOptional<z.ZodString>;
|
|
147
|
-
created_at: z.ZodString;
|
|
148
|
-
errors: z.ZodAny;
|
|
150
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
149
151
|
climate_setting_schedule_id: z.ZodString;
|
|
150
152
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
151
153
|
device_id: z.ZodString;
|
|
154
|
+
name: z.ZodOptional<z.ZodString>;
|
|
152
155
|
schedule_starts_at: z.ZodString;
|
|
153
156
|
schedule_ends_at: z.ZodString;
|
|
157
|
+
created_at: z.ZodString;
|
|
158
|
+
errors: z.ZodAny;
|
|
159
|
+
}, {
|
|
154
160
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
155
161
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
156
162
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -159,7 +165,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
159
165
|
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
160
166
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
161
167
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
-
}
|
|
168
|
+
}>, "strip", z.ZodTypeAny, {
|
|
163
169
|
created_at: string;
|
|
164
170
|
climate_setting_schedule_id: string;
|
|
165
171
|
schedule_type: "time_bound";
|
|
@@ -194,10 +200,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
194
200
|
heating_set_point_fahrenheit?: number | undefined;
|
|
195
201
|
manual_override_allowed?: boolean | undefined;
|
|
196
202
|
}>>>;
|
|
197
|
-
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
198
|
-
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
199
|
-
max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
200
|
-
max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
201
203
|
min_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
202
204
|
min_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
203
205
|
max_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -213,6 +215,8 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
213
215
|
can_enable_automatic_heating?: boolean | undefined;
|
|
214
216
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
215
217
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
218
|
+
is_heating_available?: true | undefined;
|
|
219
|
+
is_cooling_available?: true | undefined;
|
|
216
220
|
is_heating?: boolean | undefined;
|
|
217
221
|
is_cooling?: boolean | undefined;
|
|
218
222
|
is_fan_running?: boolean | undefined;
|
|
@@ -265,8 +269,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
265
269
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
266
270
|
max_heating_set_point_celsius?: number | undefined;
|
|
267
271
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
268
|
-
is_cooling_available?: true | undefined;
|
|
269
|
-
is_heating_available?: true | undefined;
|
|
270
272
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
271
273
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
272
274
|
}, {
|
|
@@ -276,6 +278,8 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
276
278
|
can_enable_automatic_heating?: boolean | undefined;
|
|
277
279
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
278
280
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
281
|
+
is_heating_available?: true | undefined;
|
|
282
|
+
is_cooling_available?: true | undefined;
|
|
279
283
|
is_heating?: boolean | undefined;
|
|
280
284
|
is_cooling?: boolean | undefined;
|
|
281
285
|
is_fan_running?: boolean | undefined;
|
|
@@ -328,8 +332,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
328
332
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
329
333
|
max_heating_set_point_celsius?: number | undefined;
|
|
330
334
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
331
|
-
is_cooling_available?: true | undefined;
|
|
332
|
-
is_heating_available?: true | undefined;
|
|
333
335
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
334
336
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
335
337
|
}>, z.ZodObject<{
|
|
@@ -402,15 +404,16 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
402
404
|
heating_set_point_fahrenheit?: number | undefined;
|
|
403
405
|
}>>>;
|
|
404
406
|
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
-
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
406
|
-
name: z.ZodOptional<z.ZodString>;
|
|
407
|
-
created_at: z.ZodString;
|
|
408
|
-
errors: z.ZodAny;
|
|
407
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
409
408
|
climate_setting_schedule_id: z.ZodString;
|
|
410
409
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
411
410
|
device_id: z.ZodString;
|
|
411
|
+
name: z.ZodOptional<z.ZodString>;
|
|
412
412
|
schedule_starts_at: z.ZodString;
|
|
413
413
|
schedule_ends_at: z.ZodString;
|
|
414
|
+
created_at: z.ZodString;
|
|
415
|
+
errors: z.ZodAny;
|
|
416
|
+
}, {
|
|
414
417
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
415
418
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
416
419
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -419,7 +422,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
419
422
|
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
420
423
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
421
424
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
-
}
|
|
425
|
+
}>, "strip", z.ZodTypeAny, {
|
|
423
426
|
created_at: string;
|
|
424
427
|
climate_setting_schedule_id: string;
|
|
425
428
|
schedule_type: "time_bound";
|
|
@@ -466,6 +469,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
466
469
|
can_enable_automatic_heating?: boolean | undefined;
|
|
467
470
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
468
471
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
472
|
+
is_heating_available?: true | undefined;
|
|
469
473
|
is_cooling_available?: false | undefined;
|
|
470
474
|
is_heating?: boolean | undefined;
|
|
471
475
|
is_cooling?: boolean | undefined;
|
|
@@ -515,7 +519,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
515
519
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
516
520
|
max_heating_set_point_celsius?: number | undefined;
|
|
517
521
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
518
|
-
is_heating_available?: true | undefined;
|
|
519
522
|
}, {
|
|
520
523
|
temperature_fahrenheit?: number | undefined;
|
|
521
524
|
temperature_celsius?: number | undefined;
|
|
@@ -523,6 +526,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
523
526
|
can_enable_automatic_heating?: boolean | undefined;
|
|
524
527
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
525
528
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
529
|
+
is_heating_available?: true | undefined;
|
|
526
530
|
is_cooling_available?: false | undefined;
|
|
527
531
|
is_heating?: boolean | undefined;
|
|
528
532
|
is_cooling?: boolean | undefined;
|
|
@@ -572,7 +576,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
572
576
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
573
577
|
max_heating_set_point_celsius?: number | undefined;
|
|
574
578
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
575
|
-
is_heating_available?: true | undefined;
|
|
576
579
|
}>, z.ZodObject<{
|
|
577
580
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
578
581
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -643,15 +646,16 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
643
646
|
heating_set_point_fahrenheit?: number | undefined;
|
|
644
647
|
}>>>;
|
|
645
648
|
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
646
|
-
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
647
|
-
name: z.ZodOptional<z.ZodString>;
|
|
648
|
-
created_at: z.ZodString;
|
|
649
|
-
errors: z.ZodAny;
|
|
649
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
650
650
|
climate_setting_schedule_id: z.ZodString;
|
|
651
651
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
652
652
|
device_id: z.ZodString;
|
|
653
|
+
name: z.ZodOptional<z.ZodString>;
|
|
653
654
|
schedule_starts_at: z.ZodString;
|
|
654
655
|
schedule_ends_at: z.ZodString;
|
|
656
|
+
created_at: z.ZodString;
|
|
657
|
+
errors: z.ZodAny;
|
|
658
|
+
}, {
|
|
655
659
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
656
660
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
657
661
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -660,7 +664,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
660
664
|
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
661
665
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
662
666
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
663
|
-
}
|
|
667
|
+
}>, "strip", z.ZodTypeAny, {
|
|
664
668
|
created_at: string;
|
|
665
669
|
climate_setting_schedule_id: string;
|
|
666
670
|
schedule_type: "time_bound";
|
|
@@ -708,6 +712,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
708
712
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
709
713
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
710
714
|
is_heating_available?: false | undefined;
|
|
715
|
+
is_cooling_available?: true | undefined;
|
|
711
716
|
is_heating?: boolean | undefined;
|
|
712
717
|
is_cooling?: boolean | undefined;
|
|
713
718
|
is_fan_running?: boolean | undefined;
|
|
@@ -756,7 +761,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
756
761
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
757
762
|
max_cooling_set_point_celsius?: number | undefined;
|
|
758
763
|
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
759
|
-
is_cooling_available?: true | undefined;
|
|
760
764
|
}, {
|
|
761
765
|
temperature_fahrenheit?: number | undefined;
|
|
762
766
|
temperature_celsius?: number | undefined;
|
|
@@ -765,6 +769,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
765
769
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
766
770
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
767
771
|
is_heating_available?: false | undefined;
|
|
772
|
+
is_cooling_available?: true | undefined;
|
|
768
773
|
is_heating?: boolean | undefined;
|
|
769
774
|
is_cooling?: boolean | undefined;
|
|
770
775
|
is_fan_running?: boolean | undefined;
|
|
@@ -813,6 +818,5 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
813
818
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
814
819
|
max_cooling_set_point_celsius?: number | undefined;
|
|
815
820
|
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
816
|
-
is_cooling_available?: true | undefined;
|
|
817
821
|
}>]>>;
|
|
818
822
|
export type { AccessCodeConstraint } from './access-code.js';
|