@seamapi/types 1.739.0 → 1.741.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.
Files changed (28) hide show
  1. package/dist/connect.cjs +355 -4
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1348 -61
  4. package/dist/index.cjs +355 -4
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +62 -0
  7. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +53 -0
  8. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +19 -0
  9. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +62 -0
  11. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +53 -0
  12. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +19 -0
  13. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  14. package/lib/seam/connect/models/batch.d.ts +296 -0
  15. package/lib/seam/connect/models/events/devices.d.ts +156 -0
  16. package/lib/seam/connect/models/events/devices.js +25 -0
  17. package/lib/seam/connect/models/events/devices.js.map +1 -1
  18. package/lib/seam/connect/models/events/seam-event.d.ts +77 -1
  19. package/lib/seam/connect/openapi.d.ts +407 -0
  20. package/lib/seam/connect/openapi.js +305 -0
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +388 -4
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +26 -0
  25. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +26 -0
  26. package/src/lib/seam/connect/models/events/devices.ts +31 -0
  27. package/src/lib/seam/connect/openapi.ts +337 -0
  28. package/src/lib/seam/connect/route-types.ts +456 -0
@@ -4485,6 +4485,25 @@ declare const acs_access_group: z.ZodObject<{
4485
4485
  to: {
4486
4486
  acs_entrance_id: string | null;
4487
4487
  };
4488
+ }>, z.ZodObject<{
4489
+ created_at: z.ZodString;
4490
+ message: z.ZodString;
4491
+ } & {
4492
+ mutation_code: z.ZodLiteral<"deferring_user_membership_update">;
4493
+ acs_user_id: z.ZodString;
4494
+ variant: z.ZodEnum<["adding", "removing"]>;
4495
+ }, "strip", z.ZodTypeAny, {
4496
+ message: string;
4497
+ created_at: string;
4498
+ mutation_code: "deferring_user_membership_update";
4499
+ acs_user_id: string;
4500
+ variant: "removing" | "adding";
4501
+ }, {
4502
+ message: string;
4503
+ created_at: string;
4504
+ mutation_code: "deferring_user_membership_update";
4505
+ acs_user_id: string;
4506
+ variant: "removing" | "adding";
4488
4507
  }>]>, "many">;
4489
4508
  } & {
4490
4509
  is_managed: z.ZodLiteral<true>;
@@ -4554,6 +4573,12 @@ declare const acs_access_group: z.ZodObject<{
4554
4573
  to: {
4555
4574
  acs_entrance_id: string | null;
4556
4575
  };
4576
+ } | {
4577
+ message: string;
4578
+ created_at: string;
4579
+ mutation_code: "deferring_user_membership_update";
4580
+ acs_user_id: string;
4581
+ variant: "removing" | "adding";
4557
4582
  })[];
4558
4583
  acs_access_group_id: string;
4559
4584
  acs_system_id: string;
@@ -4631,6 +4656,12 @@ declare const acs_access_group: z.ZodObject<{
4631
4656
  to: {
4632
4657
  acs_entrance_id: string | null;
4633
4658
  };
4659
+ } | {
4660
+ message: string;
4661
+ created_at: string;
4662
+ mutation_code: "deferring_user_membership_update";
4663
+ acs_user_id: string;
4664
+ variant: "removing" | "adding";
4634
4665
  })[];
4635
4666
  acs_access_group_id: string;
4636
4667
  acs_system_id: string;
@@ -4884,6 +4915,25 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4884
4915
  to: {
4885
4916
  acs_entrance_id: string | null;
4886
4917
  };
4918
+ }>, z.ZodObject<{
4919
+ created_at: z.ZodString;
4920
+ message: z.ZodString;
4921
+ } & {
4922
+ mutation_code: z.ZodLiteral<"deferring_user_membership_update">;
4923
+ acs_user_id: z.ZodString;
4924
+ variant: z.ZodEnum<["adding", "removing"]>;
4925
+ }, "strip", z.ZodTypeAny, {
4926
+ message: string;
4927
+ created_at: string;
4928
+ mutation_code: "deferring_user_membership_update";
4929
+ acs_user_id: string;
4930
+ variant: "removing" | "adding";
4931
+ }, {
4932
+ message: string;
4933
+ created_at: string;
4934
+ mutation_code: "deferring_user_membership_update";
4935
+ acs_user_id: string;
4936
+ variant: "removing" | "adding";
4887
4937
  }>]>, "many">;
4888
4938
  } & {
4889
4939
  is_managed: z.ZodLiteral<false>;
@@ -4953,6 +5003,12 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4953
5003
  to: {
4954
5004
  acs_entrance_id: string | null;
4955
5005
  };
5006
+ } | {
5007
+ message: string;
5008
+ created_at: string;
5009
+ mutation_code: "deferring_user_membership_update";
5010
+ acs_user_id: string;
5011
+ variant: "removing" | "adding";
4956
5012
  })[];
4957
5013
  acs_access_group_id: string;
4958
5014
  acs_system_id: string;
@@ -5030,6 +5086,12 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
5030
5086
  to: {
5031
5087
  acs_entrance_id: string | null;
5032
5088
  };
5089
+ } | {
5090
+ message: string;
5091
+ created_at: string;
5092
+ mutation_code: "deferring_user_membership_update";
5093
+ acs_user_id: string;
5094
+ variant: "removing" | "adding";
5033
5095
  })[];
5034
5096
  acs_access_group_id: string;
5035
5097
  acs_system_id: string;
@@ -6711,6 +6773,25 @@ declare const acs_user: z.ZodObject<{
6711
6773
  to: {
6712
6774
  acs_access_group_id: string | null;
6713
6775
  };
6776
+ }>, z.ZodObject<{
6777
+ created_at: z.ZodString;
6778
+ message: z.ZodString;
6779
+ } & {
6780
+ mutation_code: z.ZodLiteral<"deferring_group_membership_update">;
6781
+ acs_access_group_id: z.ZodString;
6782
+ variant: z.ZodEnum<["adding", "removing"]>;
6783
+ }, "strip", z.ZodTypeAny, {
6784
+ message: string;
6785
+ created_at: string;
6786
+ mutation_code: "deferring_group_membership_update";
6787
+ variant: "removing" | "adding";
6788
+ acs_access_group_id: string;
6789
+ }, {
6790
+ message: string;
6791
+ created_at: string;
6792
+ mutation_code: "deferring_group_membership_update";
6793
+ variant: "removing" | "adding";
6794
+ acs_access_group_id: string;
6714
6795
  }>]>, "many">>;
6715
6796
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
6716
6797
  connected_account_id: z.ZodString;
@@ -6843,6 +6924,12 @@ declare const acs_user: z.ZodObject<{
6843
6924
  to: {
6844
6925
  acs_access_group_id: string | null;
6845
6926
  };
6927
+ } | {
6928
+ message: string;
6929
+ created_at: string;
6930
+ mutation_code: "deferring_group_membership_update";
6931
+ variant: "removing" | "adding";
6932
+ acs_access_group_id: string;
6846
6933
  })[] | undefined;
6847
6934
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
6848
6935
  external_type_display_name?: string | undefined;
@@ -6974,6 +7061,12 @@ declare const acs_user: z.ZodObject<{
6974
7061
  to: {
6975
7062
  acs_access_group_id: string | null;
6976
7063
  };
7064
+ } | {
7065
+ message: string;
7066
+ created_at: string;
7067
+ mutation_code: "deferring_group_membership_update";
7068
+ variant: "removing" | "adding";
7069
+ acs_access_group_id: string;
6977
7070
  })[] | undefined;
6978
7071
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
6979
7072
  external_type_display_name?: string | undefined;
@@ -7378,6 +7471,25 @@ declare const unmanaged_acs_user: z.ZodObject<{
7378
7471
  to: {
7379
7472
  acs_access_group_id: string | null;
7380
7473
  };
7474
+ }>, z.ZodObject<{
7475
+ created_at: z.ZodString;
7476
+ message: z.ZodString;
7477
+ } & {
7478
+ mutation_code: z.ZodLiteral<"deferring_group_membership_update">;
7479
+ acs_access_group_id: z.ZodString;
7480
+ variant: z.ZodEnum<["adding", "removing"]>;
7481
+ }, "strip", z.ZodTypeAny, {
7482
+ message: string;
7483
+ created_at: string;
7484
+ mutation_code: "deferring_group_membership_update";
7485
+ variant: "removing" | "adding";
7486
+ acs_access_group_id: string;
7487
+ }, {
7488
+ message: string;
7489
+ created_at: string;
7490
+ mutation_code: "deferring_group_membership_update";
7491
+ variant: "removing" | "adding";
7492
+ acs_access_group_id: string;
7381
7493
  }>]>, "many">>;
7382
7494
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
7383
7495
  connected_account_id: z.ZodString;
@@ -7510,6 +7622,12 @@ declare const unmanaged_acs_user: z.ZodObject<{
7510
7622
  to: {
7511
7623
  acs_access_group_id: string | null;
7512
7624
  };
7625
+ } | {
7626
+ message: string;
7627
+ created_at: string;
7628
+ mutation_code: "deferring_group_membership_update";
7629
+ variant: "removing" | "adding";
7630
+ acs_access_group_id: string;
7513
7631
  })[] | undefined;
7514
7632
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
7515
7633
  external_type_display_name?: string | undefined;
@@ -7641,6 +7759,12 @@ declare const unmanaged_acs_user: z.ZodObject<{
7641
7759
  to: {
7642
7760
  acs_access_group_id: string | null;
7643
7761
  };
7762
+ } | {
7763
+ message: string;
7764
+ created_at: string;
7765
+ mutation_code: "deferring_group_membership_update";
7766
+ variant: "removing" | "adding";
7767
+ acs_access_group_id: string;
7644
7768
  })[] | undefined;
7645
7769
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
7646
7770
  external_type_display_name?: string | undefined;
@@ -17612,6 +17736,25 @@ declare const batch: z.ZodObject<{
17612
17736
  to: {
17613
17737
  acs_access_group_id: string | null;
17614
17738
  };
17739
+ }>, z.ZodObject<{
17740
+ created_at: z.ZodString;
17741
+ message: z.ZodString;
17742
+ } & {
17743
+ mutation_code: z.ZodLiteral<"deferring_group_membership_update">;
17744
+ acs_access_group_id: z.ZodString;
17745
+ variant: z.ZodEnum<["adding", "removing"]>;
17746
+ }, "strip", z.ZodTypeAny, {
17747
+ message: string;
17748
+ created_at: string;
17749
+ mutation_code: "deferring_group_membership_update";
17750
+ variant: "removing" | "adding";
17751
+ acs_access_group_id: string;
17752
+ }, {
17753
+ message: string;
17754
+ created_at: string;
17755
+ mutation_code: "deferring_group_membership_update";
17756
+ variant: "removing" | "adding";
17757
+ acs_access_group_id: string;
17615
17758
  }>]>, "many">>;
17616
17759
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
17617
17760
  connected_account_id: z.ZodString;
@@ -17744,6 +17887,12 @@ declare const batch: z.ZodObject<{
17744
17887
  to: {
17745
17888
  acs_access_group_id: string | null;
17746
17889
  };
17890
+ } | {
17891
+ message: string;
17892
+ created_at: string;
17893
+ mutation_code: "deferring_group_membership_update";
17894
+ variant: "removing" | "adding";
17895
+ acs_access_group_id: string;
17747
17896
  })[] | undefined;
17748
17897
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
17749
17898
  external_type_display_name?: string | undefined;
@@ -17875,6 +18024,12 @@ declare const batch: z.ZodObject<{
17875
18024
  to: {
17876
18025
  acs_access_group_id: string | null;
17877
18026
  };
18027
+ } | {
18028
+ message: string;
18029
+ created_at: string;
18030
+ mutation_code: "deferring_group_membership_update";
18031
+ variant: "removing" | "adding";
18032
+ acs_access_group_id: string;
17878
18033
  })[] | undefined;
17879
18034
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
17880
18035
  external_type_display_name?: string | undefined;
