@seamapi/types 1.553.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,111 @@ 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;
59051
+ access_grant_ids?: never;
59052
+ access_grant_keys?: never;
59053
+ access_method_id?: never;
59054
+ is_backup_code?: never;
59055
+ acs_system_id?: never;
59056
+ acs_credential_id?: never;
59057
+ acs_user_id?: never;
59058
+ acs_encoder_id?: never;
59059
+ acs_access_group_id?: never;
59060
+ client_session_id?: never;
59061
+ connect_webview_id?: never;
59062
+ customer_key?: never;
59063
+ action_attempt_id?: never;
59064
+ action_type?: never;
59065
+ status?: never;
59066
+ error_code?: never;
59067
+ battery_level?: never;
59068
+ battery_status?: never;
59069
+ minut_metadata?: never;
59070
+ noise_level_decibels?: never;
59071
+ noise_level_nrs?: never;
59072
+ noise_threshold_id?: never;
59073
+ noise_threshold_name?: never;
59074
+ noiseaware_metadata?: never;
59075
+ method?: never;
59076
+ climate_preset_key?: never;
59077
+ is_fallback_climate_preset?: never;
59078
+ thermostat_schedule_id?: never;
59079
+ cooling_set_point_celsius?: never;
59080
+ cooling_set_point_fahrenheit?: never;
59081
+ fan_mode_setting?: never;
59082
+ heating_set_point_celsius?: never;
59083
+ heating_set_point_fahrenheit?: never;
59084
+ hvac_mode_setting?: never;
59085
+ lower_limit_celsius?: never;
59086
+ lower_limit_fahrenheit?: never;
59087
+ temperature_celsius?: never;
59088
+ temperature_fahrenheit?: never;
59089
+ upper_limit_celsius?: never;
59090
+ upper_limit_fahrenheit?: never;
59091
+ desired_temperature_celsius?: never;
59092
+ desired_temperature_fahrenheit?: never;
59093
+ device_name?: never;
59094
+ enrollment_automation_id?: never;
59095
+ };
59096
+ required: string[];
59097
+ type: string;
59098
+ 'x-route-path': string;
59099
+ deprecated?: never;
59100
+ 'x-deprecated'?: never;
59101
+ } | {
59102
+ description: string;
59103
+ properties: {
59104
+ access_grant_id: {
59105
+ description: string;
59106
+ format: string;
59107
+ type: string;
59108
+ };
59109
+ access_grant_key: {
59110
+ description: string;
59111
+ type: string;
59112
+ };
59113
+ created_at: {
59114
+ description: string;
59115
+ format: string;
59116
+ type: string;
59117
+ };
59118
+ ends_at: {
59119
+ description: string;
59120
+ type: string;
59121
+ };
59122
+ event_id: {
59123
+ description: string;
59124
+ format: string;
59125
+ type: string;
59126
+ };
59127
+ event_type: {
59128
+ enum: string[];
59129
+ type: string;
59130
+ };
59131
+ occurred_at: {
59132
+ description: string;
59133
+ format: string;
59134
+ type: string;
59135
+ };
59136
+ starts_at: {
59137
+ description: string;
59138
+ type: string;
59139
+ };
59140
+ workspace_id: {
59141
+ description: string;
59142
+ format: string;
59143
+ type: string;
59144
+ };
59145
+ access_code_id?: never;
59146
+ connected_account_custom_metadata?: never;
59147
+ connected_account_id?: never;
59148
+ device_custom_metadata?: never;
59149
+ device_id?: never;
59150
+ code?: never;
59151
+ backup_access_code_id?: never;
59152
+ acs_entrance_id?: never;
58865
59153
  access_grant_ids?: never;
58866
59154
  access_grant_keys?: never;
58867
59155
  access_method_id?: never;
@@ -58976,6 +59264,9 @@ declare const _default: {
58976
59264
  backup_access_code_id?: never;
58977
59265
  access_grant_id?: never;
58978
59266
  acs_entrance_id?: never;
59267
+ access_grant_key?: never;
59268
+ ends_at?: never;
59269
+ starts_at?: never;
58979
59270
  acs_system_id?: never;
58980
59271
  acs_credential_id?: never;
58981
59272
  acs_user_id?: never;
@@ -59078,6 +59369,119 @@ declare const _default: {
59078
59369
  backup_access_code_id?: never;
59079
59370
  access_grant_id?: never;
59080
59371
  acs_entrance_id?: never;
59372
+ access_grant_key?: never;
59373
+ ends_at?: never;
59374
+ starts_at?: never;
59375
+ is_backup_code?: never;
59376
+ acs_system_id?: never;
59377
+ acs_credential_id?: never;
59378
+ acs_user_id?: never;
59379
+ acs_encoder_id?: never;
59380
+ acs_access_group_id?: never;
59381
+ client_session_id?: never;
59382
+ connect_webview_id?: never;
59383
+ customer_key?: never;
59384
+ action_attempt_id?: never;
59385
+ action_type?: never;
59386
+ status?: never;
59387
+ error_code?: never;
59388
+ battery_level?: never;
59389
+ battery_status?: never;
59390
+ minut_metadata?: never;
59391
+ noise_level_decibels?: never;
59392
+ noise_level_nrs?: never;
59393
+ noise_threshold_id?: never;
59394
+ noise_threshold_name?: never;
59395
+ noiseaware_metadata?: never;
59396
+ method?: never;
59397
+ climate_preset_key?: never;
59398
+ is_fallback_climate_preset?: never;
59399
+ thermostat_schedule_id?: never;
59400
+ cooling_set_point_celsius?: never;
59401
+ cooling_set_point_fahrenheit?: never;
59402
+ fan_mode_setting?: never;
59403
+ heating_set_point_celsius?: never;
59404
+ heating_set_point_fahrenheit?: never;
59405
+ hvac_mode_setting?: never;
59406
+ lower_limit_celsius?: never;
59407
+ lower_limit_fahrenheit?: never;
59408
+ temperature_celsius?: never;
59409
+ temperature_fahrenheit?: never;
59410
+ upper_limit_celsius?: never;
59411
+ upper_limit_fahrenheit?: never;
59412
+ desired_temperature_celsius?: never;
59413
+ desired_temperature_fahrenheit?: never;
59414
+ device_name?: never;
59415
+ enrollment_automation_id?: never;
59416
+ };
59417
+ required: string[];
59418
+ type: string;
59419
+ 'x-route-path': string;
59420
+ deprecated?: never;
59421
+ 'x-deprecated'?: never;
59422
+ } | {
59423
+ description: string;
59424
+ properties: {
59425
+ access_grant_ids: {
59426
+ description: string;
59427
+ items: {
59428
+ format: string;
59429
+ type: string;
59430
+ };
59431
+ type: string;
59432
+ };
59433
+ access_grant_keys: {
59434
+ description: string;
59435
+ items: {
59436
+ type: string;
59437
+ };
59438
+ type: string;
59439
+ };
59440
+ access_method_id: {
59441
+ description: string;
59442
+ format: string;
59443
+ type: string;
59444
+ };
59445
+ code: {
59446
+ description: string;
59447
+ type: string;
59448
+ nullable?: never;
59449
+ };
59450
+ created_at: {
59451
+ description: string;
59452
+ format: string;
59453
+ type: string;
59454
+ };
59455
+ event_id: {
59456
+ description: string;
59457
+ format: string;
59458
+ type: string;
59459
+ };
59460
+ event_type: {
59461
+ enum: string[];
59462
+ type: string;
59463
+ };
59464
+ occurred_at: {
59465
+ description: string;
59466
+ format: string;
59467
+ type: string;
59468
+ };
59469
+ workspace_id: {
59470
+ description: string;
59471
+ format: string;
59472
+ type: string;
59473
+ };
59474
+ access_code_id?: never;
59475
+ connected_account_custom_metadata?: never;
59476
+ connected_account_id?: never;
59477
+ device_custom_metadata?: never;
59478
+ device_id?: never;
59479
+ backup_access_code_id?: never;
59480
+ access_grant_id?: never;
59481
+ acs_entrance_id?: never;
59482
+ access_grant_key?: never;
59483
+ ends_at?: never;
59484
+ starts_at?: never;
59081
59485
  is_backup_code?: never;
59082
59486
  acs_system_id?: never;
59083
59487
  acs_credential_id?: never;
@@ -59170,6 +59574,9 @@ declare const _default: {
59170
59574
  backup_access_code_id?: never;
59171
59575
  access_grant_id?: never;
59172
59576
  acs_entrance_id?: never;
59577
+ access_grant_key?: never;
59578
+ ends_at?: never;
59579
+ starts_at?: never;
59173
59580
  access_grant_ids?: never;
59174
59581
  access_grant_keys?: never;
59175
59582
  access_method_id?: never;
@@ -59269,6 +59676,9 @@ declare const _default: {
59269
59676
  backup_access_code_id?: never;
59270
59677
  access_grant_id?: never;
59271
59678
  acs_entrance_id?: never;
59679
+ access_grant_key?: never;
59680
+ ends_at?: never;
59681
+ starts_at?: never;
59272
59682
  access_grant_ids?: never;
59273
59683
  access_grant_keys?: never;
59274
59684
  access_method_id?: never;
@@ -59366,6 +59776,9 @@ declare const _default: {
59366
59776
  backup_access_code_id?: never;
59367
59777
  access_grant_id?: never;
59368
59778
  acs_entrance_id?: never;
59779
+ access_grant_key?: never;
59780
+ ends_at?: never;
59781
+ starts_at?: never;
59369
59782
  access_grant_ids?: never;
59370
59783
  access_grant_keys?: never;
59371
59784
  access_method_id?: never;
@@ -59464,6 +59877,9 @@ declare const _default: {
59464
59877
  backup_access_code_id?: never;
59465
59878
  access_grant_id?: never;
59466
59879
  acs_entrance_id?: never;
59880
+ access_grant_key?: never;
59881
+ ends_at?: never;
59882
+ starts_at?: never;
59467
59883
  access_grant_ids?: never;
59468
59884
  access_grant_keys?: never;
59469
59885
  access_method_id?: never;
@@ -59562,6 +59978,9 @@ declare const _default: {
59562
59978
  backup_access_code_id?: never;
59563
59979
  access_grant_id?: never;
59564
59980
  acs_entrance_id?: never;
59981
+ access_grant_key?: never;
59982
+ ends_at?: never;
59983
+ starts_at?: never;
59565
59984
  access_grant_ids?: never;
59566
59985
  access_grant_keys?: never;
59567
59986
  access_method_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;
@@ -120930,6 +121415,24 @@ type Routes = {
120930
121415
  event_type: 'access_grant.access_to_door_lost';
120931
121416
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
120932
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;
120933
121436
  } | {
120934
121437
  /** ID of the event. */
120935
121438
  event_id: string;
@@ -121018,6 +121521,24 @@ type Routes = {
121018
121521
  code?: string | undefined;
121019
121522
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
121020
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;
121021
121542
  } | {
121022
121543
  /** ID of the event. */
121023
121544
  event_id: string;
@@ -138890,6 +139411,24 @@ type Routes = {
138890
139411
  event_type: 'access_grant.access_to_door_lost';
138891
139412
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
138892
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;
138893
139432
  } | {
138894
139433
  /** ID of the event. */
138895
139434
  event_id: string;
@@ -138978,6 +139517,24 @@ type Routes = {
138978
139517
  code?: string | undefined;
138979
139518
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
138980
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;
138981
139538
  } | {
138982
139539
  /** ID of the event. */
138983
139540
  event_id: string;
@@ -140303,9 +140860,9 @@ type Routes = {
140303
140860
  /** IDs of the access codes for which you want to list events. */
140304
140861
  access_code_ids?: string[] | undefined;
140305
140862
  /** Type of the events that you want to list. */
140306
- 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;
140307
140864
  /** Types of the events that you want to list. */
140308
- 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;
140309
140866
  /** ID of the connected account for which you want to list events. */
140310
140867
  connected_account_id?: string | undefined;
140311
140868
  /** ID of the Connect Webview for which you want to list events. */
@@ -140796,6 +141353,24 @@ type Routes = {
140796
141353
  event_type: 'access_grant.access_to_door_lost';
140797
141354
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
140798
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;
140799
141374
  } | {
140800
141375
  /** ID of the event. */
140801
141376
  event_id: string;
@@ -140884,6 +141459,24 @@ type Routes = {
140884
141459
  code?: string | undefined;
140885
141460
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
140886
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;
140887
141480
  } | {
140888
141481
  /** ID of the event. */
140889
141482
  event_id: string;
@@ -159378,9 +159971,9 @@ type Routes = {
159378
159971
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
159379
159972
  between?: (string | Date)[] | undefined;
159380
159973
  /** Type of the events that you want to list. */
159381
- 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;
159382
159975
  /** Types of the events that you want to list. */
159383
- 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;
159384
159977
  /** Numerical limit on the number of events to return. */
159385
159978
  limit?: number;
159386
159979
  };
@@ -159865,6 +160458,24 @@ type Routes = {
159865
160458
  event_type: 'access_grant.access_to_door_lost';
159866
160459
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
159867
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;
159868
160479
  } | {
159869
160480
  /** ID of the event. */
159870
160481
  event_id: string;
@@ -159953,6 +160564,24 @@ type Routes = {
159953
160564
  code?: string | undefined;
159954
160565
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
159955
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;
159956
160585
  } | {
159957
160586
  /** ID of the event. */
159958
160587
  event_id: string;
@@ -187502,6 +188131,24 @@ type Routes = {
187502
188131
  event_type: 'access_grant.access_to_door_lost';
187503
188132
  /** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
187504
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;
187505
188152
  } | {
187506
188153
  /** ID of the event. */
187507
188154
  event_id: string;
@@ -187590,6 +188237,24 @@ type Routes = {
187590
188237
  code?: string | undefined;
187591
188238
  /** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
187592
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;
187593
188258
  } | {
187594
188259
  /** ID of the event. */
187595
188260
  event_id: string;