@seamapi/types 1.552.0 → 1.554.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.
@@ -25416,6 +25416,38 @@ declare const batch: z.ZodObject<{
25416
25416
  workspace_id: z.ZodString;
25417
25417
  created_at: z.ZodString;
25418
25418
  occurred_at: z.ZodString;
25419
+ } & {
25420
+ access_grant_id: z.ZodString;
25421
+ } & {
25422
+ event_type: z.ZodLiteral<"access_grant.access_times_changed">;
25423
+ access_grant_key: z.ZodOptional<z.ZodString>;
25424
+ starts_at: z.ZodOptional<z.ZodString>;
25425
+ ends_at: z.ZodOptional<z.ZodString>;
25426
+ }, "strip", z.ZodTypeAny, {
25427
+ workspace_id: string;
25428
+ created_at: string;
25429
+ access_grant_id: string;
25430
+ event_id: string;
25431
+ occurred_at: string;
25432
+ event_type: "access_grant.access_times_changed";
25433
+ starts_at?: string | undefined;
25434
+ ends_at?: string | undefined;
25435
+ access_grant_key?: string | undefined;
25436
+ }, {
25437
+ workspace_id: string;
25438
+ created_at: string;
25439
+ access_grant_id: string;
25440
+ event_id: string;
25441
+ occurred_at: string;
25442
+ event_type: "access_grant.access_times_changed";
25443
+ starts_at?: string | undefined;
25444
+ ends_at?: string | undefined;
25445
+ access_grant_key?: string | undefined;
25446
+ }>, z.ZodObject<{
25447
+ event_id: z.ZodString;
25448
+ workspace_id: z.ZodString;
25449
+ created_at: z.ZodString;
25450
+ occurred_at: z.ZodString;
25419
25451
  } & {
25420
25452
  access_method_id: z.ZodString;
25421
25453
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
@@ -25573,6 +25605,38 @@ declare const batch: z.ZodObject<{
25573
25605
  workspace_id: z.ZodString;
25574
25606
  created_at: z.ZodString;
25575
25607
  occurred_at: z.ZodString;
25608
+ } & {
25609
+ access_method_id: z.ZodString;
25610
+ access_grant_ids: z.ZodArray<z.ZodString, "many">;
25611
+ access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25612
+ } & {
25613
+ event_type: z.ZodLiteral<"access_method.code_changed">;
25614
+ code: z.ZodString;
25615
+ }, "strip", z.ZodTypeAny, {
25616
+ code: string;
25617
+ workspace_id: string;
25618
+ created_at: string;
25619
+ access_method_id: string;
25620
+ event_id: string;
25621
+ occurred_at: string;
25622
+ event_type: "access_method.code_changed";
25623
+ access_grant_ids: string[];
25624
+ access_grant_keys?: string[] | undefined;
25625
+ }, {
25626
+ code: string;
25627
+ workspace_id: string;
25628
+ created_at: string;
25629
+ access_method_id: string;
25630
+ event_id: string;
25631
+ occurred_at: string;
25632
+ event_type: "access_method.code_changed";
25633
+ access_grant_ids: string[];
25634
+ access_grant_keys?: string[] | undefined;
25635
+ }>, z.ZodObject<{
25636
+ event_id: z.ZodString;
25637
+ workspace_id: z.ZodString;
25638
+ created_at: z.ZodString;
25639
+ occurred_at: z.ZodString;
25576
25640
  } & {
25577
25641
  connected_account_id: z.ZodOptional<z.ZodString>;
25578
25642
  acs_system_id: z.ZodString;
@@ -33421,6 +33485,16 @@ declare const batch: z.ZodObject<{
33421
33485
  event_id: string;
33422
33486
  occurred_at: string;
33423
33487
  event_type: "access_grant.access_to_door_lost";
33488
+ } | {
33489
+ workspace_id: string;
33490
+ created_at: string;
33491
+ access_grant_id: string;
33492
+ event_id: string;
33493
+ occurred_at: string;
33494
+ event_type: "access_grant.access_times_changed";
33495
+ starts_at?: string | undefined;
33496
+ ends_at?: string | undefined;
33497
+ access_grant_key?: string | undefined;
33424
33498
  } | {
33425
33499
  workspace_id: string;
33426
33500
  created_at: string;
@@ -33470,6 +33544,16 @@ declare const batch: z.ZodObject<{
33470
33544
  code?: string | undefined;
33471
33545
  access_grant_keys?: string[] | undefined;
33472
33546
  is_backup_code?: boolean | undefined;
33547
+ } | {
33548
+ code: string;
33549
+ workspace_id: string;
33550
+ created_at: string;
33551
+ access_method_id: string;
33552
+ event_id: string;
33553
+ occurred_at: string;
33554
+ event_type: "access_method.code_changed";
33555
+ access_grant_ids: string[];
33556
+ access_grant_keys?: string[] | undefined;
33473
33557
  } | {
33474
33558
  workspace_id: string;
33475
33559
  created_at: string;
@@ -37304,6 +37388,16 @@ declare const batch: z.ZodObject<{
37304
37388
  event_id: string;
37305
37389
  occurred_at: string;
37306
37390
  event_type: "access_grant.access_to_door_lost";
37391
+ } | {
37392
+ workspace_id: string;
37393
+ created_at: string;
37394
+ access_grant_id: string;
37395
+ event_id: string;
37396
+ occurred_at: string;
37397
+ event_type: "access_grant.access_times_changed";
37398
+ starts_at?: string | undefined;
37399
+ ends_at?: string | undefined;
37400
+ access_grant_key?: string | undefined;
37307
37401
  } | {
37308
37402
  workspace_id: string;
37309
37403
  created_at: string;
@@ -37353,6 +37447,16 @@ declare const batch: z.ZodObject<{
37353
37447
  code?: string | undefined;
37354
37448
  access_grant_keys?: string[] | undefined;
37355
37449
  is_backup_code?: boolean | undefined;
37450
+ } | {
37451
+ code: string;
37452
+ workspace_id: string;
37453
+ created_at: string;
37454
+ access_method_id: string;
37455
+ event_id: string;
37456
+ occurred_at: string;
37457
+ event_type: "access_method.code_changed";
37458
+ access_grant_ids: string[];
37459
+ access_grant_keys?: string[] | undefined;
37356
37460
  } | {
37357
37461
  workspace_id: string;
37358
37462
  created_at: string;
@@ -48451,6 +48555,38 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48451
48555
  workspace_id: z.ZodString;
48452
48556
  created_at: z.ZodString;
48453
48557
  occurred_at: z.ZodString;
48558
+ } & {
48559
+ access_grant_id: z.ZodString;
48560
+ } & {
48561
+ event_type: z.ZodLiteral<"access_grant.access_times_changed">;
48562
+ access_grant_key: z.ZodOptional<z.ZodString>;
48563
+ starts_at: z.ZodOptional<z.ZodString>;
48564
+ ends_at: z.ZodOptional<z.ZodString>;
48565
+ }, "strip", z.ZodTypeAny, {
48566
+ workspace_id: string;
48567
+ created_at: string;
48568
+ access_grant_id: string;
48569
+ event_id: string;
48570
+ occurred_at: string;
48571
+ event_type: "access_grant.access_times_changed";
48572
+ starts_at?: string | undefined;
48573
+ ends_at?: string | undefined;
48574
+ access_grant_key?: string | undefined;
48575
+ }, {
48576
+ workspace_id: string;
48577
+ created_at: string;
48578
+ access_grant_id: string;
48579
+ event_id: string;
48580
+ occurred_at: string;
48581
+ event_type: "access_grant.access_times_changed";
48582
+ starts_at?: string | undefined;
48583
+ ends_at?: string | undefined;
48584
+ access_grant_key?: string | undefined;
48585
+ }>, z.ZodObject<{
48586
+ event_id: z.ZodString;
48587
+ workspace_id: z.ZodString;
48588
+ created_at: z.ZodString;
48589
+ occurred_at: z.ZodString;
48454
48590
  } & {
48455
48591
  access_method_id: z.ZodString;
48456
48592
  access_grant_ids: z.ZodArray<z.ZodString, "many">;
@@ -48608,6 +48744,38 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48608
48744
  workspace_id: z.ZodString;
48609
48745
  created_at: z.ZodString;
48610
48746
  occurred_at: z.ZodString;
48747
+ } & {
48748
+ access_method_id: z.ZodString;
48749
+ access_grant_ids: z.ZodArray<z.ZodString, "many">;
48750
+ access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48751
+ } & {
48752
+ event_type: z.ZodLiteral<"access_method.code_changed">;
48753
+ code: z.ZodString;
48754
+ }, "strip", z.ZodTypeAny, {
48755
+ code: string;
48756
+ workspace_id: string;
48757
+ created_at: string;
48758
+ access_method_id: string;
48759
+ event_id: string;
48760
+ occurred_at: string;
48761
+ event_type: "access_method.code_changed";
48762
+ access_grant_ids: string[];
48763
+ access_grant_keys?: string[] | undefined;
48764
+ }, {
48765
+ code: string;
48766
+ workspace_id: string;
48767
+ created_at: string;
48768
+ access_method_id: string;
48769
+ event_id: string;
48770
+ occurred_at: string;
48771
+ event_type: "access_method.code_changed";
48772
+ access_grant_ids: string[];
48773
+ access_grant_keys?: string[] | undefined;
48774
+ }>, z.ZodObject<{
48775
+ event_id: z.ZodString;
48776
+ workspace_id: z.ZodString;
48777
+ created_at: z.ZodString;
48778
+ occurred_at: z.ZodString;
48611
48779
  } & {
48612
48780
  connected_account_id: z.ZodOptional<z.ZodString>;
48613
48781
  acs_system_id: z.ZodString;
@@ -58326,6 +58494,9 @@ declare const _default: {
58326
58494
  backup_access_code_id?: never;
58327
58495
  access_grant_id?: never;
58328
58496
  acs_entrance_id?: never;
58497
+ access_grant_key?: never;
58498
+ ends_at?: never;
58499
+ starts_at?: never;
58329
58500
  access_grant_ids?: never;
58330
58501
  access_grant_keys?: never;
58331
58502
  access_method_id?: never;
@@ -58444,6 +58615,9 @@ declare const _default: {
58444
58615
  backup_access_code_id?: never;
58445
58616
  access_grant_id?: never;
58446
58617
  acs_entrance_id?: never;
58618
+ access_grant_key?: never;
58619
+ ends_at?: never;
58620
+ starts_at?: never;
58447
58621
  access_grant_ids?: never;
58448
58622
  access_grant_keys?: never;
58449
58623
  access_method_id?: never;
@@ -58562,6 +58736,9 @@ declare const _default: {
58562
58736
  backup_access_code_id?: never;
58563
58737
  access_grant_id?: never;
58564
58738
  acs_entrance_id?: never;
58739
+ access_grant_key?: never;
58740
+ ends_at?: never;
58741
+ starts_at?: never;
58565
58742
  access_grant_ids?: never;
58566
58743
  access_grant_keys?: never;
58567
58744
  access_method_id?: never;
@@ -58678,6 +58855,9 @@ declare const _default: {
58678
58855
  code?: never;
58679
58856
  access_grant_id?: never;
58680
58857
  acs_entrance_id?: never;
58858
+ access_grant_key?: never;
58859
+ ends_at?: never;
58860
+ starts_at?: never;
58681
58861
  access_grant_ids?: never;
58682
58862
  access_grant_keys?: never;
58683
58863
  access_method_id?: never;
@@ -58768,6 +58948,9 @@ declare const _default: {
58768
58948
  code?: never;
58769
58949
  backup_access_code_id?: never;
58770
58950
  acs_entrance_id?: never;
58951
+ access_grant_key?: never;
58952
+ ends_at?: never;
58953
+ starts_at?: never;
58771
58954
  access_grant_ids?: never;
58772
58955
  access_grant_keys?: never;
58773
58956
  access_method_id?: never;
@@ -58862,6 +59045,9 @@ declare const _default: {
58862
59045
  device_id?: never;
58863
59046
  code?: never;
58864
59047
  backup_access_code_id?: never;
59048
+ access_grant_key?: never;
59049
+ ends_at?: never;
59050
+ starts_at?: never;
58865
59051
  access_grant_ids?: never;
58866
59052
  access_grant_keys?: never;
58867
59053
  access_method_id?: never;
@@ -58915,34 +59101,22 @@ declare const _default: {
58915
59101
  } | {
58916
59102
  description: string;
58917
59103
  properties: {
58918
- access_grant_ids: {
59104
+ access_grant_id: {
58919
59105
  description: string;
58920
- items: {
58921
- format: string;
58922
- type: string;
58923
- };
59106
+ format: string;
58924
59107
  type: string;
58925
59108
  };
58926
- access_grant_keys: {
59109
+ access_grant_key: {
58927
59110
  description: string;
58928
- items: {
58929
- type: string;
58930
- };
58931
59111
  type: string;
58932
59112
  };
58933
- access_method_id: {
59113
+ created_at: {
58934
59114
  description: string;
58935
59115
  format: string;
58936
59116
  type: string;
58937
59117
  };
58938
- code: {
58939
- description: string;
58940
- type: string;
58941
- nullable?: never;
58942
- };
58943
- created_at: {
59118
+ ends_at: {
58944
59119
  description: string;
58945
- format: string;
58946
59120
  type: string;
58947
59121
  };
58948
59122
  event_id: {
@@ -58954,13 +59128,13 @@ declare const _default: {
58954
59128
  enum: string[];
58955
59129
  type: string;
58956
59130
  };
58957
- is_backup_code: {
59131
+ occurred_at: {
58958
59132
  description: string;
59133
+ format: string;
58959
59134
  type: string;
58960
59135
  };
58961
- occurred_at: {
59136
+ starts_at: {
58962
59137
  description: string;
58963
- format: string;
58964
59138
  type: string;
58965
59139
  };
58966
59140
  workspace_id: {
@@ -58973,9 +59147,13 @@ declare const _default: {
58973
59147
  connected_account_id?: never;
58974
59148
  device_custom_metadata?: never;
58975
59149
  device_id?: never;
59150
+ code?: never;
58976
59151
  backup_access_code_id?: never;
58977
- access_grant_id?: never;
58978
59152
  acs_entrance_id?: never;
59153
+ access_grant_ids?: never;
59154
+ access_grant_keys?: never;
59155
+ access_method_id?: never;
59156
+ is_backup_code?: never;
58979
59157
  acs_system_id?: never;
58980
59158
  acs_credential_id?: never;
58981
59159
  acs_user_id?: never;
@@ -59045,6 +59223,11 @@ declare const _default: {
59045
59223
  format: string;
59046
59224
  type: string;
59047
59225
  };
59226
+ code: {
59227
+ description: string;
59228
+ type: string;
59229
+ nullable?: never;
59230
+ };
59048
59231
  created_at: {
59049
59232
  description: string;
59050
59233
  format: string;
@@ -59059,6 +59242,10 @@ declare const _default: {
59059
59242
  enum: string[];
59060
59243
  type: string;
59061
59244
  };
59245
+ is_backup_code: {
59246
+ description: string;
59247
+ type: string;
59248
+ };
59062
59249
  occurred_at: {
59063
59250
  description: string;
59064
59251
  format: string;
@@ -59074,11 +59261,12 @@ declare const _default: {
59074
59261
  connected_account_id?: never;
59075
59262
  device_custom_metadata?: never;
59076
59263
  device_id?: never;
59077
- code?: never;
59078
59264
  backup_access_code_id?: never;
59079
59265
  access_grant_id?: never;
59080
59266
  acs_entrance_id?: never;
59081
- is_backup_code?: never;
59267
+ access_grant_key?: never;
59268
+ ends_at?: never;
59269
+ starts_at?: never;
59082
59270
  acs_system_id?: never;
59083
59271
  acs_credential_id?: never;
59084
59272
  acs_user_id?: never;
@@ -59128,12 +59316,22 @@ declare const _default: {
59128
59316
  } | {
59129
59317
  description: string;
59130
59318
  properties: {
59131
- acs_system_id: {
59319
+ access_grant_ids: {
59132
59320
  description: string;
59133
- format: string;
59321
+ items: {
59322
+ format: string;
59323
+ type: string;
59324
+ };
59134
59325
  type: string;
59135
59326
  };
59136
- connected_account_id: {
59327
+ access_grant_keys: {
59328
+ description: string;
59329
+ items: {
59330
+ type: string;
59331
+ };
59332
+ type: string;
59333
+ };
59334
+ access_method_id: {
59137
59335
  description: string;
59138
59336
  format: string;
59139
59337
  type: string;
@@ -59164,16 +59362,18 @@ declare const _default: {
59164
59362
  };
59165
59363
  access_code_id?: never;
59166
59364
  connected_account_custom_metadata?: never;
59365
+ connected_account_id?: never;
59167
59366
  device_custom_metadata?: never;
59168
59367
  device_id?: never;
59169
59368
  code?: never;
59170
59369
  backup_access_code_id?: never;
59171
59370
  access_grant_id?: never;
59172
59371
  acs_entrance_id?: never;
59173
- access_grant_ids?: never;
59174
- access_grant_keys?: never;
59175
- access_method_id?: never;
59372
+ access_grant_key?: never;
59373
+ ends_at?: never;
59374
+ starts_at?: never;
59176
59375
  is_backup_code?: never;
59376
+ acs_system_id?: never;
59177
59377
  acs_credential_id?: never;
59178
59378
  acs_user_id?: never;
59179
59379
  acs_encoder_id?: never;
@@ -59222,21 +59422,31 @@ declare const _default: {
59222
59422
  } | {
59223
59423
  description: string;
59224
59424
  properties: {
59225
- acs_credential_id: {
59425
+ access_grant_ids: {
59226
59426
  description: string;
59227
- format: string;
59427
+ items: {
59428
+ format: string;
59429
+ type: string;
59430
+ };
59228
59431
  type: string;
59229
59432
  };
59230
- acs_system_id: {
59433
+ access_grant_keys: {
59231
59434
  description: string;
59232
- format: string;
59435
+ items: {
59436
+ type: string;
59437
+ };
59233
59438
  type: string;
59234
59439
  };
59235
- connected_account_id: {
59440
+ access_method_id: {
59236
59441
  description: string;
59237
59442
  format: string;
59238
59443
  type: string;
59239
59444
  };
59445
+ code: {
59446
+ description: string;
59447
+ type: string;
59448
+ nullable?: never;
59449
+ };
59240
59450
  created_at: {
59241
59451
  description: string;
59242
59452
  format: string;
@@ -59263,16 +59473,18 @@ declare const _default: {
59263
59473
  };
59264
59474
  access_code_id?: never;
59265
59475
  connected_account_custom_metadata?: never;
59476
+ connected_account_id?: never;
59266
59477
  device_custom_metadata?: never;
59267
59478
  device_id?: never;
59268
- code?: never;
59269
59479
  backup_access_code_id?: never;
59270
59480
  access_grant_id?: never;
59271
59481
  acs_entrance_id?: never;
59272
- access_grant_ids?: never;
59273
- access_grant_keys?: never;
59274
- access_method_id?: never;
59482
+ access_grant_key?: never;
59483
+ ends_at?: never;
59484
+ starts_at?: never;
59275
59485
  is_backup_code?: never;
59486
+ acs_system_id?: never;
59487
+ acs_credential_id?: never;
59276
59488
  acs_user_id?: never;
59277
59489
  acs_encoder_id?: never;
59278
59490
  acs_access_group_id?: never;
@@ -59325,10 +59537,6 @@ declare const _default: {
59325
59537
  format: string;
59326
59538
  type: string;
59327
59539
  };
59328
- acs_user_id: {
59329
- format: string;
59330
- type: string;
59331
- };
59332
59540
  connected_account_id: {
59333
59541
  description: string;
59334
59542
  format: string;
@@ -59366,11 +59574,15 @@ declare const _default: {
59366
59574
  backup_access_code_id?: never;
59367
59575
  access_grant_id?: never;
59368
59576
  acs_entrance_id?: never;
59577
+ access_grant_key?: never;
59578
+ ends_at?: never;
59579
+ starts_at?: never;
59369
59580
  access_grant_ids?: never;
59370
59581
  access_grant_keys?: never;
59371
59582
  access_method_id?: never;
59372
59583
  is_backup_code?: never;
59373
59584
  acs_credential_id?: never;
59585
+ acs_user_id?: never;
59374
59586
  acs_encoder_id?: never;
59375
59587
  acs_access_group_id?: never;
59376
59588
  client_session_id?: never;
@@ -59417,7 +59629,7 @@ declare const _default: {
59417
59629
  } | {
59418
59630
  description: string;
59419
59631
  properties: {
59420
- acs_encoder_id: {
59632
+ acs_credential_id: {
59421
59633
  description: string;
59422
59634
  format: string;
59423
59635
  type: string;
@@ -59464,12 +59676,15 @@ declare const _default: {
59464
59676
  backup_access_code_id?: never;
59465
59677
  access_grant_id?: never;
59466
59678
  acs_entrance_id?: never;
59679
+ access_grant_key?: never;
59680
+ ends_at?: never;
59681
+ starts_at?: never;
59467
59682
  access_grant_ids?: never;
59468
59683
  access_grant_keys?: never;
59469
59684
  access_method_id?: never;
59470
59685
  is_backup_code?: never;
59471
- acs_credential_id?: never;
59472
59686
  acs_user_id?: never;
59687
+ acs_encoder_id?: never;
59473
59688
  acs_access_group_id?: never;
59474
59689
  client_session_id?: never;
59475
59690
  connect_webview_id?: never;
@@ -59515,13 +59730,12 @@ declare const _default: {
59515
59730
  } | {
59516
59731
  description: string;
59517
59732
  properties: {
59518
- acs_access_group_id: {
59733
+ acs_system_id: {
59519
59734
  description: string;
59520
59735
  format: string;
59521
59736
  type: string;
59522
59737
  };
59523
- acs_system_id: {
59524
- description: string;
59738
+ acs_user_id: {
59525
59739
  format: string;
59526
59740
  type: string;
59527
59741
  };
@@ -59562,12 +59776,217 @@ declare const _default: {
59562
59776
  backup_access_code_id?: never;
59563
59777
  access_grant_id?: never;
59564
59778
  acs_entrance_id?: never;
59779
+ access_grant_key?: never;
59780
+ ends_at?: never;
59781
+ starts_at?: never;
59565
59782
  access_grant_ids?: never;
59566
59783
  access_grant_keys?: never;
59567
59784
  access_method_id?: never;
59568
59785
  is_backup_code?: never;
59569
59786
  acs_credential_id?: never;
59570
- acs_user_id?: never;
59787
+ acs_encoder_id?: never;
59788
+ acs_access_group_id?: never;
59789
+ client_session_id?: never;
59790
+ connect_webview_id?: never;
59791
+ customer_key?: never;
59792
+ action_attempt_id?: never;
59793
+ action_type?: never;
59794
+ status?: never;
59795
+ error_code?: never;
59796
+ battery_level?: never;
59797
+ battery_status?: never;
59798
+ minut_metadata?: never;
59799
+ noise_level_decibels?: never;
59800
+ noise_level_nrs?: never;
59801
+ noise_threshold_id?: never;
59802
+ noise_threshold_name?: never;
59803
+ noiseaware_metadata?: never;
59804
+ method?: never;
59805
+ climate_preset_key?: never;
59806
+ is_fallback_climate_preset?: never;
59807
+ thermostat_schedule_id?: never;
59808
+ cooling_set_point_celsius?: never;
59809
+ cooling_set_point_fahrenheit?: never;
59810
+ fan_mode_setting?: never;
59811
+ heating_set_point_celsius?: never;
59812
+ heating_set_point_fahrenheit?: never;
59813
+ hvac_mode_setting?: never;
59814
+ lower_limit_celsius?: never;
59815
+ lower_limit_fahrenheit?: never;
59816
+ temperature_celsius?: never;
59817
+ temperature_fahrenheit?: never;
59818
+ upper_limit_celsius?: never;
59819
+ upper_limit_fahrenheit?: never;
59820
+ desired_temperature_celsius?: never;
59821
+ desired_temperature_fahrenheit?: never;
59822
+ device_name?: never;
59823
+ enrollment_automation_id?: never;
59824
+ };
59825
+ required: string[];
59826
+ type: string;
59827
+ 'x-route-path': string;
59828
+ deprecated?: never;
59829
+ 'x-deprecated'?: never;
59830
+ } | {
59831
+ description: string;
59832
+ properties: {
59833
+ acs_encoder_id: {
59834
+ description: string;
59835
+ format: string;
59836
+ type: string;
59837
+ };
59838
+ acs_system_id: {
59839
+ description: string;
59840
+ format: string;
59841
+ type: string;
59842
+ };
59843
+ connected_account_id: {
59844
+ description: string;
59845
+ format: string;
59846
+ type: string;
59847
+ };
59848
+ created_at: {
59849
+ description: string;
59850
+ format: string;
59851
+ type: string;
59852
+ };
59853
+ event_id: {
59854
+ description: string;
59855
+ format: string;
59856
+ type: string;
59857
+ };
59858
+ event_type: {
59859
+ enum: string[];
59860
+ type: string;
59861
+ };
59862
+ occurred_at: {
59863
+ description: string;
59864
+ format: string;
59865
+ type: string;
59866
+ };
59867
+ workspace_id: {
59868
+ description: string;
59869
+ format: string;
59870
+ type: string;
59871
+ };
59872
+ access_code_id?: never;
59873
+ connected_account_custom_metadata?: never;
59874
+ device_custom_metadata?: never;
59875
+ device_id?: never;
59876
+ code?: never;
59877
+ backup_access_code_id?: never;
59878
+ access_grant_id?: never;
59879
+ acs_entrance_id?: never;
59880
+ access_grant_key?: never;
59881
+ ends_at?: never;
59882
+ starts_at?: never;
59883
+ access_grant_ids?: never;
59884
+ access_grant_keys?: never;
59885
+ access_method_id?: never;
59886
+ is_backup_code?: never;
59887
+ acs_credential_id?: never;
59888
+ acs_user_id?: never;
59889
+ acs_access_group_id?: never;
59890
+ client_session_id?: never;
59891
+ connect_webview_id?: never;
59892
+ customer_key?: never;
59893
+ action_attempt_id?: never;
59894
+ action_type?: never;
59895
+ status?: never;
59896
+ error_code?: never;
59897
+ battery_level?: never;
59898
+ battery_status?: never;
59899
+ minut_metadata?: never;
59900
+ noise_level_decibels?: never;
59901
+ noise_level_nrs?: never;
59902
+ noise_threshold_id?: never;
59903
+ noise_threshold_name?: never;
59904
+ noiseaware_metadata?: never;
59905
+ method?: never;
59906
+ climate_preset_key?: never;
59907
+ is_fallback_climate_preset?: never;
59908
+ thermostat_schedule_id?: never;
59909
+ cooling_set_point_celsius?: never;
59910
+ cooling_set_point_fahrenheit?: never;
59911
+ fan_mode_setting?: never;
59912
+ heating_set_point_celsius?: never;
59913
+ heating_set_point_fahrenheit?: never;
59914
+ hvac_mode_setting?: never;
59915
+ lower_limit_celsius?: never;
59916
+ lower_limit_fahrenheit?: never;
59917
+ temperature_celsius?: never;
59918
+ temperature_fahrenheit?: never;
59919
+ upper_limit_celsius?: never;
59920
+ upper_limit_fahrenheit?: never;
59921
+ desired_temperature_celsius?: never;
59922
+ desired_temperature_fahrenheit?: never;
59923
+ device_name?: never;
59924
+ enrollment_automation_id?: never;
59925
+ };
59926
+ required: string[];
59927
+ type: string;
59928
+ 'x-route-path': string;
59929
+ deprecated?: never;
59930
+ 'x-deprecated'?: never;
59931
+ } | {
59932
+ description: string;
59933
+ properties: {
59934
+ acs_access_group_id: {
59935
+ description: string;
59936
+ format: string;
59937
+ type: string;
59938
+ };
59939
+ acs_system_id: {
59940
+ description: string;
59941
+ format: string;
59942
+ type: string;
59943
+ };
59944
+ connected_account_id: {
59945
+ description: string;
59946
+ format: string;
59947
+ type: string;
59948
+ };
59949
+ created_at: {
59950
+ description: string;
59951
+ format: string;
59952
+ type: string;
59953
+ };
59954
+ event_id: {
59955
+ description: string;
59956
+ format: string;
59957
+ type: string;
59958
+ };
59959
+ event_type: {
59960
+ enum: string[];
59961
+ type: string;
59962
+ };
59963
+ occurred_at: {
59964
+ description: string;
59965
+ format: string;
59966
+ type: string;
59967
+ };
59968
+ workspace_id: {
59969
+ description: string;
59970
+ format: string;
59971
+ type: string;
59972
+ };
59973
+ access_code_id?: never;
59974
+ connected_account_custom_metadata?: never;
59975
+ device_custom_metadata?: never;
59976
+ device_id?: never;
59977
+ code?: never;
59978
+ backup_access_code_id?: never;
59979
+ access_grant_id?: never;
59980
+ acs_entrance_id?: never;
59981
+ access_grant_key?: never;
59982
+ ends_at?: never;
59983
+ starts_at?: never;
59984
+ access_grant_ids?: never;
59985
+ access_grant_keys?: never;
59986
+ access_method_id?: never;
59987
+ is_backup_code?: never;
59988
+ acs_credential_id?: never;
59989
+ acs_user_id?: never;
59571
59990
  acs_encoder_id?: never;
59572
59991
  client_session_id?: never;
59573
59992
  connect_webview_id?: never;
@@ -59659,6 +60078,9 @@ declare const _default: {
59659
60078
  code?: never;
59660
60079
  backup_access_code_id?: never;
59661
60080
  access_grant_id?: never;
60081
+ access_grant_key?: never;
60082
+ ends_at?: never;
60083
+ starts_at?: never;
59662
60084
  access_grant_ids?: never;
59663
60085
  access_grant_keys?: never;
59664
60086
  access_method_id?: never;
@@ -59749,6 +60171,9 @@ declare const _default: {
59749
60171
  backup_access_code_id?: never;
59750
60172
  access_grant_id?: never;
59751
60173
  acs_entrance_id?: never;
60174
+ access_grant_key?: never;
60175
+ ends_at?: never;
60176
+ starts_at?: never;
59752
60177
  access_grant_ids?: never;
59753
60178
  access_grant_keys?: never;
59754
60179
  access_method_id?: never;
@@ -59855,6 +60280,9 @@ declare const _default: {
59855
60280
  backup_access_code_id?: never;
59856
60281
  access_grant_id?: never;
59857
60282
  acs_entrance_id?: never;
60283
+ access_grant_key?: never;
60284
+ ends_at?: never;
60285
+ starts_at?: never;
59858
60286
  access_grant_ids?: never;
59859
60287
  access_grant_keys?: never;
59860
60288
  access_method_id?: never;
@@ -59956,6 +60384,9 @@ declare const _default: {
59956
60384
  backup_access_code_id?: never;
59957
60385
  access_grant_id?: never;
59958
60386
  acs_entrance_id?: never;
60387
+ access_grant_key?: never;
60388
+ ends_at?: never;
60389
+ starts_at?: never;
59959
60390
  access_grant_ids?: never;
59960
60391
  access_grant_keys?: never;
59961
60392
  access_method_id?: never;
@@ -60059,6 +60490,9 @@ declare const _default: {
60059
60490
  backup_access_code_id?: never;
60060
60491
  access_grant_id?: never;
60061
60492
  acs_entrance_id?: never;
60493
+ access_grant_key?: never;
60494
+ ends_at?: never;
60495
+ starts_at?: never;
60062
60496
  access_grant_ids?: never;
60063
60497
  access_grant_keys?: never;
60064
60498
  access_method_id?: never;
@@ -60155,6 +60589,9 @@ declare const _default: {
60155
60589
  backup_access_code_id?: never;
60156
60590
  access_grant_id?: never;
60157
60591
  acs_entrance_id?: never;
60592
+ access_grant_key?: never;
60593
+ ends_at?: never;
60594
+ starts_at?: never;
60158
60595
  access_grant_ids?: never;
60159
60596
  access_grant_keys?: never;
60160
60597
  access_method_id?: never;
@@ -60254,6 +60691,9 @@ declare const _default: {
60254
60691
  backup_access_code_id?: never;
60255
60692
  access_grant_id?: never;
60256
60693
  acs_entrance_id?: never;
60694
+ access_grant_key?: never;
60695
+ ends_at?: never;
60696
+ starts_at?: never;
60257
60697
  access_grant_ids?: never;
60258
60698
  access_grant_keys?: never;
60259
60699
  access_method_id?: never;
@@ -60342,6 +60782,9 @@ declare const _default: {
60342
60782
  backup_access_code_id?: never;
60343
60783
  access_grant_id?: never;
60344
60784
  acs_entrance_id?: never;
60785
+ access_grant_key?: never;
60786
+ ends_at?: never;
60787
+ starts_at?: never;
60345
60788
  access_grant_ids?: never;
60346
60789
  access_grant_keys?: never;
60347
60790
  access_method_id?: never;
@@ -60451,6 +60894,9 @@ declare const _default: {
60451
60894
  backup_access_code_id?: never;
60452
60895
  access_grant_id?: never;
60453
60896
  acs_entrance_id?: never;
60897
+ access_grant_key?: never;
60898
+ ends_at?: never;
60899
+ starts_at?: never;
60454
60900
  access_grant_ids?: never;
60455
60901
  access_grant_keys?: never;
60456
60902
  access_method_id?: never;
@@ -60566,6 +61012,9 @@ declare const _default: {
60566
61012
  backup_access_code_id?: never;
60567
61013
  access_grant_id?: never;
60568
61014
  acs_entrance_id?: never;
61015
+ access_grant_key?: never;
61016
+ ends_at?: never;
61017
+ starts_at?: never;
60569
61018
  access_grant_ids?: never;
60570
61019
  access_grant_keys?: never;
60571
61020
  access_method_id?: never;
@@ -60682,6 +61131,9 @@ declare const _default: {
60682
61131
  backup_access_code_id?: never;
60683
61132
  access_grant_id?: never;
60684
61133
  acs_entrance_id?: never;
61134
+ access_grant_key?: never;
61135
+ ends_at?: never;
61136
+ starts_at?: never;
60685
61137
  access_grant_ids?: never;
60686
61138
  access_grant_keys?: never;
60687
61139
  access_method_id?: never;
@@ -60803,6 +61255,9 @@ declare const _default: {
60803
61255
  backup_access_code_id?: never;
60804
61256
  access_grant_id?: never;
60805
61257
  acs_entrance_id?: never;
61258
+ access_grant_key?: never;
61259
+ ends_at?: never;
61260
+ starts_at?: never;
60806
61261
  access_grant_ids?: never;
60807
61262
  access_grant_keys?: never;
60808
61263
  access_method_id?: never;
@@ -60940,6 +61395,9 @@ declare const _default: {
60940
61395
  backup_access_code_id?: never;
60941
61396
  access_grant_id?: never;
60942
61397
  acs_entrance_id?: never;
61398
+ access_grant_key?: never;
61399
+ ends_at?: never;
61400
+ starts_at?: never;
60943
61401
  access_grant_ids?: never;
60944
61402
  access_grant_keys?: never;
60945
61403
  access_method_id?: never;
@@ -61058,6 +61516,9 @@ declare const _default: {
61058
61516
  backup_access_code_id?: never;
61059
61517
  access_grant_id?: never;
61060
61518
  acs_entrance_id?: never;
61519
+ access_grant_key?: never;
61520
+ ends_at?: never;
61521
+ starts_at?: never;
61061
61522
  access_grant_ids?: never;
61062
61523
  access_grant_keys?: never;
61063
61524
  access_method_id?: never;
@@ -61180,6 +61641,9 @@ declare const _default: {
61180
61641
  backup_access_code_id?: never;
61181
61642
  access_grant_id?: never;
61182
61643
  acs_entrance_id?: never;
61644
+ access_grant_key?: never;
61645
+ ends_at?: never;
61646
+ starts_at?: never;
61183
61647
  access_grant_ids?: never;
61184
61648
  access_grant_keys?: never;
61185
61649
  access_method_id?: never;
@@ -61322,6 +61786,9 @@ declare const _default: {
61322
61786
  backup_access_code_id?: never;
61323
61787
  access_grant_id?: never;
61324
61788
  acs_entrance_id?: never;
61789
+ access_grant_key?: never;
61790
+ ends_at?: never;
61791
+ starts_at?: never;
61325
61792
  access_grant_ids?: never;
61326
61793
  access_grant_keys?: never;
61327
61794
  access_method_id?: never;
@@ -61459,6 +61926,9 @@ declare const _default: {
61459
61926
  backup_access_code_id?: never;
61460
61927
  access_grant_id?: never;
61461
61928
  acs_entrance_id?: never;
61929
+ access_grant_key?: never;
61930
+ ends_at?: never;
61931
+ starts_at?: never;
61462
61932
  access_grant_ids?: never;
61463
61933
  access_grant_keys?: never;
61464
61934
  access_method_id?: never;
@@ -61583,6 +62053,9 @@ declare const _default: {
61583
62053
  backup_access_code_id?: never;
61584
62054
  access_grant_id?: never;
61585
62055
  acs_entrance_id?: never;
62056
+ access_grant_key?: never;
62057
+ ends_at?: never;
62058
+ starts_at?: never;
61586
62059
  access_grant_ids?: never;
61587
62060
  access_grant_keys?: never;
61588
62061
  access_method_id?: never;
@@ -61699,6 +62172,9 @@ declare const _default: {
61699
62172
  backup_access_code_id?: never;
61700
62173
  access_grant_id?: never;
61701
62174
  acs_entrance_id?: never;
62175
+ access_grant_key?: never;
62176
+ ends_at?: never;
62177
+ starts_at?: never;
61702
62178
  access_grant_ids?: never;
61703
62179
  access_grant_keys?: never;
61704
62180
  access_method_id?: never;
@@ -61811,6 +62287,9 @@ declare const _default: {
61811
62287
  backup_access_code_id?: never;
61812
62288
  access_grant_id?: never;
61813
62289
  acs_entrance_id?: never;
62290
+ access_grant_key?: never;
62291
+ ends_at?: never;
62292
+ starts_at?: never;
61814
62293
  access_grant_ids?: never;
61815
62294
  access_grant_keys?: never;
61816
62295
  access_method_id?: never;
@@ -61901,6 +62380,9 @@ declare const _default: {
61901
62380
  backup_access_code_id?: never;
61902
62381
  access_grant_id?: never;
61903
62382
  acs_entrance_id?: never;
62383
+ access_grant_key?: never;
62384
+ ends_at?: never;
62385
+ starts_at?: never;
61904
62386
  access_grant_ids?: never;
61905
62387
  access_grant_keys?: never;
61906
62388
  access_method_id?: never;
@@ -61998,6 +62480,9 @@ declare const _default: {
61998
62480
  backup_access_code_id?: never;
61999
62481
  access_grant_id?: never;
62000
62482
  acs_entrance_id?: never;
62483
+ access_grant_key?: never;
62484
+ ends_at?: never;
62485
+ starts_at?: never;
62001
62486
  access_grant_ids?: never;
62002
62487
  access_grant_keys?: never;
62003
62488
  access_method_id?: never;
@@ -66558,22 +67043,32 @@ declare const _default: {
66558
67043
  };
66559
67044
  security: ({
66560
67045
  client_session: never[];
67046
+ client_session_with_customer?: never;
67047
+ pat_with_workspace?: never;
67048
+ console_session_with_workspace?: never;
67049
+ api_key?: never;
67050
+ } | {
67051
+ client_session_with_customer: never[];
67052
+ client_session?: never;
66561
67053
  pat_with_workspace?: never;
66562
67054
  console_session_with_workspace?: never;
66563
67055
  api_key?: never;
66564
67056
  } | {
66565
67057
  pat_with_workspace: never[];
66566
67058
  client_session?: never;
67059
+ client_session_with_customer?: never;
66567
67060
  console_session_with_workspace?: never;
66568
67061
  api_key?: never;
66569
67062
  } | {
66570
67063
  console_session_with_workspace: never[];
66571
67064
  client_session?: never;
67065
+ client_session_with_customer?: never;
66572
67066
  pat_with_workspace?: never;
66573
67067
  api_key?: never;
66574
67068
  } | {
66575
67069
  api_key: never[];
66576
67070
  client_session?: never;
67071
+ client_session_with_customer?: never;
66577
67072
  pat_with_workspace?: never;
66578
67073
  console_session_with_workspace?: never;
66579
67074
  })[];
@@ -120920,6 +121415,24 @@ type Routes = {
120920
121415
  event_type: 'access_grant.access_to_door_lost';
120921
121416
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
120922
121417
  acs_entrance_id: string;
121418
+ } | {
121419
+ /** ID of the event. */
121420
+ event_id: string;
121421
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
121422
+ workspace_id: string;
121423
+ /** Date and time at which the event was created. */
121424
+ created_at: string;
121425
+ /** Date and time at which the event occurred. */
121426
+ occurred_at: string;
121427
+ /** ID of the affected Access Grant. */
121428
+ access_grant_id: string;
121429
+ event_type: 'access_grant.access_times_changed';
121430
+ /** Key of the affected Access Grant (if present). */
121431
+ access_grant_key?: string | undefined;
121432
+ /** The new start time for the access grant. */
121433
+ starts_at?: string | undefined;
121434
+ /** The new end time for the access grant. */
121435
+ ends_at?: string | undefined;
120923
121436
  } | {
120924
121437
  /** ID of the event. */
120925
121438
  event_id: string;
@@ -121008,6 +121521,24 @@ type Routes = {
121008
121521
  code?: string | undefined;
121009
121522
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
121010
121523
  is_backup_code?: boolean | undefined;
121524
+ } | {
121525
+ /** ID of the event. */
121526
+ event_id: string;
121527
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
121528
+ workspace_id: string;
121529
+ /** Date and time at which the event was created. */
121530
+ created_at: string;
121531
+ /** Date and time at which the event occurred. */
121532
+ occurred_at: string;
121533
+ /** ID of the affected access method. */
121534
+ access_method_id: string;
121535
+ /** IDs of the access grants associated with this access method. */
121536
+ access_grant_ids: string[];
121537
+ /** Keys of the access grants associated with this access method (if present). */
121538
+ access_grant_keys?: string[] | undefined;
121539
+ event_type: 'access_method.code_changed';
121540
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
121541
+ code: string;
121011
121542
  } | {
121012
121543
  /** ID of the event. */
121013
121544
  event_id: string;
@@ -138880,6 +139411,24 @@ type Routes = {
138880
139411
  event_type: 'access_grant.access_to_door_lost';
138881
139412
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
138882
139413
  acs_entrance_id: string;
139414
+ } | {
139415
+ /** ID of the event. */
139416
+ event_id: string;
139417
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
139418
+ workspace_id: string;
139419
+ /** Date and time at which the event was created. */
139420
+ created_at: string;
139421
+ /** Date and time at which the event occurred. */
139422
+ occurred_at: string;
139423
+ /** ID of the affected Access Grant. */
139424
+ access_grant_id: string;
139425
+ event_type: 'access_grant.access_times_changed';
139426
+ /** Key of the affected Access Grant (if present). */
139427
+ access_grant_key?: string | undefined;
139428
+ /** The new start time for the access grant. */
139429
+ starts_at?: string | undefined;
139430
+ /** The new end time for the access grant. */
139431
+ ends_at?: string | undefined;
138883
139432
  } | {
138884
139433
  /** ID of the event. */
138885
139434
  event_id: string;
@@ -138968,6 +139517,24 @@ type Routes = {
138968
139517
  code?: string | undefined;
138969
139518
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
138970
139519
  is_backup_code?: boolean | undefined;
139520
+ } | {
139521
+ /** ID of the event. */
139522
+ event_id: string;
139523
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
139524
+ workspace_id: string;
139525
+ /** Date and time at which the event was created. */
139526
+ created_at: string;
139527
+ /** Date and time at which the event occurred. */
139528
+ occurred_at: string;
139529
+ /** ID of the affected access method. */
139530
+ access_method_id: string;
139531
+ /** IDs of the access grants associated with this access method. */
139532
+ access_grant_ids: string[];
139533
+ /** Keys of the access grants associated with this access method (if present). */
139534
+ access_grant_keys?: string[] | undefined;
139535
+ event_type: 'access_method.code_changed';
139536
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
139537
+ code: string;
138971
139538
  } | {
138972
139539
  /** ID of the event. */
138973
139540
  event_id: string;
@@ -140293,9 +140860,9 @@ type Routes = {
140293
140860
  /** IDs of the access codes for which you want to list events. */
140294
140861
  access_code_ids?: string[] | undefined;
140295
140862
  /** Type of the events that you want to list. */
140296
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
140863
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
140297
140864
  /** Types of the events that you want to list. */
140298
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
140865
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
140299
140866
  /** ID of the connected account for which you want to list events. */
140300
140867
  connected_account_id?: string | undefined;
140301
140868
  /** ID of the Connect Webview for which you want to list events. */
@@ -140786,6 +141353,24 @@ type Routes = {
140786
141353
  event_type: 'access_grant.access_to_door_lost';
140787
141354
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
140788
141355
  acs_entrance_id: string;
141356
+ } | {
141357
+ /** ID of the event. */
141358
+ event_id: string;
141359
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
141360
+ workspace_id: string;
141361
+ /** Date and time at which the event was created. */
141362
+ created_at: string;
141363
+ /** Date and time at which the event occurred. */
141364
+ occurred_at: string;
141365
+ /** ID of the affected Access Grant. */
141366
+ access_grant_id: string;
141367
+ event_type: 'access_grant.access_times_changed';
141368
+ /** Key of the affected Access Grant (if present). */
141369
+ access_grant_key?: string | undefined;
141370
+ /** The new start time for the access grant. */
141371
+ starts_at?: string | undefined;
141372
+ /** The new end time for the access grant. */
141373
+ ends_at?: string | undefined;
140789
141374
  } | {
140790
141375
  /** ID of the event. */
140791
141376
  event_id: string;
@@ -140874,6 +141459,24 @@ type Routes = {
140874
141459
  code?: string | undefined;
140875
141460
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
140876
141461
  is_backup_code?: boolean | undefined;
141462
+ } | {
141463
+ /** ID of the event. */
141464
+ event_id: string;
141465
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
141466
+ workspace_id: string;
141467
+ /** Date and time at which the event was created. */
141468
+ created_at: string;
141469
+ /** Date and time at which the event occurred. */
141470
+ occurred_at: string;
141471
+ /** ID of the affected access method. */
141472
+ access_method_id: string;
141473
+ /** IDs of the access grants associated with this access method. */
141474
+ access_grant_ids: string[];
141475
+ /** Keys of the access grants associated with this access method (if present). */
141476
+ access_grant_keys?: string[] | undefined;
141477
+ event_type: 'access_method.code_changed';
141478
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
141479
+ code: string;
140877
141480
  } | {
140878
141481
  /** ID of the event. */
140879
141482
  event_id: string;
@@ -159368,9 +159971,9 @@ type Routes = {
159368
159971
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
159369
159972
  between?: (string | Date)[] | undefined;
159370
159973
  /** Type of the events that you want to list. */
159371
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
159974
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
159372
159975
  /** Types of the events that you want to list. */
159373
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
159976
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated')[] | undefined;
159374
159977
  /** Numerical limit on the number of events to return. */
159375
159978
  limit?: number;
159376
159979
  };
@@ -159855,6 +160458,24 @@ type Routes = {
159855
160458
  event_type: 'access_grant.access_to_door_lost';
159856
160459
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
159857
160460
  acs_entrance_id: string;
160461
+ } | {
160462
+ /** ID of the event. */
160463
+ event_id: string;
160464
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
160465
+ workspace_id: string;
160466
+ /** Date and time at which the event was created. */
160467
+ created_at: string;
160468
+ /** Date and time at which the event occurred. */
160469
+ occurred_at: string;
160470
+ /** ID of the affected Access Grant. */
160471
+ access_grant_id: string;
160472
+ event_type: 'access_grant.access_times_changed';
160473
+ /** Key of the affected Access Grant (if present). */
160474
+ access_grant_key?: string | undefined;
160475
+ /** The new start time for the access grant. */
160476
+ starts_at?: string | undefined;
160477
+ /** The new end time for the access grant. */
160478
+ ends_at?: string | undefined;
159858
160479
  } | {
159859
160480
  /** ID of the event. */
159860
160481
  event_id: string;
@@ -159943,6 +160564,24 @@ type Routes = {
159943
160564
  code?: string | undefined;
159944
160565
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
159945
160566
  is_backup_code?: boolean | undefined;
160567
+ } | {
160568
+ /** ID of the event. */
160569
+ event_id: string;
160570
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
160571
+ workspace_id: string;
160572
+ /** Date and time at which the event was created. */
160573
+ created_at: string;
160574
+ /** Date and time at which the event occurred. */
160575
+ occurred_at: string;
160576
+ /** ID of the affected access method. */
160577
+ access_method_id: string;
160578
+ /** IDs of the access grants associated with this access method. */
160579
+ access_grant_ids: string[];
160580
+ /** Keys of the access grants associated with this access method (if present). */
160581
+ access_grant_keys?: string[] | undefined;
160582
+ event_type: 'access_method.code_changed';
160583
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
160584
+ code: string;
159946
160585
  } | {
159947
160586
  /** ID of the event. */
159948
160587
  event_id: string;
@@ -187492,6 +188131,24 @@ type Routes = {
187492
188131
  event_type: 'access_grant.access_to_door_lost';
187493
188132
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
187494
188133
  acs_entrance_id: string;
188134
+ } | {
188135
+ /** ID of the event. */
188136
+ event_id: string;
188137
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
188138
+ workspace_id: string;
188139
+ /** Date and time at which the event was created. */
188140
+ created_at: string;
188141
+ /** Date and time at which the event occurred. */
188142
+ occurred_at: string;
188143
+ /** ID of the affected Access Grant. */
188144
+ access_grant_id: string;
188145
+ event_type: 'access_grant.access_times_changed';
188146
+ /** Key of the affected Access Grant (if present). */
188147
+ access_grant_key?: string | undefined;
188148
+ /** The new start time for the access grant. */
188149
+ starts_at?: string | undefined;
188150
+ /** The new end time for the access grant. */
188151
+ ends_at?: string | undefined;
187495
188152
  } | {
187496
188153
  /** ID of the event. */
187497
188154
  event_id: string;
@@ -187580,6 +188237,24 @@ type Routes = {
187580
188237
  code?: string | undefined;
187581
188238
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
187582
188239
  is_backup_code?: boolean | undefined;
188240
+ } | {
188241
+ /** ID of the event. */
188242
+ event_id: string;
188243
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
188244
+ workspace_id: string;
188245
+ /** Date and time at which the event was created. */
188246
+ created_at: string;
188247
+ /** Date and time at which the event occurred. */
188248
+ occurred_at: string;
188249
+ /** ID of the affected access method. */
188250
+ access_method_id: string;
188251
+ /** IDs of the access grants associated with this access method. */
188252
+ access_grant_ids: string[];
188253
+ /** Keys of the access grants associated with this access method (if present). */
188254
+ access_grant_keys?: string[] | undefined;
188255
+ event_type: 'access_method.code_changed';
188256
+ /** The new PIN code for code access methods (only present when mode is 'code'). */
188257
+ code: string;
187583
188258
  } | {
187584
188259
  /** ID of the event. */
187585
188260
  event_id: string;