@@ -18136,6 +18291,25 @@ declare const batch: z.ZodObject<{
18136
18291
  to: {
18137
18292
  acs_entrance_id: string | null;
18138
18293
  };
18294
+ }>, z.ZodObject<{
18295
+ created_at: z.ZodString;
18296
+ message: z.ZodString;
18297
+ } & {
18298
+ mutation_code: z.ZodLiteral<"deferring_user_membership_update">;
18299
+ acs_user_id: z.ZodString;
18300
+ variant: z.ZodEnum<["adding", "removing"]>;
18301
+ }, "strip", z.ZodTypeAny, {
18302
+ message: string;
18303
+ created_at: string;
18304
+ mutation_code: "deferring_user_membership_update";
18305
+ acs_user_id: string;
18306
+ variant: "removing" | "adding";
18307
+ }, {
18308
+ message: string;
18309
+ created_at: string;
18310
+ mutation_code: "deferring_user_membership_update";
18311
+ acs_user_id: string;
18312
+ variant: "removing" | "adding";
18139
18313
  }>]>, "many">;
18140
18314
  } & {
18141
18315
  is_managed: z.ZodLiteral<true>;
@@ -18205,6 +18379,12 @@ declare const batch: z.ZodObject<{
18205
18379
  to: {
18206
18380
  acs_entrance_id: string | null;
18207
18381
  };
18382
+ } | {
18383
+ message: string;
18384
+ created_at: string;
18385
+ mutation_code: "deferring_user_membership_update";
18386
+ acs_user_id: string;
18387
+ variant: "removing" | "adding";
18208
18388
  })[];
18209
18389
  acs_access_group_id: string;
18210
18390
  acs_system_id: string;
@@ -18282,6 +18462,12 @@ declare const batch: z.ZodObject<{
18282
18462
  to: {
18283
18463
  acs_entrance_id: string | null;
18284
18464
  };
18465
+ } | {
18466
+ message: string;
18467
+ created_at: string;
18468
+ mutation_code: "deferring_user_membership_update";
18469
+ acs_user_id: string;
18470
+ variant: "removing" | "adding";
18285
18471
  })[];
18286
18472
  acs_access_group_id: string;
18287
18473
  acs_system_id: string;
@@ -23222,6 +23408,25 @@ declare const batch: z.ZodObject<{
23222
23408
  to: {
23223
23409
  acs_access_group_id: string | null;
23224
23410
  };
23411
+ }>, z.ZodObject<{
23412
+ created_at: z.ZodString;
23413
+ message: z.ZodString;
23414
+ } & {
23415
+ mutation_code: z.ZodLiteral<"deferring_group_membership_update">;
23416
+ acs_access_group_id: z.ZodString;
23417
+ variant: z.ZodEnum<["adding", "removing"]>;
23418
+ }, "strip", z.ZodTypeAny, {
23419
+ message: string;
23420
+ created_at: string;
23421
+ mutation_code: "deferring_group_membership_update";
23422
+ variant: "removing" | "adding";
23423
+ acs_access_group_id: string;
23424
+ }, {
23425
+ message: string;
23426
+ created_at: string;
23427
+ mutation_code: "deferring_group_membership_update";
23428
+ variant: "removing" | "adding";
23429
+ acs_access_group_id: string;
23225
23430
  }>]>, "many">>;
23226
23431
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
23227
23432
  connected_account_id: z.ZodString;
@@ -23354,6 +23559,12 @@ declare const batch: z.ZodObject<{
23354
23559
  to: {
23355
23560
  acs_access_group_id: string | null;
23356
23561
  };
23562
+ } | {
23563
+ message: string;
23564
+ created_at: string;
23565
+ mutation_code: "deferring_group_membership_update";
23566
+ variant: "removing" | "adding";
23567
+ acs_access_group_id: string;
23357
23568
  })[] | undefined;
23358
23569
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
23359
23570
  external_type_display_name?: string | undefined;
@@ -23485,6 +23696,12 @@ declare const batch: z.ZodObject<{
23485
23696
  to: {
23486
23697
  acs_access_group_id: string | null;
23487
23698
  };
23699
+ } | {
23700
+ message: string;
23701
+ created_at: string;
23702
+ mutation_code: "deferring_group_membership_update";
23703
+ variant: "removing" | "adding";
23704
+ acs_access_group_id: string;
23488
23705
  })[] | undefined;
23489
23706
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
23490
23707
  external_type_display_name?: string | undefined;
@@ -23746,6 +23963,25 @@ declare const batch: z.ZodObject<{
23746
23963
  to: {
23747
23964
  acs_entrance_id: string | null;
23748
23965
  };
23966
+ }>, z.ZodObject<{
23967
+ created_at: z.ZodString;
23968
+ message: z.ZodString;
23969
+ } & {
23970
+ mutation_code: z.ZodLiteral<"deferring_user_membership_update">;
23971
+ acs_user_id: z.ZodString;
23972
+ variant: z.ZodEnum<["adding", "removing"]>;
23973
+ }, "strip", z.ZodTypeAny, {
23974
+ message: string;
23975
+ created_at: string;
23976
+ mutation_code: "deferring_user_membership_update";
23977
+ acs_user_id: string;
23978
+ variant: "removing" | "adding";
23979
+ }, {
23980
+ message: string;
23981
+ created_at: string;
23982
+ mutation_code: "deferring_user_membership_update";
23983
+ acs_user_id: string;
23984
+ variant: "removing" | "adding";
23749
23985
  }>]>, "many">;
23750
23986
  } & {
23751
23987
  is_managed: z.ZodLiteral<false>;
@@ -23815,6 +24051,12 @@ declare const batch: z.ZodObject<{
23815
24051
  to: {
23816
24052
  acs_entrance_id: string | null;
23817
24053
  };
24054
+ } | {
24055
+ message: string;
24056
+ created_at: string;
24057
+ mutation_code: "deferring_user_membership_update";
24058
+ acs_user_id: string;
24059
+ variant: "removing" | "adding";
23818
24060
  })[];
23819
24061
  acs_access_group_id: string;
23820
24062
  acs_system_id: string;
@@ -23892,6 +24134,12 @@ declare const batch: z.ZodObject<{
23892
24134
  to: {
23893
24135
  acs_entrance_id: string | null;
23894
24136
  };
24137
+ } | {
24138
+ message: string;
24139
+ created_at: string;
24140
+ mutation_code: "deferring_user_membership_update";
24141
+ acs_user_id: string;
24142
+ variant: "removing" | "adding";
23895
24143
  })[];
23896
24144
  acs_access_group_id: string;
23897
24145
  acs_system_id: string;
@@ -33012,6 +33260,82 @@ declare const batch: z.ZodObject<{
33012
33260
  workspace_id: z.ZodString;
33013
33261
  created_at: z.ZodString;
33014
33262
  occurred_at: z.ZodString;
33263
+ } & {
33264
+ device_id: z.ZodString;
33265
+ connected_account_id: z.ZodString;
33266
+ customer_key: z.ZodOptional<z.ZodString>;
33267
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
33268
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
33269
+ } & {
33270
+ event_type: z.ZodLiteral<"camera.activated">;
33271
+ activation_reason: z.ZodEnum<["motion_detected"]>;
33272
+ motion_sub_type: z.ZodOptional<z.ZodEnum<["human", "vehicle", "package", "other"]>>;
33273
+ }, "strip", z.ZodTypeAny, {
33274
+ device_id: string;
33275
+ workspace_id: string;
33276
+ created_at: string;
33277
+ connected_account_id: string;
33278
+ event_id: string;
33279
+ occurred_at: string;
33280
+ event_type: "camera.activated";
33281
+ activation_reason: "motion_detected";
33282
+ customer_key?: string | undefined;
33283
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
33284
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
33285
+ motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
33286
+ }, {
33287
+ device_id: string;
33288
+ workspace_id: string;
33289
+ created_at: string;
33290
+ connected_account_id: string;
33291
+ event_id: string;
33292
+ occurred_at: string;
33293
+ event_type: "camera.activated";
33294
+ activation_reason: "motion_detected";
33295
+ customer_key?: string | undefined;
33296
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
33297
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
33298
+ motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
33299
+ }>, z.ZodObject<{
33300
+ event_id: z.ZodString;
33301
+ workspace_id: z.ZodString;
33302
+ created_at: z.ZodString;
33303
+ occurred_at: z.ZodString;
33304
+ } & {
33305
+ device_id: z.ZodString;
33306
+ connected_account_id: z.ZodString;
33307
+ customer_key: z.ZodOptional<z.ZodString>;
33308
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
33309
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
33310
+ } & {
33311
+ event_type: z.ZodLiteral<"device.doorbell_rang">;
33312
+ }, "strip", z.ZodTypeAny, {
33313
+ device_id: string;
33314
+ workspace_id: string;
33315
+ created_at: string;
33316
+ connected_account_id: string;
33317
+ event_id: string;
33318
+ occurred_at: string;
33319
+ event_type: "device.doorbell_rang";
33320
+ customer_key?: string | undefined;
33321
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
33322
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
33323
+ }, {
33324
+ device_id: string;
33325
+ workspace_id: string;
33326
+ created_at: string;
33327
+ connected_account_id: string;
33328
+ event_id: string;
33329
+ occurred_at: string;
33330
+ event_type: "device.doorbell_rang";
33331
+ customer_key?: string | undefined;
33332
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
33333
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
33334
+ }>, z.ZodObject<{
33335
+ event_id: z.ZodString;
33336
+ workspace_id: z.ZodString;
33337
+ created_at: z.ZodString;
33338
+ occurred_at: z.ZodString;
33015
33339
  } & {
33016
33340
  enrollment_automation_id: z.ZodString;
33017
33341
  } & {
@@ -37481,6 +37805,12 @@ declare const batch: z.ZodObject<{
37481
37805
  to: {
37482
37806
  acs_access_group_id: string | null;
37483
37807
  };
37808
+ } | {
37809
+ message: string;
37810
+ created_at: string;
37811
+ mutation_code: "deferring_group_membership_update";
37812
+ variant: "removing" | "adding";
37813
+ acs_access_group_id: string;
37484
37814
  })[] | undefined;
37485
37815
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
37486
37816
  external_type_display_name?: string | undefined;
@@ -37567,6 +37897,12 @@ declare const batch: z.ZodObject<{
37567
37897
  to: {
37568
37898
  acs_entrance_id: string | null;
37569
37899
  };
37900
+ } | {
37901
+ message: string;
37902
+ created_at: string;
37903
+ mutation_code: "deferring_user_membership_update";
37904
+ acs_user_id: string;
37905
+ variant: "removing" | "adding";
37570
37906
  })[];
37571
37907
  acs_access_group_id: string;
37572
37908
  acs_system_id: string;
@@ -38594,6 +38930,12 @@ declare const batch: z.ZodObject<{
38594
38930
  to: {
38595
38931
  acs_access_group_id: string | null;
38596
38932
  };
38933
+ } | {
38934
+ message: string;
38935
+ created_at: string;
38936
+ mutation_code: "deferring_group_membership_update";
38937
+ variant: "removing" | "adding";
38938
+ acs_access_group_id: string;
38597
38939
  })[] | undefined;
38598
38940
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
38599
38941
  external_type_display_name?: string | undefined;
@@ -38680,6 +39022,12 @@ declare const batch: z.ZodObject<{
38680
39022
  to: {
38681
39023
  acs_entrance_id: string | null;
38682
39024
  };
39025
+ } | {
39026
+ message: string;
39027
+ created_at: string;
39028
+ mutation_code: "deferring_user_membership_update";
39029
+ acs_user_id: string;
39030
+ variant: "removing" | "adding";
38683
39031
  })[];
38684
39032
  acs_access_group_id: string;
38685
39033
  acs_system_id: string;
