@seamapi/types 1.527.0 → 1.529.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.
@@ -11334,6 +11334,7 @@ export type Routes = {
11334
11334
  can_run_thermostat_programs?: boolean | undefined;
11335
11335
  can_simulate_hub_connection?: boolean | undefined;
11336
11336
  can_simulate_hub_disconnection?: boolean | undefined;
11337
+ can_simulate_paid_subscription?: boolean | undefined;
11337
11338
  }[] | undefined;
11338
11339
  acs_entrances?: {
11339
11340
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -14456,6 +14457,7 @@ export type Routes = {
14456
14457
  can_run_thermostat_programs?: boolean | undefined;
14457
14458
  can_simulate_hub_connection?: boolean | undefined;
14458
14459
  can_simulate_hub_disconnection?: boolean | undefined;
14460
+ can_simulate_paid_subscription?: boolean | undefined;
14459
14461
  }[] | undefined;
14460
14462
  acs_entrances?: {
14461
14463
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -17106,6 +17108,7 @@ export type Routes = {
17106
17108
  can_run_thermostat_programs?: boolean | undefined;
17107
17109
  can_simulate_hub_connection?: boolean | undefined;
17108
17110
  can_simulate_hub_disconnection?: boolean | undefined;
17111
+ can_simulate_paid_subscription?: boolean | undefined;
17109
17112
  }[] | undefined;
17110
17113
  connect_webviews?: {
17111
17114
  /** ID of the Connect Webview. */
@@ -17721,6 +17724,8 @@ export type Routes = {
17721
17724
  /** Keys of the access grants associated with this access method (if present). */
17722
17725
  access_grant_keys?: string[] | undefined;
17723
17726
  event_type: 'access_method.issued';
17727
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
17728
+ code?: string | undefined;
17724
17729
  } | {
17725
17730
  /** ID of the event. */
17726
17731
  event_id: string;
@@ -32770,6 +32775,7 @@ export type Routes = {
32770
32775
  can_run_thermostat_programs?: boolean | undefined;
32771
32776
  can_simulate_hub_connection?: boolean | undefined;
32772
32777
  can_simulate_hub_disconnection?: boolean | undefined;
32778
+ can_simulate_paid_subscription?: boolean | undefined;
32773
32779
  };
32774
32780
  };
32775
32781
  };
@@ -32808,9 +32814,9 @@ export type Routes = {
32808
32814
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
32809
32815
  page_cursor?: (string | undefined) | null;
32810
32816
  /** */
32811
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
32817
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
32812
32818
  /** */
32813
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
32819
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
32814
32820
  /**
32815
32821
  * @deprecated Use `space_id`.*/
32816
32822
  unstable_location_id?: (string | null) | undefined;
@@ -33993,6 +33999,7 @@ export type Routes = {
33993
33999
  can_run_thermostat_programs?: boolean | undefined;
33994
34000
  can_simulate_hub_connection?: boolean | undefined;
33995
34001
  can_simulate_hub_disconnection?: boolean | undefined;
34002
+ can_simulate_paid_subscription?: boolean | undefined;
33996
34003
  }[];
33997
34004
  /** Information about the current page of results. */
33998
34005
  pagination: {
@@ -34036,6 +34043,7 @@ export type Routes = {
34036
34043
  can_run_thermostat_programs?: boolean | undefined;
34037
34044
  can_simulate_hub_connection?: boolean | undefined;
34038
34045
  can_simulate_hub_disconnection?: boolean | undefined;
34046
+ can_simulate_paid_subscription?: boolean | undefined;
34039
34047
  }[];
34040
34048
  };
34041
34049
  };
@@ -34498,6 +34506,7 @@ export type Routes = {
34498
34506
  can_run_thermostat_programs?: boolean | undefined;
34499
34507
  can_simulate_hub_connection?: boolean | undefined;
34500
34508
  can_simulate_hub_disconnection?: boolean | undefined;
34509
+ can_simulate_paid_subscription?: boolean | undefined;
34501
34510
  };
34502
34511
  };
34503
34512
  };
