@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.
@@ -13127,6 +13127,7 @@ declare const batch: z.ZodObject<{
13127
13127
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
13128
13128
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
13129
13129
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
13130
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
13130
13131
  }, "strip", z.ZodTypeAny, {
13131
13132
  display_name: string;
13132
13133
  device_id: string;
@@ -13766,6 +13767,7 @@ declare const batch: z.ZodObject<{
13766
13767
  can_run_thermostat_programs?: boolean | undefined;
13767
13768
  can_simulate_hub_connection?: boolean | undefined;
13768
13769
  can_simulate_hub_disconnection?: boolean | undefined;
13770
+ can_simulate_paid_subscription?: boolean | undefined;
13769
13771
  nickname?: string | undefined;
13770
13772
  }, {
13771
13773
  display_name: string;
@@ -14406,6 +14408,7 @@ declare const batch: z.ZodObject<{
14406
14408
  can_run_thermostat_programs?: boolean | undefined;
14407
14409
  can_simulate_hub_connection?: boolean | undefined;
14408
14410
  can_simulate_hub_disconnection?: boolean | undefined;
14411
+ can_simulate_paid_subscription?: boolean | undefined;
14409
14412
  nickname?: string | undefined;
14410
14413
  }>, "many">>;
14411
14414
  acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -23588,6 +23591,7 @@ declare const batch: z.ZodObject<{
23588
23591
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
23589
23592
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
23590
23593
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
23594
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
23591
23595
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
23592
23596
  is_managed: z.ZodLiteral<false>;
23593
23597
  properties: z.ZodObject<Pick<{
@@ -23740,6 +23744,7 @@ declare const batch: z.ZodObject<{
23740
23744
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
23741
23745
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
23742
23746
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
23747
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
23743
23748
  }, "strip", z.ZodTypeAny, {
23744
23749
  device_id: string;
23745
23750
  workspace_id: string;
@@ -23970,6 +23975,7 @@ declare const batch: z.ZodObject<{
23970
23975
  can_run_thermostat_programs?: boolean | undefined;
23971
23976
  can_simulate_hub_connection?: boolean | undefined;
23972
23977
  can_simulate_hub_disconnection?: boolean | undefined;
23978
+ can_simulate_paid_subscription?: boolean | undefined;
23973
23979
  }, {
23974
23980
  device_id: string;
23975
23981
  workspace_id: string;
@@ -24200,6 +24206,7 @@ declare const batch: z.ZodObject<{
24200
24206
  can_run_thermostat_programs?: boolean | undefined;
24201
24207
  can_simulate_hub_connection?: boolean | undefined;
24202
24208
  can_simulate_hub_disconnection?: boolean | undefined;
24209
+ can_simulate_paid_subscription?: boolean | undefined;
24203
24210
  }>, "many">>;
24204
24211
  connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
24205
24212
  connect_webview_id: z.ZodString;
@@ -25129,6 +25136,7 @@ declare const batch: z.ZodObject<{
25129
25136
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25130
25137
  } & {
25131
25138
  event_type: z.ZodLiteral<"access_method.issued">;
25139
+ code: z.ZodOptional<z.ZodString>;
25132
25140
  }, "strip", z.ZodTypeAny, {
25133
25141
  workspace_id: string;
25134
25142
  created_at: string;
@@ -25137,6 +25145,7 @@ declare const batch: z.ZodObject<{
25137
25145
  occurred_at: string;
25138
25146
  event_type: "access_method.issued";
25139
25147
  access_grant_ids: string[];
25148
+ code?: string | undefined;
25140
25149
  access_grant_keys?: string[] | undefined;
25141
25150
  }, {
25142
25151
  workspace_id: string;
@@ -25146,6 +25155,7 @@ declare const batch: z.ZodObject<{
25146
25155
  occurred_at: string;
25147
25156
  event_type: "access_method.issued";
25148
25157
  access_grant_ids: string[];
25158
+ code?: string | undefined;
25149
25159
  access_grant_keys?: string[] | undefined;
25150
25160
  }>, z.ZodObject<{
25151
25161
  event_id: z.ZodString;
@@ -31216,6 +31226,7 @@ declare const batch: z.ZodObject<{
31216
31226
  can_run_thermostat_programs?: boolean | undefined;
31217
31227
  can_simulate_hub_connection?: boolean | undefined;
31218
31228
  can_simulate_hub_disconnection?: boolean | undefined;
31229
+ can_simulate_paid_subscription?: boolean | undefined;
31219
31230
  nickname?: string | undefined;
31220
31231
  }[] | undefined;
31221
31232
  acs_entrances?: {
@@ -32830,6 +32841,7 @@ declare const batch: z.ZodObject<{
32830
32841
  can_run_thermostat_programs?: boolean | undefined;
32831
32842
  can_simulate_hub_connection?: boolean | undefined;
32832
32843
  can_simulate_hub_disconnection?: boolean | undefined;
32844
+ can_simulate_paid_subscription?: boolean | undefined;
32833
32845
  }[] | undefined;
32834
32846
  connect_webviews?: {
32835
32847
  status: "pending" | "failed" | "authorized";
@@ -33090,6 +33102,7 @@ declare const batch: z.ZodObject<{
33090
33102
  occurred_at: string;
33091
33103
  event_type: "access_method.issued";
33092
33104
  access_grant_ids: string[];
33105
+ code?: string | undefined;
33093
33106
  access_grant_keys?: string[] | undefined;
33094
33107
  } | {
33095
33108
  workspace_id: string;
@@ -35065,6 +35078,7 @@ declare const batch: z.ZodObject<{
35065
35078
  can_run_thermostat_programs?: boolean | undefined;
35066
35079
  can_simulate_hub_connection?: boolean | undefined;
35067
35080
  can_simulate_hub_disconnection?: boolean | undefined;
35081
+ can_simulate_paid_subscription?: boolean | undefined;
35068
35082
  nickname?: string | undefined;
35069
35083
  }[] | undefined;
35070
35084
  acs_entrances?: {
@@ -36679,6 +36693,7 @@ declare const batch: z.ZodObject<{
36679
36693
  can_run_thermostat_programs?: boolean | undefined;
36680
36694
  can_simulate_hub_connection?: boolean | undefined;
36681
36695
  can_simulate_hub_disconnection?: boolean | undefined;
36696
+ can_simulate_paid_subscription?: boolean | undefined;
36682
36697
  }[] | undefined;
36683
36698
  connect_webviews?: {
36684
36699
  status: "pending" | "failed" | "authorized";
@@ -36939,6 +36954,7 @@ declare const batch: z.ZodObject<{
36939
36954
  occurred_at: string;
36940
36955
  event_type: "access_method.issued";
36941
36956
  access_grant_ids: string[];
36957
+ code?: string | undefined;
36942
36958
  access_grant_keys?: string[] | undefined;
36943
36959
  } | {
36944
36960
  workspace_id: string;
@@ -42332,6 +42348,7 @@ declare const device: z.ZodObject<{
42332
42348
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
42333
42349
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
42334
42350
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
42351
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
42335
42352
  }, "strip", z.ZodTypeAny, {
42336
42353
  display_name: string;
42337
42354
  device_id: string;
@@ -42971,6 +42988,7 @@ declare const device: z.ZodObject<{
42971
42988
  can_run_thermostat_programs?: boolean | undefined;
42972
42989
  can_simulate_hub_connection?: boolean | undefined;
42973
42990
  can_simulate_hub_disconnection?: boolean | undefined;
42991
+ can_simulate_paid_subscription?: boolean | undefined;
42974
42992
  nickname?: string | undefined;
42975
42993
  }, {
42976
42994
  display_name: string;
@@ -43611,6 +43629,7 @@ declare const device: z.ZodObject<{
43611
43629
  can_run_thermostat_programs?: boolean | undefined;
43612
43630
  can_simulate_hub_connection?: boolean | undefined;
43613
43631
  can_simulate_hub_disconnection?: boolean | undefined;
43632
+ can_simulate_paid_subscription?: boolean | undefined;
43614
43633
  nickname?: string | undefined;
43615
43634
  }>;
43616
43635
  type Device = z.infer<typeof device>;
@@ -43687,6 +43706,7 @@ declare const device_provider: z.ZodObject<{
43687
43706
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
43688
43707
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
43689
43708
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
43709
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
43690
43710
  }, "strip", z.ZodTypeAny, {
43691
43711
  display_name: string;
43692
43712
  image_url: string;
@@ -43707,6 +43727,7 @@ declare const device_provider: z.ZodObject<{
43707
43727
  can_run_thermostat_programs?: boolean | undefined;
43708
43728
  can_simulate_hub_connection?: boolean | undefined;
43709
43729
  can_simulate_hub_disconnection?: boolean | undefined;
43730
+ can_simulate_paid_subscription?: boolean | undefined;
43710
43731
  }, {
43711
43732
  display_name: string;
43712
43733
  image_url: string;
@@ -43727,6 +43748,7 @@ declare const device_provider: z.ZodObject<{
43727
43748
  can_run_thermostat_programs?: boolean | undefined;
43728
43749
  can_simulate_hub_connection?: boolean | undefined;
43729
43750
  can_simulate_hub_disconnection?: boolean | undefined;
43751
+ can_simulate_paid_subscription?: boolean | undefined;
43730
43752
  }>;
43731
43753
  type DeviceProvider = z.infer<typeof device_provider>;
43732
43754
 
@@ -46483,6 +46505,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
46483
46505
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
46484
46506
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
46485
46507
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
46508
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
46486
46509
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "device_type" | "capabilities_supported" | "location"> & {
46487
46510
  is_managed: z.ZodLiteral<false>;
46488
46511
  properties: z.ZodObject<Pick<{
@@ -46635,6 +46658,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
46635
46658
  can_run_thermostat_programs: z.ZodOptional<z.ZodBoolean>;
46636
46659
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
46637
46660
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
46661
+ can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
46638
46662
  }, "strip", z.ZodTypeAny, {
46639
46663
  device_id: string;
46640
46664
  workspace_id: string;
@@ -46865,6 +46889,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
46865
46889
  can_run_thermostat_programs?: boolean | undefined;
46866
46890
  can_simulate_hub_connection?: boolean | undefined;
46867
46891
  can_simulate_hub_disconnection?: boolean | undefined;
46892
+ can_simulate_paid_subscription?: boolean | undefined;
46868
46893
  }, {
46869
46894
  device_id: string;
46870
46895
  workspace_id: string;
@@ -47095,6 +47120,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
47095
47120
  can_run_thermostat_programs?: boolean | undefined;
47096
47121
  can_simulate_hub_connection?: boolean | undefined;
47097
47122
  can_simulate_hub_disconnection?: boolean | undefined;
47123
+ can_simulate_paid_subscription?: boolean | undefined;
47098
47124
  }>;
47099
47125
  type UnmanagedDevice = z.infer<typeof unmanaged_device>;
47100
47126
 
@@ -47837,6 +47863,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
47837
47863
  access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
47838
47864
  } & {
47839
47865
  event_type: z.ZodLiteral<"access_method.issued">;
47866
+ code: z.ZodOptional<z.ZodString>;
47840
47867
  }, "strip", z.ZodTypeAny, {
47841
47868
  workspace_id: string;
47842
47869
  created_at: string;
@@ -47845,6 +47872,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
47845
47872
  occurred_at: string;
47846
47873
  event_type: "access_method.issued";
47847
47874
  access_grant_ids: string[];
47875
+ code?: string | undefined;
47848
47876
  access_grant_keys?: string[] | undefined;
47849
47877
  }, {
47850
47878
  workspace_id: string;
@@ -47854,6 +47882,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
47854
47882
  occurred_at: string;
47855
47883
  event_type: "access_method.issued";
47856
47884
  access_grant_ids: string[];
47885
+ code?: string | undefined;
47857
47886
  access_grant_keys?: string[] | undefined;
47858
47887
  }>, z.ZodObject<{
47859
47888
  event_id: z.ZodString;
@@ -54962,6 +54991,9 @@ declare const _default: {
54962
54991
  can_simulate_hub_disconnection: {
54963
54992
  type: string;
54964
54993
  };
54994
+ can_simulate_paid_subscription: {
54995
+ type: string;
54996
+ };
54965
54997
  can_simulate_removal: {
54966
54998
  type: string;
54967
54999
  };
@@ -57434,6 +57466,9 @@ declare const _default: {
57434
57466
  can_simulate_hub_disconnection: {
57435
57467
  type: string;
57436
57468
  };
57469
+ can_simulate_paid_subscription: {
57470
+ type: string;
57471
+ };
57437
57472
  can_simulate_removal: {
57438
57473
  type: string;
57439
57474
  };
@@ -58142,6 +58177,111 @@ declare const _default: {
58142
58177
  'x-route-path': string;
58143
58178
  deprecated?: never;
58144
58179
  'x-deprecated'?: never;
58180
+ } | {
58181
+ description: string;
58182
+ properties: {
58183
+ access_grant_ids: {
58184
+ description: string;
58185
+ items: {
58186
+ format: string;
58187
+ type: string;
58188
+ };
58189
+ type: string;
58190
+ };
58191
+ access_grant_keys: {
58192
+ description: string;
58193
+ items: {
58194
+ type: string;
58195
+ };
58196
+ type: string;
58197
+ };
58198
+ access_method_id: {
58199
+ description: string;
58200
+ format: string;
58201
+ type: string;
58202
+ };
58203
+ code: {
58204
+ description: string;
58205
+ type: string;
58206
+ nullable?: never;
58207
+ };
58208
+ created_at: {
58209
+ description: string;
58210
+ format: string;
58211
+ type: string;
58212
+ };
58213
+ event_id: {
58214
+ description: string;
58215
+ format: string;
58216
+ type: string;
58217
+ };
58218
+ event_type: {
58219
+ enum: string[];
58220
+ type: string;
58221
+ };
58222
+ occurred_at: {
58223
+ description: string;
58224
+ format: string;
58225
+ type: string;
58226
+ };
58227
+ workspace_id: {
58228
+ description: string;
58229
+ format: string;
58230
+ type: string;
58231
+ };
58232
+ access_code_id?: never;
58233
+ connected_account_custom_metadata?: never;
58234
+ connected_account_id?: never;
58235
+ device_custom_metadata?: never;
58236
+ device_id?: never;
58237
+ backup_access_code_id?: never;
58238
+ access_grant_id?: never;
58239
+ acs_entrance_id?: never;
58240
+ acs_system_id?: never;
58241
+ acs_credential_id?: never;
58242
+ acs_user_id?: never;
58243
+ acs_encoder_id?: never;
58244
+ acs_access_group_id?: never;
58245
+ client_session_id?: never;
58246
+ connect_webview_id?: never;
58247
+ action_attempt_id?: never;
58248
+ action_type?: never;
58249
+ status?: never;
58250
+ error_code?: never;
58251
+ battery_level?: never;
58252
+ battery_status?: never;
58253
+ minut_metadata?: never;
58254
+ noise_level_decibels?: never;
58255
+ noise_level_nrs?: never;
58256
+ noise_threshold_id?: never;
58257
+ noise_threshold_name?: never;
58258
+ noiseaware_metadata?: never;
58259
+ method?: never;
58260
+ climate_preset_key?: never;
58261
+ is_fallback_climate_preset?: never;
58262
+ thermostat_schedule_id?: never;
58263
+ cooling_set_point_celsius?: never;
58264
+ cooling_set_point_fahrenheit?: never;
58265
+ fan_mode_setting?: never;
58266
+ heating_set_point_celsius?: never;
58267
+ heating_set_point_fahrenheit?: never;
58268
+ hvac_mode_setting?: never;
58269
+ lower_limit_celsius?: never;
58270
+ lower_limit_fahrenheit?: never;
58271
+ temperature_celsius?: never;
58272
+ temperature_fahrenheit?: never;
58273
+ upper_limit_celsius?: never;
58274
+ upper_limit_fahrenheit?: never;
58275
+ desired_temperature_celsius?: never;
58276
+ desired_temperature_fahrenheit?: never;
58277
+ device_name?: never;
58278
+ enrollment_automation_id?: never;
58279
+ };
58280
+ required: string[];
58281
+ type: string;
58282
+ 'x-route-path': string;
58283
+ deprecated?: never;
58284
+ 'x-deprecated'?: never;
58145
58285
  } | {
58146
58286
  description: string;
58147
58287
  properties: {
@@ -63378,6 +63518,9 @@ declare const _default: {
63378
63518
  can_simulate_hub_disconnection: {
63379
63519
  type: string;
63380
63520
  };
63521
+ can_simulate_paid_subscription: {
63522
+ type: string;
63523
+ };
63381
63524
  can_simulate_removal: {
63382
63525
  type: string;
63383
63526
  };
@@ -112436,6 +112579,7 @@ type Routes = {
112436
112579
  can_run_thermostat_programs?: boolean | undefined;
112437
112580
  can_simulate_hub_connection?: boolean | undefined;
112438
112581
  can_simulate_hub_disconnection?: boolean | undefined;
112582
+ can_simulate_paid_subscription?: boolean | undefined;
112439
112583
  }[] | undefined;
112440
112584
  acs_entrances?: {
112441
112585
  /** 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). */
@@ -115558,6 +115702,7 @@ type Routes = {
115558
115702
  can_run_thermostat_programs?: boolean | undefined;
115559
115703
  can_simulate_hub_connection?: boolean | undefined;
115560
115704
  can_simulate_hub_disconnection?: boolean | undefined;
115705
+ can_simulate_paid_subscription?: boolean | undefined;
115561
115706
  }[] | undefined;
115562
115707
  acs_entrances?: {
115563
115708
  /** 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). */
@@ -118208,6 +118353,7 @@ type Routes = {
118208
118353
  can_run_thermostat_programs?: boolean | undefined;
118209
118354
  can_simulate_hub_connection?: boolean | undefined;
118210
118355
  can_simulate_hub_disconnection?: boolean | undefined;
118356
+ can_simulate_paid_subscription?: boolean | undefined;
118211
118357
  }[] | undefined;
118212
118358
  connect_webviews?: {
118213
118359
  /** ID of the Connect Webview. */
@@ -118823,6 +118969,8 @@ type Routes = {
118823
118969
  /** Keys of the access grants associated with this access method (if present). */
118824
118970
  access_grant_keys?: string[] | undefined;
118825
118971
  event_type: 'access_method.issued';
118972
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
118973
+ code?: string | undefined;
118826
118974
  } | {
118827
118975
  /** ID of the event. */
118828
118976
  event_id: string;
@@ -133872,6 +134020,7 @@ type Routes = {
133872
134020
  can_run_thermostat_programs?: boolean | undefined;
133873
134021
  can_simulate_hub_connection?: boolean | undefined;
133874
134022
  can_simulate_hub_disconnection?: boolean | undefined;
134023
+ can_simulate_paid_subscription?: boolean | undefined;
133875
134024
  };
133876
134025
  };
133877
134026
  };
@@ -133910,9 +134059,9 @@ type Routes = {
133910
134059
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
133911
134060
  page_cursor?: (string | undefined) | null;
133912
134061
  /** */
133913
- 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;
134062
+ 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;
133914
134063
  /** */
133915
- 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;
134064
+ 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;
133916
134065
  /**
133917
134066
  * @deprecated Use `space_id`.*/
133918
134067
  unstable_location_id?: (string | null) | undefined;
@@ -135095,6 +135244,7 @@ type Routes = {
135095
135244
  can_run_thermostat_programs?: boolean | undefined;
135096
135245
  can_simulate_hub_connection?: boolean | undefined;
135097
135246
  can_simulate_hub_disconnection?: boolean | undefined;
135247
+ can_simulate_paid_subscription?: boolean | undefined;
135098
135248
  }[];
135099
135249
  /** Information about the current page of results. */
135100
135250
  pagination: {
@@ -135138,6 +135288,7 @@ type Routes = {
135138
135288
  can_run_thermostat_programs?: boolean | undefined;
135139
135289
  can_simulate_hub_connection?: boolean | undefined;
135140
135290
  can_simulate_hub_disconnection?: boolean | undefined;
135291
+ can_simulate_paid_subscription?: boolean | undefined;
135141
135292
  }[];
135142
135293
  };
135143
135294
  };
@@ -135600,6 +135751,7 @@ type Routes = {
135600
135751
  can_run_thermostat_programs?: boolean | undefined;
135601
135752
  can_simulate_hub_connection?: boolean | undefined;
135602
135753
  can_simulate_hub_disconnection?: boolean | undefined;
135754
+ can_simulate_paid_subscription?: boolean | undefined;
135603
135755
  };
135604
135756
  };
135605
135757
  };
@@ -135638,9 +135790,9 @@ type Routes = {
135638
135790
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
135639
135791
  page_cursor?: (string | undefined) | null;
135640
135792
  /** */
135641
- 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;
135793
+ 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;
135642
135794
  /** */
135643
- 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;
135795
+ 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;
135644
135796
  /**
135645
135797
  * @deprecated Use `space_id`.*/
135646
135798
  unstable_location_id?: (string | null) | undefined;
@@ -136038,6 +136190,7 @@ type Routes = {
136038
136190
  can_run_thermostat_programs?: boolean | undefined;
136039
136191
  can_simulate_hub_connection?: boolean | undefined;
136040
136192
  can_simulate_hub_disconnection?: boolean | undefined;
136193
+ can_simulate_paid_subscription?: boolean | undefined;
136041
136194
  }[];
136042
136195
  };
136043
136196
  };
@@ -136592,6 +136745,8 @@ type Routes = {
136592
136745
  /** Keys of the access grants associated with this access method (if present). */
136593
136746
  access_grant_keys?: string[] | undefined;
136594
136747
  event_type: 'access_method.issued';
136748
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
136749
+ code?: string | undefined;
136595
136750
  } | {
136596
136751
  /** ID of the event. */
136597
136752
  event_id: string;
@@ -138486,6 +138641,8 @@ type Routes = {
138486
138641
  /** Keys of the access grants associated with this access method (if present). */
138487
138642
  access_grant_keys?: string[] | undefined;
138488
138643
  event_type: 'access_method.issued';
138644
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
138645
+ code?: string | undefined;
138489
138646
  } | {
138490
138647
  /** ID of the event. */
138491
138648
  event_id: string;
@@ -141124,6 +141281,7 @@ type Routes = {
141124
141281
  can_run_thermostat_programs?: boolean | undefined;
141125
141282
  can_simulate_hub_connection?: boolean | undefined;
141126
141283
  can_simulate_hub_disconnection?: boolean | undefined;
141284
+ can_simulate_paid_subscription?: boolean | undefined;
141127
141285
  };
141128
141286
  /** Represents a [device](https://docs.seam.co/latest/core-concepts/devices) that has been connected to Seam. */
141129
141287
  device: {
@@ -142296,6 +142454,7 @@ type Routes = {
142296
142454
  can_run_thermostat_programs?: boolean | undefined;
142297
142455
  can_simulate_hub_connection?: boolean | undefined;
142298
142456
  can_simulate_hub_disconnection?: boolean | undefined;
142457
+ can_simulate_paid_subscription?: boolean | undefined;
142299
142458
  };
142300
142459
  };
142301
142460
  };
@@ -142334,9 +142493,9 @@ type Routes = {
142334
142493
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
142335
142494
  page_cursor?: (string | undefined) | null;
142336
142495
  /** */
142337
- 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;
142496
+ 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;
142338
142497
  /** */
142339
- 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;
142498
+ 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;
142340
142499
  /**
142341
142500
  * @deprecated Use `space_id`.*/
142342
142501
  unstable_location_id?: (string | null) | undefined;
@@ -143519,6 +143678,7 @@ type Routes = {
143519
143678
  can_run_thermostat_programs?: boolean | undefined;
143520
143679
  can_simulate_hub_connection?: boolean | undefined;
143521
143680
  can_simulate_hub_disconnection?: boolean | undefined;
143681
+ can_simulate_paid_subscription?: boolean | undefined;
143522
143682
  }[];
143523
143683
  devices: {
143524
143684
  /** ID of the device. */
@@ -144690,6 +144850,7 @@ type Routes = {
144690
144850
  can_run_thermostat_programs?: boolean | undefined;
144691
144851
  can_simulate_hub_connection?: boolean | undefined;
144692
144852
  can_simulate_hub_disconnection?: boolean | undefined;
144853
+ can_simulate_paid_subscription?: boolean | undefined;
144693
144854
  }[];
144694
144855
  };
144695
144856
  };
@@ -149766,9 +149927,9 @@ type Routes = {
149766
149927
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
149767
149928
  page_cursor?: (string | undefined) | null;
149768
149929
  /** */
149769
- 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;
149930
+ 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;
149770
149931
  /** */
149771
- 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;
149932
+ 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;
149772
149933
  /**
149773
149934
  * @deprecated Use `space_id`.*/
149774
149935
  unstable_location_id?: (string | null) | undefined;
@@ -150951,6 +151112,7 @@ type Routes = {
150951
151112
  can_run_thermostat_programs?: boolean | undefined;
150952
151113
  can_simulate_hub_connection?: boolean | undefined;
150953
151114
  can_simulate_hub_disconnection?: boolean | undefined;
151115
+ can_simulate_paid_subscription?: boolean | undefined;
150954
151116
  }[];
150955
151117
  devices: {
150956
151118
  /** ID of the device. */
@@ -152122,6 +152284,7 @@ type Routes = {
152122
152284
  can_run_thermostat_programs?: boolean | undefined;
152123
152285
  can_simulate_hub_connection?: boolean | undefined;
152124
152286
  can_simulate_hub_disconnection?: boolean | undefined;
152287
+ can_simulate_paid_subscription?: boolean | undefined;
152125
152288
  }[];
152126
152289
  };
152127
152290
  };
@@ -157306,6 +157469,8 @@ type Routes = {
157306
157469
  /** Keys of the access grants associated with this access method (if present). */
157307
157470
  access_grant_keys?: string[] | undefined;
157308
157471
  event_type: 'access_method.issued';
157472
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
157473
+ code?: string | undefined;
157309
157474
  } | {
157310
157475
  /** ID of the event. */
157311
157476
  event_id: string;
@@ -160585,6 +160750,7 @@ type Routes = {
160585
160750
  can_run_thermostat_programs?: boolean | undefined;
160586
160751
  can_simulate_hub_connection?: boolean | undefined;
160587
160752
  can_simulate_hub_disconnection?: boolean | undefined;
160753
+ can_simulate_paid_subscription?: boolean | undefined;
160588
160754
  }[] | undefined;
160589
160755
  acs_entrances?: {
160590
160756
  /** 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). */
@@ -166139,6 +166305,7 @@ type Routes = {
166139
166305
  can_run_thermostat_programs?: boolean | undefined;
166140
166306
  can_simulate_hub_connection?: boolean | undefined;
166141
166307
  can_simulate_hub_disconnection?: boolean | undefined;
166308
+ can_simulate_paid_subscription?: boolean | undefined;
166142
166309
  };
166143
166310
  };
166144
166311
  };
@@ -168709,9 +168876,9 @@ type Routes = {
168709
168876
  /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
168710
168877
  page_cursor?: (string | undefined) | null;
168711
168878
  /** */
168712
- 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;
168879
+ 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;
168713
168880
  /** */
168714
- 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;
168881
+ 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;
168715
168882
  /**
168716
168883
  * @deprecated Use `space_id`.*/
168717
168884
  unstable_location_id?: (string | null) | undefined;
@@ -169894,6 +170061,7 @@ type Routes = {
169894
170061
  can_run_thermostat_programs?: boolean | undefined;
169895
170062
  can_simulate_hub_connection?: boolean | undefined;
169896
170063
  can_simulate_hub_disconnection?: boolean | undefined;
170064
+ can_simulate_paid_subscription?: boolean | undefined;
169897
170065
  }[];
169898
170066
  devices: {
169899
170067
  /** ID of the device. */
@@ -171065,6 +171233,7 @@ type Routes = {
171065
171233
  can_run_thermostat_programs?: boolean | undefined;
171066
171234
  can_simulate_hub_connection?: boolean | undefined;
171067
171235
  can_simulate_hub_disconnection?: boolean | undefined;
171236
+ can_simulate_paid_subscription?: boolean | undefined;
171068
171237
  }[];
171069
171238
  };
171070
171239
  };
@@ -178177,6 +178346,7 @@ type Routes = {
178177
178346
  can_run_thermostat_programs?: boolean | undefined;
178178
178347
  can_simulate_hub_connection?: boolean | undefined;
178179
178348
  can_simulate_hub_disconnection?: boolean | undefined;
178349
+ can_simulate_paid_subscription?: boolean | undefined;
178180
178350
  }[];
178181
178351
  /**
178182
178352
  * @deprecated Use devices.*/
@@ -179350,6 +179520,7 @@ type Routes = {
179350
179520
  can_run_thermostat_programs?: boolean | undefined;
179351
179521
  can_simulate_hub_connection?: boolean | undefined;
179352
179522
  can_simulate_hub_disconnection?: boolean | undefined;
179523
+ can_simulate_paid_subscription?: boolean | undefined;
179353
179524
  }[];
179354
179525
  };
179355
179526
  };
@@ -181285,6 +181456,7 @@ type Routes = {
181285
181456
  can_run_thermostat_programs?: boolean | undefined;
181286
181457
  can_simulate_hub_connection?: boolean | undefined;
181287
181458
  can_simulate_hub_disconnection?: boolean | undefined;
181459
+ can_simulate_paid_subscription?: boolean | undefined;
181288
181460
  }[] | undefined;
181289
181461
  acs_entrances?: {
181290
181462
  /** 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). */
@@ -183935,6 +184107,7 @@ type Routes = {
183935
184107
  can_run_thermostat_programs?: boolean | undefined;
183936
184108
  can_simulate_hub_connection?: boolean | undefined;
183937
184109
  can_simulate_hub_disconnection?: boolean | undefined;
184110
+ can_simulate_paid_subscription?: boolean | undefined;
183938
184111
  }[] | undefined;
183939
184112
  connect_webviews?: {
183940
184113
  /** ID of the Connect Webview. */
@@ -184550,6 +184723,8 @@ type Routes = {
184550
184723
  /** Keys of the access grants associated with this access method (if present). */
184551
184724
  access_grant_keys?: string[] | undefined;
184552
184725
  event_type: 'access_method.issued';
184726
+ /** The actual PIN code for code access methods (only present when mode is 'code'). */
184727
+ code?: string | undefined;
184553
184728
  } | {
184554
184729
  /** ID of the event. */
184555
184730
  event_id: string;