@@ -40424,6 +40772,30 @@ declare const batch: z.ZodObject<{
40424
40772
  customer_key?: string | undefined;
40425
40773
  device_custom_metadata?: Record<string, string | boolean> | undefined;
40426
40774
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
40775
+ } | {
40776
+ device_id: string;
40777
+ workspace_id: string;
40778
+ created_at: string;
40779
+ connected_account_id: string;
40780
+ event_id: string;
40781
+ occurred_at: string;
40782
+ event_type: "camera.activated";
40783
+ activation_reason: "motion_detected";
40784
+ customer_key?: string | undefined;
40785
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
40786
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
40787
+ motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
40788
+ } | {
40789
+ device_id: string;
40790
+ workspace_id: string;
40791
+ created_at: string;
40792
+ connected_account_id: string;
40793
+ event_id: string;
40794
+ occurred_at: string;
40795
+ event_type: "device.doorbell_rang";
40796
+ customer_key?: string | undefined;
40797
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
40798
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
40427
40799
  } | {
40428
40800
  workspace_id: string;
40429
40801
  created_at: string;
@@ -42218,6 +42590,12 @@ declare const batch: z.ZodObject<{
42218
42590
  to: {
42219
42591
  acs_access_group_id: string | null;
42220
42592
  };
42593
+ } | {
42594
+ message: string;
42595
+ created_at: string;
42596
+ mutation_code: "deferring_group_membership_update";
42597
+ variant: "removing" | "adding";
42598
+ acs_access_group_id: string;
42221
42599
  })[] | undefined;
42222
42600
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
42223
42601
  external_type_display_name?: string | undefined;
@@ -42304,6 +42682,12 @@ declare const batch: z.ZodObject<{
42304
42682
  to: {
42305
42683
  acs_entrance_id: string | null;
42306
42684
  };
42685
+ } | {
42686
+ message: string;
42687
+ created_at: string;
42688
+ mutation_code: "deferring_user_membership_update";
42689
+ acs_user_id: string;
42690
+ variant: "removing" | "adding";
42307
42691
  })[];
42308
42692
  acs_access_group_id: string;
42309
42693
  acs_system_id: string;
@@ -43331,6 +43715,12 @@ declare const batch: z.ZodObject<{
43331
43715
  to: {
43332
43716
  acs_access_group_id: string | null;
43333
43717
  };
43718
+ } | {
43719
+ message: string;
43720
+ created_at: string;
43721
+ mutation_code: "deferring_group_membership_update";
43722
+ variant: "removing" | "adding";
43723
+ acs_access_group_id: string;
43334
43724
  })[] | undefined;
43335
43725
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
43336
43726
  external_type_display_name?: string | undefined;
@@ -43417,6 +43807,12 @@ declare const batch: z.ZodObject<{
43417
43807
  to: {
43418
43808
  acs_entrance_id: string | null;
43419
43809
  };
43810
+ } | {
43811
+ message: string;
43812
+ created_at: string;
43813
+ mutation_code: "deferring_user_membership_update";
43814
+ acs_user_id: string;
43815
+ variant: "removing" | "adding";
43420
43816
  })[];
43421
43817
  acs_access_group_id: string;
43422
43818
  acs_system_id: string;
@@ -45161,6 +45557,30 @@ declare const batch: z.ZodObject<{
45161
45557
  customer_key?: string | undefined;
45162
45558
  device_custom_metadata?: Record<string, string | boolean> | undefined;
45163
45559
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
45560
+ } | {
45561
+ device_id: string;
45562
+ workspace_id: string;
45563
+ created_at: string;
45564
+ connected_account_id: string;
45565
+ event_id: string;
45566
+ occurred_at: string;
45567
+ event_type: "camera.activated";
45568
+ activation_reason: "motion_detected";
45569
+ customer_key?: string | undefined;
45570
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
45571
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
45572
+ motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
45573
+ } | {
45574
+ device_id: string;
45575
+ workspace_id: string;
45576
+ created_at: string;
45577
+ connected_account_id: string;
45578
+ event_id: string;
45579
+ occurred_at: string;
45580
+ event_type: "device.doorbell_rang";
45581
+ customer_key?: string | undefined;
45582
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
45583
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
45164
45584
  } | {
45165
45585
  workspace_id: string;
45166
45586
  created_at: string;
@@ -60291,6 +60711,82 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
60291
60711
  workspace_id: z.ZodString;
60292
60712
  created_at: z.ZodString;
60293
60713
  occurred_at: z.ZodString;
60714
+ } & {
60715
+ device_id: z.ZodString;
60716
+ connected_account_id: z.ZodString;
60717
+ customer_key: z.ZodOptional<z.ZodString>;
60718
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
60719
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
60720
+ } & {
60721
+ event_type: z.ZodLiteral<"camera.activated">;
60722
+ activation_reason: z.ZodEnum<["motion_detected"]>;
60723
+ motion_sub_type: z.ZodOptional<z.ZodEnum<["human", "vehicle", "package", "other"]>>;
60724
+ }, "strip", z.ZodTypeAny, {
60725
+ device_id: string;
60726
+ workspace_id: string;
60727
+ created_at: string;
60728
+ connected_account_id: string;
60729
+ event_id: string;
60730
+ occurred_at: string;
60731
+ event_type: "camera.activated";
60732
+ activation_reason: "motion_detected";
60733
+ customer_key?: string | undefined;
60734
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
60735
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
60736
+ motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
60737
+ }, {
60738
+ device_id: string;
60739
+ workspace_id: string;
60740
+ created_at: string;
60741
+ connected_account_id: string;
60742
+ event_id: string;
60743
+ occurred_at: string;
60744
+ event_type: "camera.activated";
60745
+ activation_reason: "motion_detected";
60746
+ customer_key?: string | undefined;
60747
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
60748
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
60749
+ motion_sub_type?: "human" | "vehicle" | "package" | "other" | undefined;
60750
+ }>, z.ZodObject<{
60751
+ event_id: z.ZodString;
60752
+ workspace_id: z.ZodString;
60753
+ created_at: z.ZodString;
60754
+ occurred_at: z.ZodString;
60755
+ } & {
60756
+ device_id: z.ZodString;
60757
+ connected_account_id: z.ZodString;
60758
+ customer_key: z.ZodOptional<z.ZodString>;
60759
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
60760
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
60761
+ } & {
60762
+ event_type: z.ZodLiteral<"device.doorbell_rang">;
60763
+ }, "strip", z.ZodTypeAny, {
60764
+ device_id: string;
60765
+ workspace_id: string;
60766
+ created_at: string;
60767
+ connected_account_id: string;
60768
+ event_id: string;
60769
+ occurred_at: string;
60770
+ event_type: "device.doorbell_rang";
60771
+ customer_key?: string | undefined;
60772
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
60773
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
60774
+ }, {
60775
+ device_id: string;
60776
+ workspace_id: string;
60777
+ created_at: string;
60778
+ connected_account_id: string;
60779
+ event_id: string;
60780
+ occurred_at: string;
60781
+ event_type: "device.doorbell_rang";
60782
+ customer_key?: string | undefined;
60783
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
60784
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
60785
+ }>, z.ZodObject<{
60786
+ event_id: z.ZodString;
60787
+ workspace_id: z.ZodString;
60788
+ created_at: z.ZodString;
60789
+ occurred_at: z.ZodString;
60294
60790
  } & {
60295
60791
  enrollment_automation_id: z.ZodString;
60296
60792
  } & {
@@ -62190,6 +62686,8 @@ declare const _default: {
62190
62686
  };
62191
62687
  from?: never;
62192
62688
  to?: never;
62689
+ acs_user_id?: never;
62690
+ variant?: never;
62193
62691
  };
62194
62692
  required: string[];
62195
62693
  type: string;
@@ -62242,6 +62740,8 @@ declare const _default: {
62242
62740
  type: string;
62243
62741
  required?: never;
62244
62742
  };
62743
+ acs_user_id?: never;
62744
+ variant?: never;
62245
62745
  };
62246
62746
  required: string[];
62247
62747
  type: string;
@@ -62306,6 +62806,8 @@ declare const _default: {
62306
62806
  required: string[];
62307
62807
  type: string;
62308
62808
  };
62809
+ acs_user_id?: never;
62810
+ variant?: never;
62309
62811
  };
62310
62812
  required: string[];
62311
62813
  type: string;
@@ -62360,6 +62862,8 @@ declare const _default: {
62360
62862
  required: string[];
62361
62863
  type: string;
62362
62864
  };
62865
+ acs_user_id?: never;
62866
+ variant?: never;
62363
62867
  };
62364
62868
  required: string[];
62365
62869
  type: string;
@@ -62414,6 +62918,40 @@ declare const _default: {
62414
62918
  required: string[];
62415
62919
  type: string;
62416
62920
  };
62921
+ acs_user_id?: never;
62922
+ variant?: never;
62923
+ };
62924
+ required: string[];
62925
+ type: string;
62926
+ } | {
62927
+ description: string;
62928
+ properties: {
62929
+ acs_user_id: {
62930
+ description: string;
62931
+ format: string;
62932
+ type: string;
62933
+ };
62934
+ created_at: {
62935
+ description: string;
62936
+ format: string;
62937
+ type: string;
62938
+ };
62939
+ message: {
62940
+ description: string;
62941
+ type: string;
62942
+ };
62943
+ mutation_code: {
62944
+ description: string;
62945
+ enum: string[];
62946
+ type: string;
62947
+ };
62948
+ variant: {
62949
+ description: string;
62950
+ enum: string[];
62951
+ type: string;
62952
+ };
62953
+ from?: never;
62954
+ to?: never;
62417
62955
  };
62418
62956
  required: string[];
62419
62957
  type: string;
@@ -63513,6 +64051,8 @@ declare const _default: {
63513
64051
  scheduled_at?: never;
63514
64052
  from?: never;
63515
64053
  to?: never;
64054
+ acs_access_group_id?: never;
64055
+ variant?: never;
63516
64056
  };
63517
64057
  required: string[];
63518
64058
  type: string;
@@ -63541,6 +64081,8 @@ declare const _default: {
63541
64081
  };
63542
64082
  from?: never;
63543
64083
  to?: never;
64084
+ acs_access_group_id?: never;
64085
+ variant?: never;
63544
64086
  };
63545
64087
  required: string[];
63546
64088
  type: string;
@@ -63615,6 +64157,8 @@ declare const _default: {
63615
64157
  required?: never;
63616
64158
  };
63617
64159
  scheduled_at?: never;
64160
+ acs_access_group_id?: never;
64161
+ variant?: never;
63618
64162
  };
63619
64163
  required: string[];
63620
64164
  type: string;
@@ -63685,6 +64229,8 @@ declare const _default: {
63685
64229
  type: string;
63686
64230
  };
63687
64231
  scheduled_at?: never;
64232
+ acs_access_group_id?: never;
64233
+ variant?: never;
63688
64234
  };
63689
64235
  required: string[];
63690
64236
  type: string;
@@ -63738,6 +64284,8 @@ declare const _default: {
63738
64284
  type: string;
63739
64285
  };
63740
64286
  scheduled_at?: never;
64287
+ acs_access_group_id?: never;
64288
+ variant?: never;
63741
64289
  };
63742
64290
  required: string[];
63743
64291
  type: string;
@@ -63797,6 +64345,41 @@ declare const _default: {
63797
64345
  type: string;
63798
64346
  };
63799
64347
  scheduled_at?: never;