@@ -34536,9 +34545,9 @@ export type Routes = {
34536
34545
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
34537
34546
  page_cursor?: (string | undefined) | null;
34538
34547
  /** */
34539
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
34548
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
34540
34549
  /** */
34541
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
34550
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
34542
34551
  /**
34543
34552
  * @deprecated Use `space_id`.*/
34544
34553
  unstable_location_id?: (string | null) | undefined;
@@ -34936,6 +34945,7 @@ export type Routes = {
34936
34945
  can_run_thermostat_programs?: boolean | undefined;
34937
34946
  can_simulate_hub_connection?: boolean | undefined;
34938
34947
  can_simulate_hub_disconnection?: boolean | undefined;
34948
+ can_simulate_paid_subscription?: boolean | undefined;
34939
34949
  }[];
34940
34950
  };
34941
34951
  };
@@ -35490,6 +35500,8 @@ export type Routes = {
35490
35500
  /** Keys of the access grants associated with this access method (if present). */
35491
35501
  access_grant_keys?: string[] | undefined;
35492
35502
  event_type: 'access_method.issued';
35503
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
35504
+ code?: string | undefined;
35493
35505
  } | {
35494
35506
  /** ID of the event. */
35495
35507
  event_id: string;
@@ -37384,6 +37396,8 @@ export type Routes = {
37384
37396
  /** Keys of the access grants associated with this access method (if present). */
37385
37397
  access_grant_keys?: string[] | undefined;
37386
37398
  event_type: 'access_method.issued';
37399
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
37400
+ code?: string | undefined;
37387
37401
  } | {
37388
37402
  /** ID of the event. */
37389
37403
  event_id: string;
@@ -40022,6 +40036,7 @@ export type Routes = {
40022
40036
  can_run_thermostat_programs?: boolean | undefined;
40023
40037
  can_simulate_hub_connection?: boolean | undefined;
40024
40038
  can_simulate_hub_disconnection?: boolean | undefined;
40039
+ can_simulate_paid_subscription?: boolean | undefined;
40025
40040
  };
40026
40041
  /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
40027
40042
  device: {
@@ -41194,6 +41209,7 @@ export type Routes = {
41194
41209
  can_run_thermostat_programs?: boolean | undefined;
41195
41210
  can_simulate_hub_connection?: boolean | undefined;
41196
41211
  can_simulate_hub_disconnection?: boolean | undefined;
41212
+ can_simulate_paid_subscription?: boolean | undefined;
41197
41213
  };
41198
41214
  };
41199
41215
  };
@@ -41232,9 +41248,9 @@ export type Routes = {
41232
41248
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
41233
41249
  page_cursor?: (string | undefined) | null;
41234
41250
  /** */
41235
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
41251
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
41236
41252
  /** */
41237
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
41253
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
41238
41254
  /**
41239
41255
  * @deprecated Use `space_id`.*/
41240
41256
  unstable_location_id?: (string | null) | undefined;
@@ -42417,6 +42433,7 @@ export type Routes = {
42417
42433
  can_run_thermostat_programs?: boolean | undefined;
42418
42434
  can_simulate_hub_connection?: boolean | undefined;
42419
42435
  can_simulate_hub_disconnection?: boolean | undefined;
42436
+ can_simulate_paid_subscription?: boolean | undefined;
42420
42437
  }[];
42421
42438
  devices: {
42422
42439
  /** ID of the device. */
@@ -43588,6 +43605,7 @@ export type Routes = {
43588
43605
  can_run_thermostat_programs?: boolean | undefined;
43589
43606
  can_simulate_hub_connection?: boolean | undefined;
43590
43607
  can_simulate_hub_disconnection?: boolean | undefined;
43608
+ can_simulate_paid_subscription?: boolean | undefined;
43591
43609
  }[];
43592
43610
  };
43593
43611
  };
@@ -48664,9 +48682,9 @@ export type Routes = {
48664
48682
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
48665
48683
  page_cursor?: (string | undefined) | null;
48666
48684
  /** */
48667
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
48685
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
48668
48686
  /** */
48669
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
48687
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
48670
48688
  /**
48671
48689
  * @deprecated Use `space_id`.*/
48672
48690
  unstable_location_id?: (string | null) | undefined;
@@ -49849,6 +49867,7 @@ export type Routes = {
49849
49867
  can_run_thermostat_programs?: boolean | undefined;
49850
49868
  can_simulate_hub_connection?: boolean | undefined;
49851
49869
  can_simulate_hub_disconnection?: boolean | undefined;
49870
+ can_simulate_paid_subscription?: boolean | undefined;
49852
49871
  }[];
49853
49872
  devices: {
49854
49873
  /** ID of the device. */
@@ -51020,6 +51039,7 @@ export type Routes = {
51020
51039
  can_run_thermostat_programs?: boolean | undefined;
51021
51040
  can_simulate_hub_connection?: boolean | undefined;
51022
51041
  can_simulate_hub_disconnection?: boolean | undefined;
51042
+ can_simulate_paid_subscription?: boolean | undefined;
51023
51043
  }[];
51024
51044
  };
51025
51045
  };
@@ -56204,6 +56224,8 @@ export type Routes = {
56204
56224
  /** Keys of the access grants associated with this access method (if present). */
56205
56225
  access_grant_keys?: string[] | undefined;
56206
56226
  event_type: 'access_method.issued';
56227
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
56228
+ code?: string | undefined;
56207
56229
  } | {
56208
56230
  /** ID of the event. */
56209
56231
  event_id: string;
@@ -59483,6 +59505,7 @@ export type Routes = {
59483
59505
  can_run_thermostat_programs?: boolean | undefined;
59484
59506
  can_simulate_hub_connection?: boolean | undefined;
59485
59507
  can_simulate_hub_disconnection?: boolean | undefined;
59508
+ can_simulate_paid_subscription?: boolean | undefined;
59486
59509
  }[] | undefined;
59487
59510
  acs_entrances?: {
59488
59511
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -65037,6 +65060,7 @@ export type Routes = {
65037
65060
  can_run_thermostat_programs?: boolean | undefined;
65038
65061
  can_simulate_hub_connection?: boolean | undefined;
65039
65062
  can_simulate_hub_disconnection?: boolean | undefined;
65063
+ can_simulate_paid_subscription?: boolean | undefined;
65040
65064
  };
65041
65065
  };
65042
65066
  };
@@ -67607,9 +67631,9 @@ export type Routes = {
67607
67631
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
67608
67632
  page_cursor?: (string | undefined) | null;
67609
67633
  /** */
67610
- include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
67634
+ include_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
67611
67635
  /** */
67612
- exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection')[] | undefined;
67636
+ exclude_if?: ('can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection' | 'can_unlock_with_code' | 'can_run_thermostat_programs' | 'can_simulate_hub_connection' | 'can_simulate_hub_disconnection' | 'can_simulate_paid_subscription')[] | undefined;
67613
67637
  /**
67614
67638
  * @deprecated Use `space_id`.*/
67615
67639
  unstable_location_id?: (string | null) | undefined;
@@ -68792,6 +68816,7 @@ export type Routes = {
68792
68816
  can_run_thermostat_programs?: boolean | undefined;
68793
68817
  can_simulate_hub_connection?: boolean | undefined;
68794
68818
  can_simulate_hub_disconnection?: boolean | undefined;
68819
+ can_simulate_paid_subscription?: boolean | undefined;
68795
68820
  }[];
68796
68821
  devices: {
68797
68822
  /** ID of the device. */
@@ -69963,6 +69988,7 @@ export type Routes = {
69963
69988
  can_run_thermostat_programs?: boolean | undefined;
69964
69989
  can_simulate_hub_connection?: boolean | undefined;
69965
69990
  can_simulate_hub_disconnection?: boolean | undefined;
69991
+ can_simulate_paid_subscription?: boolean | undefined;
69966
69992
  }[];
69967
69993
  };
69968
69994
  };
@@ -77075,6 +77101,7 @@ export type Routes = {
77075
77101
  can_run_thermostat_programs?: boolean | undefined;
77076
77102
  can_simulate_hub_connection?: boolean | undefined;
77077
77103
  can_simulate_hub_disconnection?: boolean | undefined;
77104
+ can_simulate_paid_subscription?: boolean | undefined;
77078
77105
  }[];
77079
77106
  /**
77080
77107
  * @deprecated Use devices.*/
@@ -78248,6 +78275,7 @@ export type Routes = {
78248
78275
  can_run_thermostat_programs?: boolean | undefined;
78249
78276
  can_simulate_hub_connection?: boolean | undefined;
78250
78277
  can_simulate_hub_disconnection?: boolean | undefined;
78278
+ can_simulate_paid_subscription?: boolean | undefined;
78251
78279
  }[];
78252
78280
  };