64348
+ acs_access_group_id?: never;
64349
+ variant?: never;
64350
+ };
64351
+ required: string[];
64352
+ type: string;
64353
+ } | {
64354
+ description: string;
64355
+ properties: {
64356
+ acs_access_group_id: {
64357
+ description: string;
64358
+ format: string;
64359
+ type: string;
64360
+ };
64361
+ created_at: {
64362
+ description: string;
64363
+ format: string;
64364
+ type: string;
64365
+ };
64366
+ message: {
64367
+ description: string;
64368
+ type: string;
64369
+ };
64370
+ mutation_code: {
64371
+ description: string;
64372
+ enum: string[];
64373
+ type: string;
64374
+ };
64375
+ variant: {
64376
+ description: string;
64377
+ enum: string[];
64378
+ type: string;
64379
+ };
64380
+ scheduled_at?: never;
64381
+ from?: never;
64382
+ to?: never;
63800
64383
  };
63801
64384
  required: string[];
63802
64385
  type: string;
@@ -69480,6 +70063,8 @@ declare const _default: {
69480
70063
  desired_temperature_celsius?: never;
69481
70064
  desired_temperature_fahrenheit?: never;
69482
70065
  device_name?: never;
70066
+ activation_reason?: never;
70067
+ motion_sub_type?: never;
69483
70068
  enrollment_automation_id?: never;
69484
70069
  acs_entrance_ids?: never;
69485
70070
  device_ids?: never;
@@ -69618,6 +70203,8 @@ declare const _default: {
69618
70203
  desired_temperature_celsius?: never;
69619
70204
  desired_temperature_fahrenheit?: never;
69620
70205
  device_name?: never;
70206
+ activation_reason?: never;
70207
+ motion_sub_type?: never;
69621
70208
  enrollment_automation_id?: never;
69622
70209
  acs_entrance_ids?: never;
69623
70210
  device_ids?: never;
@@ -69884,6 +70471,8 @@ declare const _default: {
69884
70471
  desired_temperature_celsius?: never;
69885
70472
  desired_temperature_fahrenheit?: never;
69886
70473
  device_name?: never;
70474
+ activation_reason?: never;
70475
+ motion_sub_type?: never;
69887
70476
  enrollment_automation_id?: never;
69888
70477
  acs_entrance_ids?: never;
69889
70478
  device_ids?: never;
@@ -70022,6 +70611,8 @@ declare const _default: {
70022
70611
  desired_temperature_celsius?: never;
70023
70612
  desired_temperature_fahrenheit?: never;
70024
70613
  device_name?: never;
70614
+ activation_reason?: never;
70615
+ motion_sub_type?: never;
70025
70616
  enrollment_automation_id?: never;
70026
70617
  acs_entrance_ids?: never;
70027
70618
  device_ids?: never;
@@ -70158,6 +70749,8 @@ declare const _default: {
70158
70749
  desired_temperature_celsius?: never;
70159
70750
  desired_temperature_fahrenheit?: never;
70160
70751
  device_name?: never;
70752
+ activation_reason?: never;
70753
+ motion_sub_type?: never;
70161
70754
  enrollment_automation_id?: never;
70162
70755
  acs_entrance_ids?: never;
70163
70756
  device_ids?: never;
@@ -70268,6 +70861,8 @@ declare const _default: {
70268
70861
  desired_temperature_celsius?: never;
70269
70862
  desired_temperature_fahrenheit?: never;
70270
70863
  device_name?: never;
70864
+ activation_reason?: never;
70865
+ motion_sub_type?: never;
70271
70866
  enrollment_automation_id?: never;
70272
70867
  acs_entrance_ids?: never;
70273
70868
  device_ids?: never;
@@ -70382,6 +70977,8 @@ declare const _default: {
70382
70977
  desired_temperature_celsius?: never;
70383
70978
  desired_temperature_fahrenheit?: never;
70384
70979
  device_name?: never;
70980
+ activation_reason?: never;
70981
+ motion_sub_type?: never;
70385
70982
  enrollment_automation_id?: never;
70386
70983
  acs_entrance_ids?: never;
70387
70984
  device_ids?: never;
@@ -70501,6 +71098,8 @@ declare const _default: {
70501
71098
  desired_temperature_celsius?: never;
70502
71099
  desired_temperature_fahrenheit?: never;
70503
71100
  device_name?: never;
71101
+ activation_reason?: never;
71102
+ motion_sub_type?: never;
70504
71103
  enrollment_automation_id?: never;
70505
71104
  acs_entrance_ids?: never;
70506
71105
  device_ids?: never;
@@ -70614,6 +71213,8 @@ declare const _default: {
70614
71213
  desired_temperature_celsius?: never;
70615
71214
  desired_temperature_fahrenheit?: never;
70616
71215
  device_name?: never;
71216
+ activation_reason?: never;
71217
+ motion_sub_type?: never;
70617
71218
  enrollment_automation_id?: never;
70618
71219
  acs_entrance_ids?: never;
70619
71220
  device_ids?: never;
@@ -70744,6 +71345,8 @@ declare const _default: {
70744
71345
  desired_temperature_celsius?: never;
70745
71346
  desired_temperature_fahrenheit?: never;
70746
71347
  device_name?: never;
71348
+ activation_reason?: never;
71349
+ motion_sub_type?: never;
70747
71350
  enrollment_automation_id?: never;
70748
71351
  acs_entrance_ids?: never;
70749
71352
  device_ids?: never;
@@ -70867,6 +71470,8 @@ declare const _default: {
70867
71470
  desired_temperature_celsius?: never;
70868
71471
  desired_temperature_fahrenheit?: never;
70869
71472
  device_name?: never;
71473
+ activation_reason?: never;
71474
+ motion_sub_type?: never;
70870
71475
  enrollment_automation_id?: never;
70871
71476
  acs_entrance_ids?: never;
70872
71477
  device_ids?: never;
@@ -70981,6 +71586,8 @@ declare const _default: {
70981
71586
  desired_temperature_celsius?: never;
70982
71587
  desired_temperature_fahrenheit?: never;
70983
71588
  device_name?: never;
71589
+ activation_reason?: never;
71590
+ motion_sub_type?: never;
70984
71591
  enrollment_automation_id?: never;
70985
71592
  acs_entrance_ids?: never;
70986
71593
  device_ids?: never;
@@ -71183,6 +71790,8 @@ declare const _default: {
71183
71790
  desired_temperature_celsius?: never;
71184
71791
  desired_temperature_fahrenheit?: never;
71185
71792
  device_name?: never;
71793
+ activation_reason?: never;
71794
+ motion_sub_type?: never;
71186
71795
  enrollment_automation_id?: never;
71187
71796
  acs_entrance_ids?: never;
71188
71797
  device_ids?: never;
@@ -71301,6 +71910,8 @@ declare const _default: {
71301
71910
  desired_temperature_celsius?: never;
71302
71911
  desired_temperature_fahrenheit?: never;
71303
71912
  device_name?: never;
71913
+ activation_reason?: never;
71914
+ motion_sub_type?: never;
71304
71915
  enrollment_automation_id?: never;
71305
71916
  acs_entrance_ids?: never;
71306
71917
  device_ids?: never;
@@ -71419,6 +72030,8 @@ declare const _default: {
71419
72030
  desired_temperature_celsius?: never;
71420
72031
  desired_temperature_fahrenheit?: never;
71421
72032
  device_name?: never;
72033
+ activation_reason?: never;
72034
+ motion_sub_type?: never;
71422
72035
  enrollment_automation_id?: never;
71423
72036
  acs_entrance_ids?: never;
71424
72037
  device_ids?: never;
@@ -71537,6 +72150,8 @@ declare const _default: {
71537
72150
  desired_temperature_celsius?: never;
71538
72151
  desired_temperature_fahrenheit?: never;
71539
72152
  device_name?: never;
72153
+ activation_reason?: never;
72154
+ motion_sub_type?: never;
71540
72155
  enrollment_automation_id?: never;
71541
72156
  acs_entrance_ids?: never;
71542
72157
  device_ids?: never;
@@ -71655,6 +72270,8 @@ declare const _default: {
71655
72270
  desired_temperature_celsius?: never;
71656
72271
  desired_temperature_fahrenheit?: never;
71657
72272
  device_name?: never;
72273
+ activation_reason?: never;
72274
+ motion_sub_type?: never;
71658
72275
  enrollment_automation_id?: never;
71659
72276
  acs_entrance_ids?: never;
71660
72277
  device_ids?: never;
@@ -71773,6 +72390,8 @@ declare const _default: {
71773
72390
  desired_temperature_celsius?: never;
71774
72391
  desired_temperature_fahrenheit?: never;
71775
72392
  device_name?: never;
72393
+ activation_reason?: never;
72394
+ motion_sub_type?: never;
71776
72395
  enrollment_automation_id?: never;
71777
72396
  acs_entrance_ids?: never;
71778
72397
  device_ids?: never;
@@ -71883,6 +72502,8 @@ declare const _default: {
71883
72502
  desired_temperature_celsius?: never;
71884
72503
  desired_temperature_fahrenheit?: never;
71885
72504
  device_name?: never;
72505
+ activation_reason?: never;
72506
+ motion_sub_type?: never;
71886
72507
  enrollment_automation_id?: never;
71887
72508
  acs_entrance_ids?: never;
71888
72509
  device_ids?: never;
@@ -72008,6 +72629,8 @@ declare const _default: {
72008
72629
  desired_temperature_celsius?: never;
72009
72630
  desired_temperature_fahrenheit?: never;
72010
72631
  device_name?: never;
72632
+ activation_reason?: never;
72633
+ motion_sub_type?: never;
72011
72634
  enrollment_automation_id?: never;
72012
72635
  acs_entrance_ids?: never;
72013
72636
  device_ids?: never;
@@ -72130,6 +72753,8 @@ declare const _default: {
72130
72753
  desired_temperature_celsius?: never;
72131
72754
  desired_temperature_fahrenheit?: never;
72132
72755
  device_name?: never;
72756
+ activation_reason?: never;
72757
+ motion_sub_type?: never;
72133
72758
  enrollment_automation_id?: never;
72134
72759
  acs_entrance_ids?: never;
72135
72760
  device_ids?: never;
@@ -72253,6 +72878,8 @@ declare const _default: {
72253
72878
  desired_temperature_celsius?: never;
72254
72879
  desired_temperature_fahrenheit?: never;
72255
72880
  device_name?: never;
72881
+ activation_reason?: never;
72882
+ motion_sub_type?: never;
72256
72883
  enrollment_automation_id?: never;
72257
72884
  acs_entrance_ids?: never;
72258
72885
  device_ids?: never;
@@ -72414,6 +73041,8 @@ declare const _default: {
72414
73041
  desired_temperature_celsius?: never;
72415
73042
  desired_temperature_fahrenheit?: never;
72416
73043
  device_name?: never;
73044
+ activation_reason?: never;
73045
+ motion_sub_type?: never;
72417
73046
  enrollment_automation_id?: never;
72418
73047
  acs_entrance_ids?: never;
72419
73048
  device_ids?: never;
@@ -72532,6 +73161,8 @@ declare const _default: {
72532
73161
  desired_temperature_celsius?: never;
72533
73162
  desired_temperature_fahrenheit?: never;
72534
73163
  device_name?: never;
73164
+ activation_reason?: never;
73165
+ motion_sub_type?: never;
72535
73166
  enrollment_automation_id?: never;
72536
73167
  acs_entrance_ids?: never;
72537
73168
  device_ids?: never;
@@ -72656,6 +73287,8 @@ declare const _default: {
72656
73287
  desired_temperature_celsius?: never;
72657
73288
  desired_temperature_fahrenheit?: never;
72658
73289
  device_name?: never;
73290
+ activation_reason?: never;
73291
+ motion_sub_type?: never;
72659
73292
  enrollment_automation_id?: never;
72660
73293
  acs_entrance_ids?: never;
72661
73294
  device_ids?: never;
@@ -72780,6 +73413,8 @@ declare const _default: {
72780
73413
  desired_temperature_celsius?: never;
72781
73414
  desired_temperature_fahrenheit?: never;
72782
73415
  device_name?: never;
73416
+ activation_reason?: never;
73417
+ motion_sub_type?: never;
72783
73418
  enrollment_automation_id?: never;
72784
73419
  acs_entrance_ids?: never;
72785
73420
  device_ids?: never;
@@ -72890,6 +73525,8 @@ declare const _default: {
72890
73525
  desired_temperature_celsius?: never;
72891
73526
  desired_temperature_fahrenheit?: never;
72892
73527
  device_name?: never;
73528
+ activation_reason?: never;
73529
+ motion_sub_type?: never;
72893
73530
  enrollment_automation_id?: never;
72894
73531
  acs_entrance_ids?: never;
72895
73532
  device_ids?: never;
@@ -73023,6 +73660,8 @@ declare const _default: {
73023
73660
  desired_temperature_celsius?: never;
73024
73661
  desired_temperature_fahrenheit?: never;
73025
73662
  device_name?: never;
73663
+ activation_reason?: never;
73664
+ motion_sub_type?: never;
73026
73665
  enrollment_automation_id?: never;
73027
73666
  acs_entrance_ids?: never;
73028
73667
  device_ids?: never;
@@ -73248,6 +73887,8 @@ declare const _default: {
73248
73887
  desired_temperature_celsius?: never;
73249
73888
  desired_temperature_fahrenheit?: never;
73250
73889
  device_name?: never;
73890
+ activation_reason?: never;
73891
+ motion_sub_type?: never;
73251
73892
  enrollment_automation_id?: never;
73252
73893
  acs_entrance_ids?: never;
73253
73894
  device_ids?: never;
@@ -73387,6 +74028,8 @@ declare const _default: {
73387
74028
  desired_temperature_celsius?: never;
73388
74029
  desired_temperature_fahrenheit?: never;
73389
74030
  device_name?: never;
74031
+ activation_reason?: never;
74032
+ motion_sub_type?: never;
73390
74033
  enrollment_automation_id?: never;
73391
74034
  acs_entrance_ids?: never;
73392
74035
  device_ids?: never;
@@ -73530,6 +74173,8 @@ declare const _default: {
73530
74173
  desired_temperature_celsius?: never;
73531
74174
  desired_temperature_fahrenheit?: never;
73532
74175
  device_name?: never;
74176
+ activation_reason?: never;
74177
+ motion_sub_type?: never;
73533
74178
  enrollment_automation_id?: never;
73534
74179
  acs_entrance_ids?: never;
73535
74180
  device_ids?: never;
@@ -73751,6 +74396,8 @@ declare const _default: {
73751
74396
  desired_temperature_celsius?: never;
73752
74397
  desired_temperature_fahrenheit?: never;
73753
74398
  device_name?: never;
74399
+ activation_reason?: never;
74400
+ motion_sub_type?: never;
73754
74401
  enrollment_automation_id?: never;
73755
74402
  acs_entrance_ids?: never;
73756
74403
  device_ids?: never;
@@ -73907,6 +74554,8 @@ declare const _default: {
73907
74554
  desired_temperature_celsius?: never;
73908
74555
  desired_temperature_fahrenheit?: never;
73909
74556
  device_name?: never;
74557
+ activation_reason?: never;
74558
+ motion_sub_type?: never;
73910
74559
  enrollment_automation_id?: never;
73911
74560
  acs_entrance_ids?: never;
73912
74561
  device_ids?: never;
@@ -74055,6 +74704,8 @@ declare const _default: {
74055
74704
  desired_temperature_celsius?: never;
74056
74705
  desired_temperature_fahrenheit?: never;
74057
74706
  device_name?: never;
74707
+ activation_reason?: never;
74708
+ motion_sub_type?: never;
74058
74709
  enrollment_automation_id?: never;
74059
74710
  acs_entrance_ids?: never;
74060
74711
  device_ids?: never;
@@ -74219,6 +74870,8 @@ declare const _default: {
74219
74870
  desired_temperature_celsius?: never;
74220
74871
  desired_temperature_fahrenheit?: never;
74221
74872
  device_name?: never;
74873
+ activation_reason?: never;
74874
+ motion_sub_type?: never;
74222
74875
  enrollment_automation_id?: never;
74223
74876
  acs_entrance_ids?: never;
74224
74877
  device_ids?: never;
@@ -74356,6 +75009,8 @@ declare const _default: {
74356
75009
  desired_temperature_celsius?: never;
74357
75010
  desired_temperature_fahrenheit?: never;
74358
75011
  device_name?: never;
75012
+ activation_reason?: never;
75013
+ motion_sub_type?: never;
74359
75014
  enrollment_automation_id?: never;
74360
75015
  acs_entrance_ids?: never;
74361
75016
  device_ids?: never;
@@ -74500,6 +75155,8 @@ declare const _default: {
74500
75155
  desired_temperature_celsius?: never;
74501
75156
  desired_temperature_fahrenheit?: never;
74502
75157
  device_name?: never;
75158
+ activation_reason?: never;
75159
+ motion_sub_type?: never;
74503
75160
  enrollment_automation_id?: never;
74504
75161
  acs_entrance_ids?: never;
74505
75162
  device_ids?: never;
@@ -74661,6 +75318,8 @@ declare const _default: {
74661
75318
  desired_temperature_celsius?: never;
74662
75319
  desired_temperature_fahrenheit?: never;
74663
75320
  device_name?: never;
75321
+ activation_reason?: never;
75322
+ motion_sub_type?: never;
74664
75323
  enrollment_automation_id?: never;
74665
75324
  acs_entrance_ids?: never;
74666
75325
  device_ids?: never;
@@ -74822,6 +75481,8 @@ declare const _default: {
74822
75481
  desired_temperature_celsius?: never;
74823
75482
  desired_temperature_fahrenheit?: never;
74824
75483
  device_name?: never;
75484
+ activation_reason?: never;
75485
+ motion_sub_type?: never;
74825
75486
  enrollment_automation_id?: never;
74826
75487
  acs_entrance_ids?: never;
74827
75488
  device_ids?: never;
@@ -74971,6 +75632,8 @@ declare const _default: {
74971
75632
  upper_limit_celsius?: never;
74972
75633
  upper_limit_fahrenheit?: never;
74973
75634
  device_name?: never;
75635
+ activation_reason?: never;
75636
+ motion_sub_type?: never;
74974
75637
  enrollment_automation_id?: never;
74975
75638
  acs_entrance_ids?: never;
74976
75639
  device_ids?: never;
@@ -75112,6 +75775,8 @@ declare const _default: {
75112
75775
  desired_temperature_celsius?: never;
75113
75776
  desired_temperature_fahrenheit?: never;
75114
75777
  device_name?: never;
75778
+ activation_reason?: never;
75779
+ motion_sub_type?: never;
75115
75780
  enrollment_automation_id?: never;
75116
75781
  acs_entrance_ids?: never;
75117
75782
  device_ids?: never;
@@ -75248,6 +75913,151 @@ declare const _default: {
75248
75913
  upper_limit_fahrenheit?: never;
75249
75914
  desired_temperature_celsius?: never;
75250
75915
  desired_temperature_fahrenheit?: never;
75916
+ activation_reason?: never;
75917
+ motion_sub_type?: never;
75918
+ enrollment_automation_id?: never;
75919
+ acs_entrance_ids?: never;
75920
+ device_ids?: never;
75921
+ space_id?: never;
75922
+ space_key?: never;
75923
+ };
75924
+ required: string[];
75925
+ type: string;
75926
+ 'x-route-path': string;
75927
+ deprecated?: never;
75928
+ 'x-deprecated'?: never;
75929
+ } | {
75930
+ description: string;
75931
+ properties: {
75932
+ activation_reason: {
75933
+ description: string;
75934
+ enum: string[];
75935
+ type: string;
75936
+ };
75937
+ connected_account_custom_metadata: {
75938
+ additionalProperties: {
75939
+ oneOf: {
75940
+ type: string;
75941
+ }[];
75942
+ };
75943
+ description: string;
75944
+ type: string;
75945
+ };
75946
+ connected_account_id: {
75947
+ description: string;
75948
+ format: string;
75949
+ type: string;
75950
+ };
75951
+ created_at: {
75952
+ description: string;
75953
+ format: string;
75954
+ type: string;
75955
+ };
75956
+ customer_key: {
75957
+ description: string;
75958
+ type: string;
75959
+ };
75960
+ device_custom_metadata: {
75961
+ additionalProperties: {
75962
+ oneOf: {
75963
+ type: string;
75964
+ }[];
75965
+ };
75966
+ description: string;
75967
+ type: string;
75968
+ };
75969
+ device_id: {
75970
+ description: string;
75971
+ format: string;
75972
+ type: string;
75973
+ };
75974
+ event_id: {
75975
+ description: string;
75976
+ format: string;
75977
+ type: string;
75978
+ };
75979
+ event_type: {
75980
+ enum: string[];
75981
+ type: string;
75982
+ description?: never;
75983
+ };
75984
+ motion_sub_type: {
75985
+ description: string;
75986
+ enum: string[];
75987
+ type: string;
75988
+ };
75989
+ occurred_at: {
75990
+ description: string;
75991
+ format: string;
75992
+ type: string;
75993
+ };
75994
+ workspace_id: {
75995
+ description: string;
75996
+ format: string;
75997
+ type: string;
75998
+ };
75999
+ access_code_id?: never;
76000
+ code?: never;
76001
+ access_code_errors?: never;
76002
+ access_code_warnings?: never;
76003
+ connected_account_errors?: never;
76004
+ connected_account_warnings?: never;
76005
+ device_errors?: never;
76006
+ device_warnings?: never;
76007
+ backup_access_code_id?: never;
76008
+ access_grant_id?: never;
76009
+ acs_entrance_id?: never;
76010
+ access_grant_key?: never;
76011
+ ends_at?: never;
76012
+ starts_at?: never;
76013
+ error_message?: never;
76014
+ access_grant_ids?: never;
76015
+ access_grant_keys?: never;
76016
+ access_method_id?: never;
76017
+ is_backup_code?: never;
76018
+ acs_system_id?: never;
76019
+ acs_system_errors?: never;
76020
+ acs_system_warnings?: never;
76021
+ acs_credential_id?: never;
76022
+ acs_user_id?: never;
76023
+ acs_encoder_id?: never;
76024
+ acs_access_group_id?: never;
76025
+ client_session_id?: never;
76026
+ connect_webview_id?: never;
76027
+ connected_account_type?: never;
76028
+ action_attempt_id?: never;
76029
+ action_type?: never;
76030
+ status?: never;
76031
+ error_code?: never;
76032
+ battery_level?: never;
76033
+ battery_status?: never;
76034
+ minut_metadata?: never;
76035
+ noise_level_decibels?: never;
76036
+ noise_level_nrs?: never;
76037
+ noise_threshold_id?: never;
76038
+ noise_threshold_name?: never;
76039
+ noiseaware_metadata?: never;
76040
+ access_code_is_managed?: never;
76041
+ method?: never;
76042
+ user_identity_id?: never;
76043
+ climate_preset_key?: never;
76044
+ is_fallback_climate_preset?: never;
76045
+ thermostat_schedule_id?: never;
76046
+ cooling_set_point_celsius?: never;
76047
+ cooling_set_point_fahrenheit?: never;
76048
+ fan_mode_setting?: never;
76049
+ heating_set_point_celsius?: never;
76050
+ heating_set_point_fahrenheit?: never;
76051
+ hvac_mode_setting?: never;
76052
+ lower_limit_celsius?: never;
76053
+ lower_limit_fahrenheit?: never;
76054
+ temperature_celsius?: never;
76055
+ temperature_fahrenheit?: never;
76056
+ upper_limit_celsius?: never;
76057
+ upper_limit_fahrenheit?: never;
76058
+ desired_temperature_celsius?: never;
76059
+ desired_temperature_fahrenheit?: never;
76060
+ device_name?: never;
75251
76061
  enrollment_automation_id?: never;
75252
76062
  acs_entrance_ids?: never;
75253
76063
  device_ids?: never;
@@ -75359,6 +76169,8 @@ declare const _default: {
75359
76169
  desired_temperature_celsius?: never;
75360
76170
  desired_temperature_fahrenheit?: never;
75361
76171
  device_name?: never;
76172
+ activation_reason?: never;
76173
+ motion_sub_type?: never;
75362
76174
  acs_entrance_ids?: never;
75363
76175
  device_ids?: never;
75364
76176
  space_id?: never;
@@ -75476,6 +76288,8 @@ declare const _default: {
75476
76288
  desired_temperature_celsius?: never;
75477
76289
  desired_temperature_fahrenheit?: never;
75478
76290
  device_name?: never;
76291
+ activation_reason?: never;
76292
+ motion_sub_type?: never;
75479
76293
  enrollment_automation_id?: never;
75480
76294
  acs_entrance_ids?: never;
75481
76295
  device_ids?: never;
@@ -75607,6 +76421,8 @@ declare const _default: {
75607
76421
  desired_temperature_celsius?: never;
75608
76422
  desired_temperature_fahrenheit?: never;
75609
76423
  device_name?: never;
76424
+ activation_reason?: never;
76425
+ motion_sub_type?: never;
75610
76426
  enrollment_automation_id?: never;
75611
76427
  };
75612
76428
  required: string[];
@@ -77419,6 +78235,8 @@ declare const _default: {
77419
78235
  };
77420
78236
  from?: never;
77421
78237
  to?: never;
78238
+ acs_user_id?: never;
78239
+ variant?: never;
77422
78240
  };
77423
78241
  required: string[];
77424
78242
  type: string;
@@ -77471,6 +78289,8 @@ declare const _default: {
77471
78289
  type: string;
77472
78290
  required?: never;
77473
78291
  };
78292
+ acs_user_id?: never;
78293
+ variant?: never;
77474
78294
  };
77475
78295
  required: string[];
77476
78296
  type: string;
@@ -77535,6 +78355,8 @@ declare const _default: {
77535
78355
  required: string[];
77536
78356
  type: string;
77537
78357
  };
78358
+ acs_user_id?: never;
78359
+ variant?: never;
77538
78360
  };
77539
78361
  required: string[];
77540
78362
  type: string;
@@ -77589,6 +78411,8 @@ declare const _default: {
77589
78411
  required: string[];
77590
78412
  type: string;
77591
78413
  };
78414
+ acs_user_id?: never;
78415
+ variant?: never;
77592
78416
  };
77593
78417
  required: string[];
77594
78418
  type: string;
@@ -77643,6 +78467,40 @@ declare const _default: {
77643
78467
  required: string[];
77644
78468
  type: string;
77645
78469
  };
78470
+ acs_user_id?: never;
78471
+ variant?: never;
78472
+ };
78473
+ required: string[];
78474
+ type: string;
78475
+ } | {
78476
+ description: string;
78477
+ properties: {
78478
+ acs_user_id: {
78479
+ description: string;
78480
+ format: string;
78481
+ type: string;
78482
+ };
78483
+ created_at: {
78484
+ description: string;
78485
+ format: string;
78486
+ type: string;
78487
+ };
78488
+ message: {
78489
+ description: string;
78490
+ type: string;
78491
+ };
78492
+ mutation_code: {
78493
+ description: string;
78494
+ enum: string[];
78495
+ type: string;
78496
+ };
78497
+ variant: {
78498
+ description: string;
78499
+ enum: string[];
78500
+ type: string;
78501
+ };
78502
+ from?: never;
78503
+ to?: never;
77646
78504
  };
77647
78505
  required: string[];
77648
78506
  type: string;
@@ -78092,6 +78950,8 @@ declare const _default: {
78092
78950
  scheduled_at?: never;
78093
78951
  from?: never;
78094
78952
  to?: never;
78953
+ acs_access_group_id?: never;
78954
+ variant?: never;
78095
78955
  };
78096
78956
  required: string[];
78097
78957
  type: string;
@@ -78120,6 +78980,8 @@ declare const _default: {
78120
78980
  };
78121
78981
  from?: never;
78122
78982
  to?: never;
78983
+ acs_access_group_id?: never;
78984
+ variant?: never;
78123
78985
  };
78124
78986
  required: string[];
78125
78987
  type: string;
@@ -78194,6 +79056,8 @@ declare const _default: {
78194
79056
  required?: never;
78195
79057
  };
78196
79058
  scheduled_at?: never;
79059
+ acs_access_group_id?: never;
79060
+ variant?: never;
78197
79061
  };
78198
79062
  required: string[];
78199
79063
  type: string;
@@ -78264,6 +79128,8 @@ declare const _default: {
78264
79128
  type: string;
78265
79129
  };
78266
79130
  scheduled_at?: never;
79131
+ acs_access_group_id?: never;
79132
+ variant?: never;
78267
79133
  };
78268
79134
  required: string[];
78269
79135
  type: string;
@@ -78317,6 +79183,8 @@ declare const _default: {
78317
79183
  type: string;
78318
79184
  };
78319
79185
  scheduled_at?: never;
79186
+ acs_access_group_id?: never;
79187
+ variant?: never;
78320
79188
  };
78321
79189
  required: string[];
78322
79190
  type: string;
@@ -78376,6 +79244,41 @@ declare const _default: {
78376
79244
  type: string;
78377
79245
  };
78378
79246
  scheduled_at?: never;
79247
+ acs_access_group_id?: never;
79248
+ variant?: never;
79249
+ };
79250
+ required: string[];
79251
+ type: string;
79252
+ } | {
79253
+ description: string;
79254
+ properties: {
79255
+ acs_access_group_id: {
79256
+ description: string;
79257
+ format: string;
79258
+ type: string;
79259
+ };
79260
+ created_at: {
79261
+ description: string;
79262
+ format: string;
79263
+ type: string;
79264
+ };
79265
+ message: {
79266
+ description: string;
79267
+ type: string;
79268
+ };
79269
+ mutation_code: {
79270
+ description: string;
79271
+ enum: string[];
79272
+ type: string;
79273
+ };
79274
+ variant: {
79275
+ description: string;
79276
+ enum: string[];
79277
+ type: string;
79278
+ };
79279
+ scheduled_at?: never;
79280
+ from?: never;
79281
+ to?: never;
78379
79282
  };
78380
79283
  required: string[];
78381
79284
  type: string;
@@ -143328,6 +144231,17 @@ type Routes = {
143328
144231
  /** New entrance ID. */
143329
144232
  acs_entrance_id: string | null;
143330
144233
  };
144234
+ } | {
144235
+ /** Date and time at which the mutation was created. */
144236
+ created_at: string;
144237
+ /** Detailed description of the mutation. */
144238
+ message: string;
144239
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
144240
+ mutation_code: 'deferring_user_membership_update';
144241
+ /** ID of the user involved in the scheduled change. */
144242
+ acs_user_id: string;
144243
+ /** Whether the user is scheduled to be added to or removed from this access group. */
144244
+ variant: 'adding' | 'removing';
143331
144245
  })[];
143332
144246
  is_managed: true;
143333
144247
  }[] | undefined;
@@ -148031,6 +148945,17 @@ type Routes = {
148031
148945
  /** New entrance ID. */
148032
148946
  acs_entrance_id: string | null;
148033
148947
  };
148948
+ } | {
148949
+ /** Date and time at which the mutation was created. */
148950
+ created_at: string;
148951
+ /** Detailed description of the mutation. */
148952
+ message: string;
148953
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
148954
+ mutation_code: 'deferring_user_membership_update';
148955
+ /** ID of the user involved in the scheduled change. */
148956
+ acs_user_id: string;
148957
+ /** Whether the user is scheduled to be added to or removed from this access group. */
148958
+ variant: 'adding' | 'removing';
148034
148959
  })[];
148035
148960
  is_managed: true;
148036
148961
  };
@@ -148188,6 +149113,17 @@ type Routes = {
148188
149113
  /** New entrance ID. */
148189
149114
  acs_entrance_id: string | null;
148190
149115
  };
149116
+ } | {
149117
+ /** Date and time at which the mutation was created. */
149118
+ created_at: string;
149119
+ /** Detailed description of the mutation. */
149120
+ message: string;
149121
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
149122
+ mutation_code: 'deferring_user_membership_update';
149123
+ /** ID of the user involved in the scheduled change. */
149124
+ acs_user_id: string;
149125
+ /** Whether the user is scheduled to be added to or removed from this access group. */
149126
+ variant: 'adding' | 'removing';
148191
149127
  })[];
148192
149128
  is_managed: true;
148193
149129
  }[];
@@ -148547,6 +149483,17 @@ type Routes = {
148547
149483
  /** New access group ID. */
148548
149484
  acs_access_group_id: string | null;
148549
149485
  };
149486
+ } | {
149487
+ /** Date and time at which the mutation was created. */
149488
+ created_at: string;
149489
+ /** Detailed description of the mutation. */
149490
+ message: string;
149491
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
149492
+ mutation_code: 'deferring_group_membership_update';
149493
+ /** ID of the access group involved in the scheduled change. */
149494
+ acs_access_group_id: string;
149495
+ /** Whether the user is scheduled to be added to or removed from the access group. */
149496
+ variant: 'adding' | 'removing';
148550
149497
  })[] | undefined;
148551
149498
  /** The last time an internal sync job completed for this access system user. */
148552
149499
  last_successful_sync_at: string | null;
@@ -148738,6 +149685,17 @@ type Routes = {
148738
149685
  /** New entrance ID. */
148739
149686
  acs_entrance_id: string | null;
148740
149687
  };
149688
+ } | {
149689
+ /** Date and time at which the mutation was created. */
149690
+ created_at: string;
149691
+ /** Detailed description of the mutation. */
149692
+ message: string;
149693
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
149694
+ mutation_code: 'deferring_user_membership_update';
149695
+ /** ID of the user involved in the scheduled change. */
149696
+ acs_user_id: string;
149697
+ /** Whether the user is scheduled to be added to or removed from this access group. */
149698
+ variant: 'adding' | 'removing';
148741
149699
  })[];
148742
149700
  is_managed: false;
148743
149701
  };
@@ -148893,6 +149851,17 @@ type Routes = {
148893
149851
  /** New entrance ID. */
148894
149852
  acs_entrance_id: string | null;
148895
149853
  };
149854
+ } | {
149855
+ /** Date and time at which the mutation was created. */
149856
+ created_at: string;
149857
+ /** Detailed description of the mutation. */
149858
+ message: string;
149859
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
149860
+ mutation_code: 'deferring_user_membership_update';
149861
+ /** ID of the user involved in the scheduled change. */
149862
+ acs_user_id: string;
149863
+ /** Whether the user is scheduled to be added to or removed from this access group. */
149864
+ variant: 'adding' | 'removing';
148896
149865
  })[];
148897
149866
  is_managed: false;
148898
149867
  }[];
@@ -154478,6 +155447,17 @@ type Routes = {
154478
155447
  /** New access group ID. */
154479
155448
  acs_access_group_id: string | null;
154480
155449
  };
155450
+ } | {
155451
+ /** Date and time at which the mutation was created. */
155452
+ created_at: string;
155453
+ /** Detailed description of the mutation. */
155454
+ message: string;
155455
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
155456
+ mutation_code: 'deferring_group_membership_update';
155457
+ /** ID of the access group involved in the scheduled change. */
155458
+ acs_access_group_id: string;
155459
+ /** Whether the user is scheduled to be added to or removed from the access group. */
155460
+ variant: 'adding' | 'removing';
154481
155461
  })[] | undefined;
154482
155462
  /** The last time an internal sync job completed for this access system user. */
154483
155463
  last_successful_sync_at: string | null;
@@ -154742,6 +155722,17 @@ type Routes = {
154742
155722
  /** New access group ID. */
154743
155723
  acs_access_group_id: string | null;
154744
155724
  };
155725
+ } | {
155726
+ /** Date and time at which the mutation was created. */
155727
+ created_at: string;
155728
+ /** Detailed description of the mutation. */
155729
+ message: string;
155730
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
155731
+ mutation_code: 'deferring_group_membership_update';
155732
+ /** ID of the access group involved in the scheduled change. */
155733
+ acs_access_group_id: string;
155734
+ /** Whether the user is scheduled to be added to or removed from the access group. */
155735
+ variant: 'adding' | 'removing';
154745
155736
  })[] | undefined;
154746
155737
  /** The last time an internal sync job completed for this access system user. */
154747
155738
  last_successful_sync_at: string | null;
@@ -154994,6 +155985,17 @@ type Routes = {
154994
155985
  /** New access group ID. */
154995
155986
  acs_access_group_id: string | null;
154996
155987
  };
155988
+ } | {
155989
+ /** Date and time at which the mutation was created. */
155990
+ created_at: string;
155991
+ /** Detailed description of the mutation. */
155992
+ message: string;
155993
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
155994
+ mutation_code: 'deferring_group_membership_update';
155995
+ /** ID of the access group involved in the scheduled change. */
155996
+ acs_access_group_id: string;
155997
+ /** Whether the user is scheduled to be added to or removed from the access group. */
155998
+ variant: 'adding' | 'removing';
154997
155999
  })[] | undefined;
154998
156000
  /** The last time an internal sync job completed for this access system user. */
154999
156001
  last_successful_sync_at: string | null;
@@ -155440,6 +156442,17 @@ type Routes = {
155440
156442
  /** New access group ID. */
155441
156443
  acs_access_group_id: string | null;
155442
156444
  };
156445
+ } | {
156446
+ /** Date and time at which the mutation was created. */
156447
+ created_at: string;
156448
+ /** Detailed description of the mutation. */
156449
+ message: string;
156450
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
156451
+ mutation_code: 'deferring_group_membership_update';
156452
+ /** ID of the access group involved in the scheduled change. */
156453
+ acs_access_group_id: string;
156454
+ /** Whether the user is scheduled to be added to or removed from the access group. */
156455
+ variant: 'adding' | 'removing';
155443
156456
  })[] | undefined;
155444
156457
  /** The last time an internal sync job completed for this access system user. */
155445
156458
  last_successful_sync_at: string | null;
@@ -155688,6 +156701,17 @@ type Routes = {
155688
156701
  /** New access group ID. */
155689
156702
  acs_access_group_id: string | null;
155690
156703
  };
156704
+ } | {
156705
+ /** Date and time at which the mutation was created. */
156706
+ created_at: string;
156707
+ /** Detailed description of the mutation. */
156708
+ message: string;
156709
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
156710
+ mutation_code: 'deferring_group_membership_update';
156711
+ /** ID of the access group involved in the scheduled change. */
156712
+ acs_access_group_id: string;
156713
+ /** Whether the user is scheduled to be added to or removed from the access group. */
156714
+ variant: 'adding' | 'removing';
155691
156715
  })[] | undefined;
155692
156716
  /** The last time an internal sync job completed for this access system user. */
155693
156717
  last_successful_sync_at: string | null;
@@ -166509,13 +167533,87 @@ type Routes = {
166509
167533
  connected_account_custom_metadata?: {
166510
167534
  [x: string]: string | boolean;
166511
167535
  } | undefined;
166512
- event_type: 'thermostat.climate_preset_activated';
166513
- /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
166514
- thermostat_schedule_id: string | null;
166515
- /** Key of the climate preset that was activated. */
166516
- climate_preset_key: string;
166517
- /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
166518
- is_fallback_climate_preset: boolean;
167536
+ event_type: 'thermostat.climate_preset_activated';
167537
+ /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
167538
+ thermostat_schedule_id: string | null;
167539
+ /** Key of the climate preset that was activated. */
167540
+ climate_preset_key: string;
167541
+ /** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
167542
+ is_fallback_climate_preset: boolean;
167543
+ } | {
167544
+ /** ID of the event. */
167545
+ event_id: string;
167546
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
167547
+ workspace_id: string;
167548
+ /** Date and time at which the event was created. */
167549
+ created_at: string;
167550
+ /** Date and time at which the event occurred. */
167551
+ occurred_at: string;
167552
+ /** ID of the affected device. */
167553
+ device_id: string;
167554
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
167555
+ connected_account_id: string;
167556
+ /** The customer key associated with the device, if any. */
167557
+ customer_key?: string | undefined;
167558
+ /** Custom metadata of the device, present when device_id is provided. */
167559
+ device_custom_metadata?: {
167560
+ [x: string]: string | boolean;
167561
+ } | undefined;
167562
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
167563
+ connected_account_custom_metadata?: {
167564
+ [x: string]: string | boolean;
167565
+ } | undefined;
167566
+ event_type: 'thermostat.manually_adjusted';
167567
+ /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
167568
+ method: 'seam' | 'external';
167569
+ /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
167570
+ fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
167571
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
167572
+ hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool' | 'eco') | undefined) | undefined;
167573
+ /** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
167574
+ cooling_set_point_celsius?: (number | undefined) | undefined;
167575
+ /** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
167576
+ heating_set_point_celsius?: (number | undefined) | undefined;
167577
+ /** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
167578
+ cooling_set_point_fahrenheit?: (number | undefined) | undefined;
167579
+ /** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
167580
+ heating_set_point_fahrenheit?: (number | undefined) | undefined;
167581
+ } | {
167582
+ /** ID of the event. */
167583
+ event_id: string;
167584
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
167585
+ workspace_id: string;
167586
+ /** Date and time at which the event was created. */
167587
+ created_at: string;
167588
+ /** Date and time at which the event occurred. */
167589
+ occurred_at: string;
167590
+ /** ID of the affected device. */
167591
+ device_id: string;
167592
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
167593
+ connected_account_id: string;
167594
+ /** The customer key associated with the device, if any. */
167595
+ customer_key?: string | undefined;
167596
+ /** Custom metadata of the device, present when device_id is provided. */
167597
+ device_custom_metadata?: {
167598
+ [x: string]: string | boolean;
167599
+ } | undefined;
167600
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
167601
+ connected_account_custom_metadata?: {
167602
+ [x: string]: string | boolean;
167603
+ } | undefined;
167604
+ event_type: 'thermostat.temperature_threshold_exceeded';
167605
+ /** Temperature, in °C, reported by the affected thermostat. */
167606
+ temperature_celsius: number;
167607
+ /** Temperature, in °F, reported by the affected thermostat. */
167608
+ temperature_fahrenheit: number;
167609
+ /** Upper temperature limit, in °C, defined by the set threshold. */
167610
+ upper_limit_celsius: number | null;
167611
+ /** Upper temperature limit, in °F, defined by the set threshold. */
167612
+ upper_limit_fahrenheit: number | null;
167613
+ /** Lower temperature limit, in °C, defined by the set threshold. */
167614
+ lower_limit_celsius: number | null;
167615
+ /** Lower temperature limit, in °F, defined by the set threshold. */
167616
+ lower_limit_fahrenheit: number | null;
166519
167617
  } | {
166520
167618
  /** ID of the event. */
166521
167619
  event_id: string;
@@ -166539,21 +167637,19 @@ type Routes = {
166539
167637
  connected_account_custom_metadata?: {
166540
167638
  [x: string]: string | boolean;
166541
167639
  } | undefined;
166542
- event_type: 'thermostat.manually_adjusted';
166543
- /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
166544
- method: 'seam' | 'external';
166545
- /** Desired [fan mode setting](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
166546
- fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
166547
- /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
166548
- hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool' | 'eco') | undefined) | undefined;
166549
- /** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
166550
- cooling_set_point_celsius?: (number | undefined) | undefined;
166551
- /** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
166552
- heating_set_point_celsius?: (number | undefined) | undefined;
166553
- /** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
166554
- cooling_set_point_fahrenheit?: (number | undefined) | undefined;
166555
- /** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
166556
- heating_set_point_fahrenheit?: (number | undefined) | undefined;
167640
+ event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
167641
+ /** Temperature, in °C, reported by the affected thermostat. */
167642
+ temperature_celsius: number;
167643
+ /** Temperature, in °F, reported by the affected thermostat. */
167644
+ temperature_fahrenheit: number;
167645
+ /** Upper temperature limit, in °C, defined by the set threshold. */
167646
+ upper_limit_celsius: number | null;
167647
+ /** Upper temperature limit, in °F, defined by the set threshold. */
167648
+ upper_limit_fahrenheit: number | null;
167649
+ /** Lower temperature limit, in °C, defined by the set threshold. */
167650
+ lower_limit_celsius: number | null;
167651
+ /** Lower temperature limit, in °F, defined by the set threshold. */
167652
+ lower_limit_fahrenheit: number | null;
166557
167653
  } | {
166558
167654
  /** ID of the event. */
166559
167655
  event_id: string;
@@ -166577,19 +167673,15 @@ type Routes = {
166577
167673
  connected_account_custom_metadata?: {
166578
167674
  [x: string]: string | boolean;
166579
167675
  } | undefined;
166580
- event_type: 'thermostat.temperature_threshold_exceeded';
167676
+ event_type: 'thermostat.temperature_reached_set_point';
166581
167677
  /** Temperature, in °C, reported by the affected thermostat. */
166582
167678
  temperature_celsius: number;
166583
167679
  /** Temperature, in °F, reported by the affected thermostat. */
166584
167680
  temperature_fahrenheit: number;
166585
- /** Upper temperature limit, in °C, defined by the set threshold. */
166586
- upper_limit_celsius: number | null;
166587
- /** Upper temperature limit, in °F, defined by the set threshold. */
166588
- upper_limit_fahrenheit: number | null;
166589
- /** Lower temperature limit, in °C, defined by the set threshold. */
166590
- lower_limit_celsius: number | null;
166591
- /** Lower temperature limit, in °F, defined by the set threshold. */
166592
- lower_limit_fahrenheit: number | null;
167681
+ /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
167682
+ desired_temperature_celsius?: number | undefined;
167683
+ /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
167684
+ desired_temperature_fahrenheit?: number | undefined;
166593
167685
  } | {
166594
167686
  /** ID of the event. */
166595
167687
  event_id: string;
@@ -166613,19 +167705,11 @@ type Routes = {
166613
167705
  connected_account_custom_metadata?: {
166614
167706
  [x: string]: string | boolean;
166615
167707
  } | undefined;
166616
- event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
167708
+ event_type: 'thermostat.temperature_changed';
166617
167709
  /** Temperature, in °C, reported by the affected thermostat. */
166618
167710
  temperature_celsius: number;
166619
167711
  /** Temperature, in °F, reported by the affected thermostat. */
166620
167712
  temperature_fahrenheit: number;
166621
- /** Upper temperature limit, in °C, defined by the set threshold. */
166622
- upper_limit_celsius: number | null;
166623
- /** Upper temperature limit, in °F, defined by the set threshold. */
166624
- upper_limit_fahrenheit: number | null;
166625
- /** Lower temperature limit, in °C, defined by the set threshold. */
166626
- lower_limit_celsius: number | null;
166627
- /** Lower temperature limit, in °F, defined by the set threshold. */
166628
- lower_limit_fahrenheit: number | null;
166629
167713
  } | {
166630
167714
  /** ID of the event. */
166631
167715
  event_id: string;
@@ -166649,15 +167733,9 @@ type Routes = {
166649
167733
  connected_account_custom_metadata?: {
166650
167734
  [x: string]: string | boolean;
166651
167735
  } | undefined;
166652
- event_type: 'thermostat.temperature_reached_set_point';
166653
- /** Temperature, in °C, reported by the affected thermostat. */
166654
- temperature_celsius: number;
166655
- /** Temperature, in °F, reported by the affected thermostat. */
166656
- temperature_fahrenheit: number;
166657
- /** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
166658
- desired_temperature_celsius?: number | undefined;
166659
- /** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
166660
- desired_temperature_fahrenheit?: number | undefined;
167736
+ event_type: 'device.name_changed';
167737
+ /** The new name of the affected device. */
167738
+ device_name: string;
166661
167739
  } | {
166662
167740
  /** ID of the event. */
166663
167741
  event_id: string;
@@ -166681,11 +167759,11 @@ type Routes = {
166681
167759
  connected_account_custom_metadata?: {
166682
167760
  [x: string]: string | boolean;
166683
167761
  } | undefined;
166684
- event_type: 'thermostat.temperature_changed';
166685
- /** Temperature, in °C, reported by the affected thermostat. */
166686
- temperature_celsius: number;
166687
- /** Temperature, in °F, reported by the affected thermostat. */
166688
- temperature_fahrenheit: number;
167762
+ event_type: 'camera.activated';
167763
+ /** The reason the camera was activated. */
167764
+ activation_reason: 'motion_detected';
167765
+ /** Sub-type of motion detected, if available. */
167766
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
166689
167767
  } | {
166690
167768
  /** ID of the event. */
166691
167769
  event_id: string;
@@ -166709,9 +167787,7 @@ type Routes = {
166709
167787
  connected_account_custom_metadata?: {
166710
167788
  [x: string]: string | boolean;
166711
167789
  } | undefined;
166712
- event_type: 'device.name_changed';
166713
- /** The new name of the affected device. */
166714
- device_name: string;
167790
+ event_type: 'device.doorbell_rang';
166715
167791
  } | {
166716
167792
  /** ID of the event. */
166717
167793
  event_id: string;
@@ -166829,9 +167905,9 @@ type Routes = {
166829
167905
  /** IDs of the access codes for which you want to list events. */
166830
167906
  access_code_ids?: string[] | undefined;
166831
167907
  /** Type of the events that you want to list. */
166832
- 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
167908
+ 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
166833
167909
  /** Types of the events that you want to list. */
166834
- 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
167910
+ 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
166835
167911
  /** ID of the connected account for which you want to list events. */
166836
167912
  connected_account_id?: string | undefined;
166837
167913
  /** ID of the Connect Webview for which you want to list events. */
@@ -169480,6 +170556,58 @@ type Routes = {
169480
170556
  event_type: 'device.name_changed';
169481
170557
  /** The new name of the affected device. */
169482
170558
  device_name: string;
170559
+ } | {
170560
+ /** ID of the event. */
170561
+ event_id: string;
170562
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170563
+ workspace_id: string;
170564
+ /** Date and time at which the event was created. */
170565
+ created_at: string;
170566
+ /** Date and time at which the event occurred. */
170567
+ occurred_at: string;
170568
+ /** ID of the affected device. */
170569
+ device_id: string;
170570
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
170571
+ connected_account_id: string;
170572
+ /** The customer key associated with the device, if any. */
170573
+ customer_key?: string | undefined;
170574
+ /** Custom metadata of the device, present when device_id is provided. */
170575
+ device_custom_metadata?: {
170576
+ [x: string]: string | boolean;
170577
+ } | undefined;
170578
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
170579
+ connected_account_custom_metadata?: {
170580
+ [x: string]: string | boolean;
170581
+ } | undefined;
170582
+ event_type: 'camera.activated';
170583
+ /** The reason the camera was activated. */
170584
+ activation_reason: 'motion_detected';
170585
+ /** Sub-type of motion detected, if available. */
170586
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
170587
+ } | {
170588
+ /** ID of the event. */
170589
+ event_id: string;
170590
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170591
+ workspace_id: string;
170592
+ /** Date and time at which the event was created. */
170593
+ created_at: string;
170594
+ /** Date and time at which the event occurred. */
170595
+ occurred_at: string;
170596
+ /** ID of the affected device. */
170597
+ device_id: string;
170598
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
170599
+ connected_account_id: string;
170600
+ /** The customer key associated with the device, if any. */
170601
+ customer_key?: string | undefined;
170602
+ /** Custom metadata of the device, present when device_id is provided. */
170603
+ device_custom_metadata?: {
170604
+ [x: string]: string | boolean;
170605
+ } | undefined;
170606
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
170607
+ connected_account_custom_metadata?: {
170608
+ [x: string]: string | boolean;
170609
+ } | undefined;
170610
+ event_type: 'device.doorbell_rang';
169483
170611
  } | {
169484
170612
  /** ID of the event. */
169485
170613
  event_id: string;
@@ -189630,9 +190758,9 @@ type Routes = {
189630
190758
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
189631
190759
  between?: (string | Date)[] | undefined;
189632
190760
  /** Type of the events that you want to list. */
189633
- 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
190761
+ 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
189634
190762
  /** Types of the events that you want to list. */
189635
- 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
190763
+ 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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
189636
190764
  /** Numerical limit on the number of events to return. */
189637
190765
  limit?: number;
189638
190766
  };
@@ -192251,6 +193379,58 @@ type Routes = {
192251
193379
  event_type: 'device.name_changed';
192252
193380
  /** The new name of the affected device. */
192253
193381
  device_name: string;
193382
+ } | {
193383
+ /** ID of the event. */
193384
+ event_id: string;
193385
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
193386
+ workspace_id: string;
193387
+ /** Date and time at which the event was created. */
193388
+ created_at: string;
193389
+ /** Date and time at which the event occurred. */
193390
+ occurred_at: string;
193391
+ /** ID of the affected device. */
193392
+ device_id: string;
193393
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
193394
+ connected_account_id: string;
193395
+ /** The customer key associated with the device, if any. */
193396
+ customer_key?: string | undefined;
193397
+ /** Custom metadata of the device, present when device_id is provided. */
193398
+ device_custom_metadata?: {
193399
+ [x: string]: string | boolean;
193400
+ } | undefined;
193401
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
193402
+ connected_account_custom_metadata?: {
193403
+ [x: string]: string | boolean;
193404
+ } | undefined;
193405
+ event_type: 'camera.activated';
193406
+ /** The reason the camera was activated. */
193407
+ activation_reason: 'motion_detected';
193408
+ /** Sub-type of motion detected, if available. */
193409
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
193410
+ } | {
193411
+ /** ID of the event. */
193412
+ event_id: string;
193413
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
193414
+ workspace_id: string;
193415
+ /** Date and time at which the event was created. */
193416
+ created_at: string;
193417
+ /** Date and time at which the event occurred. */
193418
+ occurred_at: string;
193419
+ /** ID of the affected device. */
193420
+ device_id: string;
193421
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
193422
+ connected_account_id: string;
193423
+ /** The customer key associated with the device, if any. */
193424
+ customer_key?: string | undefined;
193425
+ /** Custom metadata of the device, present when device_id is provided. */
193426
+ device_custom_metadata?: {
193427
+ [x: string]: string | boolean;
193428
+ } | undefined;
193429
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
193430
+ connected_account_custom_metadata?: {
193431
+ [x: string]: string | boolean;
193432
+ } | undefined;
193433
+ event_type: 'device.doorbell_rang';
192254
193434
  } | {
192255
193435
  /** ID of the event. */
192256
193436
  event_id: string;
@@ -215292,6 +216472,17 @@ type Routes = {
215292
216472
  /** New access group ID. */
215293
216473
  acs_access_group_id: string | null;
215294
216474
  };
216475
+ } | {
216476
+ /** Date and time at which the mutation was created. */
216477
+ created_at: string;
216478
+ /** Detailed description of the mutation. */
216479
+ message: string;
216480
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
216481
+ mutation_code: 'deferring_group_membership_update';
216482
+ /** ID of the access group involved in the scheduled change. */
216483
+ acs_access_group_id: string;
216484
+ /** Whether the user is scheduled to be added to or removed from the access group. */
216485
+ variant: 'adding' | 'removing';
215295
216486
  })[] | undefined;
215296
216487
  /** The last time an internal sync job completed for this access system user. */
215297
216488
  last_successful_sync_at: string | null;
@@ -217667,6 +218858,17 @@ type Routes = {
217667
218858
  /** New access group ID. */
217668
218859
  acs_access_group_id: string | null;
217669
218860
  };
218861
+ } | {
218862
+ /** Date and time at which the mutation was created. */
218863
+ created_at: string;
218864
+ /** Detailed description of the mutation. */
218865
+ message: string;
218866
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
218867
+ mutation_code: 'deferring_group_membership_update';
218868
+ /** ID of the access group involved in the scheduled change. */
218869
+ acs_access_group_id: string;
218870
+ /** Whether the user is scheduled to be added to or removed from the access group. */
218871
+ variant: 'adding' | 'removing';
217670
218872
  })[] | undefined;
217671
218873
  /** The last time an internal sync job completed for this access system user. */
217672
218874
  last_successful_sync_at: string | null;
@@ -217826,6 +219028,17 @@ type Routes = {
217826
219028
  /** New entrance ID. */
217827
219029
  acs_entrance_id: string | null;
217828
219030
  };
219031
+ } | {
219032
+ /** Date and time at which the mutation was created. */
219033
+ created_at: string;
219034
+ /** Detailed description of the mutation. */
219035
+ message: string;
219036
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
219037
+ mutation_code: 'deferring_user_membership_update';
219038
+ /** ID of the user involved in the scheduled change. */
219039
+ acs_user_id: string;
219040
+ /** Whether the user is scheduled to be added to or removed from this access group. */
219041
+ variant: 'adding' | 'removing';
217829
219042
  })[];
217830
219043
  is_managed: true;
217831
219044
  }[] | undefined;
@@ -219334,6 +220547,17 @@ type Routes = {
219334
220547
  /** New access group ID. */
219335
220548
  acs_access_group_id: string | null;
219336
220549
  };
220550
+ } | {
220551
+ /** Date and time at which the mutation was created. */
220552
+ created_at: string;
220553
+ /** Detailed description of the mutation. */
220554
+ message: string;
220555
+ /** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
220556
+ mutation_code: 'deferring_group_membership_update';
220557
+ /** ID of the access group involved in the scheduled change. */
220558
+ acs_access_group_id: string;
220559
+ /** Whether the user is scheduled to be added to or removed from the access group. */
220560
+ variant: 'adding' | 'removing';
219337
220561
  })[] | undefined;
219338
220562
  /** The last time an internal sync job completed for this access system user. */
219339
220563
  last_successful_sync_at: string | null;
@@ -219493,6 +220717,17 @@ type Routes = {
219493
220717
  /** New entrance ID. */
219494
220718
  acs_entrance_id: string | null;
219495
220719
  };
220720
+ } | {
220721
+ /** Date and time at which the mutation was created. */
220722
+ created_at: string;
220723
+ /** Detailed description of the mutation. */
220724
+ message: string;
220725
+ /** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
220726
+ mutation_code: 'deferring_user_membership_update';
220727
+ /** ID of the user involved in the scheduled change. */
220728
+ acs_user_id: string;
220729
+ /** Whether the user is scheduled to be added to or removed from this access group. */
220730
+ variant: 'adding' | 'removing';
219496
220731
  })[];
219497
220732
  is_managed: false;
219498
220733
  }[] | undefined;
@@ -222994,6 +224229,58 @@ type Routes = {
222994
224229
  event_type: 'device.name_changed';
222995
224230
  /** The new name of the affected device. */
222996
224231
  device_name: string;
224232
+ } | {
224233
+ /** ID of the event. */
224234
+ event_id: string;
224235
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
224236
+ workspace_id: string;
224237
+ /** Date and time at which the event was created. */
224238
+ created_at: string;
224239
+ /** Date and time at which the event occurred. */
224240
+ occurred_at: string;
224241
+ /** ID of the affected device. */
224242
+ device_id: string;
224243
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
224244
+ connected_account_id: string;
224245
+ /** The customer key associated with the device, if any. */
224246
+ customer_key?: string | undefined;
224247
+ /** Custom metadata of the device, present when device_id is provided. */
224248
+ device_custom_metadata?: {
224249
+ [x: string]: string | boolean;
224250
+ } | undefined;
224251
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
224252
+ connected_account_custom_metadata?: {
224253
+ [x: string]: string | boolean;
224254
+ } | undefined;
224255
+ event_type: 'camera.activated';
224256
+ /** The reason the camera was activated. */
224257
+ activation_reason: 'motion_detected';
224258
+ /** Sub-type of motion detected, if available. */
224259
+ motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
224260
+ } | {
224261
+ /** ID of the event. */
224262
+ event_id: string;
224263
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
224264
+ workspace_id: string;
224265
+ /** Date and time at which the event was created. */
224266
+ created_at: string;
224267
+ /** Date and time at which the event occurred. */
224268
+ occurred_at: string;
224269
+ /** ID of the affected device. */
224270
+ device_id: string;
224271
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
224272
+ connected_account_id: string;
224273
+ /** The customer key associated with the device, if any. */
224274
+ customer_key?: string | undefined;
224275
+ /** Custom metadata of the device, present when device_id is provided. */
224276
+ device_custom_metadata?: {
224277
+ [x: string]: string | boolean;
224278
+ } | undefined;
224279
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
224280
+ connected_account_custom_metadata?: {
224281
+ [x: string]: string | boolean;
224282
+ } | undefined;
224283
+ event_type: 'device.doorbell_rang';
222997
224284
  } | {
222998
224285
  /** ID of the event. */
222999
224286
  event_id: string;