78253
78281
  };
@@ -80183,6 +80211,7 @@ export type Routes = {
80183
80211
  can_run_thermostat_programs?: boolean | undefined;
80184
80212
  can_simulate_hub_connection?: boolean | undefined;
80185
80213
  can_simulate_hub_disconnection?: boolean | undefined;
80214
+ can_simulate_paid_subscription?: boolean | undefined;
80186
80215
  }[] | undefined;
80187
80216
  acs_entrances?: {
80188
80217
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
@@ -82833,6 +82862,7 @@ export type Routes = {
82833
82862
  can_run_thermostat_programs?: boolean | undefined;
82834
82863
  can_simulate_hub_connection?: boolean | undefined;
82835
82864
  can_simulate_hub_disconnection?: boolean | undefined;
82865
+ can_simulate_paid_subscription?: boolean | undefined;
82836
82866
  }[] | undefined;
82837
82867
  connect_webviews?: {
82838
82868
  /** ID of the Connect Webview. */
@@ -83448,6 +83478,8 @@ export type Routes = {
83448
83478
  /** Keys of the access grants associated with this access method (if present). */
83449
83479
  access_grant_keys?: string[] | undefined;
83450
83480
  event_type: 'access_method.issued';
83481
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
83482
+ code?: string | undefined;
83451
83483
  } | {
83452
83484
  /** ID of the event. */
83453
83485
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.527.0",
3
+ "version": "1.529.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -25,6 +25,7 @@ export const device_capability_flags = z
25
25
  can_run_thermostat_programs: z.boolean(),
26
26
  can_simulate_hub_connection: z.boolean(),
27
27
  can_simulate_hub_disconnection: z.boolean(),
28
+ can_simulate_paid_subscription: z.boolean(),
28
29
  })
29
30
  .partial()
30
31
 
@@ -20,6 +20,12 @@ const access_method_event = common_event.extend({
20
20
 
21
21
  export const access_method_issued_event = access_method_event.extend({
22
22
  event_type: z.literal('access_method.issued'),
23
+ code: z
24
+ .string()
25
+ .optional()
26
+ .describe(
27
+ "The actual PIN code for code access methods (only present when mode is 'code').",
28
+ ),
23
29
  }).describe(`
24
30
  ---
25
31
  route_path: /access_methods
@@ -9270,6 +9270,7 @@ export default {
9270
9270
  can_simulate_disconnection: { type: 'boolean' },
9271
9271
  can_simulate_hub_connection: { type: 'boolean' },
9272
9272
  can_simulate_hub_disconnection: { type: 'boolean' },
9273
+ can_simulate_paid_subscription: { type: 'boolean' },
9273
9274
  can_simulate_removal: { type: 'boolean' },
9274
9275
  can_turn_off_hvac: { type: 'boolean' },
9275
9276
  can_unlock_with_code: { type: 'boolean' },
@@ -12925,6 +12926,7 @@ export default {
12925
12926
  can_simulate_disconnection: { type: 'boolean' },
12926
12927
  can_simulate_hub_connection: { type: 'boolean' },
12927
12928
  can_simulate_hub_disconnection: { type: 'boolean' },
12929
+ can_simulate_paid_subscription: { type: 'boolean' },
12928
12930
  can_simulate_removal: { type: 'boolean' },
12929
12931
  can_turn_off_hvac: { type: 'boolean' },
12930
12932
  can_unlock_with_code: { type: 'boolean' },
@@ -14613,6 +14615,11 @@ export default {
14613
14615
  format: 'uuid',
14614
14616
  type: 'string',
14615
14617
  },
14618
+ code: {
14619
+ description:
14620
+ "The actual PIN code for code access methods (only present when mode is 'code').",
14621
+ type: 'string',
14622
+ },
14616
14623
  created_at: {
14617
14624
  description: 'Date and time at which the event was created.',
14618
14625
  format: 'date-time',
@@ -23663,6 +23670,7 @@ export default {
23663
23670
  can_simulate_disconnection: { type: 'boolean' },
23664
23671
  can_simulate_hub_connection: { type: 'boolean' },
23665
23672
  can_simulate_hub_disconnection: { type: 'boolean' },
23673
+ can_simulate_paid_subscription: { type: 'boolean' },
23666
23674
  can_simulate_removal: { type: 'boolean' },
23667
23675
  can_turn_off_hvac: { type: 'boolean' },
23668
23676
  can_unlock_with_code: { type: 'boolean' },
@@ -40705,6 +40713,7 @@ export default {
40705
40713
  'can_run_thermostat_programs',
40706
40714
  'can_simulate_hub_connection',
40707
40715
  'can_simulate_hub_disconnection',
40716
+ 'can_simulate_paid_subscription',
40708
40717
  ],
40709
40718
  type: 'string',
40710
40719
  },
@@ -40733,6 +40742,7 @@ export default {
40733
40742
  'can_run_thermostat_programs',
40734
40743
  'can_simulate_hub_connection',
40735
40744
  'can_simulate_hub_disconnection',
40745
+ 'can_simulate_paid_subscription',
40736
40746
  ],
40737
40747
  type: 'string',
40738
40748
  },
@@ -41025,6 +41035,7 @@ export default {
41025
41035
  'can_run_thermostat_programs',
41026
41036
  'can_simulate_hub_connection',
41027
41037
  'can_simulate_hub_disconnection',
41038
+ 'can_simulate_paid_subscription',
41028
41039
  ],
41029
41040
  type: 'string',
41030
41041
  },
@@ -41049,6 +41060,7 @@ export default {
41049
41060
  'can_run_thermostat_programs',
41050
41061
  'can_simulate_hub_connection',
41051
41062
  'can_simulate_hub_disconnection',
41063
+ 'can_simulate_paid_subscription',
41052
41064
  ],
41053
41065
  type: 'string',
41054
41066
  },
@@ -41997,6 +42009,7 @@ export default {
41997
42009
  'can_run_thermostat_programs',
41998
42010
  'can_simulate_hub_connection',
41999
42011
  'can_simulate_hub_disconnection',
42012
+ 'can_simulate_paid_subscription',
42000
42013
  ],
42001
42014
  type: 'string',
42002
42015
  },
@@ -42025,6 +42038,7 @@ export default {
42025
42038
  'can_run_thermostat_programs',
42026
42039
  'can_simulate_hub_connection',
42027
42040
  'can_simulate_hub_disconnection',
42041
+ 'can_simulate_paid_subscription',
42028
42042
  ],
42029
42043
  type: 'string',
42030
42044
  },
@@ -42314,6 +42328,7 @@ export default {
42314
42328
  'can_run_thermostat_programs',
42315
42329
  'can_simulate_hub_connection',
42316
42330
  'can_simulate_hub_disconnection',
42331
+ 'can_simulate_paid_subscription',
42317
42332
  ],
42318
42333
  type: 'string',
42319
42334
  },
@@ -42338,6 +42353,7 @@ export default {
42338
42353
  'can_run_thermostat_programs',
42339
42354
  'can_simulate_hub_connection',
42340
42355
  'can_simulate_hub_disconnection',
42356
+ 'can_simulate_paid_subscription',
42341
42357
  ],
42342
42358
  type: 'string',
42343
42359
  },
@@ -44298,6 +44314,7 @@ export default {
44298
44314
  'can_run_thermostat_programs',
44299
44315
  'can_simulate_hub_connection',
44300
44316
  'can_simulate_hub_disconnection',
44317
+ 'can_simulate_paid_subscription',
44301
44318
  ],
44302
44319
  type: 'string',
44303
44320
  },
@@ -44326,6 +44343,7 @@ export default {
44326
44343
  'can_run_thermostat_programs',
44327
44344
  'can_simulate_hub_connection',
44328
44345
  'can_simulate_hub_disconnection',
44346
+ 'can_simulate_paid_subscription',
44329
44347
  ],
44330
44348
  type: 'string',
44331
44349
  },
@@ -44563,6 +44581,7 @@ export default {
44563
44581
  'can_run_thermostat_programs',
44564
44582
  'can_simulate_hub_connection',
44565
44583
  'can_simulate_hub_disconnection',
44584
+ 'can_simulate_paid_subscription',
44566
44585
  ],
44567
44586
  type: 'string',
44568
44587
  },
@@ -44587,6 +44606,7 @@ export default {
44587
44606
  'can_run_thermostat_programs',
44588
44607
  'can_simulate_hub_connection',
44589
44608
  'can_simulate_hub_disconnection',
44609
+ 'can_simulate_paid_subscription',
44590
44610
  ],
44591
44611
  type: 'string',
44592
44612
  },
@@ -45126,6 +45146,7 @@ export default {
45126
45146
  'can_run_thermostat_programs',
45127
45147
  'can_simulate_hub_connection',
45128
45148
  'can_simulate_hub_disconnection',
45149
+ 'can_simulate_paid_subscription',
45129
45150
  ],
45130
45151
  type: 'string',
45131
45152
  },
@@ -45154,6 +45175,7 @@ export default {
45154
45175
  'can_run_thermostat_programs',
45155
45176
  'can_simulate_hub_connection',
45156
45177
  'can_simulate_hub_disconnection',
45178
+ 'can_simulate_paid_subscription',
45157
45179
  ],
45158
45180
  type: 'string',
45159
45181
  },
@@ -45335,6 +45357,7 @@ export default {
45335
45357
  'can_run_thermostat_programs',
45336
45358
  'can_simulate_hub_connection',
45337
45359
  'can_simulate_hub_disconnection',
45360
+ 'can_simulate_paid_subscription',
45338
45361
  ],
45339
45362
  type: 'string',
45340
45363
  },
@@ -45359,6 +45382,7 @@ export default {
45359
45382
  'can_run_thermostat_programs',
45360
45383
  'can_simulate_hub_connection',
45361
45384
  'can_simulate_hub_disconnection',
45385
+ 'can_simulate_paid_subscription',
45362
45386
  ],
45363
45387
  type: 'string',
45364
45388
  },
@@ -52436,6 +52460,7 @@ export default {
52436
52460
  'can_run_thermostat_programs',
52437
52461
  'can_simulate_hub_connection',
52438
52462
  'can_simulate_hub_disconnection',
52463
+ 'can_simulate_paid_subscription',
52439
52464
  ],
52440
52465
  type: 'string',
52441
52466
  },
@@ -52464,6 +52489,7 @@ export default {
52464
52489
  'can_run_thermostat_programs',
52465
52490
  'can_simulate_hub_connection',
52466
52491
  'can_simulate_hub_disconnection',
52492
+ 'can_simulate_paid_subscription',
52467
52493
  ],
52468
52494
  type: 'string',
52469
52495
  },
@@ -52659,6 +52685,7 @@ export default {
52659
52685
  'can_run_thermostat_programs',
52660
52686
  'can_simulate_hub_connection',
52661
52687
  'can_simulate_hub_disconnection',
52688
+ 'can_simulate_paid_subscription',
52662
52689
  ],
52663
52690
  type: 'string',
52664
52691
  },
@@ -52683,6 +52710,7 @@ export default {
52683
52710
  'can_run_thermostat_programs',
52684
52711
  'can_simulate_hub_connection',
52685
52712
  'can_simulate_hub_disconnection',
52713
+ 'can_simulate_paid_subscription',
52686
52714
  ],
52687
52715
  type: 'string',
52688
52716
  },